VbzCart/docs/queries/qryOrders Pulled: Difference between revisions

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Jump to navigation Jump to search
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...)
 
m (Woozle moved page VbzCart/VbzCart/queries/qryOrders Pulled to VbzCart/docs/queries/qryOrders Pulled without leaving a redirect: part 2)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
==About==
==About==
* '''Used by''': {{vbzcart|table|ord_msg}}
* '''Used by''': {{vbzcart/query|qryPkgs_Pull_status}}
* '''History''':
* '''History''':
** '''2009-07-10''' Adapted from MS Access (replaces qryOrderPulls_active)
** '''2009-07-10''' Adapted from MS Access (replaces qryOrderPulls_active)

Latest revision as of 01:55, 25 February 2024

About

  • Used by: Template:Vbzcart/query
  • 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 />