SQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL

 
9780201433364: SQL Queries for Mere Mortals(R): A Hands-On Guide to Data Manipulation in SQL

Now there's a practical, hands-on guide to SQL for millions of beginning-to-intermediate database users who desperately need to create fast, accurate, effective queries -- whether they have formal database training or not. The authors begin by introducing the fundamental concepts underlying relational databases and SQL. They then introduce the absolute basics of SQL, including the SELECT statement, creating expressions, and applying filters. Next, they introduce techniques for solving one of the most common problems database users encounter: drawing data from multiple tables at once. The book includes detailed coverage of grouping, totaling, and summarizing data; using SQL to update, insert, and delete data; and more. In the final section, Hernandez and Viescas introduce "thinking out of the box" techniques that allow users to solve a wide variety of complex SQL problems. Most chapters end with sample problems, solutions, and result sets -- all based on a library of five real-world databases included on the accompanying CD-ROM.

"synopsis" may belong to another edition of this title.

Review:

To the people who are accomplished in its use, Structured Query Language (SQL) is a highly capable, eminently flexible, even beautiful way of describing the data that you want from a database, or the changes that you want to make to a database. For the rest of us, however, SQL is a first-class nuisance that we do our best to avoid by relying on relatively user-friendly--but usually less powerful--tools. SQL Queries for Mere Mortals aims to bring SQL-phobes closer to the first camp by tutoring them carefully in what SQL can do.

The authors recognize that SQL queries usually come about as a result of questions from human beings, and so usefully spend a fair bit of time showing how to convert, say, "In what cities do our customers live?" into, "Select city from the customers table" and, finally, "SELECT city FROM customers" in SQL. They call this the "translation and clean up" process, and it's a fine approach. They don't press it too far, however, and are equally adept at presenting straight explanations of SQL syntax elements in prose. They spend a lot of energy graphically diagramming aspects of SQL syntax in a format that requires some up-front study. A particular reader might prefer text capsules to this arrow-intensive format, but other learners might like the graphical syntax diagrams. --David Wall

Topics covered: ANSI SQL/92 for people who need to use it to make queries against business databases. The authors introduce one or two syntax elements at a time--SELECT, WHERE, JOIN, UNION, and so on--and cover data extraction, data insertion, filtering, joins, calculations, and other capabilities of generic SQL.

From the Inside Flap:

"Language is by its very nature a communal thing; that is, it expresses never the exact thing but a compromise--that which is common to you, me, and everybody."
--Thomas Earnest Hulme, Speculations Learning how to retrieve information from a database is commonly a perplexing exercise. However, it can be a relatively easy task--as long as you understand the question you're posing to the database. Once you understand the question, you can translate it into the language used by any database system, which in most cases is Structured Query Language (SQL). You have to translate your request into an SQL statement so that your database system knows what information you want to retrieve. SQL provides the means for you and your database system to communicate with each other. Throughout our many years as database consultants, we've found that the number of people who merely need to retrieve information from a database far outnumber those who are charged with the task of creating programs and applications for a database. Unfortunately, no books focus solely on the subject of retrieving information, particularly from a "mere mortals" viewpoint. There are numerous good books on SQL, to be sure, but most are targeted toward database programming and development.

With this in mind, we decided it was time to write a book that would help people learn how to query a database properly and effectively. The result of our decision is in your hands. This book is unique among SQL books in that it focuses only on the querying portion of SQL. When you finish reading this book, you'll have the skills you need to retrieve any information you require. Writing a book such as this is always a cooperative effort. There are always editors, colleagues, friends, and relatives willing to lend their support and provide valuable advice when we need it the most. These folks continually provide us with encouragement, help us to remain focused, and motivate us to see this project through to the end. First and foremost, we want to thank our editor, Mary O'Brien, for the opportunity to write this book. She saw the potential of an idea we had and pursued it with great dedication. We'd also like to thank Mary and her assistant, Mariann Kourafas, for their great patience and unwavering support throughout the many months we were writing this book. And we can't forget Marilyn Rash and the production staff--great job, guys! Next, we'd like to acknowledge our technical editors Malcom C. Rubel, Michael Blaha, Alexander Tarasul, and Keith W. Hare. Malcom, as always, it's great to have you on the team! Michael and Alexander, thanks for all your thoughtful comments and suggestions. And a special thanks to Keith--he corrected a few minor errors we had in the SQL history timeline and provided much of the information for the What the Future Holds section of Chapter 3. Thanks once again to all of you for your time and input and for helping us to make this a solid treatise on SQL queries. Finally, a very special thanks to Joe Celko for providing the Foreword. Joe is an SQL expert, a colleague, and a good friend. We have a lot of respect for Joe's knowledge and expertise on the subject, and we're pleased to have his thoughts and comments at the beginning of our book.

Michael J. Hernandez
& John L. Viescas I want to give my most sincere thanks to my dear friend and colleague, John L. Viescas, for the opportunity of co-authoring this book with him. It was John who had the initial idea for this book, and over dinner one evening he talked me into writing it with him. John has been in the business a long time and is an established, respected author. It is my honor to share authorship with him on this work. Finally, I want to thank my wife Kendra. Once again, she has exhibited extreme patience while I toiled away at my writing. Her help has been invaluable, and yet again, I owe her a great debt. I would tell you that she is the love of my life, my closest confidant, and my best friend, but she abhors any sort of public displays of affection. (She refers to this as PDA.) So I'll just end with this: Well, Ked, we can resume a normal life again--until the next book!
Michael J. Hernandez
Bellevue, Washington
Gee, Mike! Are you trying to give me a big head or something? You're not such a slouch yourself. I may have talked you into doing the "next" Mere Mortals book on SQL, but you're the one who invented the now well-proven format and "voice" for this audience. It has been a fun and interesting task bringing the complex world of SQL (one of my favorite subjects) to such a wide audience. Thanks for letting me in on the project. Unlike yours, my wife, Suzanne, does not abhor PDAs. We both owe her a big hug--not just for putting up with me while I was "offline" doing this book but also for providing excellent behind-the-scenes editing and critical commentary of our material. She's no stranger when it comes to computers, but she's definitely a "mere mortal" when it comes to databases. She provided a perfect audience to test the draft chapters. I only had to make her one promise: I'm leaving my laptop home this spring on our next trip to Hawaii!
John I. Viescas
Austin, Texas 0201433362P04062001

"About this title" may belong to another edition of this title.

Top Search Results from the AbeBooks Marketplace

1.

Hernandez, Michael J.; Viescas, John L.
Published by Addison-Wesley Professional (2000)
ISBN 10: 0201433362 ISBN 13: 9780201433364
New Paperback Quantity Available: 1
Seller:
Letusbegin
(Ossining, NY, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2000. Paperback. Book Condition: New. 7th. New Paperback with factory sealed disc! Pristine unmarked pages, may have very slight warehouse wear, no remainder marks, still a great buy straight from warehouse unread, sealed in plastic, exact artwork as listed, Bookseller Inventory # 185170708170

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 13.09
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

2.

Michael J. Hernandez; John L. Viescas
Published by Addison-Wesley Professional (2000)
ISBN 10: 0201433362 ISBN 13: 9780201433364
New Paperback Quantity Available: 1
Seller:
Irish Booksellers
(Rumford, ME, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2000. Paperback. Book Condition: New. book. Bookseller Inventory # M0201433362

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 26.07
Convert Currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, Rates & Speeds

3.

Michael J. Hernandez, John L. Viescas
Published by Addison-Wesley Professional (2000)
ISBN 10: 0201433362 ISBN 13: 9780201433364
New Paperback Quantity Available: 1
Seller:
Ergodebooks
(RICHMOND, TX, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2000. Paperback. Book Condition: New. Bookseller Inventory # DADAX0201433362

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 22.88
Convert Currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, Rates & Speeds

4.

Hernandez, Michael J., Viescas, John L.
Published by Addison-Wesley Professional (2000)
ISBN 10: 0201433362 ISBN 13: 9780201433364
New Paperback Quantity Available: 2
Seller:
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description Addison-Wesley Professional, 2000. Paperback. Book Condition: New. Never used!. Bookseller Inventory # P110201433362

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 39.76
Convert Currency

Add to Basket

Shipping: US$ 1.99
Within U.S.A.
Destination, Rates & Speeds

5.

Michael J.;Viescas Hernandez
Published by Amsterdam Addison-Wesley Longman (2000)
ISBN 10: 0201433362 ISBN 13: 9780201433364
New Taschenbuch Quantity Available: 1
Seller:
unifachbuch
(Köln, NRW, Germany)
Rating
[?]

Book Description Amsterdam Addison-Wesley Longman, 2000. Taschenbuch. Book Condition: Neu. Gebraucht - Wie neu Unbenutzt. Schnelle Lieferung, Kartonverpackung. Abzugsfähige Rechnung. Bei Mehrfachbestellung werden die Versandkosten anteilig erstattet. - Now there's a practical, hands-on guide to SQL for millions of beginning-to-intermediate database users who desperately need to create fast, accurate, effective queries -- whether they have formal database training or not. The authors begin by introducing the fundamental concepts underlying relational databases and SQL. They then introduce the absolute basics of SQL, including the SELECT statement, creating expressions, and applying filters. Next, they introduce techniques for solving one of the most common problems database users encounter: drawing data from multiple tables at once. The book includes detailed coverage of grouping, totaling, and summarizing data; using SQL to update, insert, and delete data; and more. In the final section, Hernandez and Viescas introduce 'thinking out of the box' techniques that allow users to solve a wide variety of complex SQL problems. Most chapters end with sample problems, solutions, and result sets -- all based on a library of five real-world databases included on the accompanying CD-ROM. 528 pp. Englisch. Bookseller Inventory # INF1000054952

More Information About This Seller | Ask Bookseller a Question

Buy New
US$ 12.05
Convert Currency

Add to Basket

Shipping: US$ 29.97
From Germany to U.S.A.
Destination, Rates & Speeds