Mysql 010-002

Solo disponible en BuenasTareas
  • Páginas : 19 (4541 palabras )
  • Descarga(s) : 0
  • Publicado : 24 de febrero de 2012
Leer documento completo
Vista previa del texto
MySQL 010-002

010-002 Certified MySQL Associate

Practice Test
Version 3.0

MySQL 010-002: Practice Exam QUESTION NO: 1 A table is successfully created by executing the following statement: CREATE TABLE numbers ( double_number double, decimal_number decimal(2,1) ) One row is successfully inserted into the numbers table. At this point, the table contains the following data:+---------------+----------------+ | double_number | decimal_number | +---------------+----------------+ | 1.5 | 2.5 | +---------------+----------------+

The row is updated by executing the following statement: UPDATE numbers SET double_number = double_number + 0.25, decimal_number = decimal_number + 0.01

Which values are now stored in the double_number and decimal_number columns of the updated row?Select the best response. A. 1.8 and 2.5 B. 1.75 and 2.5 C. 1.8 and 2.51 D. 1.75 and 2.51 Answer: B

QUESTION NO: 2 Which of the following statements can be used to list all databases that are accessible to the current user? Select the best response. A. LIST DATABASES B. SHOW DATABASES C. DISPLAY DATABASES "Pass Any Exam. Any Time." - www.actualtests.com 2

Ac

tua lTe

sts

.co

m MySQL 010-002: Practice Exam D. VIEW DATABASES Answer: B

QUESTION NO: 3 Which of the following statements will discard the existing database called world? Select the best response. A. DELETE DATABASE world B. DROP DATABASE world C. REMOVE DATABASE world D. TRUNCATE DATABASE world

QUESTION NO: 4

Answer: B

QUESTION NO: 5

The default database contains a table called City. Which of thefollowing statements may be executed to obtain a statement that could be used to (re-)create the City table? Select the best response. A. DESCRIBE City B. DESCRIBETABLE City C. SHOW TABLE City D. SHOW CREATETABLE City Answer: D

"Pass Any Exam. Any Time." - www.actualtests.com

Ac

tua lTe

A. DISPLAY COLUMNS FROM City B. SHOW COLUMNS FROM City C. SHOW COLUMNS LIKE 'City' D. SHOW City COLUMNSsts

Which statement can be used to list all columns in the City table? Select the best response.

.co

m

Answer: B

3

MySQL 010-002: Practice Exam QUESTION NO: 6 A MySQL table has ... Select the best response. A. zero or more columns, and zero or more rows. B. zero or more columns, and one or more rows. C. one or more columns, and zero or more rows. D. one or more columns, andone or more rows. Answer: C

QUESTION NO: 7

QUESTION NO: 8

A. thetables from which data is to be retrieved. B. a condition to filter for only specific rows. C. a condition to filter for only specific groups defined by a GROUP BY clause. D. a number to limit the number of rows that is operated upon by the statement. Answer: B

QUESTION NO: 9 The table Country contains the following rows:+--------------------------+------------+ "Pass Any Exam. Any Time." - www.actualtests.com 4

Ac

Which of the following statements best describes the purpose of the SQL WHERE clause? In SQL statements, the WHERE clause specifies ... Select the best response.

tua lTe

Answer: B

sts

A. The SELECT list. B. The FROM clause. C. The WHERE clause. D. The LIMIT clause.

.co

m

Whichpart of a SELECT statement specifies the tables from which data is to be retrieved? Select the best response.

MySQL 010-002: Practice Exam | Name | Population | +--------------------------+------------+ | Nauru | 12000 | | Turks and Caicos Islands | 17000 | | Tuvalu | 12000 | | Wallis and Futuna | 15000 | +--------------------------+------------+ Which of the following statements will returnall rows in the table, sorted by the value in the Population column? Select the best response. A. SELECT Name, Population ASC FROM Country B. SELECT Name, ORDER BY Population FROM Country C. SELECT Name, Population FROM Country GROUP BY Population ASC D. SELECT Name, Population FROM Country ORDER BY Population Answer: D

QUESTION NO: 10

In the context of database transactions, the atomicity...
tracking img