From e1d5c6a9e24038b1002bcd528b0ad0e4afdcef10 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 20:55:13 +0000 Subject: [PATCH 1/3] Setting up GitHub Classroom Feedback From 1acf430316f1dfd6088980ae80cd00bb72b86417 Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 20:55:16 +0000 Subject: [PATCH 2/3] add online IDE url --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ab63e80..e4683f4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Open in Visual Studio Code](https://classroom.github.com/assets/open-in-vscode-2e0aaae1b6195c2367325f4f02e2d04e9abb55f0b24a779b69b11b9e10269abc.svg)](https://classroom.github.com/online_ide?assignment_repo_id=16614858&assignment_repo_type=AssignmentRepo) # Fashion Magazines Code Louisville Data Analysis Exercise From c46efcdea3f33afe62a0c2210f8a91225a813419 Mon Sep 17 00:00:00 2001 From: Nabaraj bhusal Date: Wed, 30 Oct 2024 01:51:59 -0400 Subject: [PATCH 3/3] fashion magazine --- sql/fashion_magazines.sql | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sql/fashion_magazines.sql b/sql/fashion_magazines.sql index 4dd0555..6a60d5c 100644 --- a/sql/fashion_magazines.sql +++ b/sql/fashion_magazines.sql @@ -1 +1,7 @@ --- Add your sql here \ No newline at end of file +SELECT +customers.cusomer_name, +FROM orders +JOIN subscriptions ON orders.subscription_id = subscriptions.subscription_id +JOIN customers ON orders.customer_id = customers.customer_id +WHERE order_status = 'unpaid' and subscriptions.description = 'Fashion Magazine' +GROUP BY customer_name \ No newline at end of file