How to Delete Records from MySQL Table
Notes:
How to delete a record from a table in MySQL:
- To delete a record(s) from a table; we take help of delete from command
Note: in MySQL
- tables are also called relations
- columns are also called fields
- rows are also called records
Basic Syntax:
delete from tablename where columnname=value;
Ex:
delete from tbl_student where id=2;
Interview Questions: