码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
mysql---where子查询、form子查询、exists子查询
1.什么是子查询?当一个查询是另一个查询的条件时,称之为子查询。2.子查询有什么好处?子查询可以使用几个简单命令构造功能强大的复合命令。那么,现在让我们一起来学习子查询。3.where型的子查询给它个定义吧:where型的子查询就是把内层查询的结果当作外层查询的条件。现在,我们来查询文章表里每组主题...
分类:数据库   时间:2015-03-03 22:01:18    阅读次数:144
in和exists的区别与SQL执行效率
in和exists的区别与SQL执行效率最近很多论坛又开始讨论in和exists的区别与SQL执行效率的问题,本文特整理一些in和exists的区别与SQL执行效率分析SQL中in可以分为三类: 1、形如select * from t1 where f1 in ('a','b'),应该和以下两种比....
分类:数据库   时间:2015-03-03 21:57:31    阅读次数:193
【leetcode】Linked List Cycle II (middle)
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?思路:...
分类:其他好文   时间:2015-03-03 21:57:07    阅读次数:154
update关联其他表批量更新数据
批量更新表时,update一个表的列时,需要依赖另外的表,这种依赖可以是where条件子句,也可以要update的field的值依赖另外的表 通常有两种做法 1.使用存储过程 2.在程序代码里逐条循环执行这里给出一种更高效、简洁的做法,批量更新SQL ,一句SQL就可以替代麻烦的循环过程,有MS S...
分类:其他好文   时间:2015-03-03 20:16:29    阅读次数:163
Linux初认识
学习技巧:5W1Hwhat,why,who,where,when,how用户体验:编排服务器类型:DHCP,DNS,FTP,HTTP,cobbler(全自动化安装系统)现在主要的云服务(云服务为虚拟化技术)为IaaS云:虚拟化软件为xen,kvm,lxc虚拟软件工作原理:模拟真是的CPU、内存、I/OCPU工作的时候是分时工作的所..
分类:系统相关   时间:2015-03-03 19:02:40    阅读次数:214
1027. Colors in Mars (20)
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, where the first 2 digits are for Red, the middle 2 dig...
分类:其他好文   时间:2015-03-03 18:41:14    阅读次数:133
[译]Customizing Operations
Customizing Operations定制操作There is an ongoing development today where more and more protocols are built upon HTTP for transport. This has obvious bene...
分类:其他好文   时间:2015-03-03 18:07:00    阅读次数:112
Linux 安装mysql
安装mysql1. yum install mysql mysql-server2. 修改mysql密码 >use mysql >update user set password=password("new_pass") where user="root"; >flush privileges;.....
分类:数据库   时间:2015-03-03 17:56:12    阅读次数:190
Convert Sorted List to Binary Search Tree
https://oj.leetcode.com/problems/convert-sorted-list-to-binary-search-tree/Given a singly linked list where elements are sorted in ascending order, co...
分类:其他好文   时间:2015-03-03 14:57:08    阅读次数:166
oracle 执行计划
1、设置计划 explain plan for select * from ( select * from dun_search_view where 1=1 and (( salename='陈永智' and xsqy='广州办事处') or (','||fzuserid||',' like '%,6839951,%')) ) where rownum <= 30; 2...
分类:数据库   时间:2015-03-03 13:36:55    阅读次数:186
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!