diff options
| author | mo khan <mo.khan@gmail.com> | 2020-01-14 18:34:37 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-01-14 18:34:37 -0700 |
| commit | e48cfe51f530cdfaad488924722ef0b2416d2d82 (patch) | |
| tree | c1da500d0149add2afead1550d4c393443759543 /doc/01-introduction.md | |
| parent | 1aad694887bc43e5362c1f389a2b82c0c37a387e (diff) | |
describe shorthand syntax for relations
Diffstat (limited to 'doc/01-introduction.md')
| -rw-r--r-- | doc/01-introduction.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/01-introduction.md b/doc/01-introduction.md index 1e57ff7..61e6cee 100644 --- a/doc/01-introduction.md +++ b/doc/01-introduction.md @@ -40,8 +40,15 @@ line_items # Relation: two dimensional table of data. +## Shorthand syntax + Employee1(id, name) # shorthand notation for describing a relation. +* primary key is underlined. +* foreign key uses a dashed underline. + +Employees( *id*, name ) + ## Relational Keys * primary key: attribute or combination of attributes that uniquely identifies each row in a relation. |
