完全解析MySQL数据库中Show命令用法(网上资料整理) show命令的众多用法如下: a. show tables或show tables from database_name; -- 显示当前数据库中所有表的名称。 b. show databases; -- 显示mysql中所有数据库的名称。 c. show columns from table_name from database_name; 或show columns from database_name.table_name; -- 显示表中列名称。 d. show grants for user_name; -- 显示... Read More
posted @ 2013-06-15 23:08 findumars Views(389) Comments(0) Diggs(0) Edit
数据库在通过连接两张或多张表来返回记录时,都会生成一张中间的临时表,然后再将这张临时表返回给用户。 在使用left jion时,on和where条件的区别如下: 1、on条件是在生成临时表时使用的条件,它不管on中的条件是否为真,都会返回左边表中的记录。 2、where条件是在临时表生成好后,再对临时表进行过滤的条件。这时已经没有left join的含义(必须返回左边表的记录)了,条件不为真的就全部过滤掉。 假设有两张表: create table tab1(id int, size int);insert into tab1 values(1,10),(2,20),(3,30);****** Read More
posted @ 2013-06-14 01:44 findumars Views(399) Comments(0) Diggs(0) Edit
aaclient.dll 何时何地都可以访问客户端accessibilitycpl.dll 轻松访问控制面板acledit.dll 访问控制列表编辑器aclui.dll 安全描述符编辑器acppage.dll 兼容性选项卡外壳扩展库ActionCenter.dll 操作中心ActionCenterC Read More
posted @ 2013-06-11 22:53 findumars Views(4141) Comments(0) Diggs(2) Edit
的属性:border='宽度'cellspacing='间距' 单元格之间的距离cellpadding='填充间距'style="width:宽度"style="height:高度"style="background-color:颜色"style="backgroundimage:url(图像URL)"的属性style="text-align:对齐方式"style="vertical-align:对齐方式"style=" Read More
posted @ 2013-06-11 22:48 findumars Views(317) Comments(0) Diggs(0) Edit
理论上,这两句话是等价的:SELECT * FROM inscription_pan LEFT JOIN facture_panON (ins_id=fc_inscription)AND (ins_ecole=fc_ecole)WHERE (ins_date>='2013-06-01')AND (ins_date='2013-06-01')AND (ins_date<='2013-06-11')and (ins_operateur_id=74) 但是前者执行需要0.25秒,后者需要20.547秒。得出却是相同的结果。80倍都不止。原因 Read More
posted @ 2013-06-11 19:53 findumars Views(504) Comments(0) Diggs(0) Edit