Home Page Icon
Home Page
Table of Contents for
Cover Page
Close
Cover Page
by
The Language of SQL, 3rd Edition
Cover Page
Title Page
Contents
Table of Contents
About the Author
Introduction
Topics and Features
What’s New in the Third Edition
Plan of the Book
Companion Website
1. Relational Databases and SQL
What Is SQL?
Microsoft SQL Server, MySQL, and Oracle
Relational Databases
Primary and Foreign Keys
Datatypes
NULL Values
Historical Note
Looking Ahead
2. Basic Data Retrieval
A Simple SELECT
Syntax Notes
Comments
Specifying Columns
Column Names with Embedded Spaces
Preview of the Full SELECT
Looking Ahead
3. Calculated Fields and Aliases
Literal Values
Arithmetic Calculations
Concatenating Fields
Column Aliases
Table Aliases
Looking Ahead
4. Using Functions
What Is a Function?
Character Functions
Composite Functions
Date/Time Functions
Numeric Functions
Miscellaneous Functions
Looking Ahead
5. Sorting Data
Sorting in Ascending Order
Sorting in Descending Order
Sorting by Multiple Columns
Sorting by a Calculated Field
Sort Sequences
Looking Ahead
6. Selection Criteria
Applying Selection Criteria
WHERE Clause Operators
Limiting Rows
Limiting Rows with a Sort
Pattern Matching
Matching by Sound
Looking Ahead
7. Boolean Logic
Complex Logical Conditions
The AND Operator
The OR Operator
Using Parentheses
Multiple Sets of Parentheses
The NOT Operator
The BETWEEN Operator
The IN Operator
Boolean Logic and NULL Values
Looking Ahead
8. Conditional Logic
The CASE Expression
The Simple CASE Format
The Searched CASE Format
Conditional Logic in ORDER BY Clauses
Conditional Logic in WHERE Clauses
Looking Ahead
9. Summarizing Data
Eliminating Duplicates
Aggregate Functions
The COUNT Function
Grouping Data
Multiple Columns and Sorting
Selection Criteria on Aggregates
Conditional Logic in GROUP BY Clauses
Conditional Logic in HAVING Clauses
Ranking Functions
Partitions
Analytic Functions
Looking Ahead
10. Subtotals and Crosstabs
Adding Subtotals with ROLLUP
Adding Subtotals with CUBE
Creating Crosstab Layouts
Looking Ahead
11. Inner Joins
Joining Two Tables
The Inner Join
Table Order in Inner Joins
Implicit Inner Joins
Table Aliases Revisited
Looking Ahead
12. Outer Joins
The Outer Join
Left Joins
Testing for NULL Values
Right Joins
Table Order in Outer Joins
Full Joins
Cross Joins
Looking Ahead
13. Self Joins and Views
Self Joins
Creating Views
Referencing Views
Benefits of Views
Modifying and Deleting Views
Looking Ahead
14. Subqueries
Types of Subqueries
Subqueries as a Data Source
Subqueries as Selection Criteria
Correlated Subqueries
The EXISTS Operator
Subqueries as a Calculated Column
Common Table Expressions
Looking Ahead
15. Set Logic
The UNION Operator
Distinct and Non-Distinct Unions
Intersecting Queries
Looking Ahead
16. Stored Procedures and Parameters
Creating Stored Procedures
Parameters in Stored Procedures
Executing Stored Procedures
Modifying and Deleting Stored Procedures
Functions Revisited
Looking Ahead
17. Modifying Data
Modification Strategies
Inserting Data
Deleting Data
Updating Data
Correlated Subquery Updates
Looking Ahead
18. Maintaining Tables
Data Definition Language
Table Attributes
Table Columns
Primary Keys and Indexes
Foreign Keys
Creating Tables
Creating Indexes
Looking Ahead
19. Principles of Database Design
Goals of Normalization
How to Normalize Data
The Art of Database Design
Alternatives to Normalization
Looking Ahead
20. Strategies for Using Excel
Crosstab Layouts Revisited
External Data and Power Query
Excel Pivot Tables
Excel Pivot Charts
Excel Standard Charts
Looking Ahead
A. Getting Started with Microsoft SQL Server
Installing Microsoft SQL Server 2019 Express
Installing Microsoft SQL Server Management Studio 18
Using Microsoft SQL Server Management Studio 18
B. Getting Started with MySQL
Installing MySQL Community Server and Workbench
Using MySQL Workbench
C. Getting Started with Oracle
Installing Oracle Database Express Edition
Installing Oracle SQL Developer
Using Oracle SQL Developer
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Title Page
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset