Tibixa
العربية

ملخص الدرس · فيديو 8 دقائق

Project: a monthly sales report query for the online shop

Picture the first Monday of the month. Your manager asks for last month's sales: how many orders, how much revenue, and the average order size. You export the orders, paste them into Excel, look up every product price, build a pivot table, and fix the dates that came in as text. An hour later you have a report, and next month you'll do it all again. What if that whole routine were one query you could run again whenever you like? That's today's project.

النقاط الأساسية

افتح الدرس كاملًا اعرض الدورة

أسئلة وأجوبة

What is Project: a monthly sales report query for the online shop about?

Picture the first Monday of the month. Your manager asks for last month's sales: how many orders, how much revenue, and the average order size. You export the orders, paste them into Excel, look up every product price, build a pivot table, and fix the dates that came in as text. An hour later you have a report, and next month you'll do it all again. What if that whole routine were one query you could run again whenever you like? That's today's project.

What are the key points of Project: a monthly sales report query for the online shop?

strftime turns dates into month labels. JOIN, WHERE, GROUP BY, ORDER BY build the report. A view saves it for every month to come.

How can I practise Project: a monthly sales report query for the online shop?

Watch the lesson, read it, then answer its quiz in the course "Practical SQL for Analysts".

افتح الدرس كاملًا اعرض الدورة