I don't do much with SQL server (as the old saw goes, I know enough to be dangerous

) but a couple of ebooks I picked up from GoalKicker do a better job of covering the basics (IMHO). They have Microsoft SQL Server, PostgreSQL, MySQL, MongoDB, Oracle Database and vanilla SQL Notes for Professionals versions. The content is, for the most part, from StackOverflow.