Sunteți pe pagina 1din 24

y Question 1

0.1 out of 0.1 points The LENGTH column in the MARINA_SLIP table in the Alexamara Marina Group stores the length of the slip in feet. Answer Selected Answer: Correct Answer: True True

Question 2

0 out of 0.1 points Because Premiere Products wants the flexibility to quote and charge different prices to different customers, the QUOTED_PRICE column is included in the ORDER_LINE table. Answer Selected Answer: Correct Answer: False True

Question 3

0.1 out of 0.1 points The customers name and address and the number of the sales rep who represents the customer are stored with sales rep information. Answer Selected Answer: Correct Answer: False False

Question 4

0.1 out of 0.1 points The ORDER_LINE table in the Premiere Products database contains information about the date an order was placed. Answer Selected Answer: Correct Answer: False False

Question 5

0.1 out of 0.1 points In the Henry Books database. the AUTHOR table contains the author's number, name, and address. Answer Selected Answer: Correct Answer: False False

Question 6

0.1 out of 0.1 points SQL stands for Syntactical Question Language. Answer Selected Answer: Correct Answer: False False

Question 7

0.1 out of 0.1 points To work with a database in a computer, you must use a database management system. Answer Selected Answer: Correct Answer: True True

Question 8

0.1 out of 0.1 points Each branch of Henry Books has a number that uniquely identifies the branch. Answer Selected Answer: Correct Answer: True True

Question 9

0.1 out of 0.1 points

The Henry Books database uses a two-digit number to represent the publisher code. Answer Selected Answer: Correct Answer: False False

Question 10

0.1 out of 0.1 points Each row in the ORDER_LINE table has an order number, part number, number ordered, quoted price, and total amount. Answer Selected Answer: Correct Answer: False False

Question 11

0.1 out of 0.1 points The BRANCH table is used to indicate the number of copies of a particular book that are currently on hand at a particular branch of Henry Books. Answer Selected Answer: Correct Answer: False False

Question 12

0 out of 0.1 points At Alexamara Marina Group, marina slips are numbered within each section. Answer Selected Answer: Correct Answer: False True

Question 13

0.1 out of 0.1 points Each author is uniquely identified by his or her AUTHOR_NUM. Answer

Selected Answer: Correct Answer:

True True

Question 14

0.1 out of 0.1 points In MySQL, the data type STRING(n) stores a character string n characters long. Answer Selected Answer: Correct Answer: False False

Question 15

0 out of 0.1 points When you enter a new row into a table or modify an existing row, the values for one or more columns can be unknown or unavailable. Answer Selected Answer: Correct Answer: False True

Question 16

0.1 out of 0.1 points The MySQL Reference Manual provides more detailed help. Answer Selected Answer: Correct Answer: True True

Question 17

0.1 out of 0.1 points If the CREATE TABLE command is executed more than once for the same table, MySQL overwrites the table with the newest data description. Answer Selected Answer: Correct Answer: False False

Question 18

0.1 out of 0.1 points In SQL, you use the NOT NULL clause in a CREATE TABLE command to indicate columns that cannot contain null values. Answer Selected Answer: Correct Answer: True True

Question 19

0.1 out of 0.1 points To run the command(s) in a script file in MySQL, type SOURCE followed by the filename. Answer Selected Answer: Correct Answer: True True

Question 20

0.1 out of 0.1 points In MySQL, you type the command at the mysql> prompt and press the Run key at the end of each line. Answer Selected Answer: Correct Answer: False False

Question 21

0.1 out of 0.1 points Dropping a table also deletes any data that you entered into the table. Answer Selected Answer: Correct Answer: True True

Question 22

0.1 out of 0.1 points When adding rows to character columns, make sure you enclose the values in double quotation marks. Answer Selected Answer: Correct Answer: False False

Question 23

0.1 out of 0.1 points MySQL does not require a password. Answer Selected Answer: Correct Answer: False False

Question 24

0.1 out of 0.1 points BRANCH&BOOK is a valid name for a table in MySQL. Answer Selected Answer: Correct Answer: False False

Question 25

0.1 out of 0.1 points The USE command is executed at the start of every session to activate the database. Answer Selected Answer: Correct Answer: True True

Question 26

0.1 out of 0.1 points The WHERE clause applies to both rows and groups. Answer

Selected Answer: Correct Answer:

False False

Question 27

0.1 out of 0.1 points In a SELECT statement, the FROM clause and the WHERE clause (when used) must appear on separate lines. Answer Selected Answer: Correct Answer: False False

Question 28

0.1 out of 0.1 points Preceding a condition by the NOT operator reverses the truth of the original condition. Answer Selected Answer: Correct Answer: True True

Question 29

0.1 out of 0.1 points An arithmetic column is a column that does not exist in the database but can be computed using data in existing columns. Answer Selected Answer: Correct Answer: False False

Question 30

0 out of 0.1 points MySQL supports only the <> version of the not equal to comparison operator. Answer Selected Answer: Correct Answer: True False

Question 31

0.1 out of 0.1 points Sometimes a condition involves a column that can accept null values. Answer Selected Answer: Correct Answer: True True

Question 32

0.1 out of 0.1 points After the word FROM in a SELECT statement, you list any conditions (restrictions) that apply to the data you want to retrieve. Answer Selected Answer: Correct Answer: False False

Question 33

0.1 out of 0.1 points You cannot change the order of the columns to be displayed in query results. Answer Selected Answer: Correct Answer: False False

Question 34

0.1 out of 0.1 points The UNIQUE operator eliminates duplicate values in a query. Answer Selected Answer: Correct Answer: False False

Question 35

0.1 out of 0.1 points

There are no special formatting rules in MySQL. Answer Selected Answer: Correct Answer: True True

Question 36

0.1 out of 0.1 points When you connect two or more simple conditions with the AND operator, each condition must be listed on a separate line. Answer Selected Answer: Correct Answer: False False

Question 37

0 out of 0.1 points When you query a database, there is a defined order in which the results are displayed. Answer Selected Answer: Correct Answer: True False

Question 38

0 out of 0.1 points You can use the ALL and ANY operators with subqueries to produce a single column of numbers. Answer Selected Answer: Correct Answer: False True

Question 39

0.1 out of 0.1 points One reason for using an alias is simplicity. Answer

Selected Answer: Correct Answer:

True True

Question 40

0 out of 0.1 points To produce the same results as the MINUS operator, use NOT, the IN operator and a subquery. Answer Selected Answer: Correct Answer: False True

Question 41

0.1 out of 0.1 points There are three types of inner joins. Answer Selected Answer: Correct Answer: False False

Question 42

0.1 out of 0.1 points You must use a comma or a period to separate a table name from its alias. Answer Selected Answer: Correct Answer: False False

Question 43

0.1 out of 0.1 points When using a DBMS without an optimizer, the formulation of a query can make a difference in the speed with which the query is executed.. Answer Selected Answer: Correct Answer: True True

Question 44

0.1 out of 0.1 points In small databases, there is a significant time difference between different query approaches. Answer Selected Answer: Correct Answer: False False

Question 45

0.1 out of 0.1 points To ensure that query results are listed in a desired order, use the ORDER BY clause. Answer Selected Answer: Correct Answer: True True

Question 46

0 out of 0.1 points It is easy to create a product inadvertently by omitting the WHERE clause when you are attempting to join tables. Answer Selected Answer: Correct Answer: False True

Question 47

0 out of 0.1 points One reason for using an alias is when you are joining a table to itself. Answer Selected Answer: Correct Answer: False True

Question 48

0 out of 0.1 points

When joining tables, it is always necessary to qualify a column name. Answer Selected Answer: Correct Answer: True False

Question 49

0.1 out of 0.1 points To produce the same results as the INTERSECT operator, use the BETWEEN operator and a subquery. Answer Selected Answer: Correct Answer: False False

Question 50

0 out of 0.1 points You can join tables by using a condition in the WHERE clause. Answer Selected Answer: Correct Answer: False True

y Question 1
0.1 out of 0.1 points The WROTE table in the Henry Books database relates publishers and books. Answer Selected Answer: Correct Answer: False False

Question 2

0.1 out of 0.1 points In the Henry Books database. the AUTHOR table contains the author's number, name, and address. Answer Selected Answer: Correct Answer: False False

Question 3

0.1 out of 0.1 points The BOOK table at Henry Books includes the author number. Answer Selected Answer: Correct Answer: False False

Question 4

0.1 out of 0.1 points SQL stands for Syntactical Question Language. Answer Selected Answer: Correct Answer: False False

Question 5

0.1 out of 0.1 points

The Premiere Products database includes four tables. Answer Selected Answer: Correct Answer: False False

Question 6

0.1 out of 0.1 points Premiere Products sells software, hardware, and appliances. Answer Selected Answer: Correct Answer: False False

Question 7

0 out of 0.1 points The Unix operating system is an example of a popular open source program. Answer Selected Answer: Correct Answer: True False

Question 8

0.1 out of 0.1 points Each branch of Henry Books has a number that uniquely identifies the branch. Answer Selected Answer: Correct Answer: True True

Question 9

0 out of 0.1 points The Premiere Products order form was not created in MySQL. Answer Selected Answer: Correct Answer: False True

Question 10

0 out of 0.1 points The Alexamara Marina Group database uses two uppercase letters to represent an owner number. Answer Selected Answer: Correct Answer: True False

Question 11

0.1 out of 0.1 points In some database systems, the word order has a special purpose. Answer Selected Answer: Correct Answer: True True

Question 12

0.1 out of 0.1 points Each row in the ORDER_LINE table has an order number, part number, number ordered, quoted price, and total amount. Answer Selected Answer: Correct Answer: False False

Question 13

0.1 out of 0.1 points The overall order total is stored in the Premiere Products database. Answer Selected Answer: Correct Answer: False False

Question 14

0 out of 0.1 points

In MySQL, you can display the data vertically rather than horizontally. Answer Selected Answer: Correct Answer: False True

Question 15

0.1 out of 0.1 points To run the command(s) in a script file in MySQL, type SOURCE followed by the filename. Answer Selected Answer: Correct Answer: True True

Question 16

0 out of 0.1 points SQL was developed as the data manipulation language for IBMs prototype relational model DBMS, System R. Answer Selected Answer: Correct Answer: False True

Question 17

0.1 out of 0.1 points To edit an SQL command, type EDIT at the mysql prompt.. Answer Selected Answer: Correct Answer: False False

Question 18

0.1 out of 0.1 points MySQL uses the term current database to refer to the database to which all subsequent commands pertain. Answer

Selected Answer: Correct Answer:

False False

Question 19

0.1 out of 0.1 points The CREATE DATABASE command is executed only once for a database. Answer Selected Answer: Correct Answer: True True

Question 20

0 out of 0.1 points When you enter a new row into a table or modify an existing row, the values for one or more columns can be unknown or unavailable. Answer Selected Answer: Correct Answer: False True

Question 21

0.1 out of 0.1 points BRANCH&BOOK is a valid name for a table in MySQL. Answer Selected Answer: Correct Answer: False False

Question 22

0.1 out of 0.1 points In MySQL, you type the command at the mysql> prompt and press the Run key at the end of each line. Answer Selected Answer: Correct Answer: False False

Question 23

0.1 out of 0.1 points To list all the columns in a table, use the LIST COLUMNS command. Answer Selected Answer: Correct Answer: False False

Question 24

0.1 out of 0.1 points The data type indicates the type of data that a column can contain as well as the maximum number of characters or digits that the column can store. Answer Selected Answer: Correct Answer: True True

Question 25

0.1 out of 0.1 points This text uses MySQL version 5.0. Answer Selected Answer: Correct Answer: False False

Question 26

0.1 out of 0.1 points To sort records in descending order, follow the name of the sort key with the REVERSE operator. Answer Selected Answer: Correct Answer: False False

Question 27

0.1 out of 0.1 points

There are no special formatting rules in MySQL. Answer Selected Answer: Correct Answer: True True

Question 28

0.1 out of 0.1 points Sometimes a condition involves a column that can accept null values. Answer Selected Answer: Correct Answer: True True

Question 29

0.1 out of 0.1 points The BETWEEN operator is an essential feature of SQL. Answer Selected Answer: Correct Answer: False False

Question 30

0.1 out of 0.1 points Aggregate functions apply to groups of rows. Answer Selected Answer: Correct Answer: True True

Question 31

0.1 out of 0.1 points The UNIQUE operator eliminates duplicate values in a query. Answer Selected Answer: Correct Answer: False False

Question 32

0.1 out of 0.1 points An arithmetic column is a column that does not exist in the database but can be computed using data in existing columns. Answer Selected Answer: Correct Answer: False False

Question 33

0.1 out of 0.1 points The only arithmetic operators that can be used in SELECT statements are + for addition and - for subtraction. Answer Selected Answer: Correct Answer: False False

Question 34

0.1 out of 0.1 points The WHERE clause is used to limit the rows that are included in a querys result. Answer Selected Answer: Correct Answer: True True

Question 35

0.1 out of 0.1 points The DISTINCT operator is useful when used in conjunction with the COUNT function. Answer Selected Answer: Correct Answer: True True

Question 36

0.1 out of 0.1 points

The COUNT function only applies to columns with numeric values. Answer Selected Answer: Correct Answer: False False

Question 37

0.1 out of 0.1 points All SELECT statements require a WHERE clause. Answer Selected Answer: Correct Answer: False False

Question 38

0.1 out of 0.1 points There is only one approach to joining tables. Answer Selected Answer: Correct Answer: False False

Question 39

0.1 out of 0.1 points You can use the ALL and ANY operators with subqueries to produce a single column of numbers. Answer Selected Answer: Correct Answer: True True

Question 40

0.1 out of 0.1 points When joining tables, it is always necessary to qualify a column name. Answer Selected Answer: False

Correct Answer:

False

Question 41

0.1 out of 0.1 points In small databases, there is a significant time difference between different query approaches. Answer Selected Answer: Correct Answer: False False

Question 42

0.1 out of 0.1 points The product operation is commonly used. Answer Selected Answer: Correct Answer: False False

Question 43

0.1 out of 0.1 points You can join tables by using a condition in the WHERE clause. Answer Selected Answer: Correct Answer: True True

Question 44

0.1 out of 0.1 points You can use MySQL to create a nested subquery. Answer Selected Answer: Correct Answer: True True

Question 45

0.1 out of 0.1 points There are three types of inner joins. Answer Selected Answer: Correct Answer: False False

Question 46

0.1 out of 0.1 points You can perform special operations within SQL. Answer Selected Answer: Correct Answer: True True

Question 47

0.1 out of 0.1 points When using a DBMS without an optimizer, the formulation of a query can make a difference in the speed with which the query is executed.. Answer Selected Answer: Correct Answer: True True

Question 48

0 out of 0.1 points It is permissible to qualify all column names in a query. Answer Selected Answer: Correct Answer: False True

Question 49

0.1 out of 0.1 points To produce the same results as the MINUS operator, use NOT, the IN operator and a subquery.

Answer Selected Answer: Correct Answer: True True

Question 50

0 out of 0.1 points Occasionally, a self-join might involve the primary key of a table. Answer Selected Answer: Correct Answer: False True

S-ar putea să vă placă și