摘要: <div id="demo" style="OVERFLOW: hidden; WIDTH: 555px" align="center"> <table border="0" align="center" cellpadding="0" cellspacing="0" cellspace="0"> <tbody> <tr> <td id="demo1" valig 阅读全文
posted @ 2012-05-13 23:07 kingj 阅读(158) 评论(0) 推荐(0)
摘要: 1、left join 跟 where 不是一回事!不能比较 2、from a,b where a.id = b.id 等价于 from a inner join b on a.id = b.id 3、inner join 是内连接,结果中包含被连接的表共有的记录 left join是左连接,结果中包含第一个表的全部记录 他们将产生不同的结果,虽然有时看起来一样 阅读全文
posted @ 2012-05-09 13:30 kingj 阅读(178) 评论(0) 推荐(0)
摘要: from子句中过滤数据后left join 跟 先left join后过滤数据的执行效率比较; 分别举例如下: test1: select t1.emp_no,t1.emp_name,t2.dep_no,t2.dep_name from ( select t.emp_no,t.emp_name,t.dep_no from employee where t.emp_no < 80707999 ) t1 left join department t2 on t1.dep_no = t2.dep_no test2: select t1.emp_no,t1.emp_name,t2.dep_no, 阅读全文
posted @ 2012-05-09 13:27 kingj 阅读(1383) 评论(0) 推荐(1)
摘要: phpMyAdmin 导入大型数据库文件大小限制配置…1. 修改 php.ini 文件中下列3项的值:upload_max_filesize, memory_limit 和 post_max_sizeupload_max_filesize,上传文件大小memory_limit 设置内存post_max_size 提交数据的最大值为你想改的大小值.2. 在 phpMyAdmin 的配置文件中修改或加入这个设置:这个文件一般是在phpMyAdmin目录下的config.inc.php文件$cfg['ExecTimeLimit']= 0;// maximum execution ti 阅读全文
posted @ 2012-04-24 09:50 kingj 阅读(262) 评论(0) 推荐(1)
摘要: <form action="ajax.php" method="post" onSubmit="return chkfrm(this);"> <tbody> <tr> <td width="59" align="right">昵称:</td> <td width="151"><input name="truename" onclick="if(this.value==& 阅读全文
posted @ 2012-04-17 13:36 kingj 阅读(204) 评论(0) 推荐(1)