多选题下面是INVENTORY(库存)表中所存储的数据:评估如下的SQL语句,请问哪一个id_number的数据行将被删掉?DELETEFROMinventoryWHEREorder_date>TO_DATE('25.07.1997','DD.MM.YYYY');A.32096B.25026C.32081D.没有删掉任何值
多选题要拔出一个数据库,必须满足下面的哪些条件?
多选题容器数据库(CDB)位于NOARCHIVELOG模式。关于任何被托管数据库(CDB或PDB)的可恢复性,下列哪个叙述是正确的?
多选题Given:
4. public class Zingseng extends Thread {
5. public static void main(String[] args) throws Exception {
6. Thread t1 = new Thread(new Zingseng());
7. t1.start();
8. // insert code here
9. for(int i = 0; i < 1000; i++) // Loop #1
10. System.out.print(Thread.currentThread().getName() + " ");
11. }
12. public void run() {
13. for(int i = 0; i < 1000; i++) // Loop #2
14. System.out.print(Thread.currentThread().getName() + " ");
15. } }
Which code, inserted independently at line 8, will make most (or all) of Loop #2"s iterations run before most (or all) of Loop #1 "s iterations? (Choose all that apply.)
多选题如果查询数据字典V$LOG并发现GROUP3的STATUS(列的)值为INACTIVE,请问在以下有关这一组的陈述中,哪一个是正确的? A.这一组从来就没有被写过 B.现在可以写这个文件 C.这一组不需要归档 D.对于实例恢复来说,这一组已经不再需要了
多选题Given:
3. public static void main(String[] args) {
4. try {
5. throw new Error();
6. }
7. catch (Error e) {
8. try {throw new RuntimeException(); }
9. catch (Throwable t) { }
10. }
11. System.out.println("phew");
12. }
Which are true? (Choose all that apply.)
多选题Given:
1. import java.util.*;
2. public class Ps {
3. public static void main(String[] args) {
4. PriorityQueue<String> pq = new PriorityQueue<String>();
5. pq.add("4");
6. pq.add("7");
7. pq.add("2" );
8. // insert code here
9. } }
Which code fragment(s), inserted independently at line 8, produce the output "2-4-7-"? (Choose all that apply.)
多选题下面的哪个多路复用备份将成功运行?
多选题要以非加载(NOMOUNT)的方式启动一个实例,请问在以下的陈述中,哪一个是正确的? A.使用这一启动状态是为了重新命名数据文件 B.使用这一启动状态以执行一个全库的备份 C.使用这一启动状态以打开联机重做日志文件和联机数据文件 D.使用这一启动状态是为了创建数据库或重建控制文件
多选题产品(PRODUCT)表的结构如下: PRODUCT PRODUCT_ID NUMBER NOT NULL, Primary Key PRODUCT_NAME VARCHAR2(25) SUPPLIER_ID NUMBER Foreign key to SUPPLIER_ID of the SUPPLIER table LIST_PRICE NUMBER(7, 2) COST NUMBER(7, 2) QTY_IN_STOCK NUMBER QTY_ON_ORDER NUMBER REORDER_LEVEL NUMBER REORDER_QTY NUMBER 如果使用如下的SQL语句,哪个子句将会产生错误? SELECT supplier_id,AVG(cost) FROM product WHERE AVG(list_price)>60.00 GROUP BY supplier_id ORDER BY AVG(cost)DESC; A.FROM B.WHERE C.GROUP BY D.ORDER BY
多选题Which, concerning command-line options, are true? (Choose all that apply.)
多选题在如下的授权语句中,哪4个是将系统权限授予girldog? A.GRANT CREATE TABLE TO girldog; B.GRANT CREATE INDEX TO girldog; C.GRANT CREATE SESSION TO girldog; D.GRANT CREATE PROCEDURE TO girldog; E.GRANT UPDATE ANY TABLE TO girldog; F.GRANT ALL ON girldog.baby_view TO boydog WITH GRANT OPTION;
多选题以下是员工(EMPLOYEE)表的结构: EMPLOYEE EMPLOYEE_ID NUMBER NOT NULL, Primary Key EMP_LNAME VARCHAR2(25) EMP_FNAME VARCHAR2(25) DEPT_ID NUMBER Foreign key to DEPT ID column of the DEPARTMENT table JOB_ID NUMBER Foreign key to JOB ID column of the JOB table MGR_ID NUMBER References EMPLOYEE ID column SALARY NUMBER(9, 2) HIRE_DATE DATE DOB DATE 请问,使用如下的哪个DDL语句可为EMP_LNAME列创建一个索引? A.CREATE INDEX employee(emp_lname); B.CREATE INDEX employee(emp_lname) employee_emp_lname_idx; C.CREATE INDEX employee_emp_lname_idx ON employee; D.CREATE INDEX employeeemp_lname_idx ON employee(emp_lname);
多选题在以下的Oracle内存结构中,哪一个存储了最近执行过的SQL语句,以及最近访问过的数据定义? A.PGA B.共享池(shared pool) C.重做日志缓冲区(redo log buffer) D.数据库高速缓冲区(database buffer cache)
多选题Given:
2. public class Clover extends Harrier {
3. String bark() {return "feed me "; }
4. public static void main(String[] args) {
5. Dog[] dogs = new Dog[3];
6. dogs[0] = new Harrier();
7. dogs[1] = (Dog)new Clover();
8. dogs[2] = (Dog)new Harrier();
9. for(Dog d: dogs) System.out.print(d.bark());
10. } }
11. class Dog {String bark() {return "bark "; } }
12. class Harrier extends Dog {String bark() {return "woof "; } }
What is the result? (Choose all that apply.)
多选题Cat使用带有WITH GRANT OPTION子句的DCL语句将baby表上的SELECT对象权限授予了Fox,而Fox又将这一权限授予了Dog。如果Cat的SELECT权限被收回了,除了Cat以外的哪些用户将丧失他们的权限? A.只有Dog B.只有Fox C.Fox和Dog D.没有其他用户丧失权限
多选题如果发生了介质损坏并且已经丢失了PIG数据库的所有控制文件,在以下有关PIG数据库的陈述中,哪一个是正确的? A.数据库可以加载,但不能开启 B.在开启这个数据库之前必须对该数据库进行恢复 C.必须开启这个数据库并使用CREATE CONTROLFILE语句创建一个新的控制文件 D.无法恢复这个数据库
多选题在Oracle Database 12c安装中,下面的哪些表空间是必需的?
多选题使用如下的CREATETABLE脚本(语句)创建一个名为PO_DETAIL的表。CREATETABLEpo_detail(po_numNUMBERNOTNULL,po_line_idNUMBERNOTNULL,product_idNUMBERNOTNULL,quantityNUMBER(3)NOTNULL,unitpriceNUMBER(5,2)DEFAULT0,PRIMARYKEY(po_num,po_line_id),FOREIGNKEY(po_num)REFERENCESPO_HEADER(po_num),FOREIGNKEY(product_id)REFERENCESproduct(product_id),CHECK(unit_priceBETWEEN0and9999.99))TABLESPACEUSERS;其中,PO_HEADER和PO_DETAIL表的结构和表中的数据如下:请问,在以下的INSERT语句中,哪两个将成功地执行?
多选题Given:
2. import java.text.*;
3. import java.util.*;
4. public class Vogue {
5. public static void main(String[] args) {
6. DateFormat df1 = DateFormat.getInstance();
7. DateFormat df2 = DateFormat.getInstance(DateFormat. SHORT);
8. DateFormat df3 = DateFormat.getDateInstance(DateFormat. FULL);
9. DateFormat df4 = DateFormat.getDateInstance(DateFormat.EXTENDED);
10. } }
Which are true? (Choose all that apply.)
