摘要: 简单查询:一、查询表名和列名select *from 表名select 列1,列2···from 表名select distinct 列名 from表名 去重只能是一列二、筛选select top 3* from 表名 查询表的前三行select top 3 列名 from 表名 where age... 阅读全文
posted @ 2015-04-21 23:41 zhenximeiyitian 阅读(308) 评论(0) 推荐(0) 编辑
摘要: public ArrayList jixuanqiu(ArrayList red) //定义一个集合类型的函数 { Random r = new Random(); //机选6个红球的过程并排序 while (true) { if (red.Count == 6) { break; } else {... 阅读全文
posted @ 2015-04-21 20:31 zhenximeiyitian 阅读(160) 评论(0) 推荐(0) 编辑