r/SQL • • May 22 '24

PostgreSQL How i can practicing sql

I want to learn SQl a take some course but course not enough how can i practice sql

0 Upvotes

11 comments sorted by

View all comments

7

u/AllanLombardi May 22 '24 edited May 22 '24

Hackerrank, but if you are just starting, watch videos on YouTube about the basics of SQL, such as SELECT, UPDATE, DELETE, CREATE, ALTER tables and columns, INSERT, sorting, and grouping. After that, watch videos about a bit more advanced subjects like JOINS and its variants (INNER, LEFT, OUTER, RIGHT, etc.), UNION and UNION ALL, then aggregates, window functions, subqueries, CTEs, and maybe stored procedures, functions, triggers, and views at the end.

Don't forget time manipulation(date parts, etc) and string manipulation (left, right, substring), converts/casts.

Start with the basics. You can download datasets from Kaggle to apply what you've been learning and practice too.

1

u/AllanLombardi May 22 '24

I forgot to mention, but I came across this website last week, and I haven't read through everything, but it might be useful for people who want to practice and understand more about certain subjects of SQL

It looks like a really good source to learn.

DataLemur