- 相关推荐
中国信保笔试题目
填空题
1、关系代数以集合代数为基础运算,基本操作是并、差、笛卡儿积、投影和选择。规范化理论
中分解关系模式主要是消除多余的数据相关性。
2、数字签名常用公开密钥加密方法。发送者签名使用的密钥为发送者的公钥,
常用的加密算法有 hash 签名、dss 签名、rsa 签名。
3、internet 实现组播,传输层协议为组播地址解析协议(mars:multicast address resolution server)
4、完整性约束:
单个关系上的约束
not null
unique
check
参照完整性
断言
函数依赖
简答题
mvc 模式及其作用,列出至少两种目前流行的 mvc 组件。
六、数据库设计
1、建表
create table company(companyname varchar2(30), id number(4) primary key);
create table employeehired(id number(4), numberhired number(4),
fiscalyear number(4), fiscalquarter number(4),
foreign key(id) references company(id),
primary key(id, fiscalyear, fiscalquarter));
2、插入数据
insert into company values(''microsoft'', 1);
insert into company values(''ibm'', 2);
insert into company values(''hp'', 3);
insert into company values(''nortel'', 4);
insert into employeehired values(1, 1, 2007, 1);
insert into employeehired values(1, 3, 2007, 3);
insert into employeehired values(1, 3, 2008, 2);
insert into employeehired values(2, 2, 2007, 2);
insert into employeehired values(2, 4, 2007, 4);
insert into employeehired values(2, 2, 2008, 1);
insert into employeehired values(3, 5, 2008, 1);
insert into employeehired values(3, 10, 2008, 2);
insert into employeehired values(4, 3, 2008, 3);
insert into employeehired values(4, 6, 2008, 4);
3、在表 company 中加入一列 address varchar2(40);
alter table company
add address varchar2(40);
4、将2008年招员工人数超过3人的公司名称和总人数查出,按人数降序排列;
select companyname, sum(numberhired) as sum
from company c, employeehired e
where c.id = e.id and fiscalyear = 2008
group by e.id, companyname
having sum(numberhired) > 3
order by sum desc;
【中国信保笔试题目】相关文章:
中国信保笔试详情-总部财务审计岗08-10
java笔试题,笔试题目分享08-10
医院笔试题目08-09
ITT HR的笔试题目,笔试试题08-09
笔试里面的汇率题目08-09
电厂笔试题 试题题目08-10
P&G 笔试的的题目08-10
网易笔试归来,题目分享08-10
人事专员笔试题目08-10
幼师招聘笔试题目04-02