Consider the following:
mysql> SELECT * FROM CountryLanguages;
+----+---------------+-------------+----------+
| ID | CountryName | CountryCode | Language |
+----+---------------+-------------+----------+
| 1 | United States | USA | English |
| 2 | United States | USA | Spanish |
| 3 | Mexico | MEX | Spanish |
| 4 | Canada | CAN | English |
| 5 | Canada | CAN | French |
+----+---------------+-------------+----------+
Which of the following describe how this table would look correctly normalized?
A. Table Countries: CountryCode, CountryNameTable Languages: LanguageID, LanguageTable CountryLanguage: CountryCode, LanguageIDWhich are the effects of the following statement mysql> SET GLOBAL query_cache_limit = 2097152;
A. Query results need to be at least 2MB in size to be cached in the Query Cache.The stored function year_to_date is created by the 'root'@'localhost' account as follows:
CREATE FUNCTION year_to_date ()
RETURNS DECIMAL(10,2)
SQL SECURITY DEFINER
BEGIN
...
END;
Within the routine body, a number of calculations are made on data in the financials table and the calculated value is returned. The only account which can access the financials table is 'root'@'localhost'.
If a client connects with the account 'joe'@'localhost' and calls the year_to_date function, what will happen?
A. The function will always execute as if it was 'root'@'localhost' that invoked it since SQL SECURITY DEFINER has been specified.Can multi-column FULLTEXT indexes be used? If so, when?
A. No, they can not be used.When working with stored routines, which of the following are true in regards to the effect on the amount of data exchanged between client and server?
A. They may increase the amount of data exchanged.Is it a good idea to do periodic table rebuilds for InnoDB tables? Why?
A. No, because the indexes have to be rebuilt.Which of the following best describes how the binary log might be helpful in query optimization?
A. By checking which queries it logs as slow.What are reasons to prefer using GRANT and REVOKE statements over editing the privilege tables directly?
A. Using GRANT and REVOKE allows the server to figure out the right tables and do all the appropriate workWhat will be the results of the following query?
mysql> SELECT * FROM CountryLanguage PROCEDURE ANALYSE(10, 256)\G
A. For each column of the CountryLanguage table, the minimum and maximum values will be listed.Which of the following statements are required to create a key cache of 4 MB, assign the MyISAM table world. City to it and preload the index?
A. mysql> SET GLOBAL city_cache.key_buffer_size = 4194304;mysql> CACHE INDEX world.City IN city_cache;mysql> LOAD INDEX INTO CACHE world.City;Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Oracle exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 1Z0-874 exam preparations and Oracle certification application, do not hesitate to visit our Vcedump.com to find your solutions here.