考虑以下 CREATE TABLE 查询:
CRAETE TABLE tablename (100 VARCHAR(10), 200 VARCHAR(10));
在此查询中,100
和200
是列名。是否可以创建这样的表?
最佳答案
来自 the manual
Identifiers may begin with a digit but unless quoted may not consist solely of digits.
关于mysql - mysql列名必须以字母开头吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14948660/