Complete the code to create a simple view named employee_view that selects all columns from the employees table.
CREATE VIEW employee_view AS SELECT * FROM [1];Complete the code to create a view named active_customers that selects all columns from customers where the status is 'active'.
CREATE VIEW active_customers AS SELECT * FROM customers WHERE status = '[1]';
Fix the error in the code to create a view named order_summary that shows order_id and total_amount from the orders table.
CREATE VIEW order_summary AS SELECT order_id, [1] FROM orders;Fill both blanks to create a view named high_salary_employees that selects name and salary from employees where salary is greater than 50000.
CREATE VIEW high_salary_employees AS SELECT [1], [2] FROM employees WHERE salary > 50000;
Fill all three blanks to create a view named customer_orders that selects customer_id, order_id, and order_date from the orders table where order_date is after '2023-01-01'.
CREATE VIEW customer_orders AS SELECT [1], [2], [3] FROM orders WHERE order_date > '2023-01-01';
