Beginning SQL Queries: From Novice to Professional

Front Cover
Apress, May 30, 2008 - Computers - 240 pages

Clare Churcher’s Beginning SQL Queries is your guide to mastering the lingua franca of the database industry: the SQL language. Good knowledge of SQL is crucial to anyone working with databases, because it is with SQL that you retrieve data, manipulate data, and generate business results. Knowing how to write good queries is the foundation for all work done in SQL, and it is a foundation that Clare lays well in her book.

  • Does not bore with syntax!
  • Helps you learn the underlying concepts involved in querying a database, and from there the syntax is easy
  • Provides exceptionally clear examples and explanations
  • Is academically sound while being practical and approachable
 

Contents

CHAPTER
3
CHAPTER
5
CHAPTER
8
CHAPTER
11
Relational Database Overview 1
16
Simple Queries on One Table
17
A First Look at Joins
41
Other Types of Joins
54
Set Operations
107
Overview of Basic Set Operations
108
Intersection
117
Difference
123
Summary
132
Aggregate Operations
133
Efficiency Considerations
153
How to Approach a Query
169

Nested Queries
61
EXISTS Keyword
67
Using Nested Queries for Updating
73
Self Joins
77
More Than One Relationship Between Tables
95
Calculus Approach to Two Relationships Between Tables
101
Common Problems
191
Problems with Data Values
197
APPENDIX Sample Database
209
INDEX
211
Copyright

Other editions - View all

Common terms and phrases

About the author (2008)

Clare Churcher is currently a senior lecturer in the Department of Applied Computing at Lincoln University, New Zealand. She holds a degree in physics with first class honors and completed a Ph.D in physics at the University of Canterbury, New Zealand. She has done postdoctoral research in the Cavendish Laboratory at the University of Cambridge, England. Clare s research interests are in the management and visualization of data especially for scientific research. She has a background in database design, and has taught programming, analysis and design of information systems, and database management at undergraduate level, as well as software engineering and scientific visualization at post graduate level.

Bibliographic information