Sams Teach Yourself SQL in 24 Hours
- Table of Contents
- Copyright
- About the Authors
- Acknowledgments
- Tell Us What You Think!
- Introduction
- Part I: A SQL Concepts Overview
- Hour 1. Welcome to the World of SQL
- Part II: Building Your Database
- Hour 2. Defining Data Structures
- Hour 3. Managing Database Objects
- Hour 4. The Normalization Process
- Hour 5. Manipulating Data
- Hour 6. Managing Database Transactions
- Part III: Getting Effective Results from Queries
- Hour 7. Introduction to the Database Query
- Hour 8. Using Operators to Categorize Data
- Hour 9. Summarizing Data Results from a Query
- Hour 10. Sorting and Grouping Data
- Hour 11. Restructuring the Appearance of Data
- Hour 12. Understanding Dates and Times
- Part IV: Building Sophisticated Database Queries
- Hour 13. Joining Tables in Queries
- Hour 14. Using Subqueries to Define Unknown Data
- Hour 15. Combining Multiple Queries into One
- Part V: SQL Performance Tuning
- Hour 16. Using Indexes to Improve Performance
- Hour 17. Improving Database Performance
- Part VI: Using SQL to Manage Users and Security
- Hour 18. Managing Database Users
- Hour 19. Managing Database Security
- Part VII: Summarized Data Structures
- Hour 20. Creating and Using Views and Synonyms
- Hour 21. Working with the System Catalog
- Part VIII: Applying SQL Fundamentals in Today's World
- Hour 22. Advanced SQL Topics
- Hour 23. Extending SQL to the Enterprise, the Internet, and the Intranet
- Hour 24. Extensions to Standard SQL
- Part IX: Appendixes
- Appendix A. Common SQL Commands
- Appendix B. Using MySQL for Exercises
- Appendix C. Answers to Quizzes and Exercises
- Appendix D. CREATE TABLE Statements for Book Examples
- Appendix E. INSERT Statements for Data in Book Examples
- Appendix F. Glossary
- Appendix G. Bonus Exercises
Appendix F. Glossary
- application
-
A set of menus, forms, reports, and code that performs a business function using a database.
- Cartesian product
-
The result of not joining tables in the WHERE clause of a SQL statement. When tables in a query are not joined, every row in one table is paired with every row in all other tables.
- client
-
The client is typically a PC, but can be another server that is dependent on another computer for data, services, or processing. A client application enables a client machine to communicate with a server.
- domain
-
An object that is associated with a data type to which constraints may be attached; similar to a user-defined type.
- end user
-
Users whose jobs require them to query or manipulate data in the database. The end user is the individual for which the database exists.
- foreign key
-
One or more columns whose values are based on the primary key column values in another table.
- JDBC
-
Java Database Connectivity. Software that allows a Java program to communicate with a database in order to process data.
- join
-
Combines data from different tables by linking columns. Used in the WHERE clause of a SQL statement.
- normalization
-
Designing a database to reduce redundancy by breaking large tables down into smaller, more manageable tables.
- ODBC
-
Open Database Connectivity is software that allows for standard communication with a database. ODBC is typically used for inter-database communication between different implementations, and for communication between a client application and a database.
- optimizer
-
Internal mechanism of the database (consists of rules and code) that decides how to execute a SQL statement and return an answer.
- privilege
-
Specific permissions that are granted to users to perform a specific action in the database.
- referential integrity
-
Assures that values from one column depend on the values from another column. Referential integrity is normally used between two tables, but in some tables, can be used so that a table references itself. A self-referenced table is referred to as a recursive relationship.
- relational database
-
A database that is organized into tables that consist of rows, which contain the same sets of data items, where tables in the database are related to one another through common keys.
- role
-
A database object that is associated with a group of system and/or object privileges, used to simplify security management.
- ROLLBACK
-
A command that undoes all transactions since the last COMMIT or SAVEPOINT command was issued.
- syntax for SQL
-
A set of rules that shows mandatory and optional parts of a SQL statement's construction.
- trigger
-
A stored procedure that executes upon specified events in a database, such as before or after an update of a table.
- view
-
A database object that is created from one or more tables and can be used the same as a table. A view is a virtual table that has no storage requirements of its own.
Appendix G. Bonus Exercises | Next Section

Account Sign In
View your cart