Question:Which of the following queries will create a table with two fields, "id" and "name" with "id" as an auto incrementing primary key? 

A create table foo (id int serial primary key auto, name varchar(255)); 

B create table foo (id int auto_increment primary key, name varchar(255)); 

C create table foo (id auto_increment primary key, name varchar(255)); 

D create table foo (id serial primary key, name varchar(255)); 

E None of these above 

+ Answer
+ Report
Total Preview: 706

Copyright © 2024. Powered by Intellect Software Ltd