Ben iki tablodaki satırları silmek için, aşağıdaki sorguyu kullanabilirsiniz
delete
itc, ic
from
incoming_tours ic
join
incoming_tours_cities itc on itc.id_parrent = ic.id
where
ic.sale = '5'
How can i get the number of affected rows from ic table? (mysql_affected_rows returns the total count, i need only from one table). (I use MyISAM engines in my tables, that is why i don't use foreign keys here)
Çok teşekkürler