Deck 8: MySQL Special Topics
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/75
Play
Full screen (f)
Deck 8: MySQL Special Topics
1
You can use the Query Browser to edit tables and create and run scripts.
True
2
The EXPLAIN command generates one row of output for each table involved in a query.
True
3
It is very unusual for data stored in a database to originate from other sources.
False
4
To export all columns in a table use an asterisk after the word SELECT.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
5
The values in the Msg_type and Msg_txt columns are the same for both the ANALYZE TABLE and OPTIMIZE TABLE commands.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
6
The EXPLAIN command examines a query statement after the query is executed.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
7
To improve database performance, most DBMSs use replication.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
8
The REPAIR TABLE command recovers unused space caused by fragmented files.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
9
When you import data into a MySQL database, you either can append data to an existing table or import data into a new table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
10
When you import a text file that contains blank lines, MySQL inserts a blank row at the end of the table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
11
The MySQL Query Browser is a built-in MySQL program.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
12
The PROCEDURE ANALYSE()function is placed at the beginning of a SELECT statement.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
13
To display query output vertically, include the \V command in the query.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
14
Database administrators perform many of the tasks associated with query optimization.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
15
Hardware constraints do not impose physical constraints on database performance.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
16
The filename in a LOAD DATA INFILE is case sensitive.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
17
To import a text file into MySQL, the file must be located in the default folder for the database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
18
A text file might contain line breaks, commas, or tabs to distinguish one piece of data from another.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
19
The name of the text file that follows the words INTO OUTFILE must be enclosed in double quotation marks.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
20
The addition of indexes to a database can speed up retrieval yet at the same time slow down the rate at which data is updated.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
21
The SQL commands that you enter in the Query Area are identical to those that are used in the MySQL Command Line Client window.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
22
____ is defined as the speed or rate with which the DBMS supplies information to the user.
A)Data optimization
B)Database performance
C)Database tuning
D)Data analysis
A)Data optimization
B)Database performance
C)Database tuning
D)Data analysis
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
23
Before you can import data into a new table, you must use the ____ command to create the new table.
A)NEW TABLE
B)ADD TABLE
C)ALTER TABLE
D)CREATE TABLE
A)NEW TABLE
B)ADD TABLE
C)ALTER TABLE
D)CREATE TABLE
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
24
Use the ____ command to import a text file into MySQL.
A)IMPORT FILE
B)IMPORT DATA FILE
C)LOAD DATA INFILE
D)LOAD TEXT FILE
A)IMPORT FILE
B)IMPORT DATA FILE
C)LOAD DATA INFILE
D)LOAD TEXT FILE
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
25
With the MySQL Query Browser, you can export a resultset to Microsoft Excel file format.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
26
The Catalogs section of MySQL Administrator includes a Maintenance dialog box that allows you to optimize tables, check tables, and repair tables.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
27
When you use the Query Browser to create a query, you must enter a semi-colon at the end of the command.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
28
When you use the MySQL Query Browser, you do not need to run a query to export a table.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
29
The only way to get help in the MySQL Query Browser is to use the Information Browser.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
30
Use the ____ command to export a MySQL table to a text file.
A)EXPORT TABLE
B)SELECT INTO OUTFILE
C)OUTPUT TEXT FILE
D)CREATE OUTFILE
A)EXPORT TABLE
B)SELECT INTO OUTFILE
C)OUTPUT TEXT FILE
D)CREATE OUTFILE
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
31
The ____ command analyzes the data in a table and creates statistics that the MySQL optimizer uses.
A)CHECK TABLE
B)ANALYZE TABLE
C)SHOW TABLE
D)FIND TABLE
A)CHECK TABLE
B)ANALYZE TABLE
C)SHOW TABLE
D)FIND TABLE
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
32
The Information Browser provides access to all information not directly related to actual data in the database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
33
You can use the Database Browser to drop tables and databases.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
34
The ____ command fixes damaged or corrupted tables.
A)FIX TABLE
B)ALTER TABLE
C)REPAIR TABLE
D)RESTORE TABLE
A)FIX TABLE
B)ALTER TABLE
C)REPAIR TABLE
D)RESTORE TABLE
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
35
In the MySQL Query Browser, the database currently in use is referred to as the active database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
36
To import a text file into MySQL, the text file must be ____ and the data should not be enclosed in quotation marks.
A)tab-delimited
B)comma-delimited
C)slash-delimited
D)hyphen-delimited
A)tab-delimited
B)comma-delimited
C)slash-delimited
D)hyphen-delimited
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
37
A(n)____ is a built-in program or routine that the DBMS uses to monitor and improve database performance.
A)algorithm
B)tuner
C)optimizer
D)trigger
A)algorithm
B)tuner
C)optimizer
D)trigger
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
38
The Startup Variables section of MySQL Administrator is used to manage user privileges.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
39
The commands in the Syntax Browser are organized into five categories: Data Manipulation, Data Definition, MySQL Utility, Transaction and Locking, and Data Privileges.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
40
In the Query Browser, you can resize columns to produce more readable output.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
41
The ____________________ command examines a query statement before it is executed.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
42
____________________ is the process of converting the data in a MySQL database to a file format for use in another program.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
43
In MySQL Administrator, you can perform table maintenance using the ____ section.
A)User Administration
B)Health
C)Catalogs
D)Service Control
A)User Administration
B)Health
C)Catalogs
D)Service Control
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
44
____________________ is the process of converting data to a MySQL database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
45
In MySQL Administrator, you can use the ____ section to manage user privileges.
A)Server Connections
B)Server Information
C)Catalogs
D)User Administration
A)Server Connections
B)Server Information
C)Catalogs
D)User Administration
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
46
The ____________________ function examines and analyzes query results.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
47
In the MySQL Query Browser, the ____ Browser has three tabbed pages entitled Schemata, Bookmarks, and History.
A)Information
B)Object
C)Help
D)Page
A)Information
B)Object
C)Help
D)Page
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
48
The ____ data type is an object type with a value chosen from a list of allowed values that are enumerated explicitly in the column specification at the time the table is created.
A)OBJECT
B)LEGAL
C)EXPLICIT
D)ENUM
A)OBJECT
B)LEGAL
C)EXPLICIT
D)ENUM
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
49
In the MySQL Query Browser, a database is referenced as a(n)____.
A)dataset
B)schema
C)tableset
D)datatable
A)dataset
B)schema
C)tableset
D)datatable
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
50
MySQL ____ is a tool for performing administrative operations, such as monitoring the status and performance of MySQL.
A)Supervisor
B)Performer
C)Administrator
D)Monitor
A)Supervisor
B)Performer
C)Administrator
D)Monitor
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
51
In the MySQL Query Browser, the ____ Browser allows you to save queries that you use frequently.
A)Bookmarks
B)Information
C)Save
D)Params
A)Bookmarks
B)Information
C)Save
D)Params
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
52
In the MySQL Query Browser, the ____ Browser lets you browse all the previously created queries during your session.
A)Bookmarks
B)Object
C)Information
D)History
A)Bookmarks
B)Object
C)Information
D)History
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
53
____ is the process of making multiple copies of the database.
A)Replication
B)Concurrency
C)Distribution
D)Redundancy
A)Replication
B)Concurrency
C)Distribution
D)Redundancy
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
54
____ is a data interchange format that allows you to exchange data between dissimilar systems or applications.
A)HTML
B)CSV
C)RTF
D)XML
A)HTML
B)CSV
C)RTF
D)XML
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
55
A(n)____________________ file contains unformatted data.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
56
The ____________________ command checks a table for errors, such as identifying corrupt tables resulting from not being closed properly.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
57
The ____________________ is a separate MySQL program that you can use to create and execute queries using a graphical user interface.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
58
In MySQL Administrator, you can use the ____ section to monitor database performance.
A)Health
B)Server Information
C)Service Control
D)Server Logs
A)Health
B)Server Information
C)Service Control
D)Server Logs
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
59
In the MySQL Query Browser, the MySQL ____ Editor lets you view and change the columns in a table and their data types.
A)Column
B)Table
C)Script
D)Data
A)Column
B)Table
C)Script
D)Data
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
60
The ____________________ command recovers unused space caused by fragmented files.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
61
What is the difference between the EXPLAIN command and the PROCEDURE ANALYSE()function?
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
62
Explain why it is necessary to have procedures in place to back up and restore a database.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
63
The process of returning a database to its correct state after data has been damaged or destroyed is called ____________________.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
64
The ____________________ Browser provides a quick reference to MySQL query syntax.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
65
In the MySQL Query Browser, query results appear in the ____________________ on tabbed pages.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
66
In the MySQL Query Browser, the ____________________ provides another way to create and edit scripts.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
67
The ____________________ Browser lists all queries that make up a single transaction.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
68
The ____________________ section of MySQL Administrator allows you to view catalogs, databases, and tables.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
69
A(n)_________________________ file is a text file in which values are enclosed in quotation marks and separated by commas.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
70
To back up a database using MySQL Administrator, use the ____________________ section.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
71
____________________ files are text files that are used for creating and formatting web pages.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
72
Identify three ways to ensure that table designs are as efficient as possible.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
73
The ____________________ Browser displays all databases on the MySQL server to which you are connected.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
74
The ____________________ Browser is a quick reference to the built-in functions available in MySQL.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck
75
The ____________________ Browser provides parameters that can help you build queries.
Unlock Deck
Unlock for access to all 75 flashcards in this deck.
Unlock Deck
k this deck