Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Advanced SQL Questions
Database Triggers — Core Characteristics Which statement correctly describes a fundamental property of database triggers across mainstream relational database systems?
Relational Joins — Including Unmatched Rows When you want a query to include rows that do not have matching values in the other table, which type of join should you use in standard SQL?
Relational Joins — Returning Only Matching Rows When you want a query result set to include only rows that have matching values in both tables, which join type is the standard choice?
Embedded SQL — What Does the Term Mean? In application development, what does embedded SQL refer to in practice?
SQL Subqueries — Core Truths Which statement accurately describes a fundamental property of subqueries in SQL?
Identify the Join Type from SQL Consider the SQL statement: SELECT CUSTOMER_T.CUSTOMER_ID, ORDER_T.CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T, ORDER_T WHERE CUSTOMER_T.CUSTOMER_ID = ORDER_T.CUSTOMER_ID Which join type best describes this query?
In SQL (ANSI/ISO SQL-92 and later), what does a UNION query do? Choose the most accurate description of how UNION combines result sets.
Relational querying: which of the following is a basic built-in approach to join tables to produce combined rows?
Stored program objects: which statement accurately describes a database procedure?
RDBMS system metadata: which statements about “system information” are generally true?
Conditional logic in SQL: what is the purpose of the CASE expression in standard SQL?
Routines vs. triggers: which statement correctly contrasts their execution behavior and usage in a relational database?
Given the SQL: SELECT CUSTOMER_T.CUSTOMER_ID, ORDER_T.CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T, ORDER_T; — what type of join is produced when no join predicate is supplied?
How many tables can participate in a single SQL query using joins in a relational database?
Correlated subqueries: which description correctly captures how a correlated subquery operates within an SQL SELECT?
Join usage guidance: Is the joining technique useful for retrieving and displaying data from several relations even when the relationships among those relations are not nested (that is, not strictly hierarchical)?
Join predicate count: When joining multiple tables, should there be one join condition in the WHERE/ON clause for each pair of tables being joined (that is, for every combination of two tables)?
ACID basics: Is a transaction the complete set of closely related update operations that must all succeed together or all fail together for the database to remain valid?
Subquery classification: Is a correlated subquery defined by the situation in which the outer query depends on data produced by the inner query, or is it the other way around?
Centralized administration: Is the code that defines triggers and stored routines typically stored once in the database catalog and administered centrally, rather than being scattered across every client application?
1
2