In fact if one looks at Gen 1 and Gen 2, you find that about the only thing agreed upon in these two passages is that God created everything0.
In fact they are two different creation myths, probably written by two different people. (Yes, myths, but, like the Greek myths, that doesn't mean they're without value.) Biblical literalists usually conveniently skip over that part.
In the meantime, consider my favorite contradiction, this interpretation of Genesis 6:19, "And the waters prevailed so mightily upon the earth that all the high mountains under the whole heaven were covered." It is from Innumeracy by John Allen Paulos:
Taken literally, this seems to indicate that there were 10 000 to 20 000 feet of water on the surface of the earth, equivalent to more than half a billion cubic miles of liquid! Since, according to biblical accounts, it rained for forty days and forty nights, or for only 960 hours, the rain must have fallen at a rate of at least fifteen feet per hour, certainly enough to sink any aircraft carrier, much less an ark with thousands of animals on board.