From e71feb7fb0209b3331c3825f951be3b406d04ef0 Mon Sep 17 00:00:00 2001 From: daviddoji Date: Tue, 21 Apr 2026 09:13:07 +0200 Subject: [PATCH] automated commit by check50 [check50=True] --- answers.txt | 9 +++++++++ log.sql | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 answers.txt create mode 100644 log.sql diff --git a/answers.txt b/answers.txt new file mode 100644 index 0000000..661ef16 --- /dev/null +++ b/answers.txt @@ -0,0 +1,9 @@ + +At what type of address did the Lost Letter end up?: Residential +At what address did the Lost Letter end up?: 2 Finnigan Street + +At what type of address did the Devious Delivery end up?: +What were the contents of the Devious Delivery?: + +What are the contents of the Forgotten Gift?: +Who has the Forgotten Gift?: diff --git a/log.sql b/log.sql new file mode 100644 index 0000000..b9397ff --- /dev/null +++ b/log.sql @@ -0,0 +1,15 @@ + +-- *** The Lost Letter *** +-- Get the address id of sender ==> id 432, type Residential +SELECT * from "addresses" WHERE "address" = "900 Somerville Avenue"; + +-- Get the address id of receiver ==> id 854, type Residential +SELECT * from "addresses" WHERE "address" LIKE "2 Fin%Street"; + +-- Get the id and contents from the parcel send by sender to receiver +SELECT * FROM "packages" WHERE "from_address_id" = 432 and "to_address_id" = 854; + +-- *** The Devious Delivery *** + +-- *** The Forgotten Gift *** +