Unknown column 'date' in 'order clause':select * from sykes_jobs where isstaging = 0 and ( city like '%Mount Pleasant, South Carolina%' or address like '%Mount Pleasant, South Carolina%' or state like '%Mount Pleasant, South Carolina%' or title like '%Mount Pleasant, South Carolina%' or location like '%Mount Pleasant, South Carolina%' ) order by case when workplace = 'W@H' then 1 else 0 end, -date, rand_col desc limit 0, 50