Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 14 pages
Exam (elaborations)

DBMS || Answered Perfectly 100%.

Document preview thumbnail
Preview 2 out of 14 pages

Margaret creates a transaction within a transaction. Her first (outermost) transaction rolls back data and the second (innermost) transaction commits data. What will be the outcome? correct answers Both transactions are rolled back. What is acid properties of dbms transaction? correct answers atomicity, consistency, isolation, and durability Aggregate functions correct answers avg, min, max, sum, count To combine multiple retrievals, we write several SELECT statements and put the keyword between them. What is the keyword? correct answers UNION All changes made in a transaction are ____ once it commits correct answers visible which clause is used to sort a union result as a whole correct answers ORDER BY If you SELECT attributes and use an aggregate function, you must GROUP BY the non-aggregate attributes. True/False? correct answers TRUE Aggregate functions can be used in the select list or the_______clause of a select statement or subquery. They cannot be used in a __ clause correct answers HAVING, WHERE Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword is used for this? correct answers LIMIT The sequence of the columns in a GROUP BY clause has no effect in the ordering of the output.

Content preview

DBMS || Answered Perfectly 100%.


Margaret creates a transaction within a transaction. Her first (outermost) transaction rolls back
data and the second (innermost) transaction commits data. What will be the outcome? correct
answers Both transactions are rolled back.


What is acid properties of dbms transaction? correct answers atomicity, consistency, isolation,
and durability


Aggregate functions correct answers avg, min, max, sum, count


To combine multiple retrievals, we write several SELECT statements and put the keyword
between them. What is the keyword? correct answers UNION


All changes made in a transaction are ____ once it commits correct answers visible


which clause is used to sort a union result as a whole correct answers ORDER BY


If you SELECT attributes and use an aggregate function, you must GROUP BY the non-
aggregate attributes. True/False? correct answers TRUE


Aggregate functions can be used in the select list or the_______clause of a select statement or
subquery. They cannot be used in a __ clause correct answers HAVING, WHERE


Suppose it is desired that UNION operation should return not more than 3 rows. Which keyword
is used for this? correct answers LIMIT


The sequence of the columns in a GROUP BY clause has no effect in the ordering of the output.
True/False? correct answers False

, The column names in the result of a UNION (of tables) are always equal to the column names in
the 1st SELECT statement with the UNION operator. correct answers True


The entire transaction takes place at once or doesn't happen at all correct answers Atomicity
property


The database must be consistent before and after the transaction correct answers consistency
property


Multiple transactions occur independently without interference correct answers isolation
property


The changes of a successful transaction occurs even if the system failure occurs correct answers
durability property


_ marks the end of a successful implicit or explicit transaction. correct answers COMMIT
WORK


What is the significance of the statement "HAVING COUNT (emp_id)>2" in the given query?
correct answers Filter out all rows whose total emp_id below 2 & Selecting those rows whose
total emp_id > 2


"COUNT" keyword belongs to which categories in Mysql? correct answers Aggregate functions


You need to find the salaries for all the employees who have a higher salary than the Vice
President of a company 'ABC'.Which of the following queries will give you the required result?
correct answers SELECT first_name, last_name, salary
FROM employees
WHERE salary > (SELECT salary
FROM employees

Document information

Uploaded on
August 20, 2025
Number of pages
14
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.79

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton
3.7
(118)
Sold
789
Followers
438
Items
39711
Last sold
2 days ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions