In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
In MySQL, you need to create a database first, and then create a data table. To create a data table, you must first design the fields of the data table, which are numeric type, text type, floating point type, string type, date type, and so on.
1, create the data table command line CREATE TABLE table_name2, create the structure of the data table CREATE TABLE dc3688 (
Id INT (11) NOT NULL AUTO_INCREMENT
Subject VARCHAR (45) DEFAULT NULL
Start_date DATE DEFAULT NULL
End_date DATE DEFAULT NULL
Description VARCHAR (200) DEFAULT NULL
PRIMARY KEY (id)
) ENGINE=InnoDB
Create a data table as 3688 table, field id,subject,start_date,end_date,description
PRIMARY KEY sets the primary key, and ENGINE=InnoDB table engine is ENGINE=InnoDB
Int (11) is a number
Not null is not empty
Automatic growth of AUTO_INCREMENT
The article is from http://www.dc3688.com/.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.