码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
UVALive 5797解题报告
The Braille system, designed by Louis Braille in 1825, revolutionized written communication for blind and visually impaired persons. Braille, a blind Frenchman, developed a tactile language where eac...
分类:其他好文   时间:2015-08-18 12:01:14    阅读次数:137
ORACLE 索引
什么时候创建索引? 以下情况可以创建索引: 列中数据值分布范围很广 列经常在 WHERE 子句或连接条件中出现 表经常被访问而且数据量很大 ,访问的数据大概占数据总量的2%到4%...
分类:数据库   时间:2015-08-18 11:59:52    阅读次数:143
ZOJ 2601 Warehouse Keeper(费用流)
ZOJ 2601 Warehouse KeeperThe company where Jerry works owns a number of warehouses that can be used to store various goods. For each warehouse the types of goods that can be stored in this warehouse ar...
分类:其他好文   时间:2015-08-18 11:54:54    阅读次数:136
oracle 统计指定条件下所有表的行数
今天?需要统计下指定用户下的所有表的行数,于是采用了oracle 内置视图: select?table_name,num_rows??from?dba_tables?where?owner?=?‘USERNAME‘;??或 select?table_name,num_rows?from?user_al...
分类:数据库   时间:2015-08-17 23:52:46    阅读次数:493
oracle里面的时间转字符串to_char(),字符串转时间to_date(),以及substr和instr的使用。
工作中编写过的一条语句select * from Bt_Holiday where to_char(Setting_DATE,'YYYY')=Substr('2015-03-00',1,4) AND to_char(Setting_DATE,'MM')=Substr('2015-03-...
分类:数据库   时间:2015-08-17 21:31:05    阅读次数:392
LightOj 1112 Curious Robin Hood(线段树||树状数组)
Curious Robin Hood Robin Hood likes to loot rich people since he helps the poor people with this money. Instead of keeping all the money together he does another trick. He keeps n sacks where h...
分类:编程语言   时间:2015-08-17 19:38:35    阅读次数:172
mysql修改用户密码
登录root用户 用root用户登录控制台。 use mysql use mysql,mysql是mysql数据库自动创建的一个数据库。 修改user表的数据 update user set password=PASSWORD('1234') where user='root'; 刷新权限 FLUSH PRIVILEGES; 参考 修改mysql用户密码...
分类:数据库   时间:2015-08-17 19:31:19    阅读次数:236
LeetCode(35) 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 order.You may assume no duplicates in the array.Her...
分类:其他好文   时间:2015-08-17 17:24:46    阅读次数:94
oracle 块的学习——有定义和执行部分的块
declare--定义变量v_ename varchar2(5);begin--执行部分select ename from emp where empno=&no;--在控制台显示用户名dbms_output.put_line('用户名是:||v_ename');end;
分类:数据库   时间:2015-08-17 17:04:28    阅读次数:175
【LeetCode】Gray Code
Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the tot...
分类:其他好文   时间:2015-08-17 15:19:31    阅读次数:86
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!