VbzCart/queries/qryCarts info

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | queries
Revision as of 01:28, 9 September 2009 by Woozle (talk | contribs) (Created page with '==Details== * '''Requires''': {{vbzcart|table|shop_cart}}, {{vbzcart/query|qrySub_Carts_info_items}}, {{vbzcart/query|qrySub_Carts_info_data}} * '''History''': ** '''2009-09-08''…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Details

  1. REDIRECT Template:l/vc/query, qrySub_Carts_info_data
  • History:
    • 2009-09-08 Created for Special:VbzAdmin

SQL

<mysql>CREATE OR REPLACE VIEW qryCarts_info AS SELECT

 c.*,
 ItemCount,
 DataCount

FROM (shop_cart AS c

 LEFT JOIN qrySub_Carts_info_items AS ci ON ci.ID_Cart=c.ID)
 LEFT JOIN qrySub_Carts_info_data as cd ON cd.ID_Cart=c.ID;</mysql>