Computer Knowledge

Database and SQL

3,929 Questions

Master structured query language commands, database joins, table constraints, and alias generation. This section covers relational database management concepts and query outputs essential for technical aptitude. These technical questions feature prominently in banking IT officer exams and computer knowledge sections.

SQL queries and aliasesDatabase table constraintsDatabase joins and transformationsStored procedures and functions

Database and SQL Questions

Multiple choice
  1. COMMIT

  2. DROP

  3. ROLLBACK

  4. SAVEPOINT

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

ROLLBACK is the SQL command that undoes all changes made during the current transaction, restoring the database to its state before the transaction began. COMMIT permanently saves changes, while DROP deletes database objects and SAVEPOINT marks intermediate points within a transaction.