Create table example学号 char8 not null primary key 姓名 varchar8 not null 性别 enum男 女 出生年月 date 住址 varcahr50政治面貌 set党员团员群众;有什么错误
- "varcahr" should be corrected to "varchar" in the "住址" column.
- The data type of the "政治面貌" column should be changed from "set" to "varchar" or "enum".
- There is no error in the syntax, but it's recommended to use a consistent naming convention for the column names (e.g. all in Chinese or all in English) for better readability and maintainability.
原文地址: http://www.cveoy.top/t/topic/bqvg 著作权归作者所有。请勿转载和采集!