星辰日月00

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

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页

2012年2月28日

摘要: Lesson One hundred and thirty-one Don’t be so sure!Where are you going to spend your holidays this year, Gary?We may go aboard.I’m not sure.My wife wants to go to Egypt.I’d like to go there, too.We can’t make up our minds.Will you travel by sea or by air?We may travel by sea.It’s cheaper, isn’t it?I 阅读全文
posted @ 2012-02-28 18:55 星辰日月00 阅读(307) 评论(0) 推荐(0) 编辑

摘要: 简介:嵌入在其他SQL语句中的SELECT语句称为子查询。为在多个SELECT语句的结果集上进行集合操作,可以使用集合操作UNION、UNION ALL、INTERSECT和MINUS。一、子查询1.单行子查询只返回一行一旬数据的子查询被称为单行子查询。(1)在WHERE子句中使用子查询在WHERE子句中使用子查询时,可以使用单行比较符=、<>、<、>、<=、>=等。在这种情况下,子查询的结果作为主查询的查询条件。SELECT * FROM teachers WHERE wage < (SELECT AVG(wage) FROM teachers);S 阅读全文
posted @ 2012-02-28 18:54 星辰日月00 阅读(233) 评论(0) 推荐(0) 编辑

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) 编辑

2012年2月25日

摘要: Lesson One hundred and eleven The most expensive modelI like this television very much.How much does it cost?It’s the most expensive model in the shop.It costs five hundred pounds.That’s too expensive for us.We can’t afford all that money.This model’s less expensive than that one.It’s only three hun 阅读全文
posted @ 2012-02-25 08:29 星辰日月00 阅读(161) 评论(0) 推荐(0) 编辑

2012年2月21日

摘要: Delphi做为一个快速应用开发工具,深受程序员的喜爱。其强大的组件功能,让程序员能够轻松、高效地完成常见的界面开发、数据库应用等功能。然而,帮助的相对缺乏,使得许多组件的功能并不为人们正确地使用,究其原因,仍然是认识上的问题。对于MIDAS开发中的核心部件,TClientDataSet和TDataSetProvider,由于资料的缺乏,人们在网上大多谈论的是李维的书籍内容。我有幸在BDN上见到了Cary Jensen的Professional Developer系列文章,详细阐述了DELPHI的数据库开发技术。现节选出其中的ClientDataSet部分,与大家共同分享。ClientData 阅读全文
posted @ 2012-02-21 21:33 星辰日月00 阅读(376) 评论(0) 推荐(0) 编辑

摘要: --学生表studentsCREATE TABLE students( student_id NUMBER(5) CONSTRAINT student_pk PRIMARY KEY, --学生学号 monitor_id NUMBER(5), --班长学号 name VARCHAR2(10) NOT NULL, --学生姓名 sex VARCHAR2(6) CONSTRAINT sex_chk CHECK(sex IN ('男','女')), --学生性别 dob DATE, --学生出生日期 specialty VARCHAR2(10) --学生所学专业);-- 阅读全文
posted @ 2012-02-21 13:52 星辰日月00 阅读(266) 评论(0) 推荐(0) 编辑

摘要: 最近做的工作需要频繁写SQL,我已经在学校感觉自己学得还可以的,不过出来工作之后才发现事实与想法刚好相反。现在只能从新开始学习,希望通过不断的练习,提高自己在数据库开发技术方面的水平。 我买了本书,以后发的事例均来自此书。 阅读全文
posted @ 2012-02-21 13:48 星辰日月00 阅读(209) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页