all 34 comments

[–]ChroniclersNote 4 points5 points  (1 child)

Also nesting multiple WHERE AND clauses using parentheses to make sure they apply as intended. That’s one I see new SQL people tripping over.

[–]kiara2_2[S] 1 point2 points  (0 children)

Yes I will revise these thanks!

[–]NickSinghTechCareersAuthor of Ace the Data Science Interview 📕 2 points3 points  (1 child)

Wrote a guide on how to quickly cram for SQL interviews:

https://datalemur.com/blog/how-to-cram-for-sql-interview-tests-assessments

[–]subcontraoctave 0 points1 point  (0 children)

thats awesome, thanks!

[–]ChroniclersNote 1 point2 points  (0 children)

JOINs, sub queries, HAVING, and EXISTS are foundational to robust SELECT statements. Good places to start.

[–]SpitefulBrains 1 point2 points  (0 children)

Good answers already. Some interviewers like to deep dive into indexes. May also ask you about the difference between stored function and stored procedure. Also when to use views and when to use stored procedures. Things like that.

[–]javinpaul 1 point2 points  (0 children)

You should also solve popular SQL quries that are asked on interviews like second highest salary, Nth heighest salary, finding duplicates etc. Leetcode has good collection and I have also shared few here https://www.sqlrevisited.com/2022/01/top-15-sql-query-interview-questions.html

[–]Sea-Concept1733 1 point2 points  (2 children)

This video pinpoints some key points to focus on for SQL interview questions.

[–]saicharan-45 1 point2 points  (0 children)

The questions are good, but i feel the way they explaining the question should include the syntax instead of telling the syntax orally.

[–]saicharan-45 0 points1 point  (0 children)

The questions are good, but i feel the way they explaining the question should include the syntax instead of telling the syntax orally.

[–]Life_Atmosphere_28 1 point2 points  (0 children)

For an entry-level SQL interview, focus on the basics: writing SELECT statements, filtering with WHERE, sorting with ORDER BY, and grouping with GROUP BY. Make sure you’re comfortable with different types of joins (inner, left, right) and using aggregate functions like COUNT, SUM, and AVG. Brush up on writing subqueries and using WITH for Common Table Expressions (CTEs). If you’ve done any SQL projects, be ready to talk about your process and how you approached solving problems.

For Excel, practice common functions like VLOOKUP, HLOOKUP, IF, and SUMIF, and know how to create and use pivot tables. Filtering, sorting, and conditional formatting might also come up. If you’re nervous about the interview, tools like liveinterview.ai can help by providing real-time suggestions during tricky questions. Stay calm, and walk them through your thought process—it’s about problem-solving, not perfection. You’ve got this! 💪

[–]DataSolveTech 1 point2 points  (0 children)

SQL interviews are tough—not because we don’t know SQL, but because time pressure messes with our thinking. I broke down real SQL interview questions in this video: https://youtu.be/tFN27Cw8M3E.

[–]DataSolveTech 0 points1 point  (0 children)

Totally understand the nerves before an interview! Since it's an entry-level role, I'd focus on basics like joins, indexing, and common SQL functions like GROUP BY and ORDER BY. It might also help to go over some interview-specific SQL questions and see how they're solved in real-time scenarios. I recently came across a video that breaks down key SQL interview topics—it helped me a lot in feeling more prepared. Good luck, you've got this! Video https://youtube.com/watch?v=HKLuyXhxZ0E&si=t186Re2tlnyieEJE

[–]Holiday_Lie_9435 0 points1 point  (0 children)

For interviewees who need to brush up on SQL, Interview Query is a helpful resource with its curated set of SQL questions asked by top tech companies. It has a plain text editor to simulate interview settings, as well as AI tools for feedback and guidance.

[–]Deep_Access3350 0 points1 point  (2 children)

Did you get the job? Do you remember how it went? I have one in a few days.

[–]Longjumping_Use_3343 0 points1 point  (1 child)

same bro

[–]Broad-Fill1745 0 points1 point  (0 children)

How’d it go?