VbzCart/queries/qryTitleTopic Topics

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< VbzCart‎ | queries
Revision as of 23:21, 28 September 2011 by Woozle (talk | contribs) (table names changed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

About

  • Returns: titles x topics with complete Topic data
  • Used by: Title pages
  • Requires: brs_titles_x_topics, brs_topics
  • History:
    • 2011-01-24 created for Topic listing on Title pages
    • 2011-09-28 renamed brs_* to cat_* (singular) for consistency

SQL

<mysql>CREATE OR REPLACE VIEW qryTitleTopic_Topics AS

 SELECT tt.ID_Title, t.*
 FROM cat_title_x_topic AS tt
 LEFT JOIN cat_topic AS t
 ON tt.ID_Topic=t.ID;</mysql>