SQL functions, GROUP BY, ORDER BY, DISTINCT --- SQL for data science tutorial EP#2 (for beginners)

preview_player
Показать описание
*****
IMPORTANT!!! I moved the datafile from the original server in the video, to a new one.
From now on, to copy the data into your table, you should use this code instead:
COPY flight_delays
DELIMITER ',' CSV HEADER;
*****

(I updated this in the codebase file, too, unfortunately can't update it in the video.)

In this episode, I’ll show you the most essential SQL functions that you will use for finding the maximums or the minimums (MAX, MIN) in a data set and to calculate aggregates (SUM, AVG, COUNT). Then I’ll show you some intermediate SQL clauses -- like GROUP BY for segmentations or ORDER BY for sorting values in an SQL table.

ARTICLE VERSION (RECOMMENDED):

00:00 Intro
02:03 Import a 7,000,000-row dataset into SQL
08:41 SQL functions
09:40 COUNT
11:48 SUM
13:04 AVG
14:50 MAX, MIN
16:07 GROUP BY (segmentation with SQL)
22:34 ORDER BY (sorting value with SQL)
26:21 DISTINCT (remove duplicates)
29:44 Conclusion

LINKS MENTIONED IN THE EPISODE:

NEXT EPISODE:

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

I am learning a lot from you.... It is detailed and fast... so much better than other classes. Thank u very much!!

ameneh
Автор

Your videos are a HUGE inspiration!! just started out my own youtube (from my experience as a data analyst) All the best!

TobysDataDigest
Автор

🔥🔥🔥 That is so great! Thank you, Tomi)

АндрейБузько-си
Автор

The dataserver doesnt seem to be reachable anymore :(

brunokrok
Автор

IMPORTANT!!! I moved the datafile from the original server in the video, to a new one.
From now on, to copy the data into your table, you should use this code instead:
COPY flight_delays
DELIMITER ', ' CSV HEADER;


(I updated this in the codebase file, too, unfortunately can't update it in the video.)

datatomi
Автор

can anyone please let me know how to load exact data into MySQL?

krupalirao
welcome to shbcf.ru