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. DML

  2. DDL

  3. DCL

  4. None of above

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

PL/SQL is an extension of SQL that allows for procedural logic. It supports DML (Data Manipulation Language) commands like SELECT, INSERT, UPDATE, and DELETE.

Multiple choice
  1. DML

  2. TCL

  3. SQL

  4. DCL

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

PL/SQL is a procedural extension of SQL. It supports all SQL statements, including DML and DCL, by embedding them directly into its procedural blocks.

Multiple choice
  1. CEST

  2. CAST

  3. CUST

  4. None of above

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

CAST is a standard SQL function used to convert a value from one data type to another, which is used within SQL statements.