CREATE TABLE employees (
emp_id INT PRIMARY KEY,
emp_name VARCHAR(50)
);
DROP TABLE employees;
ALTER TABLE employees
ADD emp_salary DECIMAL(10, 2);
INSERT INTO employees (emp_id, emp_name, emp_salary)
VALUES (1, 'John Doe', 50000);
UPDATE employees
SET emp_salary = 55000
WHERE emp_id = 1;
DELETE FROM employees
WHERE emp_id = 1;
GRANT SELECT ON employees TO user1;
REVOKE SELECT ON employees FROM user1;
COMMIT;
ROLLBACK;
SAVEPOINT my_savepoint;
SELECT emp_name, emp_salary
FROM employees
WHERE emp_salary > 50000;