diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-27 11:53:54 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-27 11:53:54 -0600 |
| commit | 3de6da114215277048e0855464a7b4e8ba2caacc (patch) | |
| tree | 926577262502b92bbc1fe41d5dcbe28f2f956225 | |
| parent | 6b62cc1e839233f7baf122d4a7b898eee2b98590 (diff) | |
Describe difference between primary key constraint and not null constraint
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -882,3 +882,12 @@ Time: 0.813 ms Using a range type can sometimes make it easier to model something. Never use strings to store dates or numbers. Use a range type to store a range. + +* Primary key constraint + * only on per table + * unique + * not null +* unique constraint + * more than one per table allowed + * unique + * nulls are allowed |
