Difference between revisions of "VbzCart/queries/qryItTypsDepts ItTyps"
Jump to navigation
Jump to search
(moved from single-page listing) |
(links to required stuff) |
||
Line 1: | Line 1: | ||
+ | ==About== | ||
+ | * '''Requires''': {{vbzcart/query|qryItTypsDepts_grpItems}}, {{vbzcart/table|cat_ittyps}} | ||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryItTypsDepts_ItTyps AS | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryItTypsDepts_ItTyps AS |
Revision as of 22:51, 12 April 2009
About
- Requires:
- REDIRECT Template:l/vc/query,
- REDIRECT Template:l/vc/table
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>