数据库面试题目

本文汇总了30多个SQL及数据库相关面试问题及其解答,覆盖了从基本操作到高级概念,如不同类型的连接、归一化、游标使用、过程与函数区别等内容,帮助读者深入理解并掌握数据库知识。
1. What are the different types of joins?
2. Explain normalization with examples.
3. What cursor type do you use to retrieve multiple recordsets?
4. Diffrence between a “where” clause and a “having” clause
5. What is the difference between “procedure” and “function”?
6. How will you copy the structure of a table without copying the data?

7. How to find out the database name from SQL*PLUS command prompt?
8. Tadeoffs with having indexes
9. Talk about “Exception Handling” in PL/SQL?
10. What is the diference between “NULL in C” and “NULL in Oracle?”
11. What is Pro*C? What is OCI?
12. Give some examples of Analytical functions.
13. What is the difference between “translate” and “replace”?
14. What is DYNAMIC SQL method 4?
15. How to remove duplicate records from a table?
16. What is the use of ANALYZing the tables?
17. How to run SQL script from a Unix Shell?
18. What is a “transaction”? Why are they necessary?
19. Explain Normalizationa dn Denormalization with examples.
20. When do you get contraint violtaion? What are the types of constraints?
21. How to convert RAW datatype into TEXT?
22. Difference - Primary Key and Aggregate Key
23. How functional dependency is related to database table design?
24. What is a “trigger”?
25. Why can a “group by” or “order by” clause be expensive to process?
26. What are “HINTS”? What is “index covering” of a query?
27. What is a VIEW? How to get script for a view?
28. What are the Large object types suported by Oracle?
29. What is SQL*Loader?
30. Difference between “VARCHAR” and “VARCHAR2″ datatypes.
31. What is the difference among “dropping a table”, “truncating a table” and “deleting all records” from a table.
32. Difference between “ORACLE” and “MICROSOFT ACCESS” databases.
33. How to create a database link?
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值