Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
40 used & new from $5.04

Have one to sell? Sell yours here
 
   
Learning SQL
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  
4.3 out of 5 stars See all reviews (26 customer reviews)

List Price: $34.95
Price: $23.07 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $11.88 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, July 15? Choose One-Day Shipping at checkout. Details
16 new from $14.95 24 used from $5.04
Also Available in: List Price: Our Price: Other Offers:
Paperback (2) $39.99 $26.39 44 used & new from $20.00
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Learning SQL and get SQL Cookbook (Cookbooks (O'Reilly)) at an additional 5% off Amazon.com's everyday low price.

Learning SQL + SQL Cookbook (Cookbooks (O'Reilly))
Buy Together Today: $48.12

Show availability and shipping details

  • This item: Learning SQL

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • SQL Cookbook (Cookbooks (O'Reilly))

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought

Sams Teach Yourself SQL in 10 Minutes (3rd Edition)

Sams Teach Yourself SQL in 10 Minutes (3rd Edition)

by Ben Forta
4.6 out of 5 stars (148)  $13.59
SQL Pocket Guide (Pocket Reference (O'Reilly))

SQL Pocket Guide (Pocket Reference (O'Reilly))

by Jonathan Gennick
4.6 out of 5 stars (20)  $10.19
SQL in a Nutshell (In a Nutshell (O'Reilly))

SQL in a Nutshell (In a Nutshell (O'Reilly))

by Kevin Kline
3.9 out of 5 stars (40)  $29.69
Head First SQL: Your Brain on SQL -- A Learner's Guide

Head First SQL: Your Brain on SQL -- A Learner's Guide

by Lynn Beighley
4.2 out of 5 stars (37)  $29.69
SQL For Dummies

SQL For Dummies

by Allen G. Taylor
3.3 out of 5 stars (32)  $16.49
Explore similar items

Editorial Reviews

Review
"If you have been avoiding coming to grips with SQL, or if you feel that you are only just coping with putting together queries and designing tables, then this is the book you need to understand what is going on." - Mike James, VSJ, July/August 2006

Product Description
SQL (Structured Query Language) is a standard programming language for generating, manipulating, and retrieving information from a relational database. If you're working with a relational database--whether you're writing applications, performing administrative tasks, or generating reports--you need to know how to interact with your data. Even if you are using a tool that generates SQL for you, such as a reporting tool, there may still be cases where you need to bypass the automatic generation feature and write your own SQL statements.

To help you attain this fundamental SQL knowledge, look to "Learning SQL," an introductory guide to SQL, designed primarily for developers just cutting their teeth on the language.

"Learning SQL" moves you quickly through the basics and then on to some of the more commonly used advanced features. Among the topics discussed:

The history of the computerized database SQL Data Statements--those used to create, manipulate, and retrieve data stored in your database; example statements include select, update, insert, and delete SQL Schema Statements--those used to create database objects, such as tables, indexes, and constraints How data sets can interact with queries The importance of subqueries Data conversion and manipulation via SQL's built-in functions How conditional logic can be used in Data Statements

Best of all, "Learning SQL" talks to you in a real-world manner, discussing various platform differences that you're likely to encounter and offering a series of chapter exercises that walk you through the learning process. Whenever possible, the book sticks to the features included in the ANSI SQL standards. This means you'll be able to apply what you learn to any of several different databases; the book covers MySQL, Microsoft SQL Server, and Oracle Database, but the features and syntax should apply just as well (perhaps with some tweaking) to IBM DB2, Sybase Adaptive Server, and PostgreSQL.

Put the power and flexibility of SQL to work. With "Learning SQL" you can master this important skill and know that the SQL statements you write are indeed correct.

See all Editorial Reviews


Product Details

  • Paperback: 306 pages
  • Publisher: O'Reilly Media, Inc.; 1 edition (August 22, 2005)
  • Language: English
  • ISBN-10: 0596007272
  • ISBN-13: 978-0596007270
  • Product Dimensions: 9.1 x 7 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.3 out of 5 stars See all reviews (26 customer reviews)
  • Amazon.com Sales Rank: #108,854 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #42 in  Books > Computers & Internet > Databases > Data Warehousing
    #49 in  Books > Computers & Internet > Databases > Data Mining

Inside This Book (learn more)

Citations (learn more)
1 book cites this book:


Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(16)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

26 Reviews
5 star:
 (18)
4 star:
 (3)
3 star:
 (2)
2 star:
 (2)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (26 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
51 of 55 people found the following review helpful:
2.0 out of 5 stars grammar-based approach can't get off the ground, August 28, 2006
By Matthew J. Garland (Los Angeles, CA USA) - See all my reviews
(REAL NAME)   
It seems like most of the people writing reviews for this book already know databases to some degree. I didn't, so I'd like to share my experience.

This book takes an old-school, grammatical approach to the SQL language, grouping related commands into chapters, then explaining each, one by one.

This makes the first part of the book exhilarating. You go to the O'Reilly website and download a database to work on, and immediately you are querying, updating, etc, using the examples from the book. SQL at first seems refreshingly direct and powerful compared to the (OO) programming languages I know.

However, the 'a command followed by long verbal explanation" approach completely falls apart when the content goes even a little deeper. For me, the book took a nosedive at the first "Joins" chapter, and never recovered.

It was then I realized that I had not yet firmly grasped what a 'foreign key" was, so it was hard to get my head around the the idea of a join.

A simple graph would have helped at many points, but there are no graphs.

Nor are the code examples embedded in meaningful contexts or test cases. Indeed, the reasons for writing the code are almost in every case revealed AFTER the code is shown ("in that last query, the intent was..."), and the code is never commented, which makes it harder to understand and retain. And without any context, it is difficult to understand WHY to use one command over another. It seems like you can skin a cat a million ways in SQL--so why prefer one kind of filtering to another? Performance, readability, what?

I guess it sounds like I just wanted this book to be a 'Head First'-type book, and that's true. But even on its own terms, this book is frustrating. Its pure emphasis on the language somehow skips syntax, and the long verbal explanations are constantly seesawing away from themselves ("as we will see", "as we have seen").

I've finished the book and feel reasonably confident about using SQL now. So this book is serviceable...but unnecessarily painful, too.
Comment Comments (2) | Permalink | Was this review helpful to you? Yes No (Report this)



 
46 of 50 people found the following review helpful:
5.0 out of 5 stars Programmers, please read!, October 7, 2005
If you're writing any type of database driven code and you think that you don't need to understand SQL, read this book. You do need to understand it, and this book teaches it very well.

Man, I'm so tired of cleaning up bad SQL code. Code that makes hundreds of queries when one would suffice. Or tables that have no primary keys. Or code that never makes use of joins. SQL is not horrible. It's worth understanding and knowing how to write well.

This book is well written, well illustrated, and makes learning SQL as pain-free as it can be. Please, please, please, read this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
29 of 30 people found the following review helpful:
5.0 out of 5 stars Beats "SQL for Dummies" Hands Down, March 4, 2006
By Larry (Somerville, MA) - See all my reviews
Like everyone else, I'm pressed for time. It's all I can do to keep up with Java, let alone related incidental technologies such as SQL, JavaScript, HTML, Ant, etc. But as one reviewer pointed out: make no mistake, you need to know SQL. And if you don't (hell, even if you do), this is just a flat-out good book to have and read. I had previously purchased and read "SQL for Dummies", but threw that book out when I got this one. (To be honest, it wasn't just this book that made me toss the "Dummies" book; I never really liked it to begin with.)
I like the way "Learning SQL" is written. Sure, facts are presented, but the author does a masterful job of telling you how and why those facts exist. In addition, the conversational tone of the book proceeds along the path you'd expect from a real conversation: from the simpler to the more complex, in a logical and sensical path. (Okay, so most conversations don't fall into that category. But this book sure does, so do yourself a favor and buy it!)
Oh, and one more thing related to being pressed for time: it's not the technical-typical 700+ pages, it's just a few hundred.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Clear, detailed, and useful
If a person is looking to become a database administrator, or just needs to get up to speed on the basics with some understanding of what they are doing and why, this is an... Read more
Published 1 month ago by M. Helmke

5.0 out of 5 stars Beginner's Luck
Wouldn't it be great if your first study guide on databases covered database theory in general, your own favorite database server in particular, and also the ins and outs of SQL... Read more
Published 1 month ago by William N. Coan

5.0 out of 5 stars Very Easy SQL
This book is easy understand i dont know any about SQL and now y can make some querys with simple use of SELECT, FROM, WHERE.
Published 3 months ago by L. Medero

5.0 out of 5 stars Good beginner book
This is a great for those who want to learn mysql. It's easy to understand and the examples are clear and simple and teach you step by step what you need to know. Read more
Published 9 months ago by Jeremy R. Laporte

3.0 out of 5 stars Keiths Review
Very well written book. However, I really needed the book to learn Microsoft SQL Server and it is more directed towards MySQL, which I do not use. Read more
Published 10 months ago by Keith E. Ducett Jr.

3.0 out of 5 stars Only for beginners
I have been working with some fairly decent SQL from the past 3 years. I wanted to improve my basics and also learn some advanced topics. Read more
Published 13 months ago by Vijay R

2.0 out of 5 stars Only for MySQL, not for Microsoft SQL Server
Buy instead the excellent book by Ben Forta "SQL in 10 Minutes", which is a bit more simplistic but better. Read more
Published 24 months ago by A_2007_reader

5.0 out of 5 stars Not for a true novice
I bought this book thinking I could learn SQL as a true novice. This book is not intended for a real beginner, but for developers/programmers that probably already know at least... Read more
Published on June 21, 2007 by stayathomedad

5.0 out of 5 stars If you want to or have to use SQL, this is the book
I needed a book to get one started with SQL programming from the basics to professional use of the language. Read more
Published on May 6, 2007 by Demetre Stavrinos

5.0 out of 5 stars Excellent Book to Learn SQL Quickly!
Being an IT Professional i have seen many books till now and this is one of the best books i have seen. Read more
Published on April 3, 2007 by Vamsi Manchella

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (4 discussions)
See all 4 discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)


So You'd Like to...


Look for Similar Items by Category


Up to 50% Off Hot Brands in Skin Care

Skin Care Sale
Get favorite name brands in skin care for face, body, and sun care, now up to 50% off at the skin care sale, only from Amazon Beauty.

Shop all skin care

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Summer Reading for Kids & Teens

Summer Reading for Kids and Teens
Discover everything from beach reads and board books to teen romance and action-adventure series in Summer Reading for Kids & Teens. And, check off the kids' required reading lists in our Summer School Reading Store.
 

Examine Every Facet of Your Faucet

Shop for Bathroom Faucets
Coordinate your bath décor with sleek bathroom faucets found in the Plumbing Store.

Shop bathroom faucets now

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates