每次我想创建这个表时,它都会显示Missing Right Parenthesis。请有人请检查我有什么问题。谢谢
#include <stdio.h>
#include <string.h>
main ()
{
char name [4][20], string [20];
int count;
for (count = 0; count <3; count ++)
{
printf ("Enter your name \n ");
scanf ("%s", &string);
strcpy (name [count], string);
}
for (count = 0; count <3; count ++)
{
printf ("%s \n \n");
}
return 0;
}
答案 0 :(得分:1)
CREATE TABLE Pet
(
PetID Int NOT NULL PRIMARY KEY,
OwnerID Char (7) NOT NULL,
TypeID Char NOT NULL,
PetName Char (30),
Description Char (50),
Birthday VarChar (255),
LastVisit VarChar (255)
);
检查此列数据类型Char或Integer - TypeID