From 647afb6d171cc075992e476594859720b93471df Mon Sep 17 00:00:00 2001 From: Prakash Gatiyala Date: Sat, 25 Mar 2023 20:26:32 +0530 Subject: [PATCH] Update 01-database-fundamentals.md (#16) Fixes typo in 01-database-fundamentals.md. --- database/notes/01-database-fundamentals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/notes/01-database-fundamentals.md b/database/notes/01-database-fundamentals.md index d39ab33..6ca5d73 100644 --- a/database/notes/01-database-fundamentals.md +++ b/database/notes/01-database-fundamentals.md @@ -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 * id -* name +* phone * email #### Primary Keys @@ -383,4 +383,4 @@ CREATE TABLE `batches` ( KEY `mentor_id` (`mentor_id`), CONSTRAINT `batches_ibfk_1` FOREIGN KEY (`mentor_id`) REFERENCES `mentors` (`id`) ); -``` \ No newline at end of file +```