cd ~/dfe/
./sse.sh
- jabra for audio recording
- kill rsi break, slack, etc
- use new windows
- record screencast
- clock
- ngrok sse
- this slideshow: http://deckdown.org/deck?theme=solarized&src=https://gist.githubusercontent.com/timabell/55ebbab29ea123c17f192bdbdec5aa44/raw/whats-a-db.md#/2
- this markdown: https://gist.github.com/timabell/55ebbab29ea123c17f192bdbdec5aa44#file-whats-a-db-md
- Who's written T-SQL before?
- Who's used a database with other tools?
- Who knows what a Foreign Key is
- Who knows what a database table is
- Who's heard of a relational database
- Who's heard of a database
Charm Consulting Ltd Tim Abell https://timwise.co.uk/ @tim_abell
Mon 21st Oct 2019 for DfE
https://docs.google.com/spreadsheets/d/1bfRYaIbw1XfOpWheCZ0XRqs6_2J76LUvpsoDU7qQk48/edit?usp=sharing
- Google sheets
- MS Excel
- Apple numbers
- Airtable
But with "foreign keys"...
A contrived example:
http://demo.schemaexplorer.io/
- tables
- columns
- data
- foreign keys
The database behind
https://www.qa.publish-teacher-training-courses.service.gov.uk/
...
http://localhost:8888/manage_courses_backend_development/
...
https://c01b29de.ngrok.io/manage_courses_backend_development/
Structured Query Language (SQL)
select count(*) from course;
count
-------
36723
(1 row)
select course_code, name from course limit 5;
course_code | name
-------------+-------------
2VMB | Mathematics
2LGD | History
2SZK | Biology
3DCW | Computing
377R | Music
(5 rows)
select
p.provider_code, p.provider_name, c.course_code, c.name
from course c
join provider p on p.id = c.provider_id
limit 5;
provider_code | provider_name | course_code | name
---------------+-------------------------+-------------+--------------------------
1DT | Aslacton Primary School | 25BL | Primary
1DT | Aslacton Primary School | 25BN | Primary with Mathematics
1DT | Aslacton Primary School | 2K6D | Primary
1DT | Aslacton Primary School | 3DRK | Primary
1DT | Aslacton Primary School | 3DZS | Primary
(5 rows)
Okay I'll stop now...
https://www.w3schools.com/sql/
Now you know what a relational database is. Tell all your friends.
Thanks
Charm Consulting Ltd Tim Abell timwise.co.uk @tim_abell
Mon 21st Oct 2019 for DfE