Complete the code to select all columns from the view named 'employee_view'.
SELECT [1] FROM employee_view;In SQL, * means select all columns from the table or view.
Complete the code to select only the 'name' column from the view 'employee_view'.
SELECT [1] FROM employee_view;To select a specific column, write its exact name after SELECT.
Fix the error in the query to select employees with salary greater than 50000 from the view 'employee_view'.
SELECT * FROM employee_view WHERE salary [1] 50000;
To find salaries greater than 50000, use the '>' operator.
Fill both blanks to select 'name' and 'department' columns from 'employee_view' where department is 'Sales'.
SELECT [1], [2] FROM employee_view WHERE department = 'Sales';
Select the columns 'name' and 'department' to get employee names and their departments.
Fill all three blanks to select 'name' and 'salary' from 'employee_view' where salary is greater than 60000.
SELECT [1], [2] FROM employee_view WHERE salary [3] 60000;
Select 'name' and 'salary' columns and use '>' to filter salaries greater than 60000.