首页/ 题库 / [单选题]

Given the follow的答案

Given the following table definition:
STOCK: item VARCHAR(30) status CHAR(1) quantity INT price DEC(7,2)
If items are indicated to be out of stock by setting STATUS to NULL and QUANTITY and PRICE to zero, which of the following statements would be used to update the STOCK table to indicate that all the items whose description begins with the letter "S" are out of stock?()

单选题
2022-01-04 19:44
A、UPDATE stock SET (status = NULL; quantity, price = 0) WHERE item LIKE S%
B、UPDATE stock SET (status, quantity, price) = (NULL, 0, 0) WHERE item LIKE S%
C、UPDATE stock SET status = NULL, SET quantity = 0, SET price = 0 WHERE item LIKE 'S%'
D、UPDATE stock SET (status = NULL), (quantity = 0), (price = 0) WHERE item LIKE S%
查看答案

正确答案
B

试题解析

标签: IBM(000-730)
感兴趣题目
HTML代码表示()。
HTML代码表示()

An application needs a table for each connection that tracks the ID and Name of all items previously ordered and committed within the connection. The table also needs to be cleaned up and automatically removed each time a connection is ended. Assuming the ITEMS table was created with the following SQL statement:
CREATE TABLE items item_no INT, item_name CHAR(5), item_qty INT)
Which of the following SQL statements will provide the table definition that meets the specified requirements?()

Given the following directory structure: bigProject |--source | |--Utils.java | |--classes |-- And the following command line invocation: javac -d classes source/Utils.java Assume the current directory is bigProject,what is the result? ()
“Full speed ahead” and “Full speed astern” are()given by the officers or the pilots.
is the budgeted amount for the work actually completed on the schedule acticity or WBS comonent during a given period。
Given the following two tables: TAB1 R1 A A A B B C C D E TAB2 R2 A A B B C C D Which of the following queries returns the following result set? RETVAL E()

The storage specialist is presenting the IBM System Storage TS3500 Tape Library including TS1040 and TS1130 tape drives. The customer asks which third party software supports these drives.
Which of the following documents should the storage specialist consult?()

The Shipowner must not stow goods on deck()there is a trade usage to that effect or the Charterer has given his express or implied consent.
Which of the following routing protocols uses AS-Path as one of the methods to build the routing table?()

Given the following two tables:
TAB1 C1 C2
1 Antarctica 2 Africa 3 Asia 4 Australia TAB2 CX CY
5 Europe 6 North America 7 South America
Which of the following SQL statements will insert all rows found in table TAB2 into table TAB1?()

Given the following two tables:
TAB1 C1 C2
A 11 B 12 C 13 TAB2 CX CY
A 21 C 22 D 23
The following results are desired:
C1 C2 CX CY
A 11 A 21 C 13 C 22 -- --D 23
Which of the following queries will yield the desired results?()

相关题目
The title of “Poet’s poet” is given to the writer of the following work().
Complete the following sentences with the proper forms of the words given in the bracketsThe window glass was《shatter》 to pieces__

()is the budgeted amount for the work actually completed on the schedule activity or WBS component during a given time period.

Consider the events_% tables in performance Schema.
Which two methods will clear or reset the collected events in the tables?()

Consider the following statement on a RANGE partitioned table: ALTER TABLE orders DROP PARTITION p1, p3;
What is the outcome of executing the above statement?()

Given the following DDL for the PARTS table:CREATE TABLE parts (part_no INT(9) NOT NULL, part_name VARCHAR(24), part_remain INT(9));All part numbers entered will be different and all rows should be displayed in order of increasing part numbers whenever the table is queried. Which of the following create index statements will meet this criteria and require the least amount of storage for the index object?()
“Full speed ahead” and “Full speed astern” are()given by the officers or the pilots.

Given that tables T1 and T2 contain the following rows:
Table T1: C1 C2 1 4 1 3 1 2
Table T2: C1 C2 1 1 1 2 1 3
Which of the following queries will return only those rows that exist in both T1 and T2?()

Given that tables T1 and T2 contain the following rows: Table T1:
C1 C2
5 4 5 2 5 5
Table T2: C1 C2 5 1 5 2 5 3
Which of the following queries will return only those rows that exist in T1 and not in T2?()

Which of the following will DELETE all of the rows from table T03?()

Following an unscheduled power outage, theadministrator needs to power up an IVM-managed system.
For the given system,what is the first step in this process?()

If the state of the goods at the time they were handed over to the consignee has been the subjectof a joint survey or inspection by the parties,notice in writing()be given of loss or damage ascertained during such survey or inspection.

When ordering a new IBM Power Systems server, a customer is given the option of two types of Hardware Management Console:7042-CR4 and 7042-C06.
Which main difference between the options would influence the customer's decision?()

Before a Flashback Table operation, you execute the following command:
ALTER TABLE employees ENABLE ROW MOVEMENT;
Why would you need this to be executed?()

Given the following table definition:
STOCK: item VARCHAR(30) status CHAR(1) quantity INT price DEC(7,2)
If items are indicated to be out of stock by setting STATUS to NULL and QUANTITY and PRICE to zero, which of the following statements would be used to update the STOCK table to indicate that all the items whose description begins with the letter "S" are out of stock?()

Click the Exhibit button and examine the data in the EMPLOYEES and DEPARTMENTS tables.
You want to retrieve all employees, whether or not they have matching departments in the departments table. Which query would you use?()

You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace:
ALTER TABLE employees SHRINK SPACE CASCADE;
Which statement is correct in this scenario?()

When two vessels are in sight of one another and NOT in or near an area of restricted visibility,any of the following signals may be given EXCEPT().

You discover that your Recycle Bin contains two tables with the same name, MY_TABLE. You also have a table named MY_TABLE in your schema.You execute the following statement:
FLASHBACK TABLE my_table TO BEFORE DROP RENAME TO my_table2;
What will be the result of executing this statement?()

You are working in an online transaction processing (OLTP) environment. You use the FLASHBACKTABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the system change number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state. Now, you need to reverse the effects of the FLASHBACK TABLE command.
Which is the fastest and the most efficient option to reverse the effects of the FLASHBACK TABLE command?()

广告位招租WX:84302438

免费的网站请分享给朋友吧