Tibixa
العربية

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

Your first query: SELECT, WHERE and ORDER BY on the orders table

Picture a Monday morning. Your manager asks for every shipped order from the online shop, sorted with the biggest ones on top. You open last month's export and it has four hundred thousand rows. Excel takes a long time to open it, the filter menu freezes, and you still have to sort and copy the result into a clean sheet. There's a calmer way to do this. The orders don't have to live in a spreadsheet at all.

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

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

أسئلة وأجوبة

What is Your first query: SELECT, WHERE and ORDER BY on the orders table about?

Picture a Monday morning. Your manager asks for every shipped order from the online shop, sorted with the biggest ones on top. You open last month's export and it has four hundred thousand rows. Excel takes a long time to open it, the filter menu freezes, and you still have to sort and copy the result into a clean sheet. There's a calmer way to do this. The orders don't have to live in a spreadsheet at all.

What are the key points of Your first query: SELECT, WHERE and ORDER BY on the orders table?

SELECT chooses columns, FROM names the table. WHERE keeps rows that match a rule. ORDER BY sorts; DESC puts the largest first.

How can I practise Your first query: SELECT, WHERE and ORDER BY on the orders table?

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

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