Articles in this series
SQL interview questions and answers #11 · Write a SQL query to concatenate multiple rows into a single string? USE TestDB; GO DROP TABLE IF EXISTS...
SQL interview questions and answers #10 · Write a SQL query to de-group the data and provide the output as below. Let us first create the test data to...
SQL interview questions and answers #9 · To demonstrate this, we will first create a test data number sequence from 1 to 25 with some missing numbers in...
SQL interview questions and answers #8 · Answer: DECLARE @t TABLE ( id INT IDENTITY(1,1) PRIMARY key, drink_name VARCHAR(30) ) INSERT INTO @t...
SQL interview questions and answers #7 · Question: Write an update statement to swap the column values without using a temporary tables. Before Update:...
SQL interview questions and answers #6 · You have an employee table with employee details. You need to get 3rd highest salary get the employee details...