What is a Database?
You've just joined DataDrop as a junior data analyst. Your first job: understand how the platform stores all its music data.
Spotify has over 100 million songs in its library. Each song needs to store a title, artist, duration, streams, release date, and more. A spreadsheet would grind to a halt. A database handles it instantly β and lets millions of users search simultaneously.
Key Terminology
Learn the language of databases. These terms come up in every job in tech β and in your GCSE exam.
This is what a small section of the Songs table looks like. Each row is a record. Each column is a field.
| SongID β | Title | Artist | Genre | ReleaseYear | Streams |
|---|---|---|---|---|---|
| 1 | Neon Skyline | The Midnight | Synthpop | 2021 | 2340000 |
| 2 | Ocean Drive | Duke Dumont | Electronic | 2014 | 5100000 |
| 3 | Bad Habits | Ed Sheeran | Pop | 2021 | 9800000 |
| 4 | Blinding Lights | The Weeknd | Pop | 2019 | 12000000 |
| β¦ | β¦ | β¦ | β¦ | β¦ | β¦ |
β = Primary Key field (SongID is unique for every song)
Explore the DataDrop Database
Open the database your teacher has shared and investigate the Songs table. Answer each question below as you go.
| Field Name | Data Type (write it in) |
|---|---|
| SongID | |
| Title | |
| Genre | |
| ReleaseYear | |
| DurationMins | |
| Streams | |
| IsExplicit |
Running Queries
Queries let you ask questions of a database. Three queries have been pre-built for you. Run each one and record what you find.
This query filters the Songs table to show only songs in the Pop genre.
Shows songs with over 5 million streams, sorted from most to least popular.
Filters songs released in 2021, sorted alphabetically by title.
Exit Quiz
Five quick questions to check what you've learned today. Answer in full sentences.
Download all your answers from every section as a text file β then upload to Google Classroom.
You've completed Lesson 1. You now know what a database is, the key terminology, and how to explore and query data in Access. Next lesson: you'll design and build your own database table.
Go to Lesson 2 β