Database Management PostgreSQL Mcq
Sep 25, 2025

What does the SERIAL data type create in PostgreSQL?

Choose the correct answer:
A) A string field
B) An auto-incrementing integer
C) A timestamp field
D) A boolean field
Detailed Explanation

SERIAL creates an auto-incrementing integer column, typically used for primary keys. It's equivalent to INTEGER with a sequence.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback