Difference between revisions of "VbzCart/queries/qryItTypsDepts ItTyps"
Jump to navigation
Jump to search
(moved from single-page listing) |
(used by) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==About== | ||
+ | * '''Requires''': {{vbzcart/query|qryItTypsDepts_grpItems}}, {{vbzcart/table|cat_ittyps}} | ||
+ | * '''Used by''': catalog Supplier page | ||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryItTypsDepts_ItTyps AS | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryItTypsDepts_ItTyps AS |
Latest revision as of 01:34, 30 November 2009
About
- Requires:
- REDIRECT Template:l/vc/query,
- REDIRECT Template:l/vc/table
- Used by: catalog Supplier page
SQL
<mysql>CREATE OR REPLACE VIEW qryItTypsDepts_ItTyps AS SELECT
m.*, it.NameSng AS ItTyp_Sng, it.NamePlr AS ItTyp_Plr
FROM qryItTypsDepts_grpItems AS m LEFT JOIN cat_ittyps AS it ON m.ID_ItTyp=it.ID;</mysql>