Begin renaming chapter numbers

This commit is contained in:
Anthony DeBarros 2020-02-26 21:10:12 -05:00
parent 9552fdb805
commit 1b656ae8c4
56 changed files with 118 additions and 44 deletions

View File

@ -2,7 +2,7 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 1: Creating Your First Database and Table
### Chapter 1: Setting Up Your Environment
Introduces PostgreSQL, the pgAdmin user interface, and the code for loading a simple data set about teachers into a new database.
TK

View File

@ -2,9 +2,7 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 2: Beginning Data Exploration with `SELECT`
Explores basic SQL query syntax, including how to sort and filter data.
### Chapter 1: Creating Your First Database and Table
Introduces PostgreSQL, the pgAdmin user interface, and the code for loading a simple data set about teachers into a new database.

View File

@ -2,7 +2,9 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 3: Understanding Data Types
### Chapter 2: Beginning Data Exploration with `SELECT`
Explores basic SQL query syntax, including how to sort and filter data.
Explains the definitions for setting columns in a table to hold specific types of data, from text to dates to various forms of numbers.

View File

@ -2,6 +2,7 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 4: Importing and Exporting Data
### Chapter 3: Understanding Data Types
Explains the definitions for setting columns in a table to hold specific types of data, from text to dates to various forms of numbers.
Explains how to use SQL commands to load data from external files and then export it. Youll load a table of U.S. Census population data that youll use throughout the book.

View File

@ -2,9 +2,6 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 5: Basic Math and Stats with SQL
Covers arithmetic operations and introduces aggregate functions for finding sums, averages, and medians.
### Chapter 4: Importing and Exporting Data
Explains how to use SQL commands to load data from external files and then export it. Youll load a table of U.S. Census population data that youll use throughout the book.

View File

Can't render this file because it is too large.

View File

@ -2,8 +2,9 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 6: Joining Tables in a Relational Database
### Chapter 5: Basic Math and Stats with SQL
Covers arithmetic operations and introduces aggregate functions for finding sums, averages, and medians.
Explains how to query multiple, related tables by joining them on key columns. Youll learn how and when to use different types of joins.

View File

@ -2,10 +2,8 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 7: Table Design that Works for You
Covers how to set up tables to improve the organization and integrity of your data as well as how to speed up queries using indexes.
### Chapter 6: Joining Tables in a Relational Database
Explains how to query multiple, related tables by joining them on key columns. Youll learn how and when to use different types of joins.

View File

Can't render this file because it contains an unexpected character in line 1 and column 163.

View File

@ -2,9 +2,10 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 8: Extracting Information by Grouping and Summarizing
### Chapter 7: Table Design that Works for You
Covers how to set up tables to improve the organization and integrity of your data as well as how to speed up queries using indexes.
Explains how to use aggregate functions to find trends in U.S. library use based on annual surveys.

View File

Can't render this file because it is too large.

View File

@ -2,7 +2,9 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 9: Inspecting and Modifying Data
### Chapter 8: Extracting Information by Grouping and Summarizing
Explains how to use aggregate functions to find trends in U.S. library use based on annual surveys.
Explores how to nd and x incomplete or inaccurate data using a collection of records about meat, egg, and poultry producers as an example.

View File

Can't render this file because it is too large.

View File

Can't render this file because it is too large.

View File

@ -2,7 +2,7 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 10: Statistical Functions in SQL
### Chapter 9: Inspecting and Modifying Data
Introduces correlation, regression, and ranking functions in SQL to help you derive more meaning from data sets.
Explores how to nd and x incomplete or inaccurate data using a collection of records about meat, egg, and poultry producers as an example.

View File

@ -2,8 +2,7 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 11: Working with Dates and Times
Explains how to create, manipulate, and query dates and times in your database, including working with time zones, using data on New York City taxi trips and Amtrak train schedules.
### Chapter 10: Statistical Functions in SQL
Introduces correlation, regression, and ranking functions in SQL to help you derive more meaning from data sets.

View File

@ -2,10 +2,8 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 12: Advanced Query Techniques
Explains how to use more complex SQL operations, such as subqueries and cross tabulations, and the CASE statement to reclassify values in a data set on temperature readings.
### Chapter 11: Working with Dates and Times
Explains how to create, manipulate, and query dates and times in your database, including working with time zones, using data on New York City taxi trips and Amtrak train schedules.

View File

Can't render this file because it is too large.

View File

@ -2,9 +2,10 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 13: Mining Text to Find Meaningful Data
### Chapter 12: Advanced Query Techniques
Explains how to use more complex SQL operations, such as subqueries and cross tabulations, and the CASE statement to reclassify values in a data set on temperature readings.
Covers how to use PostgreSQLs full text search engine and regular expressions to extract data from unstructured text, using a collection of speeches by U.S. presidents as an example.

View File

@ -2,9 +2,9 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 14: Analyzing Spatial Data with PostGIS
### Chapter 13: Mining Text to Find Meaningful Data
Introduces data types and queries related to spatial objects, which will let you analyze geographical features like states, roads, and rivers.
Covers how to use PostgreSQLs full text search engine and regular expressions to extract data from unstructured text, using a collection of speeches by U.S. presidents as an example.

View File

Can't render this file because it is too large.

View File

@ -2,8 +2,9 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 15: Saving Time with Views, Functions, and Triggers:
### Chapter 14: Analyzing Spatial Data with PostGIS
Introduces data types and queries related to spatial objects, which will let you analyze geographical features like states, roads, and rivers.
Explains how to automate database tasks so you can avoid repeating routine work.

View File

Can't render this file because it is too large.

View File

@ -2,7 +2,8 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 16: Using PostgreSQL from the Command Line
### Chapter 16: JSON:
TKTK
Covers how to use text commands at your computers command prompt to connect to your database and run queries.

View File

@ -2,7 +2,8 @@
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 17: Maintaining Your Database:
### Chapter 15: Saving Time with Views, Functions, and Triggers:
Explains how to automate database tasks so you can avoid repeating routine work.
Provides tips and procedures for tracking the size of your database, customizing settings, and backing up data.

8
Chapter_18/README.md Normal file
View File

@ -0,0 +1,8 @@
## Practical SQL
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 16: Using PostgreSQL from the Command Line
Covers how to use text commands at your computers command prompt to connect to your database and run queries.

8
Chapter_19/README.md Normal file
View File

@ -0,0 +1,8 @@
## Practical SQL
[PracticalSQL](https://www.nostarch.com/practicalSQL) by Anthony DeBarros is [available from No Starch Press](https://www.nostarch.com/practicalSQL).
### Chapter 17: Maintaining Your Database:
Provides tips and procedures for tracking the size of your database, customizing settings, and backing up data.

57
state_regions.csv Normal file
View File

@ -0,0 +1,57 @@
st,region
AK,Pacific
AL,East South Central
AR,West South Central
AS,Outlying Area
AZ,Mountain
CA,Pacific
CO,Mountain
CT,New England
DC,South Atlantic
DE,South Atlantic
FL,South Atlantic
GA,South Atlantic
GU,Outlying Area
HI,Pacific
IA,West North Central
ID,Mountain
IL,East North Central
IN,East North Central
KS,West North Central
KY,East South Central
LA,West South Central
MA,New England
MD,South Atlantic
ME,New England
MI,East North Central
MN,West North Central
MO,West North Central
MP,Outlying Area
MS,East South Central
MT,Mountain
NC,South Atlantic
ND,West North Central
NE,West North Central
NH,New England
NJ,Middle Atlantic
NM,Mountain
NV,Mountain
NY,Middle Atlantic
OH,East North Central
OK,West South Central
OR,Pacific
PA,Middle Atlantic
PR,Outlying Area
RI,New England
SC,South Atlantic
SD,West North Central
TN,East South Central
TX,West South Central
UT,Mountain
VA,South Atlantic
VI,Outlying Area
VT,New England
WA,Pacific
WI,East North Central
WV,South Atlantic
WY,Mountain
1 st region
2 AK Pacific
3 AL East South Central
4 AR West South Central
5 AS Outlying Area
6 AZ Mountain
7 CA Pacific
8 CO Mountain
9 CT New England
10 DC South Atlantic
11 DE South Atlantic
12 FL South Atlantic
13 GA South Atlantic
14 GU Outlying Area
15 HI Pacific
16 IA West North Central
17 ID Mountain
18 IL East North Central
19 IN East North Central
20 KS West North Central
21 KY East South Central
22 LA West South Central
23 MA New England
24 MD South Atlantic
25 ME New England
26 MI East North Central
27 MN West North Central
28 MO West North Central
29 MP Outlying Area
30 MS East South Central
31 MT Mountain
32 NC South Atlantic
33 ND West North Central
34 NE West North Central
35 NH New England
36 NJ Middle Atlantic
37 NM Mountain
38 NV Mountain
39 NY Middle Atlantic
40 OH East North Central
41 OK West South Central
42 OR Pacific
43 PA Middle Atlantic
44 PR Outlying Area
45 RI New England
46 SC South Atlantic
47 SD West North Central
48 TN East South Central
49 TX West South Central
50 UT Mountain
51 VA South Atlantic
52 VI Outlying Area
53 VT New England
54 WA Pacific
55 WI East North Central
56 WV South Atlantic
57 WY Mountain