Question: You have a database named 'marketnikkie', the backup of which is stored at 'D:\marketnikkie.bak' location on your server. Due to some electric fluctuations, the database gets corrupt. Which of the following is the correct query to restore your database?
A
RESTORE DATABASE marketnikkie FROM DISK = 'D:\marketnikkie.bak'
B
RESTORE DATABASE FROM DISK = 'D:\marketnikkie.bak'
C
RESTORE DATABASE marketnikkie FROM = 'D:\marketnikkie.bak'
D
RESTORE marketnikkie FROM DISK = 'D:\marketnikkie.bak'
E
RESTORE DATABASE marketnikkie.mdf FROM DISK = 'D:\marketnikkie.bak'
Question: 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?