Asking
Only logged in members can reply and interact with the post.
Join SimilarWorlds for FREE »

Anyone familiar with MySQL. Why DELETE FROM doesn't work but ;DELETE FROM works?

This page is a permanent link to the reply below and its nested replies. See all post replies »
ABCDEF7 · M
First end your previous query by using ";" at the end of previous line. Then the next Delete query should be followed.

Interpreter is considering both delete and previous query to delete as one. Which they are not actually, and neither they both makes a valid syntax of a query.