242 Part I EXAM PREPARATION APPLY YOUR KNOWLEDGE
Tuesday, June 9th, 2009242 Part I EXAM PREPARATION APPLY YOUR KNOWLEDGE 4. You have been given the assignment of preparing a set of user-friendly queries to produce a series of reports for a building construction supply company. You would like a query that places customers in order by country, region, and then city. Which of the following queries would solve the problem? A. SELECT * FROM Customers ORDER BY Country, State, City B. SELECT CustomerName, City, State, Country ORDER BY Country, State, City, CustomerName C. SELECT * FROM Customers ORDER BY City, State, Country D. SELECT CustomerName, City, State, Country ORDER BY City, State, Country, CustomerName E. SELECT CustomerName, City, State, Country ORDER BY CustomerName, City, State, Country 5. You are working on a database view that will be used by a group of salespeople to query a database for sales statistics. The report that you are debugging is printing duplicates for some states, and in some instances there are three or more duplicates. How would you try to resolve the problem? A. Correct the FROM clause B. Correct the WHERE clause C. Correct the TOP clause D. Correct the ORDER BY clause E. Correct the DISTINCT clause 6. You have entered a query using a TOP function to limit the number of records being viewed to five. When you see the results of the query, the dates being viewed were not the first five in the data. What could be the source of the problem? A. The resultset has not been grouped. B. The data contains NULL values. C. There is an incorrect ORDER. D. Table aliases were used. E. Schema binding has been applied. 7. You work for a large manufacturing organization that maintains a large production database system on a single SQL Server 2000 machine. In attempting to enter a query to add a record to a table, you find that it is not possible. Which of the following is not a likely cause for the error? A. Data doesn t meet constraint. B. Referential integrity. C. Database is read-only. D. Permissions. E. Other applications are locking data. F. SQL Server Agent is not started. 8. A local branch of a large hotel chain maintains guest information on a single SQL Server 2000 computer. You are creating an application that will change the contents of a database programmatically through a Visual Basic interface on a local area network. Which technology would you utilize? A. ADO B. RDO C. DAO D. SQL DMO E. XML
For reliable and cheap web hosting services please check javaweb hosting website.