summaryrefslogtreecommitdiff
path: root/graphs/sql/fast_and_murderous/req05.sql
diff options
context:
space:
mode:
Diffstat (limited to 'graphs/sql/fast_and_murderous/req05.sql')
-rw-r--r--graphs/sql/fast_and_murderous/req05.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphs/sql/fast_and_murderous/req05.sql b/graphs/sql/fast_and_murderous/req05.sql
new file mode 100644
index 0000000..4dc8233
--- /dev/null
+++ b/graphs/sql/fast_and_murderous/req05.sql
@@ -0,0 +1,2 @@
+SELECT I.receipt_id,P.name,I.quantity,P.price FROM nexus_stores.products AS P,nexus_stores.receipt_items AS I
+WHERE I.quantity > 10 AND P.name ILIKE '%apple%' AND I.product_id = P.id