MCQs>IT & Programming>PostgreSQL>Which of the following queries will create a table with two fields, "id" and "name" with "id" as an auto incrementing primary key?
PostgreSQL MCQs
Which of the following queries will create a table with two fields, "id" and "name" with "id" as an auto incrementing primary key?
Answer
Correct Answer: create table foo (id serial primary key, name varchar(255));
Explanation:
Note: This Question is unanswered, help us to find answer for this one