VbzCart/queries/qryTitleTopic Topics

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

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>