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