1. "varcahr" should be corrected to "varchar" in the "住址" column.
  2. The data type of the "政治面貌" column should be changed from "set" to "varchar" or "enum".
  3. 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.
Create table example学号 char8 not null primary key 姓名 varchar8 not null 性别 enum男 女 出生年月 date 住址 varcahr50政治面貌 set党员团员群众;有什么错误

原文地址: http://www.cveoy.top/t/topic/bqvg 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录