MCQs on SQL

Ques 1

MPESB Police Constable 2023

DBMS में, 'MERGE' ___________ का SQL स्टेटमेंट है।

In DBMS, 'MERGE' is the SQL statement of ___________.

[A] DDL

[B] DML

[C] DAL

[D] DSL

Correct Answer : DML


Ques 2

कौन सा कथन सत्य नहीं है?

Which statement is not true?

[A] SQL is rational whereas No-SQL is non-rational.

[B] SQL follows BASE Model whereas No-SQL follows ACID Model.

[C] SQL database are vertically scalable whereas No-SQL database are horizontally scalable.

[D] No-SQL databases are preferable to store hierarchical data in comparison SQL databases.

Correct Answer : SQL follows BASE Model whereas No-SQL follows ACID Model.


Ques 3

निम्नलिखित में से कौन सा SQL स्टेटमेंट नहीं है?

Which of the following is not an SQL Statement?

[A] SELECT Statement

[B] UPDATE Statement

[C] TRUNCATE TABLE Statement

[D] FROM Statement

Correct Answer : FROM Statement


Ques 4

HP-JOA-IT 2021

SQL SELECT कथन में निम्नलिखित में से कौन सा खंड दी गई शर्तों के अनुसार पंक्तियों को फ़िल्टर करने के लिए उपयोग किया जाता है?

Which of the following clauses in SQL SELECT statement is used to filter the rows s per the given conditions ?

[A] WHERE

[B] ORDER BY

[C] FROM

[D] GROUP BY

Correct Answer : WHERE


Ques 5

HP-JOA-IT 2021

निम्नलिखित में से कौन सा SQL कथन किसी तालिका में नया कॉलम जोड़ने के लिए उपयोग किया जाता है?

Which of the following SQL statements is used to add a new column in a table ?

[A] CHANGE TABLE

[B] UPDATE TABLE

[C] TRUNCATE TABLE

[D] ALTER TABLE

Correct Answer : ALTER TABLE


Ques 6

HP-JOA-IT 2021

निम्नलिखित में से कौन सा एक DDL SQL कमांड है?

Which of the following is a DDL SQL command ?

[A] INSERT

[B] CREATE

[C] DELETE

[D] UPDATE

Correct Answer : CREATE


Ques 7

HP-JOA-IT 2021

निम्नलिखित में से कौन सा रिलेशनल डेटाबेस प्रबंधन प्रणाली नहीं है?

Which of the following is not a relational database management system?

[A] Oracle

[B] SQL-Server

[C] MangoDB

[D] MySQL

Correct Answer : MySQL


Ques 8

MPESB Group-4 2023

_________ क्लॉज़ एक अतिरिक्त फ़िल्टर है जो SQL स्टेटमेंट में सेट परिणाम पर लागू होता है।

The __________ clause is an additional filter that is applied to the result set in a SQL statement.

[A] Group by

[B] Order by

[C] Having

[D] Select

Correct Answer : Having


Ques 9

UPPCL AA 2021

एसक्यूएल का पूर्ण रूप क्या है?

What is the full form of SQL?

[A] Structured Queuing Language

[B] Structured Query Language

[C] Structured Queuing Lexicon

[D] Simple Query Language

Correct Answer : Structured Query Language


Ques 10

Chhattisgarh ITI 2023

निम्नलिखित में से कौन सा NoSQL डेटाबेस प्रकार है?

Which of the following is a NoSQL Database type?

[A] For Loop

[B] Do While Loop

[C] Do Until Loop

[D] Continue For

Correct Answer : Continue For


Ques 11

CTS COPA 2024

मौजूदा दृश्य पर हमारी क्वेरी को सफलतापूर्वक निष्पादित करने की क्या आवश्यकता है?

What is the need for our query to execute successfully on an existing view?

[A] The specified table must contain data

[B] We should have a SELECT privilege only on the specified table

[C] The specified table must be in the same database or schema

[D] We must have a SELECT privilege on the view

Correct Answer : We must have a SELECT privilege on the view


Ques 12

CTS COPA 2024

डीएमएल का फुल फॉर्म क्या है?

What is full form of DML?

[A] Data Multiplication Language

[B] Data Manipulation Language

[C] Data Modify Language

[D] Data Mapping Language

Correct Answer : Data Multiplication Language


Ques 13

CTS COPA 2024

डीडीएल का फुल फॉर्म क्या है?

What is full form of DDL?

[A] Data Describe Language

[B] Definition Data Language

[C] Data Definition Language

[D] Data Distinct Language

Correct Answer : Data Definition Language


Ques 14

JSSC - CGL-2023

निम्नलिखित में से कौन सी भाषा विशेष रूप से डेटाबेस के साथ संचार करने के लिए डिज़ाइन की गई है?

Which of the following language is specifically designed for communicating with a database ?

[A] HTML

[B] Assembler

[C] Structured query language

[D] filter

Correct Answer : Structured query language


Ques 15

I A -2011

Choose the correct meaning of SQL statement ? Select*from r4r_emp;

Choose the correct meaning of SQL statement ? Select*from r4r_emp;

[A] Select all columns from the table

[B] Select all records from the table

[C] Select first four attributes from the table

[D] None of the above

Correct Answer : Select all records from the table


Ques 16

OSSC CGL 2022

SQL का विस्तार क्या है?

What is the expansion of SQL?

[A] Symbolic Query Language

[B] Structured Query Language

[C] Systematic Query Language

[D] Statements Query Language

Correct Answer : Structured Query Language


Ques 17

SSC Scientific Assistant CS 2017

SQL सर्वर में इंडेक्स का उद्देश्य क्या है?

What is the purpose of index in sql server?

[A] To enhance the query performance

[B] To provide an index to a record

[C] To perform fast searches

[D] All options are correct

Correct Answer : All options are correct


Ques 18

SSC Scientific Assistant CS 2017

किसी तालिका से सभी पंक्तियों को हटाने के लिए किस कमांड का उपयोग किया जाता है?

Which command is used to remove all rows from a table?

[A] Delete

[B] Remove

[C] Truncate

[D] Both 'Delete' and 'Remove'

Correct Answer : Truncate


Ques 19

SSC Scientific Assistant CS 2017

किसी मौजूदा टेबल में कॉलम जोड़ने के लिए किस कमांड का उपयोग किया जाता है?

Which command is used to add a column to an existing table?

[A] Create

[B] Update

[C] Alter

[D] None of these

Correct Answer : Alter


Ques 20

SSC Scientific Assistant CS 2017

उपयोगकर्ता परिभाषित डेटा प्रकार का उपयोग करके बनाया जा सकता है

The user defined data type can be created using

[A] Create datatype

[B] Create data

[C] Create define type

[D] Create type

Correct Answer : Create type


Ques 21

SSC Scientific Assistant CS 2017

SQL में स्ट्रिंग के अंत में रिक्त स्थान निम्नलिखित में से किस फ़ंक्शन द्वारा हटा दिए जाते हैं?

In SQL the spaces at the end of the string are removed by which of the following functions?

[A] Upper

[B] String

[C] Trim

[D] Lower

Correct Answer : Trim


Ques 22

SSC Scientific Assistant CS 2017

नीचे दिए गए SQL में, त्रुटि की पहचान करें।

In the SQL given below, identify the error.

Select * from employee where dept_name= "Comp Sci";  

[A] Dept_name

[B] Employee

[C] "Comp Sci"

[D] From

Correct Answer : "Comp Sci"


Ques 23

SSC Scientific Assistant CS 2017

नीचे दिया गया कमांड निम्नलिखित में से कौन सा कार्य करता है?

Which of the following actions does the command given below perform?

[A] Remove relation

[B] Clear relation entries

[C] Delete fields

[D] Delete rows

Correct Answer : Clear relation entries


Ques 24

SSC Scientific Assistant CS 2017

निम्नलिखित किस प्रकार का कथन है?

What type of statement is the following?

Create table employee (name varchar ,id integer);

[A] DML

[B] DDL

[C] View

[D] Integrity constraint

Correct Answer : DDL


Ques 25

COMPUTER OPERATOR 2022

चौथी पीढ़ी की प्रोग्रामिंग भाषा का एक उदाहरण _______ है।

An example of fourth generation programming language is _______.

[A] C

[B] COBOL

[C] MERCURY

[D] SQL

Correct Answer : SQL


Ques 26

COMPUTER OPERATOR 2022

कम्प्यूटर ज्ञान के संदर्भ में, SQL का तात्पर्य _____________ है।

In terms of computer knowledge, SQL stands for _____________.

[A] Structured Query Longitude

[B] Scripted Query Language

[C] Simple Query Language

[D] Structured Query Language

Correct Answer : Structured Query Language


Ques 27

COMPUTER OPERATOR 2022

SQL में, ROLLBACK का प्रयोग _________ के लिए किया जाता है।

In SQL, ROLLBACK is used to _________.

[A] Undo all the previous changes

[B] Cut changes

[C] Paste changes

[D] End changes

Correct Answer : Undo all the previous changes


Ques 28

COMPUTER OPERATOR 2022

SQL में किसी तालिका में कॉलम/अखंडता बाधा जोड़ने के लिए किस कमांड का उपयोग किया जाता है?

Which command is used to add a column/integrity constraint to a table in SQL?

[A] Alter Table

[B] Insert Column

[C] Modify Table

[D] All of these

Correct Answer : Alter Table


Ques 29

COMPUTER OPERATOR 2022

SQL सर्वर में कितने कॉड नियम हैं?

How many Codd’s rules are there in SQL server?

[A] 10

[B] 11

[C] 12

[D] 13

Correct Answer : 12


Ques 30

COMPUTER OPERATOR 2022

SQL में TRUNCATE कमांड का उपयोग __________ के लिए किया जाता है

TRUNCATE command in SQL is used to __________

[A] Delete data from table

[B] Alter data from table

[C] Modify data from table

[D] All of these

Correct Answer : Delete data from table


Ques 31

HPSSSB Computer Operator 2020

रिलेशनल डेटाबेस में निम्नलिखित में से कौन सी बाधा संदर्भित अखंडता को लागू करने के लिए उपयोग की जाती है?

Which of the following constraints in relational databases is used to enforce referential integrity ?

[A] NOT NULL

[B] FOREIGN KEY

[C] UNIQUE

[D] PRIMARY KEY

Correct Answer : FOREIGN KEY


Ques 32

Programmer -2013

SQL कथन निष्पादन के दौरान पाई गई त्रुटियाँ.

Errors discovered during SQL statement execution cause.

[A] Statement-level rollback

[B] Table-level rollback

[C] Deadlock

[D] both (A) and (B

Correct Answer : Statement-level rollback


Ques 33

DSSSB Patwari -2019

निम्नलिखित में से कौन सा SQL कमांड किसी डेटाबेस की तालिका से सभी रिकॉर्ड्स को हटाने के लिए उपयोग किया जाता है?

Which of the following SQL commands is used to delete all the records from the table of a database ?

[A] Delete

[B] Drop

[C] Purge

[D] Truncate

Correct Answer : Truncate


Ques 34

DSSSB Patwari 2019

निम्नलिखित में से कौन सा SQL कमांड डेटाबेस से किसी तालिका को हटाने के लिए उपयोग किया जाता है?

Which of the following SQL commands is used to delete a table from a database?

[A] Delete

[B] Drop

[C] Purge

[D] Truncate

Correct Answer : Drop


Ques 35

MPESB -2023

निम्नलिखित में से कौन सी क्वेरी भाषा MySQL, ORACLE और SQL सर्वर सहित महत्वपूर्ण रिलेशनल डेटाबेस प्रबंधन प्रणालियों द्वारा सबसे अधिक व्यापक रूप से उपयोग की जाती है?

Which of the following query languages is most widely used by significant relational database management systems, including MySQL, ORACLE, and SQL Server?

[A] RDMS

[B] SQL

[C] HTML

[D] NoSQL

Correct Answer : SQL


Ques 36

MPESB -2023

_____________ एक की (KEY) है जिसका उपयोग SQL डेटाबेस में दो टेबल को एक साथ जोड़ने के लिए किया जाता है।

The ______ is a key used to link two tables together in SQL Database.

[A] Foreign Key

[B] Secondary Key

[C] Composite Key

[D] Primary Key

Correct Answer : Foreign Key


Ques 37

MPESB -2023

SQL व्यूज का दूसरा नाम है?

Another name for SQL views is?

[A] Simple table

[B] Actual Tables

[C] Complex tables

[D] Virtual tables

Correct Answer : Virtual tables


Ques 38

MPESB-2023

अनुपलब्ध या अज्ञात मान का प्रतिनिधित्व करने के लिए SQL किस विशेष मूल्य का समर्थन करता है?

What special value SQL supports to represent a missing or unknown value?

[A] NOT NULL

[B] INSERT INTO

[C] NULL

[D] STRING

Correct Answer : NULL


Ques 39

MPESB-2023

ओरेकल में, सेगमेंट के बारे में कौन-सा कथन सही है?

In oracle, which statement is true about segments?

[A] Each table has its own segment

[B] A segment is created every time an extent is created, extended or altered

[C] An index segment is created every time a table is created

[D] A segment is deleted whenever a table is truncated

Correct Answer : A segment is created every time an extent is created, extended or altered


Ques 40

HPSSSB -2018

SQL SELECT कथनों में निम्नलिखित में से कौन सा खंड दी गई शर्त के अनुसार क्वेरी की परिणामी पंक्तियों को फ़िल्टर करने के लिए उपयोग किया जाता है?

Which of the following clauses in SQL SELECT statements is used to filter the resultant rows of the query as per the given condition ?

[A] FROM

[B] GROUP BY

[C] ORDER BY

[D] WHERE

Correct Answer : WHERE


Ques 41

HPSSSB -2018

निम्नलिखित में से कौन सा DDL SQL कमांड है?

Which of the following is a DDL SQL command ?

[A] DELETE

[B] UPDATE

[C] INSERT

[D] CREATE

Correct Answer : CREATE


Ques 42

HPSSSB -2018

निम्नलिखित में से कौन सी SQL क्वेरी 'emp' तालिका से उन सभी कर्मचारियों का विवरण प्राप्त करने के लिए सही है जो 25000 से अधिक वेतन प्राप्त कर रहे हैं?

Which of the following is the correct SQL query to fetch the details of all employees from the ‘emp’ table who are getting more than 25000 as salary ?

[A] SELECT * FROM emp GETTING salary > 25000;

[B] SELECT * FROM emp WITH salary > 25000;

[C] SELECT * FROM emp HAVING salary > 25000;

[D] SELECT * FROM emp WHERE salary > 25000;

Correct Answer : SELECT * FROM emp WHERE salary > 25000;


Ques 43

HPSSSB -2018

निम्न में से कौन सा SQL कथन किसी तालिका कॉलम की चौड़ाई बदलने के लिए उपयोग किया जाता है?

Which of the following SQL statements is used to change the width of a table column ?

[A] UPDATE TABLE

[B] TRUNCATE TABLE

[C] ALTER TABLE

[D] CHANGE TABLE

Correct Answer : ALTER TABLE


Ques 44

HPSSSB -2018

SQL आधारित RDBMS में ______ डेटा प्रकार परिवर्तनीय लंबाई का वर्ण डेटा रख सकता है।

The ______ data type in SQL based RDBMS can hold character data of variable lengths.

[A] CHAR

[B] VARCHAR

[C] STRING

[D] DOUBLE

Correct Answer : VARCHAR


Ques 45

BIHAR STET-2023

निम्नलिखित में से कौन सा वैध SQL कमांड है?

Which of the following is a valid SQL command ?

[A] cin

[B] cout

[C] tuple

[D] select

Correct Answer : select


Ques 46

BIHAR STET-2023

SQL में DCL कमांड कौन सा है?

Which one is a DCL command in SQL ?

[A] UPDATE

[B] SELECT

[C] DELETE

[D] GRANT

Correct Answer : GRANT


Ques 47

BIHAR STET-2023

निम्नलिखित में से कौन सा SQL कमांड डेटा देखने के लिए उपयोग किया जाता है?

Which of the following SQL commands is used to view data ?

[A] CREATE

[B] INSERT

[C] SELECT

[D] UPDATE

Correct Answer : SELECT


Ques 48

BIHAR STET-2023

____________ डेटा क्वेरी करने और ट्यूपल्स को सम्मिलित करने, बदलने और हटाने की क्षमता प्रदान करता है।

____________ offers the ability to query the data and insert, alter, and delete tuples.

[A] Transaction Control Language (TCL)

[B] Data Control Language (DCL)

[C] Data Definition Language (DDL)

[D] Data Manipulation Language (DML)

Correct Answer : Data Manipulation Language (DML)


Ques 49

BIHAR STET-2023

SQL में डेटाबेस से डेटा पुनर्प्राप्त करने के लिए किस कथन का उपयोग किया जाता है?

Which statement is used to retrieve data from a database in SQL?

[A] SELECT

[B] UPDATE

[C] DELETE

[D] INSERT

Correct Answer : SELECT


Ques 50

BIHAR STET-2023

SQL में डेटाबेस से डेटा पुनर्प्राप्त करने के लिए किस कथन का उपयोग किया जाता है?

Which statement is used to retrieve data from a database in SQL?

[A] SELECT

[B] UPDATE

[C] DELETE

[D] INSERT

Correct Answer : SELECT


Latest Updates