r/SQL • u/RevenuePresent9464 • May 15 '26
Discussion Entry level jobs
What kind of SQL should I expect to write in entry-level data roles? I've seen some rather more complex stuff on here and is that the stuff I should expect? Or should the basic joins, group by, and when should be enough? If anyone is in an entry level role and could give examples of their queries(with names/variables changed ofc) that would be helpful!
46
Upvotes
40
u/sirchandwich May 15 '26
The best advice you will ever receive is when learning something new, especially in tech: learn the basics, then learn whatever else you need to know when you know you need to know it.
You could spend years learning something you never actually get to apply in real life, which is not good.
20
u/theRealHobbes2 May 15 '26
Entry level, like fresh out of school, data analyst I'll look for: understand your joins, understand aggregates, difference between where and having, using calculations in select, working with case statements is a bonus, window functions are a double bonus. Not much beyond that. I just want to know you can write SQL and you can think through applying logic in queries. The rest can be taught.
8
u/TopologyMonster May 15 '26
Obviously really depends on the job and people are giving detailed answers. So disclaimer obviously. but I’m just going to say two things that I see from new college grads who I expect to know zero and where they get tripped up:
JOINS. Absolutely 100 percent essential to understand them, but realllyyyyyy understand them. Look for when you get NULLs. Is it a one to one, or one to many, and are you getting what is expected? Do you need to join on two fields or just one? One thing you have to do it’s recognize when the data is bad, because it can be.
The where clause, AND, OR. People often think they understand these but it can get complicated. (a and b) or (c and d) is different than a and b or c and d. And for example where field<>”3” filters out NULLs, even though NULL is not 3. Sometimes you want that, other times you don’t. What’s getting included in your query is just as important as what is excluded.
8
u/Resident-Cupcake-712 May 15 '26
SQL is gateway round for any data based job today. Preparing structurally will go a long way. Assumming you are well versed with the SQL basics interviewers mainly focus on:
2
u/TravelingSpermBanker May 15 '26
Understanding what to look for and how things work. How can you solve problems that have SQL embedded quickly.
An example of this week: The business needed a weight changed from 95% to 97% on only one line of business. We looked it up and nothing was immediately obviously 95%, and it was all written in SQL, and in loops with different layers and subqueries.
Being able to see the SQL to narrow down what could relate to the calculation of 95% was the key, and made it easy.
2
u/eslforchinesespeaker May 16 '26
SQL and complementary skills are a better fit for entry level, rather than a deep SQL specialization and little else. Somewhere SQL wizards are working their wizardry, and little else, but few beginners. You want a good basic grasp of SQL and scripting or reporting or visualization to go with it. Better if you can deliver a solution, rather than just a piece of one, that needs someone else to turn it into a deliverable.
2
u/YeojFran May 16 '26
I use SQL everyday at my job and honestly most the time it’s very simple joins, and even select statements to help the BA know if something was updated correctly and safe sql executions that include begin tran and rollback. Knowing how your data comes in and flows through your database in my opinion is more valuable than any fancy technical query. Oh and also another good thing that I’ve been learning recently is making your queries more efficient especially if the db is going to get hit a lot.
1
u/elliekk May 15 '26
I don't have what I would consider a "real tech job". I help with listings for an eCommerce company but even then, the level of analysis we need to drive business goals mandates the use of CTEs (esp for transformations), case, and window functions.
They're not that hard to learn though.
Regex is also a pretty large productivity driver.
1
u/hawk3ye May 15 '26
Just throwing this out there but maybe a customer or application support role for a company that sells database software / services. You’d be surprised how far being able to “speak” and understand databases can get you as far as a foot in the door.
1
u/Kooky-Catch-5442 May 19 '26
do you guys use ai in your work regularly?
0
u/[deleted] May 15 '26
Usually, you first come into contact with SQL as a web developer, rather than as a "pure" SQL developer.
For years, I ran simple SQL queries in PHP, wrapping them in loops, and so on. I didn’t want to deal with JOINs or other complicated queries.
I only really had to get serious about SQL when my PHP “looped” queries were sometimes taking up to a minute. Now I usually have everything in a single query, and it takes less than a second.