A dog sitting on to of a table wearing  a hat.
A dog is wearing a hat while sitting on a table.
A small brown dog sits on a wooden table wearing a derby hat.
A pitbull with a bowler hat sitting on top of a table. 
A dog sitting on a table while wearing a hat.