MySQL DELETE Examples

DELETE - Row

Delete a row of data. 

START TRANSACTION
;

DELETE FROM courses
WHERE  course_designater = 'Excel101' 
;

COMMIT 
;

DELETE - Multiple rows of data

Delete multiple rows of data. Be careful!


DELETE FROM courses
WHERE  course_designater LIKE 'Linux%' 
;