Home > Store > Databases > SQL

larger cover

Add To My Wish List

Sams Teach Yourself SQL in 10 Minutes, 4th Edition

  • By Ben Forta
  • Published Oct 25, 2012 by Sams. Part of the Sams Teach Yourself series.
    • Copyright 2013
    • Dimensions: 5-3/8" x 8-1/4"
    • Pages: 288
    • Edition: 4th
    • Book
    • ISBN-10: 0-672-33607-3
    • ISBN-13: 978-0-672-33607-2

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

  • Description
  • Reviews
  • Sample Content

Product Author Bios

Ben Forta is Adobe Systems’ Director of Developer Relations and has more than 20 years of experience in the computer industry in product development, support, training, and product marketing. He is the author of the best-selling Sams Teach Yourself SQL in 10 Minutes, spinoff titles on MySQL and SQL Server T-SQL, ColdFusion Web Application Construction Kit and Advanced ColdFusion Application Development (both published by Adobe Press), Sams Teach Yourself Regular Expressions in 10 Minutes, as well as books on Flash, Java, Windows, and other subjects. He has extensive experience in database design and development, has implemented databases for several highly successful commercial software programs and websites, and is a frequent lecturer and columnist on Internet and database technologies. Ben lives in Oak Park, Michigan, with his wife Marcy and their seven children. Ben welcomes your e-mail at ben@forta.com and invites you to visit his website at http://forta.com/.

Sams Teach Yourself SQL in 10 Minutes, Fourth Edition

New full-color code examples help you see how SQL statements are structured


Whether you're an application developer, database administrator, web application designer, mobile app developer, or Microsoft Office users, a good working knowledge of SQL is an important part of interacting with databases. And Sams Teach Yourself SQL in 10 Minutes offers the straightforward, practical answers you need to help you do your job.


Expert trainer and popular author Ben Forta teaches you just the parts of SQL you need to know–starting with simple data retrieval and quickly going on to more complex topics including the use of joins, subqueries, stored procedures, cursors, triggers, and table constraints.


You'll learn methodically, systematically, and simply–in 22 short, quick lessons that will each take only 10 minutes or less to complete.


With the Fourth Edition of this worldwide bestseller, the book has been thoroughly updated, expanded, and improved. Lessons now cover the latest versions of IBM DB2, Microsoft Access, Microsoft SQL Server, MySQL, Oracle, PostgreSQL, SQLite, MariaDB, and Apache Open Office Base. And new full-color SQL code listings help the beginner clearly see the elements and structure of the language.

10 minutes is all you need to learn how to...

  • Use the major SQL statements
  • Construct complex SQL statements using multiple clauses and operators
  • Retrieve, sort, and format database contents
  • Pinpoint the data you need using a variety of filtering techniques
  • Use aggregate functions to summarize data
  • Join two or more related tables
  • Insert, update, and delete data
  • Create and alter database tables
  • Work with views, stored procedures, and more
Table of Contents

1 Understanding SQL

2 Retrieving Data

3 Sorting Retrieved Data

4 Filtering Data

5 Advanced Data Filtering

6 Using Wildcard Filtering

7 Creating Calculated Fields

8 Using Data Manipulation Functions

9 Summarizing Data

10 Grouping Data

11 Working with Subqueries

12 Joining Tables

13 Creating Advanced Joins

14 Combining Queries

15 Inserting Data

16 Updating and Deleting Data

17 Creating and Manipulating Tables

18 Using Views

19 Working with Stored Procedures

20 Managing Transaction Processing

21 Using Cursors

22 Understanding Advanced SQL Features

Appendix A: Sample Table Scripts

Appendix B: Working in Popular Applications

Appendix C : SQL Statement Syntax

Appendix D: Using SQL Datatypes

Appendix E: SQL Reserved Words


Customer Reviews

7 of 7 people found the following review helpful
5.0 out of 5 stars Learn it quick!, February 14, 2013
By 
N. Newren "Your partner in creativity!" (Bountiful, ut United States) - See all my reviews
(REAL NAME)   
This review is from: Sams Teach Yourself SQL in 10 Minutes (4th Edition) (Paperback)
Great book. I'm very pleased. I got this book because I needed to learn SQL and I needed to learn it quick! Each lesson took me about 15-30 minutes to go through (I read slow, and then I also did a lot of playing around with the databases at work), but it gave me all the background I needed to start programming.

I recommend this book for anyone new to SQL that just needs to learn it quick. It goes through the most commonly used SQL statements and their clauses, gives different examples for the most common DBMS, defines terms (like SQL and DBMS), and is short. There are a lot of advanced topics in the last lessons that he just breezes over (to keep it short), but that's what SQL in 24 hours is for -- to explain advanced topics. Honestly I thought about getting a bigger, more in depth book, but I'm really glad I got this smaller book. I would have been overwhelmed with any others. I felt like this book left off right where I wanted to just jump in and start programming... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 3 people found the following review helpful
4.0 out of 5 stars Not finished with it, but it's working so far, January 3, 2013
Amazon Verified Purchase(What's this?)
This review is from: Sams Teach Yourself SQL in 10 Minutes (4th Edition) (Paperback)
As my title says, I haven't completed this book, but as today, it seems to fit the bill. Very easy to understand and very short chapters. For those who are looking to gain more knowledge - maybe you're a newbie - then this book may be for you. My guess is that this doesn't hit the advanced topics. But it's worth the money.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4.0 out of 5 stars KISS approach, May 13, 2013
Amazon Verified Purchase(What's this?)
I always like a book that believes in the KISS principle. The examples are extremely helpful. Would recommend for anyone just getting started on SQL.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


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

Online Sample Chapter

Retrieving Data with the SQL SELECT Statement

Sample Pages

Download the sample pages (includes Chapter 2 and Index)

Table of Contents

Sams Teach Yourself SQL in 10 Minutes, Fourth Edition

1
Understanding SQL

Database Basics

What Is SQL?

Try It Yourself

2 Retrieving Data

The SELECT Statement

Retrieving Individual Columns

Retrieving Multiple Columns

Retrieving All Columns

Retrieving Distinct Rows

Limiting Results

Using Comments

3 Sorting Retrieved Data

Sorting Data

Sorting by Multiple Columns

Sorting by Column Position

Specifying Sort Direction

4 Filtering Data

Using the WHERE Clause

The WHERE Clause Operators

5 Advanced Data Filtering

Combining WHERE Clauses

Using the IN Operator

Using the NOT Operator

6 Using Wildcard Filtering

Using the LIKE Operator

Tips for Using Wildcards

7 Creating Calculated Fields

Understanding Calculated Fields

Concatenating Fields

Performing Mathematical Calculations

8 Using Data Manipulation Functions

Understanding Functions

Using Functions

9 Summarizing Data

Using Aggregate Functions

Aggregates on Distinct Values

Combining Aggregate Functions

10 Grouping Data

Understanding Data Grouping

Creating Groups

Filtering Groups

Grouping and Sorting

SELECT Clause Ordering

11 Working with Subqueries

Understanding Subqueries

Filtering by Subquery

Using Subqueries as Calculated Fields

12 Joining Tables

Understanding Joins

Creating a Join

13 Creating Advanced Joins

Using Table Aliases

Using Different Join Types

Using Joins with Aggregate Functions

Using Joins and Join Conditions

14 Combining Queries

Understanding Combined Queries

Creating Combined Queries

15 Inserting Data

Understanding Data Insertion

Copying from One Table to Another

16 Updating and Deleting Data

Updating Data

Deleting Data

Guidelines for Updating and Deleting Data

17 Creating and Manipulating Tables

Creating Tables

Updating Tables

Deleting Tables

Renaming Tables

18 Using Views

Understanding Views

Creating Views

19 Working with Stored Procedures

Understanding Stored Procedures

Why to Use Stored Procedures

Executing Stored Procedures

Creating Stored Procedures

20 Managing Transaction Processing

Understanding Transaction Processing

Controlling Transactions

21 Using Cursors

Understanding Cursors

Working with Cursors

22 Understanding Advanced SQL Features

Understanding Constraints

Understanding Indexes

Understanding Triggers

Database Security

A Sample Table Scripts

Understanding the Sample Tables

Obtaining the Sample Tables

B Working in Popular Applications

Using Apache Open Office Base

Using Adobe ColdFusion

Using IBM DB2

Using MariaDB

Using Microsoft Access

Using Microsoft ASP

Using Microsoft ASP.NET

Using Microsoft Query

Using Microsoft SQL Server (including Microsoft SQL Server Express)

Using MySQL

Using Oracle

Using Oracle Express

Using PHP

Using PostgreSQL

Using SQLite

Configuring ODBC Data Sources

C SQL Statement Syntax

ALTER TABLE

COMMIT

CREATE INDEX

CREATE PROCEDURE

CREATE TABLE

CREATE VIEW

DELETE

DROP

INSERT

INSERT SELECT

ROLLBACK

SELECT

UPDATE

D Using SQL Datatypes

String Datatypes

Numeric Datatypes

Date and Time Datatypes

Binary Datatypes

E SQL Reserved Words

 
Best Value

Book + eBook Bundle  $53.98  $32.39

Book Price $23.99
eBook Price $8.40
eBook formats included

Buy

This book includes free shipping!

Buy

Book  $29.99  $23.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $23.99  $19.19

Includes EPUB, MOBI, and PDF
About eBook Formats

This eBook includes the following formats, accessible from your Account page after purchase:

ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

MOBIMOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

Adobe ReaderPDFThe popular standard, used most often with the free Adobe® Reader® software.

This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

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.