Computer Science
Which of the following attributes can be considered as a choice for primary key ?
- Name
- Street
- Roll No
- Subject
SQL Queries
3 Likes
Answer
Roll No
Reason — A primary key is a unique identifier for each record in a table, and it must be unique and not null. As the "Roll No" is unique for each student and can uniquely identify each record in the table, it can be considered as a choice for primary key.
Answered By
3 Likes
Related Questions
Which operator concatenates two strings in a query result ?
Which comparison operator is used for comparing ?
- patterns
- character values
- null values
- ranges
- list of values.
What is the full form of SQL ?
- Structured Query Language
- Structured Query List
- Simple Query Language
- None of these
What is the full form of DDL ?
- Dynamic Data Language
- Detailed Data Language
- Data Definition Language
- Data Derivation Language