SQL Book

Associate
Joined
31 May 2014
Posts
521
Can anyone recommend a good book to learn SQL with, assuming a starting knowledge of none? Previously for other areas I used the Sams Teach Yourself books however the latest version gets very poorly reviewed on Amazon.
 
Soldato
Joined
6 Mar 2008
Posts
10,078
Location
Stoke area
Honestly, is SQL really a big enough subject to need a book for?

https://www.sololearn.com is good + there is a phone app. Covers everything quickly.
Codecademy as well.
MS Virtual academy has some in-depth stuff on it.

If you really need a book check out the Head First series, very good at giving you a sound foundation to build on.
 
Soldato
Joined
13 Jun 2009
Posts
4,230
Location
My own head
Learn by doing. Grab a sample database and go to town. Stack overflow and stuff like code
Honestly, is SQL really a big enough subject to need a book for?

https://www.sololearn.com is good + there is a phone app. Covers everything quickly.
Codecademy as well.
MS Virtual academy has some in-depth stuff on it.

If you really need a book check out the Head First series, very good at giving you a sound foundation to build on.

Pretty much agree. SQL is best to learn while doing.

Get a decent tutorial, get a decent sample database with a ton of data etc, and go to town :).
 
Soldato
Joined
19 Oct 2008
Posts
5,951
Agree, learn while doing via googling. I've always struggled to find SQL and databases in general even slightly interesting but know enough to get by. Reading a book on SQL would be the ultimate bed time reading material :D.
If you feel you need a book though, like another poster I recommend the Head First series.
 
Man of Honour
Joined
17 Oct 2002
Posts
50,384
Location
Plymouth
Sql is the easy bit, the hard part is knowing what to use when and why, not the actual language itself.

Sql is like lego, immensely powerful but you need to understand what you are trying to do before worrying about what parts you need.

What is your purpose for learning Sql?
 
Associate
Joined
21 Mar 2011
Posts
18
As previously noted, learning to write SQL is simple enough. You can use online resources such as W3Schools, youtube or MS virtual academy if you're simply looking to get a grounding for working with SQL.

Do you have put much thought into which implementation of SQL you wish to learn about? I.e. MySQL, Oracle, MSSQL etc?

The part that a lot of people seem to trip up on is that they pick up the SQL syntax, but then neglect to fully understand how the underlying engines work, and then find that their queries may perform poorly, or experience temperamental issues. That said, it's totally unrealistic to expect everybody who works with SQL to be of a certified master of the the system.

In terms of MSSQL, anything written, or co-authored by Itzik Ben-gan tend to be superb for gaining a solid foundation, but are not necessarily geared for someone with 0 prior knowledge. The problem with a lot of programming related books is that they tend to be quite a dry read, and this doubly applies for database related materials. From what limited experience I have of Oracle, the online documentation on their website does seem to be of a reasonable quality.
 
Soldato
Joined
6 Mar 2008
Posts
10,078
Location
Stoke area
I've found SQL quite easy to pick up and use it daily now on our 45gb live database. Granted I am not doing anything serious on there but entering new details and modifying some existing sales orders etc.

As long as you can think logically then it should be relatively simple.
 
Back
Top Bottom