VbzCart/docs/queries/qryItTypsDepts ItTyps

From Woozle Writes Code
< VbzCart‎ | docs‎ | queries
Revision as of 18:40, 30 November 2008 by imported>Woozle (moved from single-page listing)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SQL

<section begin=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> <section end=sql />