码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
MySQL 学习笔记
--使用正则表达式 -- ^ 开始 , . 任意字符 SELECT Name, Continent, Population FROM Country WHERE Name REGEXP '^.[a-e].*' ORDER BY Name; -- $ 结尾 SELECT Name, Continent...
分类:数据库   时间:2015-09-04 11:03:10    阅读次数:216
mysql中的NULL的判断
mysql> delete from `zhangchao` where x='NULL'; Query OK, 0 rows affected (0.00 sec) mysql> delete from `zhangchao` where x=NULL; Query OK, 0 rows affe...
分类:数据库   时间:2015-09-03 14:04:45    阅读次数:203
show processlist结果筛选
在MySQL里面show variables where variable_name like '%auto%'这条语句可以正常执行,但是show processlist where host like '%192%'就会报错了:Error Code : 1064You have an error ...
分类:其他好文   时间:2015-09-03 11:33:26    阅读次数:162
octet-stream
firefox突然变成了用gedit打开pdf文件,Where the link to http://download.jw.org/files/media_m...E_20150201.pdf caused the problem of the file being offered to be o...
分类:其他好文   时间:2015-09-03 08:09:46    阅读次数:245
Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2015-09-03 07:01:23    阅读次数:197
ORACLE_SQL语句优化
ORACLE数据库sql语句优化的学习笔记概要:最近看的一本oracle数据库的书,这里写一下关于sql语句的优化;一,一般的sql优化技巧1.Select语句中避免使用" * "2.使用where子句替代having子句 在select语句中,使用where子句过滤行,使用having子句过滤.....
分类:数据库   时间:2015-09-03 01:51:04    阅读次数:171
[LeetCode#201] Bitwise AND of Numbers Range
Problem:Given a range [m, n] where 0 00111010101011...We can we reach the '1' in high index, all digits behind after it must change once. That's to s....
分类:其他好文   时间:2015-09-03 00:38:49    阅读次数:178
php大力力 [042节] 今天做了一个删除功能
php大力力 [042节] 今天做了一个删除功能 if(isset($_GET['action'])){ if($_GET['action']=="del"){ $sql = "delete from tbl_media where MadiaName = '{$_GET['MadiaName...
分类:Web程序   时间:2015-09-03 00:37:24    阅读次数:236
php json dom解析
//php<?include_once ("inc/auth.inc.php");$id = isset($_POST['app_id']) ? $_POST['app_id'] : '0';$query = "SELECT * FROM office_transhistory WHERE CYC....
分类:Web程序   时间:2015-09-02 18:51:51    阅读次数:256
查询指定日期所在周的一周日班表记录
set datefirst 1 select count(*) from (select date from(select dateadd(dd,number,'2015-01-01') date from master..spt_values where [type] = 'p' and numb...
分类:其他好文   时间:2015-09-02 18:49:18    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!