From aa4aa2e19ba8f05dad22741f8b38603517c908c8 Mon Sep 17 00:00:00 2001 From: James Foster Date: Thu, 12 Oct 2023 12:22:20 +1100 Subject: [PATCH] Move explanatory text outside definition. --- episodes/00-sql-introduction.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/episodes/00-sql-introduction.md b/episodes/00-sql-introduction.md index 85e4653c..a4f2c400 100644 --- a/episodes/00-sql-introduction.md +++ b/episodes/00-sql-introduction.md @@ -111,14 +111,15 @@ In most cases, each record will have a unique identifier, called a *key*, which is stored as one of its fields. Records may also contain keys that refer to records in other tables, which enables us to combine information from two or more sources. -The idea of *relational* is associated with organizing information across multiple tables in the database. -The *relationships* between tables in a database can be established (or even enforced) in different ways, through the use of *keys* and other constraints. + +:::::::::::::::::::::::::::::::::::::::::::::::::: + +The *relational* concept is connected with organizing information across multiple tables in the database. +The *relationships* between tables in a database can be established (or even enforced) in different ways, through the use of keys and other constraints. In many small datasets we have only a few tables and we don't have to think about cross-references within datasets. The idea of *relational data* becomes more and more important as the amount and complexity of data grows. This provides the motivation for using relational databases: to organize data through related keys. -:::::::::::::::::::::::::::::::::::::::::::::::::: - ## Databases ### Why use relational databases