Instant Download Learning SQL Master SQL Fundamentals Alan Beaulieu PDF All Chapters
Instant Download Learning SQL Master SQL Fundamentals Alan Beaulieu PDF All Chapters
com
https://textbookfull.com/product/learning-sql-
master-sql-fundamentals-alan-beaulieu/
https://textbookfull.com/product/t-sql-fundamentals-itzik-ben-gan/
textbookfull.com
https://textbookfull.com/product/sql-primer-an-accelerated-
introduction-to-sql-basics-rahul-batra/
textbookfull.com
https://textbookfull.com/product/a-formula-for-eradicating-racism-
debunking-white-supremacy-1st-edition-timothy-mcgettigan/
textbookfull.com
Pentecostal Politics in a Secular World: The Life and
Leadership of Lewi Pethrus Joel Halldorf
https://textbookfull.com/product/pentecostal-politics-in-a-secular-
world-the-life-and-leadership-of-lewi-pethrus-joel-halldorf/
textbookfull.com
https://textbookfull.com/product/an-impossible-dream-racial-
integration-in-the-united-states-1st-edition-sharon-a-stanley/
textbookfull.com
https://textbookfull.com/product/female-urinary-tract-infections-in-
clinical-practice-bob-yang/
textbookfull.com
https://textbookfull.com/product/contexts-for-music-learning-and-
participation-developing-and-sustaining-musical-possible-selves-
andrea-creech/
textbookfull.com
An Introduction to Clouds From the Microscale to Climate
1st Edition Ulrike Lohmann
https://textbookfull.com/product/an-introduction-to-clouds-from-the-
microscale-to-climate-1st-edition-ulrike-lohmann/
textbookfull.com
1. Preface
a. Why Learn SQL?
b. Why Use This Book to Do It?
c. Structure of This Book
d. Conventions Used in This Book
e. Using Code Examples
f. O’Reilly Online Learning
g. How to Contact Us
2. 1. A Little Background
a. Introduction to Databases
c. What Is MySQL?
d. SQL Unplugged
e. What’s in Store
i. Step 1: Design
ii. Step 2: Refinement
iii. Step 3: Building SQL Schema
Statements
e. Populating and Modifying Tables
i. Inserting Data
ii. Updating Data
iii. Deleting Data
f. When Good Statements Go Bad
i. Column Aliases
ii. Removing Duplicates
i. Tables
ii. Table Links
iii. Defining Table Aliases
i. Equality Conditions
ii. Range Conditions
iii. Membership Conditions
iv. Matching Conditions
d. Null: That Four-Letter Word
e. Test Your Knowledge
i. Exercise 4-1
ii. Exercise 4-2
iii. Exercise 4-3
iv. Exercise 4-4
6. 5. Querying Multiple Tables
a. What Is a Join?
i. Cartesian Product
ii. Inner Joins
iii. The ANSI Join Syntax
i. Exercise 6-1
ii. Exercise 6-2
iii. Exercise 6-3
8. 7. Data Generation, Manipulation, and Conversion
d. Conversion Functions
e. Test Your Knowledge
i. Exercise 7-1
ii. Exercise 7-2
iii. Exercise 7-3
9. 8. Grouping and Aggregates
a. Grouping Concepts
b. Aggregate Functions
c. Generating Groups
i. Single-Column Grouping
ii. Multicolumn Grouping
iii. Grouping via Expressions
iv. Generating Rollups
d. Group Filter Conditions
e. Test Your Knowledge
i. Exercise 8-1
ii. Exercise 8-2
iii. Exercise 8-3
10. 9. Subqueries
a. What Is a Subquery?
b. Subquery Types
c. Noncorrelated Subqueries
i. Multiple-Row, Single-Column
Subqueries
ii. Multicolumn Subqueries
d. Correlated Subqueries
i. Exercise 9-1
ii. Exercise 9-2
iii. Exercise 9-3
11. 10. Joins Revisited
a. Outer Joins
i. Exercise 11-1
ii. Exercise 11-2
13. 12. Transactions
a. Multiuser Databases
i. Locking
ii. Lock Granularities
b. What Is a Transaction?
i. Starting a Transaction
ii. Ending a Transaction
iii. Transaction Savepoints
a. Indexes
i. Index Creation
ii. Types of Indexes
iii. How Indexes Are Used
Visit https://textbookfull.com
now to explore a rich
collection of eBooks, textbook
and enjoy exciting offers!
iv. The Downside of Indexes
b. Constraints
i. Constraint Creation
i. Exercise 13-1
ii. Exercise 13-2
15. 14. Views
a. What Are Views?
b. Why Use Views?
i. Data Security
ii. Data Aggregation
iii. Hiding Complexity
iv. Joining Partitioned Data
c. Updatable Views
i. Exercise 15-1
ii. Exercise 15-2
17. 16. Analytic Functions
i. Data Windows
ii. Localized Sorting
b. Ranking
i. Ranking Functions
ii. Generating Multiple Rankings
c. Reporting Functions
i. Window Frames
ii. Lag and Lead
i. Partitioning Concepts
ii. Table Partitioning
iii. Index Partitioning
iv. Partitioning Methods
v. Partitioning Benefits
b. Sharding
c. Big Data
i. Hadoop
ii. NoSQL and Document Databases
iii. Cloud Computing
iv. Future of SQL
19. 18. SQL and Big Data
a. Apache Drill
b. Drill and MySQL
c. Drill and MongoDB
d. Drill with Multiple Data Sources
Learning SQL
THIRD EDITION
With Early Release ebooks, you get books in their earliest form—the author’s
raw and unedited content as they write—so you can take advantage of these
technologies long before the official release of these titles.
Alan Beaulieu
Learning SQL
by Alan Beaulieu
See http://oreilly.com/catalog/errata.csp?isbn=9781492057611
for release details.
The views expressed in this work are those of the author, and
do not represent the publisher’s views. While the publisher and
the author have used good faith efforts to ensure that the
information and instructions contained in this work are
accurate, the publisher and the author disclaim all
responsibility for errors or omissions, including without
limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and
instructions contained in this work is at your own risk. If any
code samples or other technology this work contains or
describes is subject to open source licenses or the intellectual
property rights of others, it is your responsibility to ensure that
your use thereof complies with such licenses and/or rights.
978-1-492-05754-3
[LSI]
Preface
Programming languages come and go constantly, and very few
languages in use today have roots going back more than a
decade or so. Some examples are Cobol, which is still used
quite heavily in mainframe environments, and C, which is still
quite popular for operating system and server development
and for embedded systems. In the database arena, we have
SQL, whose roots go all the way back to the 1970s.
Italic
Constant width
plainUPPERCASE
Used to indicate SQL keywords within example code.
NOTE
Indicates a tip, suggestion, or general note. For example, I use notes to
point you to useful new features in Oracle9i.
WARNING
Indicates a warning or caution. For example, I’ll tell you if a certain SQL
clause might have unintended consequences if not used carefully.
If you feel your use of code examples falls outside fair use or
the permission given above, feel free to contact us at
permissions@oreilly.com.
NOTE
For more than 40 years, O’Reilly has provided technology and business
training, knowledge, and insight to help companies succeed.