-2
我想刪除多個表中的行。我知道選擇查詢,但我需要的是在下面定義的所有列的確切刪除查詢:在mysql中刪除查詢
SELECT j.application_id,
j.first_name,
j.last_name,
c.description,
l.description,
p.description, " +
"j.email,
j.date_applied,
j.application_status,
j.dob, j.current_city, j.phone_mobile, j.phone_residence " +
"FROM jobapp.job_applications j,
jobapp.countries c,
jobapp.countries l ,
jobapp.job_locations p " +
"WHERE j.preferred_location = p.id
AND j.current_country = l.id
AND j.nationality = c.id "; //+
//"and application_status like ? and first_name like ? and last_name like ? and email like ?";
的查詢工作正常使用MySQL,但我需要對其中的行是完全相同列的刪除查詢被刪除...
你只是想刪除申請人吧?我不知道從國家和job_locations刪除行。 – Paul
我們不會爲你寫信,請參閱文檔:http://dev.mysql.com/doc/refman/5.0/en/delete.html –
@OMG,這是有幫助的。他是新人,爲什麼不指出他[問]?也許你應該刷新http://stackoverflow.com/faq#etiquette。 – Paul