SQL Server Database Administrator Question:
Download Questions PDF

What is a join and explain different types of joins?

Answer:

Joins are used in queries to explain how different tables are related. Joins also let you select data from a table depending upon data from another table.

Types of joins:
INNER JOINs,
OUTER JOINs,
CROSS JOINs.

OUTER JOINs are further classified as
LEFT OUTER JOINS,
RIGHT OUTER JOINS and
FULL OUTER JOINS.

Download SQL Server DB Administrator Interview Questions And Answers PDF

Previous QuestionNext Question
What is the system function to get current user's user id?There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?