我有一个查询,我想按字段顺序显示结果
$sqlse .= "SELECT ".$tableColumn. " FROM ".$table." WHERE ".$where." AND ".$table2.".account_id IN (353,176,9) OR NOT IN".$table2.".account_id IN (353,176,9) ORDER BY FIELD(account_id,353,176,9)";
我想按顺序显示结果
account_id Name
353 sandy
176 Abhi
9 jill
42 prahsnt
435 jack
但它按顺序显示结果
42 prashant
435 jack
353 sandy
176 abhi
9 jill