• Sat. Nov 23rd, 2024

SQL SERVER

  • Home
  • SQL Interview Questions

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…

SQL Interview Questions

Transform rows into columns in sql server This is another common sql server interview question. We will be using the following Countries table in this example.transpose rows to columns sql…

SQL Interview Questions

How to find employees hired in last n months in SQL Server This question is asked is many sql server interviews. If you have used DATEDIFF() sql server function then…