Home > Store

Introduction to SQL: Mastering the Structured Query Language, 3rd Edition

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

Introduction to SQL: Mastering the Structured Query Language, 3rd Edition

Book

  • This product currently is not for sale.
Not for Sale

About

Features

  •  covers all the new aspects of SQL included in the latest version such as stored procedures, triggers, user-defined data types and functions, and event alerters.
  •  covers object relational concepts such as subtables, references and collections
  •  new chapter on programming with SQL and ODBC
  •  CD contains a full-blown implementation of SQL in the form of a product called Solid providing readers with a fully working, unrestricted version of a commercial software application on which to practice what they have learned.

Description

  • Copyright 2000
  • Dimensions: 6-3/4x9-1/4
  • Pages: 720
  • Edition: 3rd
  • Book
  • ISBN-10: 0-201-59618-0
  • ISBN-13: 978-0-201-59618-2

SQL was, is and always will be the database language for relational database systems such as Oracle, DB2, Sybase, Informix and Microsoft SQL Server. Introduction to SQL describes in depth the full capacity of SQL as it is implemented by the commercial databases, without neglecting the most recent changes to the standard, bringing the book up to date and fully compliant with SQL3. Unique in the extent of its coverage, this book takes you from the beginning to the end of SQL, the concepts to the practice, the apprentice to the master. Learn how to:
* Query data
* Update data
* Create tables and views
* Specify primary and foreign keys
* Use indexes
* Secure your data
* Develop stored procedures and triggers
* Develop applications with embedded SQL and ODBC
* Carry out transactions
* Optimize statements
* Deal with object-relational concepts such as subtables, references, sets and user-defined data types. NEW

section devoted to stored procedures and triggers
NEW

coverage of object-oriented concepts
NEW

information on application development with pre-programmed SQL
NEW

chapter on using SQL in combination with ODBC The best way to learn a language is to work with it and the accompanying CD-ROM contains an SQL product called SOLID, chosen because it employs every aspect of SQL covered in the text. Experiment using the exercises in the book.

Downloads

Support File(s)

Click below for License Installation Instructions:
Install.zip

Sample Content

Table of Contents

1. Introduction to SQL1
2. The Tennis Club Sample Database
3. Working with SOLID
4. SQL in a Nutshell
5. SELECT Statement: Common Elements
6. Clauses of the SELECT Statement
7. The SELECT Statement: the FROM Clause
8. SELECT Statement: the WHERE Clause
9. SELECT Statement: the SELECT Clause and Functions
10. SELECT Statement: GROUP BY and HAVING
11. SELECT Statement: the ORDER BY Clause
12. Combining SELECT Statements
13. The Subquery
14. The FROM Clause Extended
15. Updating Tables
16. Creating Tables
17. Specifying Constraints
18. Designing Tables
19. Using Indexes
20. Views
21. Users and Data Security
22. Catalog Tables
23. Introduction to Embedded SQL
24. Transactions and Multi-User Usage
25. Introduction to ODBC
26. Optimization of Statements
27. Stored Procedures
28. Triggers
29. User-defined Data Types, Functions and Operators
30. Inheritance, References and Collections
31. The Future of SQL

Preface

Preface

SQL was, is and always will be the database language for relational database systems such as Oracle, DB2, Sybase, Informix and Microsoft SQL Server. This book contains a complete description of the database language SQL (Structured Query Language). It should be seen primarily as a textbook in the active sense. After reading this book you should be able to use SQL efficiently and effectively.

SQL supports a small, but very powerful, set of statements for manipulating, managing, and protecting data stored in a database. This power has resulted in its tremendous popularity. In the early eighties there were only ten to twenty SQL products, but today there are at least twice as many. Almost every database product supports SQL or a dialect of the language. Currently, SQL products are available for every kind of computer, from microcomputer to mainframe, and for every operating system, including DOS, Microsoft Windows and UNIX. Since 1987 there has been an official international standard for SQL. This has developed into what Michael Stonebraker, an authority in the field of databases, once expressed as intergalactic dataspeak.

Topics

In this book every aspect of SQL will be discussed thoroughly and critically. The aspects of SQL that are covered include:
• querying data (joins, functions and subqueries)
• updating data
• creating tables and views
• specifying primary and foreign keys and other constraints
• using indexes
• data security
• developing stored procedures and triggers
• application development with embedded SQL and ODBC
• transactions
• optimization of statements
• dealing with object relational concepts, such as subtables, references, sets and user-defined data types in the catalog.

For whom is this book intended?

We recommended this book to those who want to use the full power of SQL effectively and efficiently in practice. This book is therefore suitable for the following groups of people:
• students in higher education, including those in technical colleges, polytechnics, universities and sixth-form colleges;
• programmers who develop or intend to develop applications with the help of an SQL product;
• designers, analysts and consultants who need to deal, directly or indirectly, with SQL or another relational database language and want to know its features and limitations;
• owners of microcomputers who want to learn SQL with the help of SOLID;
• home students who are interested in SQL in particular or in relational databases in general;
• users who have the authority to use SQL to query the database of the company or establishment where they work.

A practical book

This book should be seen primarily as a textbook in the active sense, and less as a reference work. To this end, it contains many examples and exercises (with answers). Do not ignore the exercises. Experience shows that you will learn the language more completely and more quickly by practising often and doing many exercises.

Practising with SOLID

This book includes an SQL product called SOLID. This is a complete SQL pro-duct, which is available for almost every microcomputer on which Windows 95, 98 or NT has been installed. We advise you to install this product and do as many exercises as possible with the help of SOLID.

Prerequisite knowledge

Some general knowledge of programming languages and database management systems is required.

The third edition

This book is a completely revised third edition of Introduction to SQL, which was first published in 1988. The second edition (van der Lans, 1992) was also a complete revised edition. However, in recent years SQL has evolved considerably. The number of products supporting SQL is still growing, the third version of the international SQL standard will probably appear within the foreseeable future and the functionality of some SQL products has increased considerably. These seemed good enough reasons to revise Introduction to SQL completely.

For teachers who use Introduction to SQL in their classes, the major differences are summarized below:
• the sequence of the chapters has been changed somewhat; on one hand, this was done so that the new subjects could be added in logical places and, on the other hand, so that the book could be split into separate sections;
• a new section is devoted to stored procedures and triggers; these concepts have been implemented by many vendors and this has made it necessary to consider them in this book;
• another new section is devoted to concepts coming from the object-oriented world; there are not at present many products that support object orientation, but it is to be expected that many products will do so in the not too distant future;
• the chapter that describes how SOLID must be installed and used is, of course, completely new; in the previous edition we used a different product called Quadbase;
• the chapter on application development with pre-programmed SQL has been extended considerably; we devote a whole section to this subject and have included an additional chapter on using SQL in combination with ODBC;
• in each chapter the same database is used for most of the examples and exercises; we have made some changes to this because of the new topics; the naming of some tables and columns has also been changed to make it possible to implement the database with SOLID;
• the chapter on developing reports has been removed; this is because SOLID itself does not offer reporting facilities; furthermore, report generation is not part of SQL.

And finally ...

I would like to use this preface to thank a number of people and companies for their contributions to this book.

I am grateful to Solid Information Technology for providing the software for inclusion with the book. I think that this product is invaluable for anyone who wants to learn SQL. The best way to learn a language is still to work with it!

It does not matter how many times a writer reads through his own work; editors remain indispensable. A writer does not read what he has written, but what he thinks he has written. In this respect writing is like programming. That is why I owe a great deal to the following people for reviewing the manuscript or parts of it, for making critical comments and giving very helpful advice: Nok van Veen, Aad Speksnijder, Ed Jedeloo, Corine Cools, Andrea Gray, Josien van der Laan, Richard van Dijk, Onno de Maar, Sandor Nieuwenhuijs, Wim Frederiks, Ian Cargill and Marc van Cappellen.

I would also like to thank the hundreds of students who have studied SQL with me over the past few years. Their comments and recommendations have been invaluable in revising this book. In addition, a large number of readers of the previous edition responded to my request to send comments and suggestions. I want to thank them for the trouble they took to put these in writing.

For the first and second editions Diane Cools did much of the typing and corrected many errors. I am still grateful for that, because working with WordStar version 1 on a PC/XT without a hard disk looked like a luxury then. I would like to thank her again for her work on this new edition, but in another way. For a writer it is reassuring to know that there is someone who, especially in difficult times, keeps stimulating and motivating you. Thanks, Diane!

Finally, I would again like to ask readers to send comments, opinions, ideas and suggestions concerning the contents of the book to the publisher: Addison-Wesley at Pearson Education, 128 Long Acre, London, WC2E 9AN, England, marked for the attention of Rick F. van der Lans, 'Introduction to SQL'. Many thanks, in anticipation, of your cooperation.

Rick F. van der Lans
The Hague, March 1999



0201596180P04062001

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020