VbzCart/queries/qryItTypsDepts ItTyps: Difference between revisions

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
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

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 />