SQL With Clause| CTEs (Common Table Expressions)| SQL for Beginners| SQL for Data Analysis

preview_player
Показать описание
In this video you will be introduced to what SQL CTEs (With Clause) are, and learn how to use them to answer complex questions.

Рекомендации по теме
Комментарии
Автор

This worked for me


select
continents,
sum(video_views) as total_views
from data_s
group by continents
order by 2 desc
;

allankamau
Автор

Hope to learn and add something also for my upcoming blog

esthernjuguna
Автор

In the first query I bet it failed to order by since you used video_views instead of the aggregate total

esthernjuguna
visit shbcf.ru