摘要: SQL中的exists和in都是表示是否存在,exists强调的是是否返回结果集,exists 与 in 最大的区别在于 in引导的子句只能返回一个字段。not exists 和not in 分别是exists 和 in 的 互斥条件。假设表A和B,判断A的数据记录否在B中存在,并且输出A中的key... 阅读全文
posted @ 2015-06-28 13:19 Mlj1411 阅读(480) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h"#include #includeusing namespace std;#define MAXNUM 1000 //求1000以内的所有素数int main(){ int i, j, c = 0; int prime[MAXNUM+1];//定义一个数组用... 阅读全文
posted @ 2015-06-28 12:46 Mlj1411 阅读(435) 评论(0) 推荐(0) 编辑