码迷,mamicode.com
首页 >  
搜索关键字:where    ( 20257个结果
MySQL多表连接删除问题
DELETE是一个蛮慎重的SQL操作,一般来说这样删除操作都需要谨慎小心,以免造成不必要的损失。 DELETE有下面这几种情况: Ø  delete from t1 where 条件 Ø  delete t1 from t1 where 条件 Ø  delete t1 from t1,t2 where 条件 Ø  delete t1,t2 from t...
分类:数据库   时间:2015-07-11 18:35:39    阅读次数:216
C - The C Answer (2nd Edition) - Exercise 1-2
/* Experiment to find out what happens when printf's argument string contains \c, where c is some character not listed above. */ #include main() { printf("hello world\y"); printf("hello wor...
分类:其他好文   时间:2015-07-11 18:27:26    阅读次数:137
SQL SERVER 的排序规则
有时候查询数据库的时候会发现(比如做重名检查的时候):数据库的查询时对大小写不敏感的,也就是 A 和 a 是一样的。 也就是说 select * from tabletest where name = 'a' 和 select * from tabletest where name = 'A' 两条...
分类:数据库   时间:2015-07-11 18:10:19    阅读次数:159
leetCode 42.Trapping Rain Water(凹槽的雨水) 解题思路和方法
Trapping Rain Water Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example,  Given [0...
分类:移动开发   时间:2015-07-11 15:10:33    阅读次数:164
leetcode -day19 Convert Sorted List to Binary Search Tree
1、??Convert Sorted List to Binary Search TreeGiven a singly linked list where elements are sorted in ascending order, convert it to a height balanced ...
分类:其他好文   时间:2015-07-11 14:49:51    阅读次数:100
POJ 1422 二分图(最小路径覆盖)
Air RaidTime Limit:1000MSMemory Limit:10000KTotal Submissions:7278Accepted:4318DescriptionConsider a town where all the streets are one-way and each s...
分类:其他好文   时间:2015-07-11 13:29:49    阅读次数:91
数据库去除重复数据
小标记一下,数据库大量重复数据去除下面是一个根据重复的name 移除的create table temp select max(id) as id from table1 group by name ;//name分组 拿到最大id 保存到临时表delete table1 where id not ...
分类:数据库   时间:2015-07-11 13:27:06    阅读次数:158
hdu 3342 Legal or Not
题目连接http://acm.hdu.edu.cn/showproblem.php?pid=3342Legal or NotDescriptionACM-DIY is a large QQ group where many excellent acmers get together. It is s...
分类:其他好文   时间:2015-07-11 11:56:26    阅读次数:250
ThinkPHP的数据库访问的简单操作
传统的sql与ThinkPHP中的sql相比较 以user表为例 $user=M('user');1: SELECT * FROM user----------$user->select();2: SELECT* FORM user WHERE id=2----...
分类:数据库   时间:2015-07-11 11:50:07    阅读次数:159
Mysql操作个人收集
1.MySQL修改root密码mysql> UPDATE user SET Password=PASSWORD('xxxx') where USER='root'; mysql> FLUSH PRIVILEGES; mysql> quit把PASSWORD('xxxx')中xxxx替换为你自己的.....
分类:数据库   时间:2015-07-11 10:27:22    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!