Question:What is wrong with the following statement?
create table foo (id int auto_increment, name int);
 

A Nothing 

B The id column cannot be auto incremented because it has not been defined as a primary key 

C It is not spelled correctly. It should be: CREATE TABLE foo (id int AUTO_INCREMENT, name int); 

+ Answer
+ Report
Total Preview: 670

Copyright © 2024. Powered by Intellect Software Ltd