Managing Data with SQL
& Relational Databases
Michael Shensky
Head of Research Data Services
m.shensky@austin.utexas.edu
Welcome
Workshop Logistics
Other Fall 2022 Research Data Services Announcements
UTL Map & Geospatial Collections Explorer Fellowship
Goals for This Workshop
What is a Database?
A grey cylinder symbol is commonly used to represent databases in system diagrams
What is a Relational Database?
tree_id | species | condition | plant_date |
1 | oak | good | 1/1/1998 |
2 | ash | poor | 3/28/1993 |
tree_id | work | date |
1 | trim | 1/5/2020 |
1 | trim | 2/4/2021 |
2 | fertilize | 3/8/2020 |
2 | trim | 5/9/2021 |
3 | remove | 2/9/2022 |
What is SQL?
Database Implementations
File database (single user architecture)
Application/script >>> Locally stored file database
Client-Server (multi-user architecture)
Application/script >>>
Database management system on a server >>>
Database within DBMS
Why Use Databases & SQL for Data Management
Relational Database Use Case Examples
RDBMS Options
*Offered as a free service for faculty & staff by UT ITS
UT ITS Data Storage Services: https://it.utexas.edu/services/servers-storage-data
RDBMS Popularity Rankings
Rankings of Database Popularity: https://db-engines.com/en/ranking
DB Browser for SQLite
Download installation files for DB Browser for SQLite at https://sqlitebrowser.org/dl/
DB Browser Demo
Export Austin tree inventory data as CSV from: https://data.austintexas.gov/Locations-and-Maps/Tree-Inventory/wrik-xasw
Google Colab SQL Example
https://research.google.com/colaboratory/faq.html
Colab FAQs at https://research.google.com/colaboratory/faq.html
What is Python?
Python Basics
Link to publicly shared Google Colab Notebook #1:
https://colab.research.google.com/drive/1BWlHkt4zGroPHlUJmfqc3tsh1sfL1tTA?usp=sharing
Python and SQL Demo
Google Colab notebook file for this demo can be accessed at:
https://colab.research.google.com/drive/1XBuPpFq7kAyjLwNleJNx-RqCx7r9PQGS?usp=sharing
SQL Resources, Documentation, and Help
Wrap Up
Questions? Comments?
Next Workshop