Podcast Beta
Questions and Answers
What is the purpose of the UPDATE command in SQL?
What is the syntax of the UPDATE command to change the salary of an employee to 55000 where the employee code is 1009?
What is the effect of the command UPDATE EMPLOYEE SET GROSS = GROSS + 1000;
What is the purpose of the DELETE command in SQL?
Signup and view all the answers
What is the effect of the command DELETE FROM EMPLOYEE WHERE GRADE = 'A1';
Signup and view all the answers
What is the effect of the command DELETE FROM EMPLOYEE;
Signup and view all the answers
What is the purpose of the DROP TABLE command in SQL?
Signup and view all the answers
What is the syntax of the DROP TABLE command to drop the EMPLOYEE table?
Signup and view all the answers
What is the effect of the command UPDATE EMPLOYEE SET GROSS = 58000, GRADE='B2' WHERE ECODE = 1009;
Signup and view all the answers
What is the effect of the command UPDATE EMPLOYEE SET GROSS = GROSS * 2 WHERE GRADE='A1' OR GRADE='A2';
Signup and view all the answers