1Z0-051 35. Which two statements are true regarding constraints? (Choose two.)
来源:互联网 发布:淘宝网花卉 编辑:程序博客网 时间:2024/05/16 08:27
35. Which twostatements are true regarding constraints? (Choose two.)
A. A table canhave only one primary key and one foreign key.
B. A table canhave only one primary key but multiple foreign keys.
C. Only theprimary key can be defined at the column and table levels.
D. The foreignkey and parent table primary key must have the same name.
E. Both primarykey and foreign key constraints can be defined at both column and table levels.
答案: BE 一个表只可以有一个主键,但是可以有多个外键。只有not null必须是列级约束,其他约束都可以做表级约束。
列级约束:carete table parent(c1 number primary key);
表级约束:create table child (c1 number primary key ,c2 number,constraint fk_c foreign key(c1) references parent(c1));--列都定义完后用逗号隔开,进行表级约束定义。阅读全文
0 0
- 1Z0-051 35. Which two statements are true regarding constraints? (Choose two.)
- 35.Which two statements are true regarding constraints? (Choose two.)
- 38.Which two statements are true regarding views? (Choose two.)
- 41.Which two statements are true regarding views? (Choose two.)
- 48.Which two statements are true regarding indexes? (Choose two.)
- 133.Which two statements are true regarding subqueries? (Choose two.)
- 175.Which two statements are true regarding savepoints? (Choose two.)
- 130.Which two statements are true regarding listeners? (Choose two.)
- 28.Which two statements are true regarding constraints?
- 29.Which two statements are true regarding constraints?
- 4.Which two statements are true regarding single row functions? (Choose two.)
- 67.Which two statements are true regarding the ORDER BY clause? (Choose two.)
- 80.Which two statements are true regarding working with dates? (Choose two.)
- 108.Which two statements are true regarding the COUNT function? (Choose two.)
- 121.Which two statements are true regarding the USING clause in table joins? (Choose two .)
- 170.Which two statements are true regarding the DELETE and TRUNCATE commands? (Choose two.)
- 26.Which two statements are true regarding undo tablespaces? (Choose two.)
- 27.Which two statements are true regarding transactions in an Oracle database? (Choose two.)
- 支付宝支付
- WebView 的新增安全功能
- 每天一点新姿势:开源协议
- 4、H5表单控件
- VK Cup 2012 Qualification Round 1 E. Phone Talks —— DP
- 1Z0-051 35. Which two statements are true regarding constraints? (Choose two.)
- 多路转接-EPOLL 及简单的EPOLL服务器实现
- 『ORACLE』手工建库(11g)
- 根据别名推送通知(完成版)Jcenter自动集成
- RT-Thread的线程(任务)处理
- C++音乐播放器类设计
- Qt在MDI area中新建subwindow时,默认最大最小化及关闭按钮在标题栏左边,怎么移到右边去
- 利用 SRTP 模拟静多态
- 记一次面试编程题