- 浏览: 507367 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (672)
- 随便写写 (3)
- javascript (16)
- Java exam (58)
- JSP exam (25)
- Servlet exam (25)
- Struts exam (24)
- Spring exam (24)
- Hibernate exam (19)
- EJB exam (25)
- SOA exam (6)
- AJAX exam (25)
- Web开发 exam (25)
- 软件工程 exam (25)
- 项目管理 exam (25)
- .NET exam (23)
- ASP.NET exam (24)
- C# exam (24)
- C++ exam (25)
- C语言 exam (13)
- ASP exam (0)
- PHP exam (0)
- Ruby exam (0)
- Python exam (0)
- Delphi exam (0)
- Linux exam (0)
- UNIX exam (25)
- 数据库 exam (24)
- Oracle exam (25)
- SQL Server exam (20)
- MySQL exam (16)
- Mobile开发 exam (10)
- 嵌入式开发 exam (6)
- 网络安全 exam (0)
- 网络技术 exam (0)
- 综合技术 exam (0)
- HR面试 exam (0)
- 英语面试 exam (0)
- 外企面试 exam (0)
- 软件测试 exam (0)
- QTP exam (0)
- LoadRunner exam (0)
- 网友面经 exam (0)
- 应届生 exam (0)
- 面试指导 exam (0)
- IQ测试 exam (0)
- Flex exam (2)
- uml-ea (1)
最新评论
-
dxking100:
远光没有笔式题的说..
最新远光软件笔试题面试题内容(1) -
heming_way:
谢谢,正在复习软件工程考试呢,呵呵
《软件工程》选择题 -
梅玲达:
可以更详细点吗?
Hibernate中Criteria 和DetachedCriteria的作用是什么? -
buptjian:
学习下,试试看,谢谢啊~
Prototype如何实现页面局部定时刷新? -
bubblegum89:
这个。。。和我笔试时候做的 感觉完全不一样
最新远光软件笔试题面试题内容(3)
1. What are two methods of retrieving SQL?
2. What cursor type do you use to retrieve multiple recordsets?
3. What is the difference between a “where” clause and a “having” clause? - “Where” is a kind of restiriction statement. You use where clause to restrict all the data from DB.Where clause is using before result retrieving. But Having clause is using after retrieving the data.Having clause is a kind of filtering command.
4. What is the basic form of a SQL statement to read data out of a table? The basic form to read data out of table is ‘SELECT * FROM table_name; ‘ An answer: ‘SELECT * FROM table_name WHERE xyz= ‘whatever’;’ cannot be called basic form because of WHERE clause.
5. What structure can you implement for the database to speed up table reads? - Follow the rules of DB tuning we have to: 1] properly use indexes ( different types of indexes) 2] properly locate different DB objects across different tablespaces, files and so on.3] create a special space (tablespace) to locate some of the data with special datatype ( for example CLOB, LOB and …)
6. What are the tradeoffs with having indexes? - 1. Faster selects, slower updates. 2. Extra storage space to store indexes. Updates are slower because in addition to updating the table you have to update the index.
7. What is a “join”? - ‘join’ used to connect two or more tables logically with or without common field.
8. What is “normalization”? “Denormalization”? Why do you sometimes want to denormalize? - Normalizing data means eliminating redundant information from a table and organizing the data so that future changes to the table are easier. Denormalization means allowing redundancy in a table. The main benefit of denormalization is improved performance with simplified data retrieval and manipulation. This is done by reduction in the number of joins needed for data processing.
9. What is a “constraint”? - A constraint allows you to apply simple referential integrity checks to a table. There are four primary types of constraints that are currently supported by SQL Server: PRIMARY/UNIQUE - enforces uniqueness of a particular table column. DEFAULT - specifies a default value for a column in case an insert operation does not provide one. FOREIGN KEY - validates that every value in a column exists in a column of another table. CHECK - checks that every value stored in a column is in some specified list. Each type of constraint performs a specific type of action. Default is not a constraint. NOT NULL is one more constraint which does not allow values in the specific column to be null. And also it the only constraint which is not a table level constraint.
10. What types of index data structures can you have? - An index helps to faster search values in tables. The three most commonly used index-types are: - B-Tree: builds a tree of possible values with a list of row IDs that have the leaf value. Needs a lot of space and is the default index type for most databases. - Bitmap: string of bits for each possible value of the column. Each bit string has one bit for each row. Needs only few space and is very fast.(however, domain of value cannot be large, e.g. SEX(m,f); degree(BS,MS,PHD) - Hash: A hashing algorithm is used to assign a set of characters to represent a text string such as a composite of keys or partial keys, and compresses the underlying data. Takes longer to build and is supported by relatively few databases.
11. What is a “primary key”? - A PRIMARY INDEX or PRIMARY KEY is something which comes mainly from
database theory. From its behavior is almost the same as an UNIQUE INDEX, i.e. there may only be one of each value in this column. If you call such an INDEX PRIMARY instead of UNIQUE, you say something about
your table design, which I am not able to explain in few words. Primary Key is a type of a constraint enforcing uniqueness and data integrity for each row of a table. All columns participating in a primary key constraint must possess the NOT NULL property.
12. What is a “functional dependency”? How does it relate to database table design? - Functional dependency relates to how one object depends upon the other in the database. for example, procedure/function sp2 may be called by procedure sp1. Then we say that sp1 has functional dependency on sp2.
13. What is a “trigger”? - Triggers are stored procedures created in order to enforce integrity rules in a database. A trigger is executed every time a data-modification operation occurs (i.e., insert, update or delete). Triggers are executed automatically on occurance of one of the data-modification operations. A trigger is a database object directly associated with a particular table. It fires whenever a specific statement/type of statement is issued against that table. The types of statements are insert,update,delete and query statements. Basically, trigger is a set of SQL statements A trigger is a solution to the restrictions of a constraint. For instance: 1.A database column cannot carry PSEUDO columns as criteria where a trigger can. 2. A database constraint cannot refer old and new values for a row where a trigger can.
14. Why can a “group by” or “order by” clause be expensive to process? - Processing of “group by” or “order by” clause often requires creation of Temporary tables to process the results of the query. Which depending of the result set can be very expensive.
15. What is “index covering” of a query? - Index covering means that “Data can be found only using indexes, without touching the tables”
16. What types of join algorithms can you have?
17. What is a SQL view? - An output of a query can be stored as a view. View acts like small table which meets our criterion. View is a precomplied SQL query which is used to select data from one or more tables. A view is like a table but it doesn’t physically take any space. View is a good way to present data in a particular format if you use that query quite often. View can also be used to restrict users from accessing the tables directly.
2. What cursor type do you use to retrieve multiple recordsets?
3. What is the difference between a “where” clause and a “having” clause? - “Where” is a kind of restiriction statement. You use where clause to restrict all the data from DB.Where clause is using before result retrieving. But Having clause is using after retrieving the data.Having clause is a kind of filtering command.
4. What is the basic form of a SQL statement to read data out of a table? The basic form to read data out of table is ‘SELECT * FROM table_name; ‘ An answer: ‘SELECT * FROM table_name WHERE xyz= ‘whatever’;’ cannot be called basic form because of WHERE clause.
5. What structure can you implement for the database to speed up table reads? - Follow the rules of DB tuning we have to: 1] properly use indexes ( different types of indexes) 2] properly locate different DB objects across different tablespaces, files and so on.3] create a special space (tablespace) to locate some of the data with special datatype ( for example CLOB, LOB and …)
6. What are the tradeoffs with having indexes? - 1. Faster selects, slower updates. 2. Extra storage space to store indexes. Updates are slower because in addition to updating the table you have to update the index.
7. What is a “join”? - ‘join’ used to connect two or more tables logically with or without common field.
8. What is “normalization”? “Denormalization”? Why do you sometimes want to denormalize? - Normalizing data means eliminating redundant information from a table and organizing the data so that future changes to the table are easier. Denormalization means allowing redundancy in a table. The main benefit of denormalization is improved performance with simplified data retrieval and manipulation. This is done by reduction in the number of joins needed for data processing.
9. What is a “constraint”? - A constraint allows you to apply simple referential integrity checks to a table. There are four primary types of constraints that are currently supported by SQL Server: PRIMARY/UNIQUE - enforces uniqueness of a particular table column. DEFAULT - specifies a default value for a column in case an insert operation does not provide one. FOREIGN KEY - validates that every value in a column exists in a column of another table. CHECK - checks that every value stored in a column is in some specified list. Each type of constraint performs a specific type of action. Default is not a constraint. NOT NULL is one more constraint which does not allow values in the specific column to be null. And also it the only constraint which is not a table level constraint.
10. What types of index data structures can you have? - An index helps to faster search values in tables. The three most commonly used index-types are: - B-Tree: builds a tree of possible values with a list of row IDs that have the leaf value. Needs a lot of space and is the default index type for most databases. - Bitmap: string of bits for each possible value of the column. Each bit string has one bit for each row. Needs only few space and is very fast.(however, domain of value cannot be large, e.g. SEX(m,f); degree(BS,MS,PHD) - Hash: A hashing algorithm is used to assign a set of characters to represent a text string such as a composite of keys or partial keys, and compresses the underlying data. Takes longer to build and is supported by relatively few databases.
11. What is a “primary key”? - A PRIMARY INDEX or PRIMARY KEY is something which comes mainly from
database theory. From its behavior is almost the same as an UNIQUE INDEX, i.e. there may only be one of each value in this column. If you call such an INDEX PRIMARY instead of UNIQUE, you say something about
your table design, which I am not able to explain in few words. Primary Key is a type of a constraint enforcing uniqueness and data integrity for each row of a table. All columns participating in a primary key constraint must possess the NOT NULL property.
12. What is a “functional dependency”? How does it relate to database table design? - Functional dependency relates to how one object depends upon the other in the database. for example, procedure/function sp2 may be called by procedure sp1. Then we say that sp1 has functional dependency on sp2.
13. What is a “trigger”? - Triggers are stored procedures created in order to enforce integrity rules in a database. A trigger is executed every time a data-modification operation occurs (i.e., insert, update or delete). Triggers are executed automatically on occurance of one of the data-modification operations. A trigger is a database object directly associated with a particular table. It fires whenever a specific statement/type of statement is issued against that table. The types of statements are insert,update,delete and query statements. Basically, trigger is a set of SQL statements A trigger is a solution to the restrictions of a constraint. For instance: 1.A database column cannot carry PSEUDO columns as criteria where a trigger can. 2. A database constraint cannot refer old and new values for a row where a trigger can.
14. Why can a “group by” or “order by” clause be expensive to process? - Processing of “group by” or “order by” clause often requires creation of Temporary tables to process the results of the query. Which depending of the result set can be very expensive.
15. What is “index covering” of a query? - Index covering means that “Data can be found only using indexes, without touching the tables”
16. What types of join algorithms can you have?
17. What is a SQL view? - An output of a query can be stored as a view. View acts like small table which meets our criterion. View is a precomplied SQL query which is used to select data from one or more tables. A view is like a table but it doesn’t physically take any space. View is a good way to present data in a particular format if you use that query quite often. View can also be used to restrict users from accessing the tables directly.
发表评论
-
存储过程和sql语句的优缺点
2010-08-27 10:45 1129答:存储过程的优缺点 ... -
介绍一下SQL Server里面的索引视图?
2010-08-27 10:45 657复杂报表的场景经常会在数据仓储应用程序中遇到,它在查询过程中会 ... -
如何用SQL语句进行模糊查找?
2010-08-27 10:45 723LIKE条件一般用在指定搜索某字段的时候, 通过”% _” 通 ... -
介绍一下SQL Server的全文索引?
2010-08-27 10:45 707全文索引可以对存储在SQL Server数据库中的文本数据执行 ... -
SQL Server里面什么样的视图才能创建索引?
2010-08-27 10:45 1064在为视图创建索引前,视图本身必须满足以下条件:l ... -
一道SQL存储过程面试题
2010-08-27 10:45 826写一个SQL存储过程,建立一个表USER 字段是姓名,年龄,职 ... -
南京大陆软件DBA面试题
2010-08-27 10:45 644大陆软件面试题一,基本情况:1. 从事开发工作_____ ... -
SQL Server提供的3种恢复模型都是什么? 有什么区别?
2010-08-27 10:45 645SQL Server提供了3种恢复 ... -
第一范式(1NF)、第二范式(2NF)和第三范式(3NF)之间的区别是什么?
2010-08-27 10:45 2152构造数据库必须遵循一 ... -
说一下mysql, oracle等常见数据库的分页实现方案?
2010-08-27 10:45 7451.Oracle:select * from ( select ... -
介绍一下游标?
2010-08-27 10:45 648游标是从数据表中提取出来的数据,以临时表的形式存放在内存中,在 ... -
什么是聚集索引和非聚集索引? 分布介绍一下
2010-08-27 10:45 772(1)非聚集索引非聚集索引与课本中的索引类似。数据存储在一个地 ... -
为数据库创建索引都需要注意些什么?
2010-08-27 10:45 8201. 索引能提高速度的关键就是索引所占的空间要比表小得多2. ... -
几个数据库方面的面试题
2010-08-27 10:45 9101,说一下数据表设计要遵守的三范式是什么?除了这些你觉得数据表 ... -
存储过程的优点有哪些?
2010-08-27 10:45 638l 更快的执行速度:存储过程只在创造时进行编译 ... -
一套SQL笔试题
2010-08-27 10:45 7911、查找整个职员表的所有内容。select *from em ... -
什么是唯一索引?
2010-08-27 10:45 805唯一索引可以确保索引列不包含重复的值。在多列唯一索引的情况下, ... -
一个SQL笔试题 大家可以试试看
2010-08-27 10:45 647写出对应的SQ语句。(10分)表结构: 表名:g_carda ... -
一组SQL面试题
2010-08-27 10:45 6301. 在表A中有数据ID MO1 Y2 N请 ... -
如何查找和删除数据库中的重复数据?
2010-08-27 10:45 388法一: 用Group by语句 此查找很快的select co ...
相关推荐
根据提供的文件信息,我们可以归纳出一系列重要的SQL知识点及其相关内容。这份资料主要面向已经掌握SQL基础知识的...这些内容不仅有助于读者更好地理解SQL的核心概念,也为准备SQL面试的开发者提供了宝贵的参考材料。
本书《Java/J2EE面试400问 英文版》是一本针对Java和Java Enterprise Edition(J2EE)面试问题的英文资料集,由K.Arulkumaran和A.Sivayini编写。该书旨在帮助初、中级Java程序员准备面试,涵盖了Java/J2EE的核心概念...
Java面试题目涵盖了许多核心知识点,包括面向对象编程、并发处理、数据结构、网络通信、持久化、JSP、Servlet、EJB、数据库管理和WebLogic服务器的配置。以下是对这些主题的详细阐述: 1. **面向对象的三个基本特征...
10. **英语能力**:由于计算机和人工智能领域国际交流频繁,良好的英语听说读写能力是必备的,面试中可能会有英文提问。 在准备保研面试时,除了掌握以上知识,还要锻炼自己的逻辑思维能力,学会用简洁明了的语言...
《JAVA面试宝典英文版》是一本专门为Java开发者准备的面试指南,旨在帮助他们更好地应对英语面试场景。这本书涵盖了Java语言的基础知识、J2EE框架以及软件工程的相关问题,并提供了详细的英文答案,对于提升候选人的...
本合集主要包含两部分:Java英文面试资料和思科学院的电子教材,旨在帮助求职者或自学者提升在英文环境下的Java技术理解与应用能力。 首先,让我们深入探讨Java英文面试中的常见知识点。在"java英文面试.docx"和...
在讨论j2ee英文面试的时候,特别是涉及struts、spring、hibernate、oracle和agile这几个技术点时,我们将会讨论这些技术的概念、应用以及优缺点。 首先,Hibernate是一个开放源代码的对象关系映射(ORM)框架,它让...
面试时,可能会问到以下问题: 1. 如何在COBOL程序中处理错误? 2. 描述一下CICS的交易生命周期。 3. DB2的恢复机制是什么? 4. 如何在CICS中实现安全性控制? 5. 如何在DB2中创建和优化索引? 6. COBOL中的文件处理...
Hibernate支持两种查询语言:HQL(Hibernate Query Language),类似于SQL但面向对象;以及Criteria API,提供更类型安全和可读性强的查询方式。 8. Hibernate如何处理关联? Hibernate支持多种关联映射,包括一...
3. **异常处理**:Java的异常处理机制是面试中经常被问到的话题,包括try-catch-finally语句块、异常类型、自定义异常以及如何优雅地处理异常。 4. **集合框架**:熟悉ArrayList、LinkedList、HashSet、HashMap等...
"经典面试问题(英文)"这个主题通常涵盖了一系列旨在测试技术能力、解决问题的能力、沟通技巧以及团队合作精神的题目。以下是一些可能出现在外企面试中的经典问题,以及它们所涉及的知识点: 1. **数据结构与算法**...
《Java/J2EE面试题大全》是一本专为准备Java和J2EE职位面试者编写的指南,由K. Arulkumaran和A. Sivayini撰写,并由多位技术审阅者协助完成。这本书旨在帮助读者掌握Java和J2EE的核心概念以及关键领域,以提高面试...
面试时,能够流利地用英文回答这些问题将极大地展示你的专业能力和沟通技巧。对于Java开发者来说,理解和掌握这些知识点是至关重要的,因为它们涵盖了从基础到高级的多个层次,包括数据库操作、框架应用和并发控制...
【Java面试核心知识详解】 Java面试题涵盖了众多关键知识点,以下是对这些知识点的详细解析: 1. **面向对象的三个基本特征**:封装、继承和多态。封装是将数据和操作数据的方法捆绑在一起,保护数据不受外部非法...
### SQL 行列互换详解 在日常的数据处理与...掌握这些技巧,不仅能帮助我们在实际工作中更灵活地处理数据,还能在技术面试中展现我们的专业能力。 在实践中,可以根据具体的业务需求和数据库特性选择最合适的方法。
2008/06/17 18:49 1,497 软件公司常问的技术面试题(.net sql css js html).txt 2008/06/17 18:48 3,782 雅虎公司C#面试题.txt 2008/06/17 18:50 978 面试题库网收集的.NET面试题.txt 2008/06/17 18:34 2,340 面试...
该压缩包文件“jsp+sql毕业生招聘系统毕业设计(系统+论文+英文文献+综合材料).zip”包含了一个基于JSP和SQL技术的毕业生招聘系统的设计项目,该项目可能包括了系统的实现、学术论文、相关的英文文献以及综合性的辅助...
如果对方在电话面试中要求你 做英文的自我介绍,或者干脆用英文和你对话,那在电话面试结束后一 定要好好准备英文面试的内容。 笔者曾经参加过 Thoughtworks 、Sybase、 SAP、麒麟原创等公司的电 话面试。外企一般...