Book description
Cut through the noise and get real results with a step-by-step approach to learning SQL
Key Features
- A structured, straightforward introduction to SQL for beginners
- A SQL tutorial with step-by-step exercises and activities that help build key skills
- Structured to let you progress at your own pace, on your own terms
- Use your physical print copy to redeem free access to the online interactive edition
Book Description
You already know you want to learn SQL, and the best way to learn SQL is to learn by doing. The SQL Workshop focuses on building up your SQL database management skills so that you can easily store and retrieve data or become the in-house expert on complex queries. You'll learn from real examples that lead to real results.
Throughout The SQL Workshop, you'll take an engaging step-by-step approach to understanding SQL programming. You won't have to sit through any unnecessary theory. If you're short on time you can jump into a single exercise each day or spend an entire weekend learning how to create functions and stored procedures. It's your choice. Learning on your terms, you'll build up and reinforce key skills in a way that feels rewarding.
Every physical print copy of The SQL Workshop unlocks access to the interactive edition. With videos detailing all exercises and activities, you'll always have a guided solution. You can also benchmark yourself against assessments, track progress, and receive content updates. You'll even earn a secure credential that you can share and verify online upon completion. It's a premium learning experience that's included with your printed copy. To redeem, follow the instructions located at the start of your book.
Fast-paced and direct, The SQL Workshop is the ideal companion for SQL beginners. You'll build and iterate on your code like a software developer, learning along the way. This process means that you'll find that your new skills stick, embedded as best practice. A solid foundation for the years ahead.
What you will learn
- Learn how to create normalized databases
- Explore how to insert data into tables efficiently
- Explore various techniques to retrieve data from multiple tables
- Build advanced queries using techniques like subqueries and views
- Learn advanced SQL programming techniques such as functions and triggers
Who this book is for
Our goal at Packt is to help you be successful, in whatever it is you choose to do. The SQL Workshop is an ideal SQL tutorial for the SQL beginner who is just getting started. Pick up a Workshop today, and let Packt help you develop skills that stick with you for life.
Table of contents
- Preface
- 1. SQL Basics
- 2. Manipulating Data
- 3. Normalization
-
4. The SELECT Statement
- Introduction
-
Retrieving All Columns of a Table
- Selecting Limited Columns
- Exercise 4.01: Selecting Columns from a Table
- Using Naming Aliases
- Exercise 4.02: Aliasing the Column Headers
- Activity 4.01: Displaying Particular Columns from the Table
- Ordering Results
- Ordering Rows According to a Particular Column
- Ordering Rows According to Multiple Columns
- Using LIMIT
- Exercise 4.03: Using the LIMIT Keyword
- Using DISTINCT
- Using Mathematical Expressions
- Exercise 4.04: Calculating the Line Item Total
- Exercise 4.05: Calculating Discount
- Activity 4.02: Extracting the Top Five Highest Priced Items
- Summary
- 5. Shaping Data with the WHERE Clause
- 6. JOINS
- 7. Subqueries, Cases, and Views
- 8. SQL Programming
- 9. Security
- 10. Aggregate Functions
-
11. Advanced SQL
- Introduction
-
String Functions
- Exercise 11.01: Building a MySQL Query that Returns the OrderID, Quantity, and Notes Columns
- Exercise 11.02: Using LIKE in a Stored Procedure
- Activity 11.01: Implementing the LIKE Operator
- Dealing with NULL and COALESCE
- The COALESCE Function
- Exercise 11.03: Using the COALESCE Function to Handle a NULL Value in a Combined Set of Values
- Finding Duplicate Table Rows
- Transactions
- Summary
- Appendix
Product information
- Title: The SQL Workshop
- Author(s):
- Release date: December 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838642358
You might also like
book
Practical SQL
"Practical SQL is an approachable and fast-paced guide to SQL (Structured Query Language), the standard programming …
book
Practical SQL, 2nd Edition
Practical SQL is an approachable and fast-paced guide to SQL (Structured Query Language), the standard programming …
video
Learning SQL
Almost 3 Hours of Video Instruction Description Learning SQL LiveLessons Skill Level Beginner Intermediate What You …
book
SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL, 4th Edition
The #1 Easy, Common-Sense Guide to SQL Queries—Updated with More Advanced Techniques and Solutions Foreword by …