1.

Consider the table’empsalary’IDSalary10143000102NULL10456000107NULLTo select tuples with some salary, Siddharth has written the following erroneous SQL statement :SELECT ID. Salary FROM empsalary WHERE Salary = something ; Write the correct SQL statement.

Answer»

The correct code is :

SELECT ID, Salary FROM empsalary

WHERE Salary = 56000 ;



Discussion

No Comment Found

Related InterviewSolutions