Which is a compound sentence?

 - Spiders have eight legs, but insects have only six.
 - Every morning my alarm clock wakes me at six o'clock.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction but.
Spiders have eight legs, but insects have only six.