Error going into S4 forum
select mid, tid, pid, state, date, subject, flags, name, email, DATE_FORMAT(date, "%Y%m%d%H%i%s") as tstamp from messages-1 where tid = '36621' and ( state = 'Active' or state = 'Moderated' ) order by mid desc
Error #1064: You have an error in your SQL syntax near '-1 where tid = '36621' and ( state = 'Active' or state = 'Moderated' ) order by ' at line 1
Tried again and it worked.



