Share E-Book
Scan to open this page

Scan with your phone to open this page

AuthorThomas Nield

Businesses are gathering data today at exponential rates and yet few people know how to access it meaningfully. If you're a business or IT professional, this short hands-on guide teaches you how to pull and transform data with SQL in significant ways. You will quickly master the fundamentals of SQL and learn how to create your own databases. Author Thomas Nield provides exercises throughout the book to help you practice your newfound SQL skills at home, without having to use a database server environment. Not only will you learn how to use key SQL statements to find and manipulate your data, but you'll also discover how to efficiently design and manage databases to meet your needs. You'll also learn how to: • Explore relational databases, including lightweight and centralized models • Use SQLite and SQLiteStudio to create lightweight databases in minutes • Query and transform data in meaningful ways by using SELECT, WHERE, GROUP BY, and ORDER BY • Join tables to get a more complete view of your business data • Build your own tables and centralized databases by using normalized design principles • Manage data by learning how to INSERT, DELETE, and UPDATE records Thomas Nield is a Senior Analyst and business-facing software developer at Southwest Airlines in Revenue Management. Currently he is interested in reactive programming, Java, Kotlin, and tactical business software development.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A short, exercise-driven introduction to SQL that takes you from your first SELECT to designing a normalized database, all without needing a server. Best for business and IT professionals who need to pull, transform, and manage data themselves. 【Book Arc】 - **Opening (~0%–10%)**: Makes the case for SQL as a marketable, broadly useful skill and frames who it is for, so you understand why the investment pays off before touching syntax. - **Early (~10%–30%)**: Introduces databases conceptually — what a relational database is, why data is split into separate tables, and how to choose between lightweight and centralized solutions. - **Early–Middle (~30%–45%)**: Gets you hands-on with SQLite and SQLiteStudio, covering installation, importing databases, and navigating them so you have a working environment for every later exercise. - **Middle (~45%–70%)**: Builds the core querying toolkit in sequence — SELECT and expressions, WHERE filtering, GROUP BY/ORDER BY with aggregates and HAVING, and CASE statements for conditional logic. - **Late (~70%–85%)**: Teaches JOINs (INNER, LEFT, and others), including joining multiple tables and grouping joined results, so you can assemble a complete view of business data. - **Ending (~85%–100%)**: Moves from querying to building: planning a database, primary and foreign keys, and normalized design illustrated through a conference scenario, plus managing records with INSERT, UPDATE, and DELETE. 【Key Takeaways】 - **SQL is a marketable, cross-functional skill** (Opening): the book opens by arguing that data is growing faster than the number of people who can access it, positioning SQL as the bridge for business and IT roles alike. - **You can learn without a server** (Early): SQLite and SQLiteStudio let you create and explore real databases in minutes, which is why every exercise can be done at home rather than in a managed environment. - **Querying is taught as a layered progression** (Middle): SELECT and expressions come first, then WHERE filtering, then grouping/ordering with aggregates, then CASE — each chapter assumes the previous one. - **Filtering has more nuance than it appears** (Middle): WHERE is covered across numbers, text, and booleans, with explicit attention to NULL handling and grouping conditions, which are common beginner stumbling blocks. - **Aggregation and conditional logic unlock real analysis** (Middle): GROUP BY, ORDER BY, aggregate functions, HAVING, and CASE (including the "zero/null" trick) turn raw rows into summarized, business-relevant output. - **JOINs are the path to a complete picture** (Late): INNER and LEFT joins, multi-table joins, and grouping joined results are presented as the way to stitch fragmented tables back into meaningful business views. - **Design is treated as a first-class skill, not an afterthought** (Ending): normalization, primary/foreign keys, and upfront database planning are taught through a concrete conference example before you write any data. - **Data management closes the loop** (Ending): INSERT, UPDATE, and DELETE round out the book so you can not only read data but maintain the databases you design. 【Reading Tips】 - Do the exercises rather than reading passively; the book is explicitly built around hands-on practice, and the SQLite setup exists to make that frictionless. - Skim the opening chapters on why SQL matters and database theory if you already work with data, but slow down at WHERE/NULL handling and JOINs — those are where beginners most often get wrong results. - Treat the database design chapter as the conceptual payoff: read it carefully, since normalization and key design explain why the earlier query chapters look the way they do. - Keep SQLiteStudio open alongside the text and retype every query rather than copying; the muscle memory for SELECT/WHERE/GROUP BY ordering matters later. - Use CASE and the "zero/null" trick as a checkpoint — if it feels confusing, revisit GROUP BY before moving to JOINs. 【Coverage Limits】 The available excerpts consist mainly of front matter and the table of contents, so this guide describes the book's structure and stated goals rather than the detailed content of each chapter. Specific examples, datasets, and exercise solutions are not covered here.
Excerpt 1
书名: Getting Started with SQL A Hands-On Approach for Beginners (Thomas Nield) (Z-Library) 作者: Thomas Nield Businesses are gathering data today at exponential...
View in text
Page 4
Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editi...
View in text
Page 5
?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 What Is SQL and Why Is It Market...
View in text
Page 6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Stitching Tables Together 53 INNER JOIN 55 LEFT JOIN 58 Other JOIN Types 61 Joining Multiple T...
View in text
Tags
AI categories
DatabaseSQLData
ISBN: 1491938617
Publisher: O'Reilly Media
Publish Year: 2016
Language: English
Pages: 116
File Format: PDF
File Size: 8.7 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…