语法:
CREATE TABLE [IF NOT EXISTS] table_name (
column_name data_type,
....
)
例子:
CREATE TABLE wt_users (
username VARCHAR(20),
age TINYINT UNSIGNED,
salary FLOAT(8,2) UNSIGNED
);
语法:
CREATE TABLE [IF NOT EXISTS] table_name (
column_name data_type,
....
)
例子:
CREATE TABLE wt_users (
username VARCHAR(20),
age TINYINT UNSIGNED,
salary FLOAT(8,2) UNSIGNED
);
本文标题:2-6 创建数据表
本文链接:https://www.haomeiwen.com/subject/smqetttx.html
网友评论