Add many-to-many quotes to category join

main
Jeffrey Elkner 2 years ago
parent 8e8de91f99
commit 58f82feb08

Binary file not shown.

@ -0,0 +1,7 @@
\echo JOIN quotes TO categories:
SELECT LEFT(qtext, 50) AS "Quote", description AS "Category"
FROM quote
JOIN quotecategory
ON quote.qid = quotecategory.qid
JOIN category
ON quotecategory.cid = category.cid;
Loading…
Cancel
Save