


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























โ Which design type specifies database requirements without regard to a specific database system? Physical design Conceptual design Logical design Abstract design Answer: Conceptual design โ Which requirement within large, complex databases ensures users have limited access to the database?
Recovery Performance Authorization Confidentiality Answer: Authorization โ 3. What characterizes the rules of relational databases?
โ 6. Which text-based interface is included in the MySQL Server Download? MySQL Command-Line Client MySQL Workbench MySQL Enterprise MySQL Community Answer: MySQL Command-Line Client โ 7. Which database system includes the World database during its installation? MySQL MongoDB Oracle PostgreSQL Answer: MySQL
โ 8. What is the standardized language of relational database systems? Contextual Query Language Structured Query Language Select Query Language Object Query Language Answer: Structured Query Language โ 9. Which SQL sublanguage is used to manage database access? Data Definition Language (DDL) Data Query Language (DQL) Data Manipulation Language (DML) Data Control Language (DCL)
hh:mm:ss YYYY-MM-DD Answer: hh:mm:ss โ 12. Which MySQL operator is the last in the order of operator precedence?
OR NOT = Answer: OR โ 13. Which operator is used to compare columns from the left and right tables in MySQL? <=
Answer: = โ 14. Which type of join combines two tables without comparing columns? SELF EQUIJOIN OUTER CROSS Answer: CROSS โ 15. Which type of join compares columns using only the = operator? Equijoin
โ 17. What is another name for a subquery? Outer query Nested query Correlated query Search query Answer: Nested query โ 18. Which operator is used to compare against a list of values when determining a match in a WHERE clause? IN BETWEEN LIKE
Answer: IN โ 19. Which wildcard character is used to represent zero or more characters when searching for a specified pattern using a LIKE operator? % _ < > Answer: % โ 20. Which function is considered an aggregating function in SQL? TRIM
Full Join Outer Join Equijoin Inner Join Answer: Inner Join โ 23. Which join type selects only matching left and right table rows? Full Join Left Join Right Join Inner Join Answer: Inner Join
โ 24. Which phrase refers to the view in which data is persisted and is automatically changed as the underlying data is changed? Virtual View Snapshot View Denormalized View Materialized View Answer: Materialized View โ 25. Which SQL command uses the correct syntax to update the salary of an employee in the Employee table? CHANGE Employee Salary = 50000 WHERE ID = 1; UPDATE Employee SET Salary = 50000 WHERE ID = 1; ALTER Employee SET Salary = 50000 WHERE ID = 1; UPDATE Employee (Salary) = (50000) WHERE ID = 1;
Tuple Answer: Tuple โ 28. Which SQL command uses the correct syntax to select the name and salary columns from the Employee table where the salary is greater than 50000, and sort the results by salary in descending order?
INSERT INTO table_name (column1, column2) SET value1, value2; INSERT INTO table_name VALUES (value1, value2); INSERT INTO table_name (column1, column2) VALUES (value1, value2); INSERT INTO table_name SET column1 = value1, column2 = value2; Answer: INSERT INTO table_name (column1, column2) VALUES (value1, value2); โ 30. Which UPDATE statement uses valid syntax in SQL? UPDATE table_name column_name= value1 WHERE condition UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition; UPDATE SET column1 = value1, column2 = value2 WHERE condition IN table_name; UPDATE table_name SET column_name = value Answer: UPDATE table_name SET column1 = value1, column2 = value2 WHERE condition; โ 31. Which statement used to remove data from temporary tables?
โ 33. Which property is enforced by a primary key field? Not Null Null Duplicate Numeric Answer: Not Null โ 34. Which property or function allows SQL to insert a field value? Composite Simple Auto-increment Numeric Answer: Auto-increment
โ 35. Which property specifies an expression on one or more columns of a table? CHECK RESTRICT CASCADE UNIQUE Answer: CHECK โ 36. Which type of key is a single column in a table used to identify a row? Super key Simple primary key Foreign key Composite primary key