select substr(CreateDate, 1, 10) createdate, form.* from `form` where Uno='2310' and Class_id='6' ORDER BY Class_id,id DESC