MCQs > IT & Programming > Microsoft SQL Server > You have two tables emp_1 and emp_2, having the following data: Table emp_1 Name Date Robert 1/5/2008 John 1/6/2008 Michael 1/7/2008 Rachael 1/10/2008 Joey 1/10/2008 Table emp_2 Name Date Lewis 1/05/2008 David 1/07/2008 George 1/11/2008 Jerry 1/12/2008 Monica 1/12/2008 The following query is run in the Query Analyzer: SELECT Date FROM emp_1 EXCEPT SELECT Date FROM emp_2 What will be the result of the query?

Microsoft SQL Server MCQs

You have two tables emp_1 and emp_2, having the following data:

Table emp_1

Name                Date

Robert               1/5/2008

John                    1/6/2008

Michael                1/7/2008

Rachael                1/10/2008

Joey                    1/10/2008

Table emp_2

Name                Date

Lewis                1/05/2008

David                1/07/2008

George               1/11/2008

Jerry                 1/12/2008

Monica                1/12/2008

The following query is run in the Query Analyzer:

SELECT Date FROM emp_1

EXCEPT

SELECT Date FROM emp_2

What will be the result of the query?

Answer

Correct Answer: 1/6/2008, 1/10/2008

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Microsoft SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Microsoft SQL Server Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it