r/SQL • u/kater543 • Jun 19 '24
Discussion I got rekt in a SQL interview today
Just thought it was hilarious and I wanted to share: I was asked a few very easy SQL questions today during a phone screen and I absolutely bombed two basic ones.
I use SQL every day and have even taught SQL classes, but I never really learned the difference between rank and dense rank because I use neither in dealing with big values(just use row number). I remembered seeing the answer to that question on this very subreddit earlier too, I just didn’t remember it because it was so obscure to me. Curious how y’all have used rank and dense rank.
Also I messed up the default order by direction because my brain apparently no worky and I always type in either “asc” or “desc” out of habit anyway.
SQL trivia shudders
Nightmare for a daily user and sql guy.
5
u/ComicOzzy sqlHippo Jun 19 '24
Don't sweat it. There are good employers out there who want to hire people who know how to get work done whether or not you have all of the SQL trivia memorized.
Trivia is not what I am paying people for. I would rather you know how to effectively use documentation to get work done quickly and correctly.