Practical SQL: A Beginner's Guide to Storytelling with Data

Anthony DeBarros

買這商品的人也買了...

商品描述

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.

商品描述(中文翻譯)

《實用 SQL》是一本親切且節奏快速的指南,介紹了 SQL(結構化查詢語言),這是一種用於定義、組織和探索關聯式數據庫中數據的標準編程語言。本書以流行的開源數據庫 PostgreSQL 和 pgAdmin 介面作為主要工具,著重於使用 SQL 找到數據所講述的故事。

首先,您將學習數據庫和 SQL 語言的基礎知識,然後通過分析美國人口普查和其他聯邦和州政府機構的數據來建立技能。每章都有練習和實際案例,即使是從未編程過的人也能學會建立強大的數據庫並快速高效地訪問信息。

您將學習如何:
- 使用自己的數據創建數據庫和相關表格
- 為您的信息定義正確的數據類型
- 聚合、排序和過濾數據以找到模式
- 使用基本數學和高級統計函數
- 識別數據中的錯誤並進行清理
- 使用分隔文本文件導入和導出數據
- 為地理信息系統(GIS)編寫查詢
- 創建高級查詢並自動化任務

學習 SQL 不必枯燥和複雜。《實用 SQL》提供清晰的示例和易於理解的方法,教您構建和管理自己的數據庫所需的工具。

本書使用 PostgreSQL,但 SQL 語法適用於許多數據庫應用,包括 Microsoft SQL Server 和 MySQL。