On Mysql | More Q&A Click Here
| # | Question | Options | Answer |
|---|---|---|---|
| 1 | SQL data definition commands make up a(n) ________ | DDL | |
| 2 | ORDER BY can be combined with the SELECT statements. | True | |
| 3 | Which of the following is true concerning triggers? | They have an event, condition, and action. | |
| 4 | The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T | Cartesian join | |
| 5 | How many tables may be included with a join? | All of the above | |
| 6 | Which of the following is a correlated subquery? | Uses the result of an outer query to determine the processing of an inner query. | |
| 7 | RDBMS is an acronym for | Relational Database Management System | |
| 8 | A query is also a type of | Filter | |
| 9 | A row in a table represents | Record | |
| 10 | The entire collection of related data in a place is referred to as a | Table | |
| 11 | The process of joining data from two or more tables of the same or different databases is called | Merging | |
| 12 | The process of limiting the information that appears on the screen is | Filtering | |
| 13 | You can add a row using SQL in a database with which of the following? | INSERT | |
| 14 | The command to remove rows from a table CUSTOMER is: | DELETE FROM CUSTOMER WHERE | |
| 15 | The SQL WHERE clause | limits the row data are returned. | |
| 16 | The wildcard in a WHERE clause is useful when? | An exact match is not possible in a SELECT statement | |
| 17 | A view is which of the following? | A virtual table that can be accessed via SQL commands | |
| 18 | The command to eliminate a table from a database is: | DROP TABLE CUSTOMER | |
| 19 | ON UPDATE CASCADE ensures which of the following? | Data Integrity | |
| 20 | Which of the following is valid SQL for an Index? | CREATE INDEX ID | |
| 21 | The SQL keyword(s) ________ is used with wildcards. | LIKE only | |
| 22 | Which of the following is the correct order of keywords for SQL SELECT statements? | SELECT, FROM, WHERE | |
| 23 | The result of a SQL SELECT statement is a | table | |
| 24 | Which of the following are the five built-in functions provided by SQL? | COUNT, SUM, AVG, MAX, MIN | |
| 25 | The HAVING clause does which of the following? | Acts like a WHERE clause but is used for groups rather than rows. | |
| 26 | To remove duplicate rows from the results of an SQL SELECT statement, the ________ qualifier specified must be included. | DISTINCT | |
| 27 | Which of the following do you need to consider when you make a table in SQL? | All of the above | |
| 28 | SQL query and modification commands make up a | DML | |
| 29 | When three or more AND and OR conditions are combined, it is easier to use the SQL keyword(s) | Both IN and NOT IN | |
| 30 | Which one of the following sorts rows in SQL? | ORDER BY | |
| 31 | To define what columns should be displayed in an SQL SELECT statement: | use FROM to name the source table(s) and list the columns to be shown after SELECT | |
| 32 | SQL can be used to: | All of the above can be done by SQL | |
| 33 | The SQL statement that queries or reads data from a table is | SELECT | |
| 34 | The SQL keyword BETWEEN is used: | for ranges. | |
| 35 | A subquery in an SQL SELECT statement: | has a distinct form that cannot be duplicated by a join. | |
| 36 | The primary key is selected from the: | candidate keys. | |
| 37 | Which of the following is a group of one or more attributes that uniquely identifies a row? | Key | |
| 38 | When the values in one or more attributes being used as a foreign key must exist in another set of one or more attributes in another table, we have created | referential integrity constraint. | |
| 39 | A relation is considered a: | two-dimensional table | |
| 40 | In the relational model, relationships between relations or tables are created by using: | foreign keys. | |
| 41 | A functional dependency is a relationship between or among: | attributes. | |
| 42 | Which of the following is not a restriction for a table to be a relation? | The columns must be ordered. | |
| 43 | A key: | identifies a row. | |
| 44 | An attribute is a | column of a table. | |
| 45 | Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following problems? | The inconsistent values problem | |
| 46 | Most of the time, modification anomalies are serious enough that tables should be normalized into: | BCNF | |
| 47 | Which of the following data constraints would be used to specify that the value of cells in a column must be one of a specific set of possible values? | A domain constraint | |
| 48 | A primary key should be defined as: | NOT NULL | |
| 49 | Which of the following column properties would be used to specify that cells in a column must contain a monetary value? | Data type | |
| 50 | A foreign key is: | a column containing the primary key of another table. | |
| 51 | Which of the following columns is(are) are required in a table? | A primary key | |
| 52 | In a 1:1 relationship, the foreign key is placed in: | either table without specifying parent and child tables. | |
| 53 | The identifier of an entity will become the ________ of the new table. | primary key | |
| 54 | A unique, DBMS-supplied identifier used as the primary key of a relation is called a | surrogate key. | |
| 55 | Each entity is represented as a(n) | table. | |
| 56 | What type of join is needed when you wish to include rows that do not have matching values? | Outer join | |
| 57 | Which of the following is true concerning a procedure? | They include procedural and SQL statements. | |
| 58 | A CASE SQL statement is which of the following? | A way to establish an IF-THEN-ELSE in SQL. | |
| 59 | Which of the following statements is true concerning routines and triggers? | Both consist of procedural code. | |
| 60 | What type of join is needed when you wish to return rows that do have matching values? | All of the above. | |
| 61 | What is the process of defining more than one method in a class differentiated by method signature? | Function overloading |
On Mysql