SQL Interview Problem asked by Product Based Company

In this video, I will solve a real SQL Interview problem asked by a Product Based Company. We shall look at the problem statement and figure out how to come up with a solution to solve this kind of problems.

This is a simple problem with simple solution but if you are new to SQL then you might find it complex. I have solved this SQL problem in PostgreSQL but the same solution will also work in Microsoft SQL Server.

However in my blog I have provided the solution for the same in Oracle and MySQL database also.

Download the Dataset, scripts and SQL Query solution from below:

Previous
Previous

SQL JOINS Interview Question | What does different SQL Joins return?

Next
Next

Tricky SQL Interview Query