datalab-affiliates / events

events and workshops associated with the datalab affiliates
3 stars 0 forks source link

SQLite hands-on: Thursday 3:30pm, Jan 19th, 2023. #2

Closed ctb closed 1 year ago

ctb commented 1 year ago

A Hands-On Introduction to SQL with SQLite!

SQLite is the amazing little embedded database that could! It comes with Python, it’s on every Apple device ever made, and it just … plain … works. Really, really well.

You might be interested in this session (generally) and SQLite (specifically) if any or all of the following apply -

Join me on Thursday (Jan 19th) at 3:30pm to go through a little SQL and SQLite tutorial!

In this session I’ll develop a simple database for storing information about a personal book collection, and we’ll explore it together. I’ll show -

No particular background is needed to follow along other than a tolerance for minor technical difficulties ;).

I’ll provide some installation instructions before the workshop, on the github issue for this event (see below).


Please watch this space for location & zoom connection information - you can subscribe to this issue to get updates about just this workshop, if you like.

Or, contact ctbrown@ucdavis.edu and hope I see your e-mail in time to respond 😅

ctb commented 1 year ago

(Hoping to do this in Shields 360 / DataLab space, but need to hear back from Glenda first ;))

sarahheuck commented 1 year ago

Unfortunately this is during my lab meeting so I won't be able to make it, but I would love to learn more about sql at some point.

ctb commented 1 year ago

We'll meet in Shields 360! Zoom link to follow.

I'll make notes and recordings available ;).

For Windows users who want to try things out locally:

For Mac OS X and Linux computers, sqlite3 should come installed with Python.

I'll provide a binder Web site as well, so no worries if install fails or you don't get to it!

ctb commented 1 year ago

Zoom link: https://ucdavis.zoom.us/j/96263572921?pwd=eEtNZmEwV2svZnlha1V6MVZRTzV4UT09

ctb commented 1 year ago

Binder link:

Binder

This will create an RStudio Server running in the cloud.

To get to a command line, go to Terminal...

To run sqlite3, run sqlite3 database.sql at the terminal!

ctb commented 1 year ago

Here's some starting notes.

https://hackmd.io/2wcEylvPSDCw-wa0sk0tdQ?view

PLNReynolds commented 1 year ago

For a SQL tutorial, we have a workshop reader here: https://ucdavisdatalab.github.io/workshop_intro_to_sql/

You can contribute, submit issues, etc. for that workshop here: https://github.com/ucdavisdatalab/workshop_intro_to_sql

PLNReynolds commented 1 year ago

Related aside - For designing schemas, we like using Lucid Chart (the free version is typically fine). We use it for visualizing and planning our workflows, and then it will translate to SQL for setting up the database.

ctb commented 1 year ago

video posted here: https://video.ucdavis.edu/media/t/1_y2wyfifl