VbzCart/docs/queries/qryTitles ItTyps Titles: Difference between revisions
Jump to navigation
Jump to search
imported>Woozle (revision to be done tomorrow) |
imported>Woozle (4/13: v_titles -> qryCat_Titles_Item_stats) |
||
Line 1: | Line 1: | ||
==About== | ==About== | ||
* '''Requires''': {{vbzcart/query|qryTitles_ItTyps_grpItems}}, {{vbzcart/query| | * '''Requires''': {{vbzcart/query|qryTitles_ItTyps_grpItems}}, {{vbzcart/query|qryCat_Titles_Item_stats}} | ||
* '''Used by''': catalog department pages | |||
* '''History''': | |||
** '''2009-04-13''' v_titles -> qryCat_Titles_Item_stats | |||
==SQL== | ==SQL== | ||
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryTitles_ItTyps_Titles AS | <section begin=sql /><mysql>CREATE OR REPLACE VIEW qryTitles_ItTyps_Titles AS | ||
Line 9: | Line 12: | ||
t.CatNum, | t.CatNum, | ||
t.CatWeb | t.CatWeb | ||
FROM qryTitles_ItTyps_grpItems AS ti LEFT JOIN | FROM qryTitles_ItTyps_grpItems AS ti LEFT JOIN qryCat_Titles_Item_stats AS t ON ti.ID_Title=t.ID_Title;</mysql> | ||
<section end=sql /> | <section end=sql /> | ||
Revision as of 11:07, 13 April 2009
About
- Requires: Template:Vbzcart/query, Template:Vbzcart/query
- Used by: catalog department pages
- History:
- 2009-04-13 v_titles -> qryCat_Titles_Item_stats
SQL
<section begin=sql /><mysql>CREATE OR REPLACE VIEW qryTitles_ItTyps_Titles AS SELECT
ti.*, t.Name, t.ID_Dept, t.CatNum, t.CatWeb
FROM qryTitles_ItTyps_grpItems AS ti LEFT JOIN qryCat_Titles_Item_stats AS t ON ti.ID_Title=t.ID_Title;</mysql> <section end=sql />