In the query given above which one of the following is a temporary relation?
WITH max_budget (VALUE) AS
(SELECT MAX(budget)
FROM department)
SELECT budget
FROM department, max_budget
WHERE department.budget = MAX budget.value;
Budget
Department
Value
Max_budget
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Which of the following is not an aggregate function?
Solution |
2
Discuss
|
How can you find rows that do not match some specified condition?
Solution |
3
Discuss
|
Solution |
4
Discuss
|
Subqueries cannot:
Solution |
5
Discuss
|
The ________ keyword is used to access attributes of preceding tables or subqueries in the from clause.
Solution |
6
Discuss
|
SQL applies predicates in the _______ clause after groups have been formed, so aggregate functions may be used.
Solution |
7
Discuss
|
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.
Solution |
8
Discuss
|
Which of the following creates a temporary relation for the query on which it is defined?
Solution |
9
Discuss
|
The EXISTS keyword will be true if:
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved