I want to delete rows from multiple tables, i written the code as delete t1.*,t2.* from t1 inner join t2 on t1.id=t2.id where t1.id='12' ,
it gives an error as "incorrect syntax near *"
Deleting rows from multiple tables
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Shankar MRank #874 · 2.5K reputationPosted Nov 23, 2012, 10:06 PM EST
statement to delete rows from their tables.
Thanks,
Shankar
rasul moh64 reputationPosted Nov 23, 2012, 10:39 PM EST
DELETE FROM tablename
WHERE columnname='name'
And go this website http://www.w3schools.com/sql/sql_delete.asp
pls tick correct answer and liked