Skip to content

Commit ba34d6b

Browse files
authored
Merge pull request #12 from ItayAbuhazera/patch-1
Update Chapter 3 - Advanced SQLAlchemy Queries.py
2 parents 99297d4 + e615cb4 commit ba34d6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Introduction to Databases in Python/Chapter 3 - Advanced SQLAlchemy Queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
#Automatic Joins with an Established Relationship
6767
# Build a statement to join census and state_fact tables: stmt
68-
stmt = select([census.columns.pop2008, state_fact.columns.abbreviation])
68+
stmt = select([census.columns.pop2000, state_fact.columns.abbreviation])
6969

7070
# Execute the statement and get the first result: result
7171
result = connection.execute(stmt).first()

0 commit comments

Comments
 (0)