Error on read of Last Draw SELECT draw_number, DATE_FORMAT(draw_date,'%d/%m/%Y') as draw_date_formatted, DAYOFWEEK(draw_date) as dayofweek, draw_column, joker, winners, dividents,
win_nums_flag, all_winners_flag, dividents_flag
FROM GA_cash_pop
ORDER by draw_date DESC, draw_number DESC LIMIT 1