Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Anthony DeBarros

Rating No ratings yet

Practical SQL is an approachable and fast-paced guide to SQL (Structured Query Language), the standard programming language for defining, organizing, and exploring data in relational databases. The book focuses on using SQL to find the story your data tells, with the popular open-source database PostgreSQL and the pgAdmin interface as its primary tools. You’ll first cover the fundamentals of databases and the SQL language, then build skills by analyzing data from the U.S. Census and other federal and state government agencies. With exercises and real-world examples in each chapter, this book will teach even those who have never programmed before all the tools necessary to build powerful databases and access information quickly and efficiently. You’ll learn how to: * Create databases and related tables using your own data * Define the right data types for your information * Aggregate, sort, and filter data to find patterns * Use basic math and advanced statistical functions * Identify errors in data and clean them up * Import and export data using delimited text files * Write queries for geographic information systems (GIS) * Create advanced queries and automate tasks Learning SQL doesn’t have to be dry and complicated. Practical SQL delivers clear examples with an easy-to-follow approach to teach you the tools you need to build and manage your own databases. This book uses PostgreSQL, but the SQL syntax is applicable to many database applications, including Microsoft SQL Server and MySQL.

AI Reading Assistant

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

AI guide
【One-Line Pitch】 A hands-on, beginner-friendly introduction to SQL using PostgreSQL and pgAdmin, focused on turning raw data into compelling stories through practical, real-world exercises—ideal for journalists, analysts, and anyone new to programming who wants to query databases with confidence. 【Book Arc】 - **Opening (~0%–10%)**: Sets up the book’s mission—SQL as a storytelling tool—and introduces the core toolkit: PostgreSQL, pgAdmin, and the fundamentals of relational databases. This stage solves the “where do I start?” problem for absolute beginners. - **Early (~10%–30%)**: Covers database and table creation, choosing the right data types, and basic query syntax (SELECT, INSERT, UPDATE, DELETE). The focus is on building a solid foundation so readers can structure their own data correctly from the outset. - **Middle (~30%–60%)**: Moves into data manipulation and analysis—aggregation, sorting, filtering, and joining tables. Real-world datasets (e.g., U.S. Census) are introduced here, showing how to spot patterns and answer questions with SQL. - **Late (~60%–85%)**: Tackles cleaning messy data, importing/exporting delimited text files, and applying math and statistical functions. This stage is about turning raw, imperfect data into reliable, analysis-ready information. - **Ending (~85%–100%)**: Advances into specialized topics like GIS queries and automation, plus tips for scaling up. The book closes by reinforcing the “storytelling” mindset—using SQL not just to retrieve data, but to communicate insights effectively. 【Key Takeaways】 - **SQL is a storytelling language, not just a technical skill** (Opening): The book frames every query as a way to uncover and communicate a narrative in your data, which keeps learning motivated and purpose-driven. - **PostgreSQL + pgAdmin are your friendly starting tools** (Opening): The author deliberately chooses open-source, widely supported software, so you can follow along without costly licenses—and the syntax transfers to MySQL or SQL Server later. - **Data types matter more than you think** (Early): Choosing the right type (numeric, text, date, etc.) prevents errors and makes queries faster; this is a foundational habit that pays off in every later chapter. - **Aggregation and filtering are where patterns emerge** (Middle): Mastering GROUP BY, ORDER BY, and WHERE clauses lets you turn a sea of rows into meaningful summaries—the heart of data exploration. - **Real data is messy; cleaning is a core skill** (Late): The book dedicates serious time to identifying errors, handling missing values, and standardizing formats, because analysis is only as good as the data you feed it. - **Import/export skills make you self-sufficient** (Late): Working with delimited text files (like CSV) bridges the gap between external data sources and your database, a practical need for most real-world projects. - **GIS and automation are accessible, not scary** (Ending): Even beginners can write spatial queries and automate repetitive tasks, opening doors to advanced applications without needing a computer science degree. 【Reading Tips】 - **Skim the setup chapters if you’ve coded before**: The first few sections on installing PostgreSQL and pgAdmin are thorough but slow; jump ahead if you’re comfortable with basic software installation. - **Deep-read the data type and table creation chapters**: These are the most technical and least glamorous, but they prevent 90% of beginner headaches—take notes and practice each example. - **Do every exercise with the U.S. Census data**: The real-world datasets are the book’s superpower; don’t just read the queries—type them out and tweak them to see what changes. - **Struggle through the cleaning and import/export sections**: These feel tedious but are the most career-relevant; if you can handle messy CSV files, you can handle most entry-level data jobs. - **Use the book as a reference, not a novel**: After the first pass, keep it on your desk—the later GIS and automation chapters are best revisited when you actually need them. 【Coverage Limits】 This guide is based on the book’s front matter, copyright page, and author bio; the stratified excerpts do not include detailed chapter content, so specific examples, exercise solutions, and code listings are not covered here. The arc and takeaways are inferred from the blurb and standard structure of such beginner SQL guides.
Excerpt 1
书名: Practical SQL A Beginner’s Guide to Storytelling with Data (Anthony DeBarros) (Z-Library) 作者: Anthony DeBarros Practical SQL is an approachable and fast-...
View in text
Page 3
. Copyright © 2018 by Anthony DeBarros. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or...
View in text
Page 3
ned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the...
View in text
Tags
AI categories
SQLDatabaseProgramming Language
ISBN: 1593278276
Publisher: No Starch Press
Publish Year: 2018
Language: Chinese
Pages: 527
File Format: PDF
File Size: 5.0 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…