summaryrefslogtreecommitdiff
path: root/graphs/sql/where_is_waldo/req04.sql
diff options
context:
space:
mode:
Diffstat (limited to 'graphs/sql/where_is_waldo/req04.sql')
-rw-r--r--graphs/sql/where_is_waldo/req04.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphs/sql/where_is_waldo/req04.sql b/graphs/sql/where_is_waldo/req04.sql
new file mode 100644
index 0000000..3c83d6f
--- /dev/null
+++ b/graphs/sql/where_is_waldo/req04.sql
@@ -0,0 +1,4 @@
+SELECT s.id,checkout_id,employee_id,s.store_id AS shift_store_id,c.store_id AS checkout_store_id,start_timestamp,end_timestamp
+FROM nexus_stores.cashier_shifts AS s
+INNER JOIN nexus_stores.checkouts AS c
+ON c.id = s.checkout_id