VbzCart/docs/queries/qryTitles Imageless

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Revision as of 02:07, 11 January 2012 by imported>Woozle (Created page with "==About== * '''Requires''': {{vbzcart/query|qryTitles_Item_info}}, {{vbzcart/query|qryImgs_byTitle}} * '''Note''': this is a rather slow query (10-50 seconds) * '''History''': **...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

SQL

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

 t.*

FROM `qryTitles_Item_info` AS t LEFT JOIN `qryImgs_byTitle` AS i ON t.ID=i.ID_Title WHERE ((i.ID_Title IS NULL) OR (i.cntActive=0)) AND (t.cntForSale > 0);</mysql><section end=sql />