随笔分类 -  【准备删1】

每个人都在改变世界!
【Mysql】select
摘要:create database Susake;use Susake;create table Test(a int, b int);insert into Test values(1, 2);select *from Test; 阅读全文

posted @ 2014-03-30 15:16 至死丶不渝 阅读(129) 评论(0) 推荐(0)

【Mysql】insert
摘要:The INSERT privilege enablesrows to be inserted into tables in a databasecreate database Susake;use Susake;create table Test(a int, b int);insert into Test values(1, 2); 阅读全文

posted @ 2014-03-29 19:15 至死丶不渝 阅读(124) 评论(0) 推荐(0)

【Mysql】delete
摘要:The DELETE privilege enablesrows to be deleted from tables in a databasecreate database Susake;use Susake;create table Test(a int, b int);insert into Test values(1, 2);insert into Test values(2, 3);delete from Test where a = 1;drop table Test;drop database Susake; 阅读全文

posted @ 2014-03-29 05:05 至死丶不渝 阅读(211) 评论(0) 推荐(0)

【Mysql】alter
摘要:The ALTER privilege enables use of ALTER TABLE to change thestructure of tables. ALTER TABLE also requires theCREATE and INSERT privileges. Renaming atable requires ALTER andDROP on the old table,ALTER,CREATE, andINSERT on the new tablecreate database Susake;use Susake;create table Qing(a int, b int 阅读全文

posted @ 2014-03-29 02:50 至死丶不渝 阅读(123) 评论(0) 推荐(0)

【Mysql】lock tables
摘要:The LOCK TABLES privilegeenables the use of explicit LOCK TABLES statements to lock tables for which you havethe SELECT privilege. Thisincludes the use of write locks, which prevents other sessionsfrom reading the locked tablecreate database Susake;use Susake;create table Test(a int, b int);lock tab 阅读全文

posted @ 2014-03-29 01:50 至死丶不渝 阅读(234) 评论(0) 推荐(0)

导航