5. Alter, Drop, Delete, Update, Commit, Rollback
1. DELETE FROM player
WHERE sal BETWEEN 1 AND 100;
2. DELETE FROM player
WHERE sal IN(1000,2000);
3. ROLLBACK;
4. COMMIT;
5. DROP TABLE TEST_0
6. ALTER TABLE test_0
ADD add_name VARCHAR2(30);
7. ALTER TABLE test_0
MODIFY add_name VARCHAR2(20);
8. ALTER TABLE test_0
DROP COLUMN add_name ;
9. RENAME TEST_0 TO new_Table;
10. TRUNCATE TABLE test_0;
11. UPDATE test_0
SET add_name = 'Your Name'
WHERE ROLLNO = 101;
12. UPDATE test_0
SET add_name = 'Your Name'
No comments:
Post a Comment