1.

Consider the table 'empsalary'.          ID          Salary     10143000'102Null10456000107NullTo 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»

SELECT ID, Salary FROM empsalary WHERE Salary is NOT NULL;



Discussion

No Comment Found

Related InterviewSolutions