Tibixa
Español

Este idioma se tradujo automáticamente y puede tener errores. Ver en inglés

Resumen de la lección · Video de 9 min

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.

Ideas clave

Abrir la lección completa Ver el curso

Preguntas y respuestas

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".

Abrir la lección completa Ver el curso