Conversation
Implement git flow validator and sql assignment grader
Assignment one
🧪 SQL Unit Test Results✅ Passed: 1 |
a59ddca to
c34deed
Compare
🧪 SQL Unit Test Results✅ Passed: 0 |
🧪 SQL Queries Run Results✅ Query number: 1, Query: SELECT * FROM customer, Reults: 1,Alejandro,Costa,M8Y,2,Mei,Chen,M1L,3,Amir,Khan,M4H,4,Leyla,Abadi,M1L,5,Hiro,Yamamoto,M1L,6,Sofia,Rodríguez,M4H,7,Anwar,Ali,M6C,8,Khaled,Naser,M6C,9,Zuri,Okoro,M1L,10,Taylor,Park,M8Y,11,Sofia,Petrov,M4H,12,Jalen,Carter,M1L,13,Abigail,Harris,M3H,14,Jack,Wise,M8Y,15,Carlos,Diaz,M6C,16,Iva,Kienzler,M1L,17,Jeri,Mitchell,M8Y,18,Anjali,Kumar,M1L,19,Salil,Hassan,M6C,20,Johannes,Paulson,M4H,21,Yoojung,Kim,M4H,22,Julio,da Silva,M1L,23,Jessica,Connor,M4H,24,Dylan,O'Connor,M4H,25,Lea,Fischer,M1L,26,Richard,Côté,M6C, -- option 2 /* 2. We want to flag all of the different types of pepper products that are sold at the market. /* SECTION 3 */ -- AGGREGATE --Temp Table HINT: This is two total queries -- first create the table from the original, then insert the new 10th vendor. -> To insert the new row use VALUES, specifying the value you want for each column: /* 2. Using the previous query as a base, determine how much money each customer spent in April 2022. HINTS: you will need to AGGREGATE, GROUP BY, and filter... -- QUERY 12**, Reults: ****, |
🧪 SQL Queries Run ResultsClick to expand/collapse✅ Query number: **1**, Query: **SELECT * FROM customer limit 1**, Reults: **1,Alejandro,Costa,M8Y**, ✅ Query number: **2**, Query: **-- END QUERY --WHERE /* 1. Write a query that returns all customer purchases of product IDs 4 and 9. */ -- QUERY 3**, Reults: ****, ✅ Query number: **4**, Query: **-- END QUERY-- option 2 /* 2. We want to flag all of the different types of pepper products that are sold at the market. /* SECTION 3 */ -- AGGREGATE --Temp Table HINT: This is two total queries -- first create the table from the original, then insert the new 10th vendor. -> To insert the new row use VALUES, specifying the value you want for each column: /* 2. Using the previous query as a base, determine how much money each customer spent in April 2022. HINTS: you will need to AGGREGATE, GROUP BY, and filter... -- QUERY 12**, |
🧪 SQL Queries Run ResultsClick to expand/collapse✅ Query 1: SELECT * FROM customer limit 1**, Results: **1,Alejandro,Costa,M8Y**, ✅ Query 2: -- END QUERY --WHERE /* 1. Write a query that returns all customer purchases of product IDs 4 and 9. */ -- QUERY 3**, Results: ****, ✅ Query 4: -- END QUERY-- option 2 /* 2. We want to flag all of the different types of pepper products that are sold at the market. /* SECTION 3 */ -- AGGREGATE --Temp Table HINT: This is two total queries -- first create the table from the original, then insert the new 10th vendor. -> To insert the new row use VALUES, specifying the value you want for each column: /* 2. Using the previous query as a base, determine how much money each customer spent in April 2022. HINTS: you will need to AGGREGATE, GROUP BY, and filter... -- QUERY 12**, |
🧪 SQL Queries Run ResultsClick to expand/collapse✅ Query 1: SELECT * FROM customer limit 1**,Results: 1,Alejandro,Costa,M8Y; ✅ Query 2: -- END QUERY Results: ****; ✅ Query 4: -- END QUERY -- option 2 Results: ****; ✅ Query 6: -- END QUERY /* 2. We want to flag all of the different types of pepper products that are sold at the market. Results: ****; ✅ Query 8: -- END QUERY /* SECTION 3 */ -- AGGREGATE Results: ****; ✅ Query 10: -- END QUERY --Temp Table HINT: This is two total queries -- first create the table from the original, then insert the new 10th vendor. -> To insert the new row use VALUES, specifying the value you want for each column: Results: ****; ✅ Query 12: -- END QUERY /* 2. Using the previous query as a base, determine how much money each customer spent in April 2022. HINTS: you will need to AGGREGATE, GROUP BY, and filter... -- QUERY 12**, Results: ****; |
🧪 SQL Queries Run ResultsClick to expand/collapse✅ Query 1: SELECT * FROM customer limit 1**,Results: 1,Alejandro,Costa,M8Y; ✅ Query 2: **, Results: ****; ✅ Query 3: **, Results: ****; ✅ Query 4: **, Results: ****; ✅ Query 5: **, Results: ****; ✅ Query 6: **, Results: ****; ✅ Query 7: **, Results: ****; ✅ Query 8: **, Results: ****; ✅ Query 9: **, Results: ****; ✅ Query 10: **, Results: ****; ✅ Query 11: **, Results: ****; ✅ Query 12: **, Results: ****; ✅ Query 13: **, Results: ****; |
🧪 SQL Queries Run ResultsClick to expand/collapse assignment queries executions results✅ Query 1: SELECT * FROM customer limit 1**,Results: 1,Alejandro,Costa,M8Y; ✅ Query 2: SELECT * Results: 4,Leyla,Abadi,M1L,7,Anwar,Ali,M6C,12,Jalen,Carter,M1L; ✅ Query 3: SELECT Results: 2022-04-05,3,7,4,1,4,2022-04-05,4,7,4,1,4,2022-04-05,5,7,4,3,12; ✅ Query 4: SELECT Results: 2022-07-12,8,7,1,2.71,18.9429,2022-07-15,10,7,1,2.34,16.3566,2022-07-15,10,7,1,2.28,15.937199999999999; ✅ Query 5: SELECT Results: 2022-04-05,9,8,5,1,6.5,2022-04-05,9,8,5,1,6.5,2022-04-05,9,8,7,1,18; ✅ Query 6: SELECT Results: 1,Habanero Peppers - Organic,bulk,2,Jalapeno Peppers - Organic,bulk,3,Poblano Peppers - Organic,unit; ✅ Query 7: SELECT Results: 1,Habanero Peppers - Organic,1,2,Jalapeno Peppers - Organic,1,3,Poblano Peppers - Organic,1; ✅ Query 8: SELECT * Results: 8,Annie's Pies,Prepared Foods,Annie,Aquinas,8,6,2022-04-05,8,Annie's Pies,Prepared Foods,Annie,Aquinas,8,6,2022-04-08,8,Annie's Pies,Prepared Foods,Annie,Aquinas,8,6,2022-04-12; ✅ Query 9: SELECT Results: 1,142,3,142,4,211; ✅ Query 10: SELECT FROM customer c GROUP BY HAVING total_spent > 2000 ORDER BY c.customer_last_name, c.customer_first_name**, Results: 4,Leyla,Abadi,3561.6286,7,Anwar,Ali,2921.1743,12,Jalen,Carter,3290.0783; ✅ Query 12: SELECT customer_id, FROM customer_purchases**, Results: 14,07,2022,14,07,2022,15,07,2022; ✅ Query 13: SELECT customer_id, FROM customer_purchases WHERE STRFTIME('%Y', market_date) = '2023' GROUP BY STRFTIME('%Y', market_date) ,STRFTIME('%m', market_date), customer_id**, Results: 1,04,2023,129.5,2,04,2023,200,3,04,2023,352.5; |
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist