码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
【leetcode】Valid Sudoku
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with...
分类:其他好文   时间:2015-05-18 16:00:43    阅读次数:102
利用MySQL存储过程分割字符串
(转)http://tec.5lulu.com/detail/104krn1e6p2w78d77.html现有一段字符串,如apple,banana,orange,pears,grape,要把它按照逗号(,)分割成: applebananaorangepearsgrape 然后使用where ...
分类:数据库   时间:2015-05-18 14:24:10    阅读次数:172
thinkphp 调取两个表相同id的字段
sql语句 select * from think_neirong a,think_class b where a.class_id=b.id thinkphp语句 $Neirong = M("Neirong"); $con = $Neirong->alias('a')->join('think_class b ON a.class_id= b.id')->select(); 具体详...
分类:Web程序   时间:2015-05-18 12:54:55    阅读次数:95
sql 查询 a and b and (c or d);
SELECT * FROM [表名] WHERE [字段1]= ‘A’ And [字段2] = ‘B’ And ([字段3] = 888 OR [字段4] = 888 )...
分类:数据库   时间:2015-05-18 12:54:11    阅读次数:162
SQL 语句及关键字的用法
一、SELECTselect [ALL|DISTINCT] select_list[into new table]FROM table_source[where serch_conditaion][GROUP BY group_by_expression][Having serch_conditai...
分类:数据库   时间:2015-05-18 12:43:35    阅读次数:166
Oracle自带的exception
存储过程中自带的exception:--查询人员资料历史 BEGIN SELECT * INTO Po_Sac01 FROM Sac01 WHERE Aac001 = Pi_Aac001 AND Pi_Jfny BETWEE...
分类:数据库   时间:2015-05-18 12:34:20    阅读次数:97
对Oracle 并行的误解2--其实会锁全表
我一直以为Oracle只会锁住需要修改的数据,但在并行下是这样的,并行update是会锁全表的,下面的实验: session1: SQL> select sid from v$mystat where rownum=1;        SID ----------        11 SQL> select sid from v$mystat where rownum=1; SQL>...
分类:数据库   时间:2015-05-18 10:51:13    阅读次数:251
【Oracle】删除正在连接的用户
1.查询用户的连接状态Select username,sid,serial# from v$session where username='XY1027';USERNAME SID SERIAL#------------------------------ ---------- ----------...
分类:数据库   时间:2015-05-18 10:37:28    阅读次数:137
EBS常用小常识(转)
值集:1.编辑信息:取上一个值集所选的数据。(值集关联)WHERE BANK_ACCOUNT_ID = :$FLEX$.CE_BANK_ACCOUNT_NUM_NAMEORDER BY STATEMENT_NUMBER其中:$FLEX$.CE_BANK_ACCOUNT_NUM_NAME是取上一个值集...
分类:其他好文   时间:2015-05-18 10:37:03    阅读次数:107
leetcode--Gray Code
题目描述 The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the se...
分类:其他好文   时间:2015-05-18 09:12:13    阅读次数:118
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!