Question Bank

SQL & Databases interview questions

A SQL query must remain correct with duplicates, NULL values and unusual relationships between tables. Explain joins and grouping before considering execution cost. Test your reasoning with a small table containing edge cases.

1635
questions
16
categories
50
companies

Showing 12 of 72 questions

MediumSQL & Databases

As I understand it, these two tables are linked by a key: id in the first table and employ in the second?

Practice in bot
MediumSQL & DatabasesДелимобиль

To return only what was requested, would we use another subquery?

Practice in bot
MediumSQL & Databases

Rather than just prompting it and making queries?

Practice in bot
MediumSQL & Databases

The task is to write a SQL query that selects unusual days for all publishers. The output format is not important: you can select only the relevant days, or return all days with a 1 or 0 next to each. Do not worry about those details; focus on the main problem.

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

Can there be gaps in the data?

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

How would you modify this approach?

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

What would work better than LAG and LEAD?

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

Can you implement this function?

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

What is the problem? What exactly would I break?

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

How would you solve this problem in plain SQL?

#ml#engineering
Practice in bot
MediumSQL & DatabasesPulsePoint

What would you search for on Google?

#ml#engineering
Practice in bot
MediumSQL & Databases

Can you describe your team and the challenges you work on in detail?

#ml#engineering
Practice in bot

Prepare for your next interview with Vibe Interview.

Download Vibe Interview
SQL & Databases interview questions — page 4 | Vibe Interview