MYSQL数据库中怎么建立一个表呢怎么在数据库中创建一个表

进入mysql的命令窗口,敲命令:create database 数据库名;use 数据库名;create table 表名(id int(4)not null primary key auot_increment;字段名 数据类型;)
MYSQL数据库中怎么建立一个表呢怎么在数据库中创建一个表
进入mysql的命令窗口,敲命令:
create
database
数据库名;
use
数据库名;
create
table
表名(id
int(4)
not
null
primary
key
auot_increment;
字段名
数据类型;)
2023-04-26
mengvlog 阅读 437 次 更新于 2025-12-14 23:47:50 我来答关注问题0
檬味博客在线解答立即免费咨询

mySQL相关话题

Copyright © 2023 WWW.MENGVLOG.COM - 檬味博客
返回顶部