Sequence is basically used in generating
-
Unique key
-
Primary key
-
Foreign key
-
All of the above
B
Correct answer
Explanation
Sequences generate unique numeric values in databases, which are most commonly used to populate primary key columns when inserting new records. While sequences can technically generate values for any unique identifier, their primary purpose is generating auto-incrementing values for primary keys. Option D is incorrect because sequences specifically generate numbers, not all types of keys.