12、(5-12)choose two:Examine the data in the CUSTOMERS table:You want to list all cities that have more than one customer along with the customer details.Evaluate the following query:SQL>SELECT c1.custname, c1.cityFROM Customers c1______Customers c2ON (c1.city=c2.city AND c1.custname<>c2.cus...【阅读全文】
11、(5-8) choose the best answer:Examine the structure of the BOOKS_TRANSACTIONS table.You want to update this table such that BOOK_ID is set to 'INVALID' for all rows where no MEMBER_IDhas been entered.Examine this partial SQL statement:SQL> UPDATE books_transactionsSET book...【阅读全文】
10、(5-6) choose the best answer:Examine the structure of the EMPLOYEES table:There is a parent/child relationship between EMPLOYEE_ID and MANAGER_ID.You want to display the name, joining date, and manager for all the employees.Newly hired employees are yet to be assigned a department or a man...【阅读全文】
9、(5-5) choose the best answerView the Exhibit and examine the structure of the SALES and STORES tables.You want to display the store name and the total quantity sold for each item in the store.Which SQL statement will give the required output?A) SELECT str.name, s1.items_id, SUM(s1.quantit...【阅读全文】
create table t1 as select object_id,object_name from dba_objects where object_id<10;alter system switch logfile;SQL> select member from v$logfile;MEMBER--------------------------------------------------------------------------------/home/oracle/app/oradata/oracleogg/redo03.log/home/oracle/ap...【阅读全文】