SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit DESC
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit NULLS LAST
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_last_name, cust_credit_limit NULLSLAST
第1题:
You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns:CUST_ID NUMBER(4) NOT NULLCUST_NAME VARCHAR2(100) NOT NULLCUST_ADDRESS VARCHAR2(150)CUST_PHONE VARCHAR2(20)Which SELECT statement accomplishes this task?()
A. SELECT* FROM customers;
B. SELECT name, address FROM customers;
C. SELECT id, name, address, phone FROM customers;
D. SELECT cust_name, cust_address FROM customers;
E. SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
第2题:
You are developing a page named Products.aspx in a Web application that contains three DropDownList controls that are dynamically loaded from a SQL Server 2005 database file. The DropDownList controls represent a vendor list, a certification list, and an exam list. Certkiller .com customers use the Products.aspx page to select exams related to particular certifications on offer from a particular vendor. A Go button initiates the selection. Each DropDownList control has an associated RequiredFieldValidator control.Whenever the customer selects a vendor, and the vendor offers certifications, then the customer must also select a certification if the. If the vendor only offers exams and not certifications, the certification list should remain hidden. Whenever the customer selects a certification, the customer must also select an exam. Validation error messages should only be displayed when the Go button is clicked. You need to set properties on the vendor DropDownList control.
What should you do?()
第3题:
第4题:
第5题:
You need to generate a list of all customer last names with their credit limits from the CUSTOMERS table. Those customers who do not have a credit limit should appear last in the list. Which two queries would achieve the required result?()
第6题:
The backup retention policy is configured as RECOVERY WINDOW 2. You executed the following command in Recovery Manager (RMAN) against your database: RMAN> REPORT OBSOLETE; What would you see in the output?()
第7题:
You need to display the last names of those employees who have the letter "A" as the second character in their names. Which SQL statement displays the required results? ()
第8题:
You have 17GB of private files on drive D on your Windows 2000 Professional computer. You have shared the files as private_files. You do not want other users to see this share name in the browse list. You want all other share names to continue to appear in the browser list. What should you do? ()
第9题:
Create a FOR trigger.
Create an INSTEAD OF trigger.
Create an AFTER trigger.
Create a DDL trigger.
第10题:
SELECT* FROM customers;
SELECT name, address FROM customers;
SELECT id, name, address, phone FROM customers;
SELECT cust_name, cust_address FROM customers;
SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
第11题:
a list of all those files that have been deleted in the last two days
a list of all those files that have been recovered within the last two days
a list of all the expired backups and copies
a list of backups and copies that are outside the range covered by the current retention policy
第12题:
SELECT* FROM customers;
SELECT name, address FROM customers;
SELECT id, name, address, phone FROM customers;
SELECT cust_name, cust_address FROM customers;
SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
第13题:
Background information
B-Star is a theme park based on a popular series of children’s books. Customers pay a fixed fee to enter the park,where they can participate in a variety of activities such as riding roller-coasters, playing on slides and purchasing themed souvenirs from gift shops.
The park is open all year and has been in operation for the last seven years. It is located in a country which has very little rainfall – the park is open-air so poor weather such as rain results in a significant fall in the number of customers for that day (normally by 50%). During the last seven years there have been on average 30 days each year with rain.
B-Star is now very successful; customer numbers are increasing at approximately 15% each year.
Ticket sales
Customers purchase tickets to enter the theme park from ticket offices located outside the park. Tickets are only valid on the day of purchase. Adults and children are charged the same price for admission to the park. Tickets are preprinted and stored in each ticket office.
Tickets are purchased using either cash or credit cards.
Each ticket has a number comprising of two elements – two digits relating to the ticket office followed by six digits to identify the ticket. The last six digits are in ascending sequential order.
Cash sales
1. All ticket sales are recorded on a computer showing the amount of each sale and the number of tickets issued.
This information is transferred electronically to the accounts office.
2. Cash is collected regularly from each ticket office by two security guards. The cash is then counted by two
accounts clerks and banked on a daily basis.
3. The total cash from each ticket office is agreed to the sales information that has been transferred from each office.
4. Total cash received is then recorded in the cash book, and then the general ledger.
Credit card sales
1. Payments by credit cards are authorised online as the customers purchase their tickets.
2. Computers in each ticket office record the sales information which is transferred electronically to the accounts office.
3. Credit card sales are recorded for each credit card company in a receivables ledger.
4. When payment is received from the credit card companies, the accounts clerks agree the total sales values to the amounts received from the credit card companies, less the commission payable to those companies. The receivables ledger is updated with the payments received.
You are now commencing the planning of the annual audit of B-Star. The date is 3 June 2009 and B-Star’s year end is 30 June 2009.
Required:
(a) List and explain the purpose of the main sections of an audit strategy document and for each section, provide an example relevant to B-Star. (8 marks)
(b) (i) For the cash sales system of B-Star, identify the risks that could affect the assertion of completeness of sales and cash receipts; (4 marks)
(ii) Discuss the extent to which tests of controls and substantive procedures could be used to confirm the
assertion of completeness of income in B-Star. (6 marks)
(c) (i) List the substantive analytical procedures that may be used to give assurance on the total income from
ticket sales for one day in B-Star;
(ii) List the substantive analytical procedures that may be used to give assurance on the total income from
ticket sales in B-Star for the year. (8 marks)
(d) List the audit procedures you should perform. on the credit card receivables balance. (4 marks)
第14题:
第15题:
第16题:
第17题:
Which of the following is a typical data warehouse query?()
第18题:
The details of the order ID, order date, order total, and customer ID are obtained from the ORDERS table. If the order value is more than 30000, the details have to be added to the LARGEjDRDERS table. The order ID, order date, and order total should be added to the ORDERJHISTORY table, and order ID and customer ID should be added to the CUSTJHISTORY table. Which multitable INSERT statement would you use? ()
第19题:
From the V$SESSION_LONGOPS view, you find that some of the database users have long-running queries that consume a lot of CPU time. This causes performance problems for other users in the database, who have much shorter queries. You would like to make sure that the users with large queries do not use all the CPU time, but you still do not want to terminate them with an error message. Which method would you follow to achieve this?()
第20题:
Your company uses a SQL Server 2005 database. Customer data from your trading partners is imported into the Customers table every night. You need to ensure that the customer record is updated if it already exists in the Customers table. If the record does not exist, the data needs to be inserted into the Customers table. What should you do?()
第21题:
SELECT* FROM customers;
SELECT name, address FROM customers;
SELECT id, name, address, phone FROM customers;
SELECT cust_name, cust_address FROM customers;
SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
第22题:
SELECT last_name FROM EMP WHERE last_ name LIKE '_A%';
SELECT last_name FROM EMP WHERE last name ='*A%'
SELECT last_name FROM EMP WHERE last name ='_A%';
SELECT last_name FROM EMP WHERE last name LIKE '*A%'
第23题:
ALTER TABLE OrdersDISABLE TRIGGER trg InsertOrders
DROP TRIGGER trg InsertOrders
DISABLE TRIGGER trg InsertOrders ON Orders
ALTER TRIGGER trg InsertOrders ON Orders NOT FOR REPLICATION
第24题:
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit DESC
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_credit_limit NULLS LAST
SELECT cust_last_name, cust_credit_limit FROM customers ORDER BY cust_last_name, cust_credit_limit NULLSLAST