星辰日月00

欲多则心散,心散则志衰,志衰则思不达也!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年2月26日

摘要: SELECT语句简介:完整的SELECT语句由六个子句构成,分别是SELECT子句、FROM子句、WHERE子句、GROUP BY子句、HAVING子句和ORDER BY子句。六个子句的功能分别为:SELECT子句,指定要获取表中哪些列数据。FROM子句:指定数据来自哪些表。WHERE子句:指定获取哪些行数据GROUP BY子句:用于对表中数据进行分组统计。HAVING子句:在对表中数据进行分组统计时,指定分组统计条件。ORDER BY子句:指定使用哪来对结果进行排序。其中SELECT子句和FROM子句为必选项,其余为可选项。一、简单查询1.查询指定列--(1)指定部分列SELECT name 阅读全文
posted @ 2012-02-26 20:14 星辰日月00 阅读(212) 评论(0) 推荐(0) 编辑

摘要: 单元格设置1.设置单元格线框Excel.ActiveSheet.Range[B10:C13].Borders[N].LineStyle := xlNoneExcel.ActiveSheet.Range[B10:C13].Borders[N].Weight := xlThin边框的类型 Borders[N]xlEdgeLeft 左=1xlEdgeRight 右=2xlEdgeTop 顶=3xlEdgeBottom 底=4xlDiagonalUp 左上右下=5 xlDiagonalDown 左下右上=6xlEdgeLeft 外部左边框=7xlEdgeTop 外部上边框=8xlEdgeBottom 阅读全文
posted @ 2012-02-26 14:42 星辰日月00 阅读(346) 评论(0) 推荐(0) 编辑

摘要: --添加到students表数据INSERT INTO students VALUES(10101,NULL,'王晓芳','女','07-5月-1988','计算机');INSERT INTO students VALUES(10205,NULL,'李秋枫','男','25-11月-1990','自动化');INSERT INTO students VALUES(10102,10101,'刘春苹','女','12-8月-1991 阅读全文
posted @ 2012-02-26 09:29 星辰日月00 阅读(149) 评论(0) 推荐(0) 编辑

摘要: Lesson One hundred and twenty-one The man in a hatI bought two expensive dictionaries here half an hour ago,But I forgot to take them with me.Who served you, sir?The lady who is standing behind the counter.Which books did you buy?The books which are on the counter.Did you serve this gentleman half a 阅读全文
posted @ 2012-02-26 09:20 星辰日月00 阅读(220) 评论(0) 推荐(0) 编辑