//MASTER TABLE
SQL> select * from student_register;
REG_NO NAME CLASS REMARKS
---------- ---------------- -------------------- ----------
1 xxx BCA GOOD
2 YYY BBA DISOB
3 ZZZ BCA GOOD
4 AAA BSC BAD
5 BBB BCA BAD
SQL> delete from student_register where class = 'BSC';
1 row deleted.
//TABLE AFTER DELETION
SQL> select * from student_register;
REG_NO NAME CLASS REMARKS
----- ------------------ ----------------- -------------
1 xxx BCA GOOD
2 YYY BBA DISOB
3 ZZZ BCA GOOD
5 BBB BCA BAD
SQL>
No comments:
Post a Comment