Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
3.5k views
in Information Technology by (120k points)
closed by
What is true about Unique and primary key?

(a) Unique can have multiple NULL values but Primary can’t have.

(b) Unique can have single NULL value but Primary can’t have even single.

(c) Both can have duplicate values

(d) None of the Mentioned

1 Answer

0 votes
by (120k points)
selected by
 
Best answer
Right option is (b) Unique can have single NULL value but Primary can’t have even single.

To explain I would say: Primary key doesn’t allow Null values and Unique key allows Null value, but only one Null value.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...