Update 01-database-fundamentals.md (#16)

Fixes typo in 01-database-fundamentals.md.
This commit is contained in:
Prakash Gatiyala 2023-03-25 20:26:32 +05:30 committed by GitHub
parent 9e80415e9d
commit 647afb6d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,7 +310,7 @@ For example `{id, name, email, phone}` is a super key but is it a candidate key?
A set of candidate keys for our student relation A set of candidate keys for our student relation
* id * id
* name * phone
* email * email
#### Primary Keys #### Primary Keys
@ -383,4 +383,4 @@ CREATE TABLE `batches` (
KEY `mentor_id` (`mentor_id`), KEY `mentor_id` (`mentor_id`),
CONSTRAINT `batches_ibfk_1` FOREIGN KEY (`mentor_id`) REFERENCES `mentors` (`id`) CONSTRAINT `batches_ibfk_1` FOREIGN KEY (`mentor_id`) REFERENCES `mentors` (`id`)
); );
``` ```