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_day_name, draw_daily_slot, draw_column, balander,
total_winners, total_win_amount
FROM megamillions
ORDER by draw_number DESC LIMIT 1