UpTest > .Net Technologies Internet Programming > ASP.NET with SQL Server Test

Test: ASP.NET with SQL Server Test

Question 1: Prev Next
What will happen if you query the emp table as shown below:

select empno, DISTINCT ename, Salary from emp;
EMPNO, unique value of ENAME and then SALARY are displayed
EMPNO, unique value ENAME and unique value of SALARY are displayed
DISTINCT is not a valid keyword in SQL
No values will be displayed because the statement will return an error
Please login to submit your answer.