Difference between revisions of "VbzCart/queries/qryItTypsDepts ItTyps"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
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:
  1. REDIRECT Template:l/vc/query,
  2. 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>