hope someone can help me to understand why this first query works while the second one does not. My goal is to show first the row with status "close" and then the row with status "wait"
"SELECT * from job WHERE status='close' AND status='wait' ";
"SELECT * from job WHERE status='close ";
I attempted to do this which is working but i want to show all status except "deleted"
$sql = "SELECT id,date, device,model,problem,status,assigned from job ORDER BY FIELD(status,'deler_trenger','deler_bestilt','new','progress','wait','done','close','cancel')";