Shakespeare in a database
Shakespeare in a database
To learn more about this page, read the blog post. Geek note: this is all happening in your web browser, thanks to clever work by others (credits at the bottom of the page).
There are four tables in the database: works
, chapters
, paragraphs
and characters
. Rather than list out the structure, just go ahead and issue DESCRIBE works
or SELECT * FROM works
, and so on. Read the example below: if you know SQL, you should get the idea.
If you like, download the whole database.
Try and predict the results of these examples before you run the query:
Results will be displayed here
Favourite posts
- On wiggly lines and being normal
- On infinite villages
- Running a race backwards
- Brainmaking
- Their tables were stored full, to glad the sight
- The structure of a smell
Recent posts
- Skill swaps
- Times Table Hack Stars
- Long, crustless hypotenuses
- Standing up a prototype
- Optimising the FA Cup
Blog archives
Posts from 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024.