Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

What is the full form of SQL?

  • Structured Query List
  • Structure Query Language
  • Simple Query Language
  • None of the above
Solutions
Question - 2

What is DDL command stands for?

  • Data definition language
  • Data delectation language
  • Data Defined language
  • None of the above
Solutions
Question - 3

 Which of the following is not a DDL command?

  • DROP
  • ALTER
  • TRUNCATE
  • UPDATE
Solutions
Question - 4

Which of the following is not a valid SQL type?

  • FLOAT
  • NUMERIC
  • DECIMAL
  • CHARACTER
Solutions
Question - 5

Which of the following are TCL commands?

  • COMMIT and ROLLBACK
  • UPDATE and TRUNCATE
  • SELECT and INSERT
  • GRANT and REVOKE
Solutions
Question - 6

Which  is not a category of SQL command.

  • TCL
  • DDL
  • DCL
  • SCL
Solutions
Question - 7

Which of the following do you need to consider when you make a table in SQL?

  • Data types
  • Primary keys
  • Default values
  • All the above
Solutions
Question - 8

Which of the following SQL clauses is used to DELETE tuples from a database table?

  • DELETE
  • REMOVE
  • DROP
  • CLEAR
Solutions
Question - 9

Which operator is used to compare a value to a specified list of values?

  • BETWEEN
  • IN
  • LIKE
  • COMP
Solutions
Question - 10

How many Primary keys can have in a table?

  • 1
  • 2
  • As much as we want
  • None the these
Solutions
Question - 11

Which of the following is not Constraint in SQL?

  • Primary Key
  • Check
  • Not Null
  • Union
Solutions
Question - 12

A database language used for defining the whole database structure and schema is called

  • DDL
  • DML
  • DCL
  • None of the above
Solutions
Question - 13

Which of the following is not a valid aggregate function?

  • COUNT
  • CAL
  • SUM
  • MAX
Solutions
Question - 14

What operator tests column for absence of data

  • IS NULL Operator
  • NOT Operator
  • == NULL Operator
  • IS EMPTY Operator
Solutions
Question - 15

Which of the following operations requires the relations to be union compatible?

  • UNIONB
  • INTERSECTION
  • DIFFERENCED
  • ALL OF THESE
Solutions
Question - 16

How many types of subquery are in SQL Server?

  • 2
  • 3
  • 4
  • 5
Solutions
Question - 17

How many types of indexes In SQL Server?

  • 2
  • 3
  • 4
  • 5
Solutions
Question - 18

What is a stored procedure?

  • Stored Procedure is a function
  • Stored Procedure is a SQL statement
  • Stored Procedure is a function consists of many SQL statement
  • None of these
Solutions
Question - 19

What is the difference between DELETE and TRUNCATE commands?

  • TRUNCATE removes single single rows from the table, whereas DELETE used for delete all rows from a table
  • DELETE use for delete a table whereas TRUNCATE use for delete database
  • DELETE can removes a single row with where condition but TRUNCATE Can not delete single row
  • None of the above
Solutions
Question - 20

SQL Views are also known as

  • Simple tables
  • Complex tables
  • Virtual tables
  • Real Tables
Solutions
Tags:
60+ Best SQL Interview Questions, SQL MCQ questions for placement,SQL interview questions, Previously asked SQL Questions, Frequently asked SQL Questions,SQL Questions for TCS, SQL Interview Questions for Freshers, SQL Interview Questions for Experience, Accenture SQL Interview Questions, SQL Objective Questions for Interview,


Practice More sets Questions