Exam Code : 010-002
Exam Name : Certified MySQL Associate(English)
Vendor Name :
"mySQL"
010-002 Dumps
010-002 Braindumps
010-002 Real Questions
010-002 Practice Test
010-002 Actual Questions
killexams.com
Certified MySQL Associate(English)
https://killexams.com/pass4sure/exam-detail/010-002
| District | char(20) | YES | | NULL | |
+-------------+------------------+------+-----+---------+-------+
The following statement is used to return all rows in the table:
SELECT CountryCode,Name FROM City In what order are the rows returned? Select the best response.
ByCountryCode; then by Name.
By Name; then byCountryCode; then by District.
No guarantee can be made about the order.
The rows are returned in the same order as they were added to the table
The following output lists the contents of the City table:
+-------------+------------+
| Name | District |
+-------------+------------+
| Dallas | Texas |
| New York | New York |
| Chicago | Illinois |
| Los Angeles | California |
| Houston | Texas |
+-------------+------------+
Which result will be returned by executing the following statement? SELECT District, Count(District)
FROM City GROUP BY District
Select the best response.
A. +------------+-----------------+
| District | Count(District) |
+------------+-----------------+
| California | 1 |
| Illinois | 1 |
| New York | 1 |
| Texas | 1 |
+------------+-----------------+
B. +------------+-----------------+
| District | Count(District) |
+------------+-----------------+
| California | 1 |
| Illinois | 1 |
| New York | 1 |
| Texas | 2 |
+------------+-----------------+
C. +------------+-----------------+
| District | Count(District) |
+------------+-----------------+
| California | 1 |
| Illinois | 1 |
| New York | 1 |
| Texas | 1 |
| Texas | 2 |
+------------+-----------------+
D. +------------+-----------------+
| District | Count(District) |
+------------+-----------------+
| California | 1 |
| Illinois | 1 |
| New York | 1 |
| Texas | 2 |
| Texas | 2 |
+------------+-----------------+
Which of the following activities would imply using a join in a query? Select the best response.
Aggregating data from a given table.
Making particular groups of the rows in a table.
Making a list of all rows from a given table followed by all rows from another table.
Making a list of rows that combine data from a given table with data from another table.
What is the purpose of the mysqldump program? Select the best response.
To migrate a non-MySQL database to a MySQL database.
To exportMySQL databases to a text file.
To make a binary backup of aMySQL database.
To convert the binary log into a human readable format.
What is the purpose of the mysqlimport program? Select the best response.
To import log files into aMySQL database table.
To import data from a binary log into aMySQL database table.
To import data from a text file into aMySQL database table.
To import tables from a non-MySQL database into a MySQL database.
What is the effect of using the keyword LOCAL with the LOAD DATA INFILE statement? Select the best response.
With LOCAL, the server will request the file from the client host. Without LOCAL, the server will perform the operation using a file located on the server host.
With LOCAL, the server will perform the operation using a file located on the server host. Without LOCAL, the server will request the file from the client host.
The keyword LOCAL is optional. The server always performs the operation using a file located on the server host.
The keyword LOCAL is optional. The server always requests the file from the client host.
Three UPDATE statements have been executed within one transaction. The transaction is still uncommitted when the connection between the server and the client issuing the commands is closed. What will happen to the transaction? Select the best response.
All changes are committed.
All changes are rolled back.
If the connection was closed normally at the clients' request, the changes are committed. If
the connection closed abnormally, the changes are rolled back.
The changes are neither committed nor rolled back. The entire sessionstate, including the pending changes are saved separately by the server, and the session is restored when the client reconnects.