VbzCart/docs/queries/qryCat Titles web

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

Details

  • Requires: qryCat_Titles_Item_stats
  • Used by: as of 2008-05-23, used only for generating old-style titles.lst file, but it may eventually be used by active code in the rewrite.

SQL

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

 *,
 CAST(CONCAT("“",Name,"“: ",currMinSell,IF(currMinSell=currMaxSell,"",CONCAT(" – ",currMaxSell))) AS CHAR) AS ImgText

FROM qryCat_Titles_Item_stats;</mysql> <section end=sql />