CBSE Class 12 Computer Science
Question 58 of 78
Simple Queries in SQL — Question 12
Back to all questionsselect, from
Reason — In SQL, the SELECT clause is used to retrieve a subset of rows and columns from one or more tables, while the FROM clause specifies the table from which the data should be retrieved. Therefore, to complete the query, the FROM clause must be added after the SELECT keyword. The corrected query is as follows :
SELECT ID, name, dept name, salary * 1.1
FROM <table_name>
WHERE instructor = 1005 ;