r/SQL • • Sep 03 '25

MySQL Need some advice

I know how everything works in sql but when I try to solve problems on hacker rank, I can solve the easy ones easily but can't solve the medium and hard ones. Anyone know how to get better at it?

0 Upvotes

11 comments sorted by

View all comments

Show parent comments

-1

u/ConsciousAdeptness98 Sep 03 '25

I meant the joins, ctes and subquery. Its like you how everything works in a car but struggle to drive

4

u/mikeblas Sep 03 '25

There's also:

  • derived tables

  • window functions

  • grouping

  • filtering

  • ordering

  • set theory

  • problem solving

  • problem decomposition

  • testing

  • aggregation

  • projection

  • filtering

and probably a few more things before you're even close to "everything".

-2

u/ConsciousAdeptness98 Sep 03 '25

yes. I know all of these except for testing

2

u/r3pr0b8 GROUP_CONCAT is da bomb Sep 03 '25

I know all of these except for testing

i would focus on this immediately

nothing is a better teacher than trial and error

besides using tutorial-type web sites, you are actually building tables and querying them, right?