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 programming concept check: does a function return exactly one value and use only output parameters (with no inputs)? Clarify what is typically allowed for function parameters across SQL and procedural languages.
Transaction behavior: when AUTOCOMMIT is ON, are changes committed automatically at the end of each SQL statement?
UNION rules: must each SELECT in a UNION return the same number of columns with union-compatible data types?
Join basics: is the most common operation that combines rows from related tables into one result an equality-based join (equi-join)?
Trigger behavior: are database triggers stored programs that must be called explicitly in order to run, or do they fire automatically when their event occurs?
Transaction control: does ROLLBACK WORK instruct SQL to “empty the log file,” or does it simply undo uncommitted changes in the current transaction?
Set operations: does the UNION clause combine the outputs of multiple queries into a single result set?
Subquery depth: can SQL subqueries be nested multiple levels deep (subject to practical and vendor limits)?
Join types: is an outer join the same as an equi-join except that one duplicate column is omitted in the result?
1
2