VbzCart/docs/queries/qryCtg Items updates joinable

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Jump to navigation Jump to search

Details

SQL

<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryCtg_Items_updates_joinable AS

 SELECT
   CONCAT_WS('-',u.ID_Title,u.CatSfx) AS IDS_Item,
   CONCAT_WS('-',t.CatNum,u.CatSfx) AS CatNum,
   u.*
 FROM qryCtg_Items_updates AS u LEFT JOIN qryCat_Titles AS t ON u.ID_Title=t.ID;</mysql>

<section end=sql />