Skip to content

Commit 98147c5

Browse files
committed
docs(sql): update introduction content
1 parent bfb63af commit 98147c5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/gitbook-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Node.js
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: '16'
32+
node-version-file: '.node-version'
3333

3434
- name: Install dependencies and GitBook plugins
3535
run: |

sql/introduction.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ A database column is a set of data values of a particular simple type, one value
2020
### PRIMARY KEY
2121
A primary key, sometimes labeled as the unique identifier, is a specific choice of a set of columns that uniquely identify a row in a relational table. Simply put, a primary key is the attributes which identify a record.
2222

23+
### FOREIGN KEY
24+
A FOREIGN KEY is a column (or set of columns) in one table that refers to the PRIMARY KEY in another table. It establishes a relationship between two tables and enforces referential integrity, meaning the value in the foreign key column must match an existing primary key value in the referenced table (or be NULL, if allowed).
25+
2326
### INSERT
2427
`INSERT` statements are used to add a new row to a table.
2528

0 commit comments

Comments
 (0)