• Fri. Oct 18th, 2024

SQL Interview Questions

How and why a sql inner left right full and even cross join returns the same row count We have 2 tables – TableA and TableB. Both the tables have…

SQL Interview Questions

How to insert data into a table that has many-to-many relationship in SQL Server We will use the following 3 tables for this example SQL Script to create the tables…

SQL Interview Questions

select all names that start with a given letter without like operator in Sql Server We will discuss writing a SQL query to retrieve all student names that start with…

SQL Interview Questions

Difference between blocking and deadlocking we will discuss the difference between blocking and deadlocking. This is one of the common SQL Server interview question. Let us understand the difference with…

SQL Interview Questions

Can we join two tables without primary foreign key relation in SQL Server Yes, we can join two tables without primary foreign key relation as long as the column values…

SQL Interview Questions

Real time example for right join in SQL Server In my opinion this is a very good sql server interview question. Question 1: Can you list different types of JOINS…

SQL Interview Questions

Join 3 tables in sql server Joining 3 tables (or even more) is very similar to joining 2 tables. We will be using the following 3 tables in this demo.SQL…

SQL Interview Questions

Difference between inner join and left join in SQL Server This is one of the very common sql server interview question. Different JOINS in SQL Server are discussed in detail…

SQL Interview Questions

find department with highest number of employees in SQL Server We will be using the following tables (Employees & Departments) to answer this question. In Employees table DepartmentID is the…

SQL Interview Questions

SQL query to find rows that contain only numerical data Let me explain the scenario mentioned in one of the sql server interview. We have the following table. Write a…