sql 02
create table t1(id int primary key,name varchar(10));
create table t2(id int primary key auto_increment,name varchar(10));
字段注释 comment
show variables like '%autocommit%';
set autocommit=0;
commit;
rollback;
savepoint s1;
rollback to s1;
truncate table 表名;
create table t_int(num int(10) zerofill);
int(m)
bigint(m)
double(m,d)
decimal(m,d)
char(10)
varchar(10)
text(10)
date
time
datetime
timestamp
is null
is not null
别名
select ename 名字 from emp;
去重
select distinct job from emp;
create table t2(id int primary key auto_increment,name varchar(10));
字段注释 comment
show variables like '%autocommit%';
set autocommit=0;
commit;
rollback;
savepoint s1;
rollback to s1;
truncate table 表名;
create table t_int(num int(10) zerofill);
int(m)
bigint(m)
double(m,d)
decimal(m,d)
char(10)
varchar(10)
text(10)
date
time
datetime
timestamp
is null
is not null
别名
select ename 名字 from emp;
去重
select distinct job from emp;
上一篇:纯数字大 PK 赛 3
下一篇:我们仨1----杨绛
声明:以上文章均为用户自行添加,仅供打字交流使用,不代表本站观点,本站不承担任何法律责任,特此声明!如果有侵犯到您的权利,请及时联系我们删除。
文章热度:☆☆☆☆☆
文章难度:☆☆☆☆☆
文章质量:☆☆☆☆☆
说明:系统根据文章的热度、难度、质量自动认证,已认证的文章将参与打字排名!
本文打字排名TOP20
- 1游客39373164 08-13 18:04186 KPM
- 2ZHAOXIA... 08-13 22:00156 KPM
- 3游客13157895... 07-12 21:11154 KPM
- 4游客13030402... 03-30 22:25120 KPM
- 5Godysee 10-23 12:48111 KPM
- 6枫珍俊少 10-27 11:25107 KPM
- 7闹剧 05-06 13:31106 KPM
- 8游客13119259... 06-19 14:5693 KPM
- 9游客16672149... 02-20 00:3770 KPM
- 10shenjinchao 08-15 21:5057 KPM
- 11aijizai666 10-12 20:1754 KPM
用户更多文章推荐
- sql all2018-08-13