Chapter 6 Relational Algebra and SQL MCQs 15 min Score: 0 Attempted: 0/15 Subscribe 1. Which of the following is not a built-in aggregate function in SQL? (A) Avg (B) Max (C) Count (D) TotalShow All Answers 2. The _____ aggregation operation adds up all the values of the attribute? (A) Add (B) Sum (C) Max (D) AvgShow All Answers 3. What values does the count (*) function ignore? (A) Repetitive values (B) Integers (C) Characters (D) Null valuesShow All Answers 4. Which of the following is not a valid aggregate function? (A) COUNT (B) SUM (C) COMPUTE (D) MAXShow All Answers 5. Which data manipulation command is used to combines the records from one or more tables? (A) JOIN (B) PROJECT (C) SELECT (D) PRODUCTShow All Answers 6. Which type of JOIN is used to returns rows that do not have matching values? (A) Outer JOIN (B) Natural JOIN (C) EQUI JOIN (D) All of the aboveShow All Answers 7. Which of the following is not a DDL command? (A) UPDATE (B) TRUNCATE (C) ALTER (D) None of the MentionedShow All Answers 8. ___ is not a category of Database language. (A) TCL (B) DDL (C) DCL (D) SCLShow All Answers 9. DCL provides commands to perform actions like (A) Change the structure of Tables (B) Authorizing Access and other control over Database (C) Insert, Update or Delete Records and Values (D) None of AboveShow All Answers 10. The result of a SQL SELECT statement is a ______. (A) file (B) report (C) form (D) tableShow All Answers 11. Which of the following do you need to consider when you make a table in SQL? (A) All of the above (B) Primary keys (C) Default values (D) Data typesShow All Answers 12. Which of the following are TCL commands? (A) COMMIT and ROLLBACK (B) UPDATE and TRUNCATE (C) SELECT and INSERT (D) GRANT and REVOKEShow All Answers 13. Relational Algebra is a __________ query language that takes two relations as input and produces another relation as an output of the query. (A) Relational (B) Procedural (C) Structural (D) FundamentalShow All Answers 14. Which of the following is a fundamental operation in relational algebra? (A) Set intersection (B) Natural Join (C) Assignment (D) SelectShow All Answers 15. The ___________ operation, denoted by −, allows us to find tuples that are in one relation but are not in another. (A) Union (B) Intersection (C) Difference (D) Set-differenceShow All Answers