摘要: Task 1: Open countries.xml, compose the following XQueries: 1. Return the area of Mongolia. 2. Return the names of all cities that have the same name 阅读全文
posted @ 2018-05-23 23:37 北方真白 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 上题: In this tutorial you will create a stored procedure and triggers to check a complex constraint. Consider the table definition below: While the uni 阅读全文
posted @ 2018-05-10 14:28 北方真白 阅读(1735) 评论(0) 推荐(0) 编辑
摘要: BCNF是比第三范式更严格一个范式。它要求关系模型中所有的属性(包括主属性和非主属性)都不传递依赖于任何候选关键字。也就是说,当关系型表中功能上互相依赖的那些列的每一列都是一个候选关键字时候,该满足BCNF。 BCNF实际上是在第三范式的基础上,进一步消除了主属性的传递依赖。 一次Lab的作业题目如 阅读全文
posted @ 2018-05-02 17:43 北方真白 阅读(13596) 评论(0) 推荐(0) 编辑
摘要: 已知条件如下: 插入数据如下: 既: 问题如下: Write an SQL query which returns for all current employees the start of their current period of continuous employment. That i 阅读全文
posted @ 2018-04-18 14:54 北方真白 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 一次数据库作业 题目如下: Consider the following SQL table definitions: 1. Define sensible key constraints for these tables in SQL. Note: An olympic event (such a 阅读全文
posted @ 2018-04-16 19:32 北方真白 阅读(1882) 评论(0) 推荐(0) 编辑
摘要: AOP概念 1.aop:面向切面(方面)编程,扩展功能不通过源代码实现 2.采用横向抽取机制,取代了传统的纵向继承重复代码 AOP原理 假设现有 我们需要扩展其功能: 正常需要在3处添加逻辑,但这种方式不好,需要经常修改代码 纵向抽取机制解决: 但:如果父类方法名发生变化,子类调用方法也需要变化 横 阅读全文
posted @ 2018-04-14 00:32 北方真白 阅读(257) 评论(0) 推荐(0) 编辑
摘要: Spring的bean管理(注解) 注解 1.代码里面特殊标记(ep:@Test),使用注解完成一些相关功能 2.注解写法 @注解名称(属性名称=属性值) 3.可以用在类,方法,属性上都可以 4.Spring里替代部分配置文件,更方便 Spring注解开发的准备工作 导入 1.导入基本jar包 2. 阅读全文
posted @ 2018-04-12 00:48 北方真白 阅读(444) 评论(0) 推荐(0) 编辑