From c9b6b9a5ca082fe7c1b6f58d7713f785a9eb6a5c Mon Sep 17 00:00:00 2001
From: Martial Simon <msimon_fr@hotmail.com>
Date: Mon, 15 Sep 2025 01:08:27 +0200
Subject: add: graphs et rushs

---
 graphs/sql/fast_and_murderous/req06.sql | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 graphs/sql/fast_and_murderous/req06.sql

(limited to 'graphs/sql/fast_and_murderous/req06.sql')

diff --git a/graphs/sql/fast_and_murderous/req06.sql b/graphs/sql/fast_and_murderous/req06.sql
new file mode 100644
index 0000000..5f9f7af
--- /dev/null
+++ b/graphs/sql/fast_and_murderous/req06.sql
@@ -0,0 +1,5 @@
+SELECT DISTINCT R.purchase_date,R.first_name,R.last_name,R.email,P.name,P.price,P.category FROM nexus_stores.receipts as R,nexus_stores.products AS P,nexus_stores.receipt_items AS I
+WHERE R.email SIMILAR TO 's(a|e)m[a-z]{3,6}\_w[a-z]{6}[0-9]*@roger\_[a-z]+.[a-z]{3}'
+AND I.receipt_id = R.id
+AND I.product_id = P.id
+AND P.name ILIKE '%apple%'
-- 
cgit v1.2.3

