当前位置:网站首页>MySQL Workbench基本使用 【创建一个数据表】
MySQL Workbench基本使用 【创建一个数据表】
2022-07-17 05:12:00 【都别急】
tips:为了创建数据表时看起来方便清楚,可以把结果区先关掉-点击右上角三个中间那个图标。
双击打开新创建的数据库-Tables-Create Table...

填写数据表相关信息-Apply
其中,图中一些字符含义
字段数据类型 INT:整数
TINYINT(1):布尔值
VARCHAR(length):字符串型,length表示长度的限制
特殊标识 PK:primary key主键,唯一标识
NN:not null值不能为空
UQ:unique值不能重复
AI:auto increment值自动增加

弹出SQL语句的弹窗,直接Apply-Finish


左侧数据库栏出现刚才新添加的数据表users

鼠标单击users,左下角会出现数据表基本描述

一个数据表就创建完了。
边栏推荐
猜你喜欢

Review of software process and management (VII)

深度学习中常用的激活函数

【简单快速】启动后桌面正常下方任务栏无反应/鼠标一直转圈

RS-485/232转4-20mA/0-10V隔离D/A转换器

Aperçu de l'apprentissage auto - supervisé

配置VsCode中‘log’快捷键去掉console.log(‘‘);中的分号;

Could not locate zlibwapi. dll. Please make sure it is in your library path

HM9922开关降压型 LED恒流驱动器IC

重写YOLOX的TensorRT版本部署代码

Review of software process and management (10)
随机推荐
5种3D Attention/Transformer整理(A-SCN、Point Attention、CAA、Offset Attention、Point Transformer)
5种2D Attention整理(Non-Local、Criss-Cross、SE、CBAM、Dual-Attention)
4-20ma转4-20ma 0-5v转0-5v 模拟信号隔离变送器
String distance problem
Contrastive learning for image semantic segmentation (two articles)
升高压模块隔离模块HRA2460D-2W
CV-Model【3】:VGG16
Isolate 4-20mA or 0-20mA signal transmission
FMC子卡:8 通道 125MSPS采样率16 位 AD 采集子卡
4路编码器脉冲计数器,转速测量,8路DO,Modbus TCP数据采集模块
CUDA编程-02: 初识CUDA编程
Simple sorting of selective kernel networks methods
Conversion, isolation and transmission of international standard signals 0-5v/0-10v/1-5v, 0-10ma/0-20ma/4-20ma, etc
隔离4-20mA或0-20mA信号传输
李宏毅机器学习2022.7.15--梯度下降
Review of software process and management (VII)
Sgm: sequence generation model for multi label classification
【简单快速】启动后桌面正常下方任务栏无反应/鼠标一直转圈
CUDA编程-01: 搭建CUDA编程环境
Could not locate zlibwapi. dll. Please make sure it is in your library path