Home > Store > Databases > SQL

larger cover

Add To My Wish List

Sams Teach Yourself SQL in 10 Minutes, 3rd Edition

  • By Ben Forta
  • Published Mar 31, 2004 by Sams. Part of the Sams Teach Yourself series.
    • Copyright 2004
    • Dimensions: 5-1/2" x 8-1/4"
    • Pages: 256
    • Edition: 3rd
    • Book
    • ISBN-10: 0-672-32567-5
    • ISBN-13: 978-0-672-32567-0
    • eBook (Adobe DRM)
    • ISBN-10: 0-13-217387-5
    • ISBN-13: 978-0-13-217387-2

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

Ben Forta is Macromedia's Senior Technical Evangelist and has almost 20 years of experience in the computer industry in product development, support, training, and product marketing. Ben is the author of the best-selling ColdFusion Web Application Construction Kit and Advanced ColdFusion Development (both published by Que), Sams Teach Yourself Regular Expressions in 10 Minutes (in this same series), and also books on Flash, Java, WAP, Windows 2000, and other subjects. He has extensive experience in database design and development, has implemented databases for several highly successful commercial software programs, and is a frequent lecturer and columnist on Internet and database technologies. Born in London, England, and educated in London, New York, and Los Angeles, Ben now lives in Oak Park, Michigan, with his wife Marcy and their seven children. Ben welcomes your email at ben@forta.com, and invites you to visit his Web site at http://www.forta.com.

Sams Teach Yourself SQL in 10 Minutes has established itself as the gold standard for introductory SQL books, offering a fast-paced accessible tutorial to the major themes and techniques involved in applying the SQL language. Forta¿s examples are clear and his writing style is crisp and concise. As with earlier editions, this revision includes coverage of current versions of all major commercial SQL platforms. New this time around is coverage of MySQL, and PostgreSQL. All examples have been tested against each SQL platform, with incompatibilities or platform distinctives called out and explained.

Customer Reviews

16 of 17 people found the following review helpful
5.0 out of 5 stars SQL Lessons Which Take 10 Minutes Each To Complete, June 3, 2005
This review is from: Sams Teach Yourself SQL in 10 Minutes (3rd Edition) (Paperback)
I purchased this book to refresh myself on the basics of SQL. I must say that I am thoroughly impressed with the simplicity of the material. It is a good book if you ever wanted to try learning SQL or need a refresher. The downloadable material along with the step-by-step instructions make this book a much better tutor than the SQL For Dummies.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


18 of 20 people found the following review helpful
4.0 out of 5 stars Great, but falls short, October 9, 2011
Amazon Verified Purchase(What's this?)
This review is from: Sams Teach Yourself SQL in 10 Minutes (3rd Edition) (Paperback)
All lessons provide code snippets for examples as well as the corresponding output. Unfortunately there is no way to have a frame of reference since there is no information or illustration of the input. It's a great book, but as many other reviews stated, it is much more suited as a reference book. All in all I would say it is DEFINITELY worth the price, but personally it left me wanting to buy another SQL book, I'm thinking something from Joes 2 Pros.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


27 of 32 people found the following review helpful
5.0 out of 5 stars If you..., October 10, 2006
Amazon Verified Purchase(What's this?)
This review is from: Sams Teach Yourself SQL in 10 Minutes (3rd Edition) (Paperback)
Update (Dec 1, '06): updates marked with >>>
Update (May 5, '12): updates marked with ***

-don't know which program you will be using for SQL and have no knowledge of SQL commands, this book is directed at you and you should get it.
*** I all but stopped programming with SQL for a few years and then came back to it in 2011. When I reviewed this book and my highlights within it, this text remained immensely useful.

-know which program you will be using, get a book on your specific program, because there is enough variation between the programs that another book will serve you much better.
>>>I think I will change this recommendation -- if you don't know SQL, consider this book regardless of which program you are working with.

-are familiar with a few commands in SQL, look for a different book because you will probably breeze through this book and not gain nearly as much as if your time was spent reading something else.

I was in... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 100 customer reviews...

Online Sample Chapters

Managing Transaction Processing for SQL Database Integrity

Sorting Retrieved Data

Sorting Retrieved Data from SQL Databases

Table of Contents



Introduction.


Lesson 1. Understanding SQL.

Database Basics. What Is SQL? Try It Yourself. Summary.



Lesson 2. Retrieving Data.

The SELECT Statement. Retrieving Individual Columns. Retrieving Multiple Columns. Retrieving All Columns. Summary.



Lesson 3. Sorting Retrieved Data.

Sorting Data. Sorting by Multiple Columns. Sorting by Column Position. Specifying Sort Direction. Summary.



Lesson 4. Filtering Data.

Using the WHERE Clause. The WHERE Clause Operators. Summary.



Lesson 5. Advanced Data Filtering.

Combining WHERE Clauses. Using the IN Operator. Using the NOT Operator. Summary.



Lesson 6. Using Wildcard Filtering.

Using the LIKE Operator. Tips for Using Wildcards. Summary.



Lesson 7. Creating Calculated Fields.

Understanding Calculated Fields. Concatenating Fields. Performing Mathematical Calculations. Summary.



Lesson 8. Using Data Manipulation Functions.

Understanding Functions. Using Functions. Summary.



Lesson 9. Summarizing Data.

Using Aggregate Functions. Aggregates on Distinct Values. Combining Aggregate Functions. Summary.



Lesson 10. Grouping Data.

Understanding Data Grouping. Creating Groups. Filtering Groups. Grouping and Sorting. SELECT Clause Ordering. Summary.



Lesson 11. Working with Subqueries.

Understanding Subqueries. Filtering by Subquery. Using Subqueries As Calculated Fields. Summary.



Lesson 12. Joining Tables.

Understanding Joins. Creating a Join. Summary.



Lesson 13. Creating Advanced Joins.

Using Table Aliases. Using Different Join Types. Using Joins with Aggregate Functions. Using Joins and Join Conditions. Summary.



Lesson 14. Combining Queries.

Understanding Combined Queries. Creating Combined Queries. Summary.



Lesson 15. Inserting Data.

Understanding Data Insertion. Copying from One Table to Another. Summary.



Lesson 16. Updating and Deleting Data.

Updating Data. Deleting Data. Guidelines for Updating and Deleting Data. Summary.



Lesson 17. Creating and Manipulating Tables.

Creating Tables. Updating Tables. Deleting Tables. Renaming Tables. Summary.



Lesson 18. Using Views.

Understanding Views. Creating Views. Summary.



Lesson 19. Working with Stored Procedures.

Understanding Stored Procedures. Why to Use Stored Procedures. Executing Stored Procedures. Creating Stored Procedures. Summary.



Lesson 20. Managing Transaction Processing.

Understanding Transaction Processing. Controlling Transactions. Summary.



Lesson 21. Using Cursors.

Understanding Cursors. Working with Cursors. Summary.



Lesson 22. Understanding Advanced SQL Features.

Understanding Constraints. Understanding Indexes. Understanding Triggers. Database Security. Summary.



Appendix A: Sample Table Scripts.

Understanding the Sample Tables. Obtaining the Sample Tables.



Appendix B: Working in Popular Applications.

Using Aqua Data Studio. Using DB2. Using Macromedia ColdFusion. Using Microsoft Access. Using Microsoft ASP. Using Microsoft ASP.NET. Using Microsoft Query. Using Microsoft SQL Server. Using MySQL. Using Oracle. Using PHP. Using PostgreSQL. Using Query Tool. Using Sybase. Configuring ODBC Data Sources.



Appendix C: SQL Statement Syntax.

ALTER TABLE. COMMIT. CREATE INDEX. CREATE PROCEDURE. CREATE TABLE. CREATE VIEW. DELETE. DROP. INSERT. INSERT SELECT. ROLLBACK. SELECT. UPDATE.



Appendix D: Using SQL Datatypes.

String Datatypes. Numeric Datatypes. Date and Time Datatypes. Binary Datatypes.



Appendix E: SQL Reserved Words.


Index.

Sample Pages

Download the sample pages (includes Chapter 3 and Index)

 

Book

This product currently is not for sale.

Buy

eBook (Adobe DRM)  $19.99  $15.99

About Adobe DRM eBooks

Information This eBook requires the free Adobe® Digital Editions software.

Before downloading this DRM-encrypted PDF, be sure to:


  • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
  • Authorize your copy of Adobe Digital Editions using your Adobe ID. If you don't already have an Adobe ID, you can create one here.
Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.