当前位置:网站首页>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 ----------------------------------------------------
边栏推荐
- Time is fast, please do more meaningful things
- [2020]GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis
- MQClientException: No route info of this topic: type_ topic
- Day 2 document
- 博弈论 AcWing 892. 台阶-Nim游戏
- Presentation of attribute value of an item
- LSA Type Explanation - lsa-5 (type 5 LSA - autonomous system external LSA) and lsa-4 (type 4 LSA - ASBR summary LSA) explanation
- Modnet matting model reproduction
- Ffmpeg build download (including old version)
- C job interview - casting and comparing - C job interview - casting and comparing
猜你喜欢
Operator priority, one catch, no doubt
Record of problems in ollvm compilation
数据库Mysql全部
[Gaode map POI stepping pit] amap Placesearch cannot be used
how to understand the “model independent.“
Chapter 6 relational database theory
博弈论 AcWing 894. 拆分-Nim游戏
Find the combination number acwing 889 01 sequence meeting conditions
[2021]IBRNet: Learning Multi-View Image-Based Rendering Qianqian
Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams
随机推荐
AE tutorial - path growth animation
Client use of Argo CD installation
安装OpenCV--conda建立虚拟环境并在jupyter中添加此环境的kernel
how to understand the “model independent.“
Huawei bracelet, how to add medicine reminder?
Knapsack problem acwing 9 Group knapsack problem
5. Oracle TABLESPACE
TypeScript入门
2.Oracle-数据文件的添加及管理
中国剩余定理 AcWing 204. 表达整数的奇怪方式
[leetcode] day94 reshape matrix
Configuration method and configuration file of SolidWorks GB profile library
Game theory acwing 893 Set Nim game
TCP's understanding of three handshakes and four waves
Day 2 document
SolidWorks template and design library are convenient for designers to call
2022-5-第四周日报
求组合数 AcWing 887. 求组合数 III
Paper reading report
What is linting