Home > Databases > Quizzes > RDBMS Basics Practice Test: Intermediate and Advanced SQL
RDBMS Basics Practice Test: Intermediate and Advanced SQL
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 83% Most missed: “The operation of changing a dimensions used in a cross-tab is called as ________”
Quiz on join expressions, views and transactions, integrity constraints, SQL data types, OLAP and relational algebra. Intermediate-advanced SQL is a level of proficiency that goes beyond the basics of Structured Query Language (SQL). It involves a deeper understanding of the language and its functions, as well as the ability to write complex queries and manipulate large databases.  Some intermediate SQL queries include: Filters: WHERE and HAVING filters If-then: CASE WHEN and COALESCE Set operators: UNION, INTERSECT, and EXCEPT Self joins: Joining a table with itself Window functions:... Show more
RDBMS Basics Practice Test: Intermediate and Advanced SQL
Time left 00:00
25 Questions

1. ________ is a predicate that we expect the database to always satisfy
2. create view studentdet
select ID, address, name
from student;
What is the result of the above query?
3. What statement is used to define a new assertion in SQL?
4. The operation of moving from finer granular data to coarser granular data is called _______
5. What is the full form of JDBC?
6. Which of the following is/are a function of dynamic SQL?
7. What does the following condition do?
check( name in( ‘Ryan’, ‘Cristiano’, ‘Leo’))
8. What does the following statement do?
create table temp_inst like institute
9. What does p indicate in the following data type?
time(p)
10. The _______ function allows substitution of values in an attribute of a tuple
11. State true or false: Users can define new data types in SQL
12. The collections on which aggregate functions can operate are called as __________
13. Πcustomer_name, loan_number, amount (borrower ⋈loan)
What does the above expression perform?
14. Which of the following is an illegal data type in SQL
15. What is the functions of on delete cascade?
16. Which of the following is not an integrity constraint?
17. If the actual relations used in the view definition change, the view is updated immediately. Such views are called _________
18. What is a default value?
19. What is the function of a right outer join?
20. Which of the following is not a valid Date and Time data type?
21. State true or false: There exists a division operator in Relational Algebra
22. The _______ statement makes the updates performed by the transaction permanent.
23. State true or false: OLAP systems can be implemented as client-server systems
24. The project operation’s function in relational algebra is identical to the _______ clause in SQL
25. revoke select on takes from amit;
What does the above query perform?