From c73af3e063f421f24b41a7da73809d4b72bd1a3b Mon Sep 17 00:00:00 2001 From: Jeffrey Elkner Date: Thu, 27 Apr 2023 12:42:15 +0100 Subject: [PATCH] Add script to select quotes with authors --- scripts/select_quotes.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 scripts/select_quotes.sql diff --git a/scripts/select_quotes.sql b/scripts/select_quotes.sql new file mode 100644 index 0000000..d699e56 --- /dev/null +++ b/scripts/select_quotes.sql @@ -0,0 +1,5 @@ +\echo INNER JOIN quote TO author: +SELECT qtext, fname, lname +FROM quote +INNER JOIN author +ON quote.aid = author.aid;