VbzCart/docs/queries/qryStkItms for sale wItem data

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

Details

  • Requires: Template:Vbzcart/query
  • Used by:
  • Status: this one may be redundant; the time when we need the item data is *after* all the sources of items-to-restock have been UNIONed together and GROUPed by item
  • History:
    • 2008-11-17 Created for revised restocking process

SQL

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

 qsi.*,
 i.*

FROM qryStkItms_for_sale AS qsi LEFT JOIN cat_items AS i ON qsi.ID_Item=i.ID;</mysql> <section end=sql />