Skip to content

Commit 4ee451e

Browse files
committed
update table of contents CAPITALIZE headings
1 parent 1d386be commit 4ee451e

File tree

1 file changed

+50
-7
lines changed

1 file changed

+50
-7
lines changed

README.md

Lines changed: 50 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ completion date: 2021-10-16
6161
+ [LIMIT and OFFSET](#limit-and-offset)
6262

6363
[7. Unions, Intersect, Except](#7-union-union-all-intersect-intersect-all-except-except-all)
64-
+ [Union](#union)
65-
+ [Intersect](#intersect)
66-
+ [Except](#except)
64+
+ [UNION](#union)
65+
+ [INTERSECT](#intersect)
66+
+ [EXCEPT](#except)
6767

6868
[8. Subqueries](#8-subqueries)
6969
+ [Subqueries in SELECT](#subqueries-in-select)
@@ -75,7 +75,7 @@ completion date: 2021-10-16
7575
+ [Correlated Subqueries](#correlated-subqueries)
7676
+ [Select without a FROM](#select-without-a-from)
7777

78-
[9. Destinct](#9-destinct)
78+
[9. DESTINCT](#9-destinct)
7979

8080
[10. Utility Operators, Keywords, and Functions](#10-utility-operators-keywords-and-functions)
8181
+ [GREATEST](#greatest)
@@ -92,9 +92,11 @@ completion date: 2021-10-16
9292
+ [multi-column check](#multi-column-check)
9393
+ [remove a constraint](#remove-a-constraint)
9494

95-
9695
---
97-
[12. PostgreSQL](#12-postgresql)
96+
[12. Database Design](#12-database-design)
97+
+ [Schema designers](#schema-designers)
98+
99+
[13. PostgreSQL](#13-postgresql)
98100
+ [Installation](#installation)
99101

100102

@@ -1310,11 +1312,52 @@ DROP CONSTRAINT products_name_key;
13101312
to visually check that this updated, you have to refresh:
13111313
right-click products table -> refresh
13121314

1315+
---
1316+
###### <div style="text-align:right">[table of contents](#table-of-contents)</div>
1317+
1318+
## 12. Database design
1319+
1320+
### schema designers
1321+
help you structure database tables and columns, data types
1322+
shows the relationship between tables.
1323+
1324+
##### code-based
1325+
benefits include allowing you to commit diagram code to repository
1326+
1327+
* [dbdiagram.io](http://dbdiagram.io)
1328+
1329+
```sample code
1330+
1331+
Table users{
1332+
id integer [pk, increment]
1333+
username varchar
1334+
}
1335+
1336+
Table comments {
1337+
id integer [pk, increment]
1338+
contents varchar
1339+
user_id int [ref: > users.id]
1340+
post_id int [ref: > posts.id]
1341+
}
1342+
1343+
Table post {
1344+
id integer [pk, increment]
1345+
title varchar
1346+
}
1347+
1348+
```
1349+
1350+
* [quickdatabasediagrams.com](quickdatabasediagrams.com)
1351+
1352+
##### diagram based
1353+
* [ondras.zarovi.cz/sql/demo](ondras.zarovi.cz/sql/demo)
1354+
* [drawsql.app](http://drawsql.app)
1355+
* [sqldbm.com](sqldbm.com)
13131356

13141357
---
13151358
###### <div style="text-align:right">[table of contents](#table-of-contents)</div>
13161359

1317-
## 12. PostgreSQL
1360+
## 13. PostgreSQL
13181361
* Installing postgreSQL installs pgadmin.
13191362
* Pgadmin is a web-based tool to manage and inspect a postgres database.
13201363
* One postgres server can have multiple databases.

0 commit comments

Comments
 (0)