码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
sql语句学习
select top 1 id from AddWorkFlow order by id desc返回查询结果中前几条数据select count(1) as total from Base_Users where DeptId='101010102' and iDel=0返回查询的记录个数sele...
分类:数据库   时间:2014-06-23 06:31:15    阅读次数:247
sql:function
--查询权限函数--1declare @names varchar(3000)set @names=''select @names=@names+isnull(AdminPermissFormName,'')+' , ' from BookAdminPermissTypeList where Ad....
分类:数据库   时间:2014-06-23 00:11:08    阅读次数:302
DASH Streaming Support
DASH Basics: MPD and Segments Let’s quickly summarize how a DASH content is made of: MPD: an XML document describing where the various media resources present in the content are located. The med...
分类:其他好文   时间:2014-06-22 19:30:15    阅读次数:232
细说Oracle中NULL值
1、NULL是什么? NULL表示UNKNOW(未知),其不代表任何值。例如一行中某列没有任何值即为NULL。 ORACLE允许任何一种数据类型的字段为空,除了以下两种情况: 1)主键字段(primary key), 2)定义时已经加了NOT NULL限制条件的字段 2、NULL有什么用? 1)NULL可用于条件判断:   SELECT * FROM EMP WHERE CO...
分类:数据库   时间:2014-06-22 15:06:20    阅读次数:477
POJ-1068 Parencodings
Description Let S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways:  q By an integer sequence P = p1 p2...pn where pi is the number of left parentheses...
分类:其他好文   时间:2014-06-22 14:06:49    阅读次数:249
leetcode__Convert Sorted List to Binary Search Tree
Convert Sorted List to Binary Search Tree  Total Accepted: 12283 Total Submissions: 45910My Submissions Given a singly linked list where elements are sorted in ascending order, convert it...
分类:其他好文   时间:2014-06-21 23:57:00    阅读次数:351
【Leetcode】Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 / ...
分类:其他好文   时间:2014-06-21 22:44:58    阅读次数:266
5个SQL核心
5个核心的SQL语句1.SELECT-查询语句的逻辑处理顺序5 SELECT 1 FROM 1.1 FROM JOIN ON 2 WHERE 3 GROUP BY 4 HAVING 6 ORDER BY -FROM子句: 处理联结语句的顺序1、交叉联结,也称笛卡尔积;2、内联结;3、外联结。-GRO...
分类:数据库   时间:2014-06-21 17:40:51    阅读次数:440
LeetCode:Valid Sudoku,Sudoku Solver(数独游戏)
Valid SudokuDetermine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are...
分类:其他好文   时间:2014-06-21 16:40:45    阅读次数:280
趣味问答
SELECT a.id,b.name FROM tab1 AS a LEFT JOIN tab2 AS b ON(a.id = p.id) WHERE a.id > 10以上sql返回的结果中name列也许会出现 null 的情况,那么在name字段上使用什么函数可以将出现的 null 改为一个默认...
分类:其他好文   时间:2014-06-21 14:27:50    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!