当前位置:网站首页>【MySQL】使用MySQL Workbench软件新建表
【MySQL】使用MySQL Workbench软件新建表
2022-08-10 06:40:00 【翘阳啦】
在传统型数据库中,数据的组织结构分为数据库(database),数据表(table),数据行(row),字段(field)这四大部分。
MySQL Workbench可视化软件处理数据
下图是新安装的MySQL Workbench可视化软件:
上图新建了一个users的数据表
分别设置了id,username,password,status四种字段的名字
DataType数据类型:int整数 varchar(len)字符串 tinyint(1) 布尔值
字段的特殊标识
PK(Primary Key) 主键、唯一标识
NN(Not Null) 值不允许为空
UQ (Unique) 值唯一
AI(Auto Increment)值自动增长
成功创建一个表

右键选择第一个


边栏推荐
- Qt绘制椭圆曲线的角度问题(离心角和旋转角)
- 2022 Henan Mengxin League No. 5: University of Information Engineering B - Transportation Renovation
- Qt借助隐藏控件和QSS绘制重复元素
- 【论文解读】滴滴智能派单-KDD2018 Large-Scale Order Dispatch in On-Demand Ride-Hailing
- COLMAP+OpenMVS realizes 3D reconstruction mesh model of objects
- 机器学习_LGB调参汇总(开箱即食)
- Fiddler(八) - 抓取手机APP的流量-插件Fiddler Orchestra Beta安装&配置
- [Reinforcement Learning] "Easy RL" - Q-learning - CliffWalking (cliff walking) code interpretation
- Elementary Structure
- 自组织是管理者和成员的双向奔赴
猜你喜欢

C language file operation

CuteOneP is a PHP-based OneDrive multi-network disk mount program with member synchronization and other functions

浅谈C语言整型数据的存储

Grammar Basics (Judgment Statements)

软件测试面试题避雷(HR面试题)最常见的面试问题和技巧性答复

A few lines of code can crash the system;

【愚公系列】2022年08月 Go教学课程 034-接口和多态

高质量WordPress下载站模板5play主题

The constraints of the database learning table

SCS【2】单细胞转录组 之 cellranger
随机推荐
Excuse me.Oracle CDC connector supports LogMiner and XStream API two ways to capture
【Event Preview on August 9】Prometheus Summit
大佬,oracle单表增量同步时候源库服务器额外占用内存近2g,这不正常吧
语法基础(判断语句)
基于ABP的AppUser对象扩展
2022 Henan Mengxin League (fifth) game: University of Information Engineering H - Xiao Ming drinking milk tea
Screen post-processing: Sobel operator to achieve edge detection
CuteOneP 一款php的OneDrive多网盘挂载程序 带会员 同步等功能
oracle业务表的数据发生增删改,该表的索引会写redo,undo吗?
Qt中输入框在Win10上“Win+/“快捷键的一个Bug
强化学习_10_Datawhale稀疏奖励
【无标题】
【Day10】进程管理命令
调试ZYNQ的u-boot 2017.3 不能正常启动,记录调试过程
Two-dimensional cartoon rendering - coloring
DGIOT三千万电表集抄压测
Sort binary tree code
第12章 数据库其它调优策略【2.索引及调优篇】【MySQL高级】
Quickly grasp game resources in one hour and remote hot update
一种奇怪的函数声明写法