在表中,可能会包含重复值。这并不成问题,不过,有时您也许希望仅仅列出不同(distinct)的值。关键词 distinct用于返回唯一不同的值。表A:示例1select distinct name from A执行后结果如下:示例2select distinct name, id from A执行后...
分类:
数据库 时间:
2015-05-24 23:30:19
阅读次数:
164
FROM: http://ju.outofmemory.cn/entry/63250系统版本:centos 6.4git版本:1.7.1,使用yum直接安装的。当使用git status查看时,如果文件名是中文,那么就会显示乱码(确实的说是转义后的字符),如下图:git查看文件时中文无法正常显示怎样...
分类:
其他好文 时间:
2015-05-24 23:22:07
阅读次数:
211
public class SocketClient { OutputStream clientout = null; InputStream clienIn = null; byte[] b = new byte[1024]; // String sendstr="From client 111";...
Description Three wizards are doing a experiment. To avoid from bothering, a special magic is set around them. The magic forms a circle, which covers ...
分类:
其他好文 时间:
2015-05-24 23:17:20
阅读次数:
202
from:shiyanlou 1 #include 2 #include 3 4 #define TRUE 1 5 #define FALSE 0 6 #define OK 1 7 #define ERROR 0 8 #define OVERFLOW -2 9 10 typ...
分类:
其他好文 时间:
2015-05-24 23:16:16
阅读次数:
169
from:shiyanlou 1 #include 2 #include 3 4 #define TRUE 1 5 #define FALSE 0 6 #define OK 1 7 #define ERROR 0 8 #define OVERFLOW -2 9 #define...
分类:
其他好文 时间:
2015-05-24 23:05:43
阅读次数:
130
大图片处理
ViewController.m
--------------------------------------------------
(void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
/...
分类:
移动开发 时间:
2015-05-24 20:28:19
阅读次数:
162
(1).第一类:create view v as select * from table;(2).第二类:create view v as select id,name,age from table;(3).第三类:create view v[vid,vname,vage] as select id...
分类:
数据库 时间:
2015-05-24 18:51:32
阅读次数:
131
from:shiyanlou 1 #include 2 #include 3 4 #define TRUE 1 5 #define FALSE 0 6 #define OK 1 7 #define ERROR 0 8 #define OVERFLOW -2 9 10 typ...
分类:
其他好文 时间:
2015-05-24 17:22:09
阅读次数:
84
Queue:是一个消息队列。队列的长度可为无限或者有限。 用于父子进程通信,两个没有关系的进程不能使用Queue通信。 使用使用示例:from multiprocessing import Queue。 进程之间同步:lock.acquire 当多个进程同时对队列写的时候需要进行同步,保证一个时刻只...
分类:
系统相关 时间:
2015-05-24 16:59:08
阅读次数:
157