Computer AwarenessVery hardIBPS SO IT · SBI PO

How many of these statements are correct? I. A table can have only one primary key. II. A primary key column can never hold NULL. III. A table can have several UNIQUE constraints. IV. A primary key may consist of more than one column.

  1. A. One
  2. B. Two
  3. C. Three
  4. D. Four

Correct answer: D. Four

All four are correct: a table has one primary key, which is NOT NULL and unique, but it may be composite (several columns), and any number of other columns can carry UNIQUE constraints.

हिंदी में

इनमें से कितने कथन सही हैं? I. एक तालिका में केवल एक प्राइमरी की हो सकती है। II. प्राइमरी की स्तंभ में कभी NULL नहीं हो सकता। III. एक तालिका में कई UNIQUE प्रतिबंध हो सकते हैं। IV. प्राइमरी की में एक से अधिक स्तंभ हो सकते हैं।

  1. A. एक
  2. B. दो
  3. C. तीन
  4. D. चार

उत्तर: D. चारों सही हैं: तालिका में एक प्राइमरी की होती है, जो NOT NULL और अद्वितीय होती है, पर वह संयुक्त (कई स्तंभों वाली) हो सकती है, और कितने भी अन्य स्तंभों पर UNIQUE प्रतिबंध लग सकते हैं।

More Computer Awareness questions

Exams that ask this topic