VbzCart/docs/queries/qryOrders Pulled

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Revision as of 12:53, 10 July 2009 by imported>Woozle (New page: ==About== * '''Used by''': {{vbzcart|table|ord_msg}} * '''History''': ** '''2009-07-10''' Adapted from MS Access (replaces qryOrderPulls_active) *** qryOrderPulls_active derived its list o...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Used by: Template:Vbzcart
  • History:
    • 2009-07-10 Adapted from MS Access (replaces qryOrderPulls_active)
      • qryOrderPulls_active derived its list of pulled orders from Template:Vbzcart; qryOrders_Pulled lists all core_orders where ID_Pull is set

SQL

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

 op.*

FROM core_orders AS o LEFT JOIN ord_pull AS op

 ON o.ID_Pull=op.ID

WHERE o.ID_Pull IS NOT NULL;</mysql> <section end=sql />