I tried:
UPDATE giveaways SET winner = \'1\' WHERE ID = (SELECT MAX(ID) FROM giveaways)
But it gives:
#1093 - Yo
update giveaways set winner=1 where Id = (select*from (select max(Id)from giveaways)as t)