Computer Knowledge

Database and SQL

4,213 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. True

  2. False

  3. Can't say

  4. Sometimes

  5. None of these

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

MS-Access allows objects (tables, queries, forms, reports, macros, and modules) to be renamed by right-clicking and selecting Rename, or by selecting and pressing F2. The statement is false because renaming is a standard feature available for all database objects in Access.

Multiple choice
  1. projection operation

  2. join operation

  3. rename operation

  4. selection operation

  5. delete operation

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

‘AS’ clause is used in SQL for rename operation.

Multiple choice
  1. DDL only

  2. DML only

  3. DCL only

  4. DDL, DML and DCL

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

This is the right answer because SQL commands fall into three categories like DDL (Data Definition Language), DML (Date Manipulation Language) and DCL (Data Control Language). All these categories are a part of the SQL commands and SQL commands are also terminated by a semicolon (;) in Oracle. So, this is the right answer.