- Shopping Bag ( 0 items )
This latest edition of the best-selling implementation guide to the Structured Query Language teaches SQL fundamentals while providing practical solutions for critical business applications. The Practical SQL Handbook, Fourth Edition now includes expanded platform SQL coverage and extensive real-world examples based on feedback from actual SQL users.
The Practical SQL Handbook begins with a step-by-step introduction to SQL basics and examines the issues involved in designing SQL-based database applications. It fully explores SQL’s most popular implementations from industry leaders, Oracle, Microsoft, Sybase, and Informix.
A bonus CD-ROM contains a time-limited, full-feature version of the Sybase® Adaptive Server Anywhere™ software as well as the sample database, scripts, and examples included in the book.
The Practical SQL Handbook is the most complete reference available for day-to-day SQL implementations.
Because SELECT is so important, five chapters focus on it:
SQL select address from publishers where pub_id ='0877' address ======================================== 2 2nd Ave. [1 row ]
SELECT select_list FROM table_list WHERE search_conditions
Select_list and Search_condition Expressions Both the SELECT and WHERE clauses (in the select_list or search_conditions) can include
Combining SELECT, FROM, and WHERE Artful combinations of the SELECT, FROM, and WHERE clauses produce meaningful answers to your questions and keep you from drowning in a sea of data. Think of the SELECT and WHERE clauses as horizontal and vertical axes on a matrix. (Figure 4.1 illustrates the query you saw at the beginning of the chapter.) The data you get from the SELECT statement is at the intersection of the SELECT (column) and WHERE (row) clauses.
Let's look at a SELECT statement with another bookbiz table, authors . The authors table stores information about authors: ID numbers, names, addresses, and phone numbers. If you want to know just the names of authors who live in California (not their addresses and phone numbers), use the SELECT clause and the WHERE clause to limit the data that the SELECT statement returns.
Here's a query that uses the SELECT clause's select_list to limit the columns you see. It lists just the names for the authors, ignoring their ID numbers, addresses, and phone numbers....
1.SQL and Relational Database Management.
2. Designing Datases.
3. Creating and Filling a Database.
4. Selecting Data from the Database.
5. Sorting Data and Other Selection Techniques.
6. Grouping Data and Reporting from it.
7. Joining Tables for Comprehensive Data Analysis.
8. Structuring Queries with Subqueries.
9. Creating and Using Views.
10. Security, Transactions, Performance, and Integrity.
11. Solving Business Problems.
Appendix A: Syntax Summary for the SQL Used in This Book.
Appendix B: Industry SQL Equivalents.
Appendix C: Glossary.
Appendix D: The 'bookbiz' Sample Database.
Posted April 28, 2003
I am brand new to dealing with an Oracle database and SQL. This book gave me many simple examples to try some simple queries. Explanations of the actual command (select, insert, group by, etc.) were brief and to the point. Good for the novice and those who only need to extract simple output. I can't speak for more experienced users, but I think the book is focused on beginners or those who don't need to get into great detail with SQL.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.