Blog Archives
1 2 3

00: 25+ SQL beginner interview questions & answers

SQL interview Questions & Answers is a must for any developer as all non-trivial applications need to talk to a database with CRUD operations. Q3 – Q15 are very popular with the interviewers. If you want to quickly practice your SQL skills try DB Fiddle or install MySQL locally as shown in the ⏯ MySQL database beginner video tutorial.

Read more ›



01: 50+ SQL scenarios based interview Q&As on identifying & deleting duplicate records

15+ SQL interview questions and answers to solve real business scenarios. SQL is widely used in building microservices & Big Data projects. Learning SQL syntax is easy, but being able to convert a given business requirement into a query takes lots of practice. These scenarios based interview questions can assesses your experience.

Read more ›



02: 50+ SQL scenarios based interview Q&As on joins, CDC and recursive CTE

This extends 50+ SQL scenarios based interview questions answered on identifying & deleting duplicate records. Q01 When you have a table that maintains history of record updates, how will you go about retrieving the latest records? A01 The CDC (i.e. … Read more ›...



03: 50+ SQL scenarios based interview Q&As on familiarising various features

This extends 50+ SQL scenarios based interview Q&As on joins, CDC and recursive CTE. Q01 In What order the SELECT SQL statements are executed? A01 Here is the the order in which the SQL statements are evaluated. 1) FROM (including JOIN, … Read more ›...



04: 50+ SQL scenarios based interview Q&As on Nth value

This SQL scenarios based interview questions & answers focus on nth highest value or nth lowest value. These examples were done on MySQL v8.0 at www.db-fiddle.com. This will answer questions like:

Problem statements & hints

1) Who gets the 2nd highest salary?

Read more ›



05: 50+ SQL scenarios based interview Q&As on N items per group

This extends 15+ SQL scenarios based interview Q&As on Nth value – part 4. This SQL scenarios based interview questions & answers focus on N items per group. These examples were done on MySQL v8.0 at www.db-fiddle.com. … Read more ›...



06: 50+ SQL scenarios based interview Q&As on unique N items per group

This extends 15+ SQL scenarios based interview Q&As on N items per group – part 5 This SQL scenarios based interview questions & answers focus on N items per group. These examples were done on MySQL v8.0 at www.db-fiddle.com. … Read more ›...



07: 50+ SQL scenarios based interview Q&As on Pivot Vs. Unpivot

Q01 Often you will have a requirement to report on a certain dimension, which requires you to convert rows into columns or columns into rows. How will you go about accomplishing this using SQL? A01 The process of converting rows into columns is know as “ … Read more ›...



08: 50+ SQL scenarios based interview Q&As on CASE statements & NULL safe join

Below question is popular in SQL coding interviews. SQL syntaxes are very easy to learn, but lots of practice is required to be able to understand the business intent, and convert that into SQL statements with proper what if considerations. Break down the requirements to construct the SQL statements.

Read more ›



09: 50+ SQL scenarios based interview Q&As on GROUP_CONCAT() & STRING_AGG()

This post covers an SQL scenario, and how to solve it with NON ANSI 92 aggregate functions. Refer to your database documentation for the additional aggregate functions. In this post let’s look at how to implode or concatenate multiple row column values into a single column. Problem statement &… Read...



1 2 3

800+ Java Interview Q&As

Java & Big Data Tutorials

Top