当前位置:网站首页>Database mysql all
Database mysql all
2022-07-05 06:36:00 【LZYmarks】
mysql Corresponding to the data type Java type


-------------------------------------------- Report errors ----------------------------------------------------
When creating a database table, there is one more comma
CREATE TABLE `login` (
Field , Field , Field , Field , <--------- That's the comma
) ENGINE=InnoDB DEFAULT CHARSET=utf8
-------------------------------------------/ Report errors ----------------------------------------------------
-------------------------------------------- Build table ----------------------------------------------------
Self incrementing and unique indexes will not be created
CREATE TABLE usertable(
user_id INT(30) PRIMARY KEY AUTO_INCREMENT,
user_name VARCHAR(200) UNIQUE NOT NULL,
NAME VARCHAR(200) NOT NULL,
document_type VARCHAR(200) NOT NULL,
document_num INT(18) NOT NULL,
phone_num INT(16) UNIQUE NOT NULL,
email VARCHAR(200) NOT NULL,
login_password VARCHAR(200) NOT NULL,
pay_password INT(6) NOT NULL,
user_state INT(1)
)
-------------------------------------------/ Build table ----------------------------------------------------
边栏推荐
- NotImplementedError: Cannot convert a symbolic Tensor (yolo_boxes_0/meshgrid/Size_1:0) to a numpy ar
- 高斯消元 AcWing 884. 高斯消元解异或線性方程組
- Vant Weapp SwipeCell设置多个按钮
- confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)
- Vant weave swipecell sets multiple buttons
- 容斥原理 AcWing 890. 能被整除的数
- 博弈论 AcWing 893. 集合-Nim游戏
- RecyclerView的应用
- TCP's understanding of three handshakes and four waves
- P2575 master fight
猜你喜欢

达梦数据库全部

1.手动创建Oracle数据库

Simple selection sort of selection sort

Find the combination number acwing 888 Find the combination number IV

MPLS experiment

AE tutorial - path growth animation

7.Oracle-表结构

Vant weave swipecell sets multiple buttons

1. Create Oracle database manually

Game theory acwing 891 Nim games
随机推荐
Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022
Getting started with typescript
Time is fast, please do more meaningful things
ADG5412FBRUZ-RL7应用 双电源模拟开关和多路复用器IC
阿里新成员「瓴羊」正式亮相,由阿里副总裁朋新宇带队,集结多个核心部门技术团队
LeetCode-54
Interval problem acwing 906 Interval grouping
如何正确在CSDN问答进行提问
How to answer when you encounter a jet on CSDN?
什么是套接字?Socket基本介绍
Game theory acwing 894 Split Nim game
[QT] QT multithreading development qthread
How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
There are three kinds of SQL connections: internal connection, external connection and cross connection
2. Addition and management of Oracle data files
[leetcode] day95 effective Sudoku & matrix zeroing
Stack acwing 3302 Expression evaluation
博弈论 AcWing 894. 拆分-Nim游戏
Game theory acwing 893 Set Nim game
Configuration method and configuration file of SolidWorks GB profile library