多选题下面是INVENTORY(库存)表中所存储的数据:评估如下的SQL语句,请问哪一个id_number的数据行将被删掉?DELETEFROMinventoryWHEREorder_date>TO_DATE("25.07.1997","DD.MM.YYYY");
多选题为闪回版本查询使用VERSIONS BETWEEN子句时,无法使用哪项来限制查询返回的行数?
多选题可以在以下的哪两个语句中使用ENABLE子句? A.ALTER VIEW B.ALTER TABLE C.CREATE VIEW D.CREATE TABLE E.CREATE INDEX F.CREATE SEQUENCE
多选题以下是客户(CUSTOMER)表和客户_订单(CURR_ORDER)表的结构: CUSTOMER ------------------------------------ CUSTOMER_ID NUMBER(5) NAME VARCHAR2(25) CREDIT_LIMIT NUMBER(8, 2) ACCT_OPEN_DATE DATE CURR_ORDER ------------------------------------ ORDER_ID NUMBER(5) CUSTOMER_ID NUMBER(5) ORDER_DATE DATE TOTAL NUMBER(8, 2) 以下哪种情况下应该使用子查询来返回所需的结果? A.需要显示今天下了订单的全部客户的名字 B.需要确定CUSTOMER_ID为30450的客户今年所下的订单数量 C.需要确定今年开了账号的所有客户的平均信用限额(CREDIT_LIMIT) D.需要确定那些信用限额比CUSTOMER_ID为30450的客户的信用限额高(大)的客户
多选题如果要将INVENTORY表的表名更改为PARTS,应使用以下哪个语句?
多选题在以下有关序列(sequence)的语句中,哪个是正确的? A.一个序列(sequence)只能用于创建主键的值 B.一个序列(sequence)可以用于相同模式(用户)中的多个表 C.创建一个序列会使表中的序列号缩短 D.在内存中缓存(存储)序列值会降低序列访问序列值的效率
多选题应该使用如下哪个命令显示视图PARTS_VU的结构?
多选题Given:
4. public class Hemlock {
5. static StringBuffer sb;
6. StringBuffer sb2;
7. public static void main(String[] args) {
8. sb = sb.append(new Hemlock().go(new StringBuffer("hey")));
9. System.out.println(sb);
10. }
11. {sb2 = new StringBuffer("hi "); }
12. StringBuffer go(StringBuffer s) {
13. System.out.print(s + " oh " + sb2);
14. return new StringBuffer("ey");
15. }
16. static {sb = new StringBuffer("yo "); }
17. }
What is the result?
多选题请看如下的SQL语句,执行这个语句时将失败,请问怎样修改可以解决这一问题? SELECT c.customer_id, o.order_id, o.order_date, p.product_name FROM customer c, curr_order o, product p WHERE customer.customer_id=curr_order.customer_id AND oproduct_id=p.product_id ORDER BY o.ordei_amount; A.在ORDER BY子句中使用表名 B.将表的别名从WHERE子句中去掉 C.在SELECT列表中包括order_amount列 D.在WHERE子句中使用表的别名以替代表名 E.从ORDER BY子句中去掉表的别名并且只使用列名
多选题如果QUANTITY的值为空值(null),在执行以下哪个语句时会显示一个0?
多选题以下哪个操作符最适用于单行子查询?
多选题使用如下的SQL语句查询数据库:
SELECT id_number, 100/quantity
FROM inventory;
如果QUANTITY的值为空值(NULL),Oracle将显示哪个值?
多选题Given:
1. public class Hose <E extends Hose> {
2. E innerE;
3. public static E doStuff(E e, Hose<E> e2) {
4. // insert code here
5. }
6. public E getE() {
7. return innerE;
8. } }
Which can be inserted, independently at line 4, for the code to compile? (Choose all that apply.)
多选题Given:
2. public class Alamo {
3. public static void main(String[] args) {
4. try {
5. assert(!args[0] .equals("x")) : "kate";
6. } catch(Error e) {System.out.print("ae "); }
7. finally {
8. try {
9. assert(!args[0] .equals("y")) : "jane";
10. } catch(Exception e2) {System.out.print("ae2 ");
11. finally {
12. throw new IllegalArgumentException();
13. } } } }
And, if the code compiles, the invocation:
java -ea Alamo y
Which will be included in the output? (Choose all that apply.)
多选题以下单行函数中的哪一个可以用于VARCHAR2列? A.NVL B.ROUND C.TRUNC D.SYSDATE
多选题Given that "it, IT" is the locale code for Italy and that "pt, BR" is the locale code for Brazil, and given:
51. Date d = new Date();
52. DateFormat df = DateFormat.getDateInstance(DateFormat. FULL);
53. Locale[] la = {new Locale("it", "IT"), new Locale("pt", "BR")};
54. for(Locale l: la) {
55. df.setLocale(1);
56. System.out.println(df.format(d));
57. }
Which are true? (Choose all that apply.)
多选题以下是表SERVICE中的内容,如果使用如下的查询语句,哪个MACHINE_ID将最后一个显示?SELECTmachine_id,service_dateFROMserviceORDERBYtechnician_id,service_date;A.458745B.687523C.785214D.789874E.980076
多选题请看如下的DDL语句: CREATE TABLESPACE wuda_data DATAFILE '/disk12/wuda_data.dbf' SIZE 100M MINIMUM EXTENT 500K DEFAULT STORAGE (INITIAL 100K NEXT 100K MAXEXTENTS 500 PCTINCREASE 0); 为什么以上这一创建表空间的DDL语句会失败? A.MAXEXTENTS设置的值太高 B.INITIAL和NEXT应该设置成MINIMUM EXTENT的整数倍 C.对于这个默认的存储参数来说该数据文件太大了 D.MINIMUM EXTENT不能够在表空间以一级设置
多选题使用如下的DDL语句创建一个名为PARTS_VU的视图,请问基于这个视图,可以使用哪个命令? CREATE FORCE VIEW parts_vu (company, contact) AS SELECT manufacturername, contact_name FROM inventory WITH READ ONLY; A.UPDATE B.DELETE C.SELECT D.INSERT
多选题Given a directory structure:
- baseDir
- testDir
- subDir2
- Shackelton.txt
and given the following code:
12. String name = "testDir" + File.pathSeparator + "subDir2" + File.pathSeparator + "Shackelton.txt";
13. File f = new File (name);
14. System.out.println("exists " + f.exists());
Assuming the proper import statements and exception handling, which statements must be true in order for the output to be "exists true"? (Choose three.)
