Connection restored!
Notification Center
Loading notifications...
Loading announcements...
INCOMING 1v1 DUEL! 10:00
@friend challenged you!
Topic · Room #HQ-0000
Accept & Join
Mention Scholar ↑↓ Enter / Click
Last time you were studying on Page 2.
STUDY & LEARNING DECK

Govt Exam PYQs

Showing 25 of 4040 total questions (Latest Added First).

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

Try clearing filters or unchecking "Saved" / "Hide".

Question 1601 NEW
Most Important EASY
Which SQL aggregate function returns the HIGHEST value in a numeric column?
कौन सा SQL एग्रीगेट फंक्शन किसी संख्यात्मक कॉलम में सबसे बड़ा मान लौटाता है?
A
`TOP()`
`TOP()`
B
`HIGH()`
`HIGH()`
C
`MAX()`
`MAX()`
Correct
D
`LARGE()`
`LARGE()`
Solution Breakdown:
-> `SELECT MAX(marks) FROM students;` returns the single highest score in the `marks` column. -> Hence, Option (C) is the correct answer.
-> किसी कॉलम का अधिकतम मान निकालने के लिए `MAX()` फंक्शन का उपयोग होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1602 NEW
Most Important EASY
Which keyword is used with `ORDER BY` to sort query results from highest to lowest?
क्वेरी के परिणामों को सबसे बड़े से सबसे छोटे (अवरोही) क्रम में सॉर्ट करने के लिए `ORDER BY` के साथ किस कीवर्ड का उपयोग होता है?
A
`DOWN`
`DOWN`
B
`DESC`
`DESC`
Correct
C
`LOW`
`LOW`
D
`REVERSE`
`REVERSE`
Solution Breakdown:
-> `ORDER BY salary DESC` arranges rows from the highest salary down to the lowest. -> Hence, Option (B) is the correct answer.
-> अवरोही (घटते) क्रम में सॉर्ट करने के लिए `DESC` कीवर्ड का उपयोग किया जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1603 NEW
Most Important EASY
What is the default sorting order of the `ORDER BY` clause in SQL?
SQL में `ORDER BY` क्लॉज़ का डिफ़ॉल्ट सॉर्टिंग क्रम क्या होता है?
A
Descending (`DESC`)
अवरोही (घटता क्रम)
B
Ascending (`ASC`)
आरोही (बढ़ता क्रम)
Correct
C
Random
अनियमित
D
Reverse
उल्टा
Solution Breakdown:
-> If neither `ASC` nor `DESC` is mentioned, `ORDER BY` automatically sorts results in Ascending order (A–Z or smallest to largest). -> Hence, Option (B) is the correct answer.
-> यदि कोई क्रम न लिखा जाए, तो `ORDER BY` डिफ़ॉल्ट रूप से आरोही (`ASC`) क्रम में सॉर्ट करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1604 NEW
Most Important EASY
Which SQL clause is used to filter rows based on a specific condition?
किसी विशेष शर्त के आधार पर पंक्तियों को फ़िल्टर करने के लिए किस SQL क्लॉज़ का उपयोग किया जाता है?
A
`FROM`
`FROM`
B
`WHERE`
`WHERE`
Correct
C
`ORDER BY`
`ORDER BY`
D
`VALUES`
`VALUES`
Solution Breakdown:
-> The `WHERE` clause extracts only those records that fulfill a specified condition (e.g., `WHERE marks > 80`). -> Hence, Option (B) is the correct answer.
-> `WHERE` क्लॉज़ केवल उन्हीं रिकॉर्ड्स को दिखाता है जो दी गई शर्त को पूरा करते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1605 NEW
Most Important EASY
Which symbol is used with `SELECT` to fetch ALL columns of a table?
किसी टेबल के सभी कॉलम (All columns) को एक साथ देखने के लिए `SELECT` के साथ किस चिह्न का उपयोग किया जाता है?
A
`#`
`#`
B
`*`
`*`
Correct
C
`&`
`&`
D
`@`
`@`
Solution Breakdown:
-> Writing `SELECT * FROM students;` retrieves every column and row from the `students` table. -> Hence, Option (B) is the correct answer.
-> `SELECT` के साथ एस्टेरिस्क (`*`) लगाने से टेबल के सभी कॉलम आउटपुट में आ जाते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1606 NEW
Most Important EASY
What is "data about data" in a database called?
डेटाबेस में "डेटा के बारे में डेटा" को क्या कहा जाता है?
A
Metadata
मेटाडेटा
Correct
B
Big Data
बिग डेटा
C
Raw Data
रॉ डेटा
D
Microdata
माइक्रोडेटा
Solution Breakdown:
-> Metadata describes the structure of the database itself—such as table names, column data types, and key constraints. -> Hence, Option (A) is the correct answer.
-> मेटाडेटा डेटाबेस की संरचना (टेबल के नाम, कॉलम के प्रकार आदि) का विवरण रखता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1607 NEW
Most Important EASY
What does "RDBMS" stand for?
"RDBMS" का पूर्ण रूप क्या होता है?
A
Real Database Management System
रियल डेटाबेस मैनेजमेंट सिस्टम
B
Rapid Data Base Memory System
रैपिड डेटा बेस मेमोरी सिस्टम
C
Relational Database Management System
रिलेशनल डेटाबेस मैनेजमेंट सिस्टम
Correct
D
Random Database Management Software
रैंडम डेटाबेस मैनेजमेंट सॉफ्टवेयर
Solution Breakdown:
-> RDBMS stands for Relational Database Management System—software that manages databases based on related tables (like MySQL, Oracle, SQL Server). -> Hence, Option (C) is the correct answer.
-> RDBMS का पूर्ण रूप 'रिलेशनल डेटाबेस मैनेजमेंट सिस्टम' है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1608 NEW
Most Important EASY
In RDBMS terminology, what is another technical name for a "Table"?
RDBMS शब्दावली में "टेबल" का दूसरा तकनीकी नाम क्या होता है?
A
Tuple
टपल
B
Attribute
एट्रिब्यूट
C
Relation
रिलेशन
Correct
D
Domain
डोमेन
Solution Breakdown:
-> In the relational model, a Table is formally called a "Relation", a Row is a "Tuple", and a Column is an "Attribute". -> Hence, Option (C) is the correct answer.
-> रिलेशनल मॉडल में टेबल को 'रिलेशन', पंक्ति को 'टपल' और स्तंभ को 'एट्रिब्यूट' कहा जाता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1609 NEW
Most Important EASY
What is an organized collection of interrelated data stored electronically called?
इलेक्ट्रॉनिक रूप से स्टोर किए गए आपस में जुड़े डेटा के व्यवस्थित संग्रह को क्या कहा जाता है?
A
Compiler
कंपाइलर
B
Database
डेटाबेस
Correct
C
Browser
ब्राउज़र
D
Flowchart
फ्लोचार्ट
Solution Breakdown:
-> A Database stores structured information electronically so it can be easily accessed, managed, and updated by users or software. -> Hence, Option (B) is the correct answer.
-> डेटाबेस संबंधित जानकारी का एक व्यवस्थित इलेक्ट्रॉनिक संग्रह होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1610 NEW
Most Important EASY
Who is known as the "Father of Relational Database Management Systems (RDBMS)"?
"रिलेशनल डेटाबेस मैनेजमेंट सिस्टम (RDBMS) के जनक" के रूप में किसे जाना जाता है?
A
E. F. Codd
ई. एफ. कॉड
Correct
B
Dennis Ritchie
डेनिस रिची
C
Charles Babbage
चार्ल्स बैबेज
D
Tim Berners-Lee
टिम बर्नर्स-ली
Solution Breakdown:
-> Edgar F. Codd proposed the Relational Database Model in 1970 while working at IBM, laying the foundation for all modern SQL databases. -> Hence, Option (A) is the correct answer.
-> एडगर एफ. कॉड ने 1970 में IBM में काम करते हुए रिलेशनल डेटाबेस मॉडल का प्रस्ताव रखा था। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1611 NEW
Most Important EASY
Which statement best summarizes why MySQL is one of the world's most popular Relational Database Management Systems?
कौन सा कथन सबसे अच्छी तरह बताता है कि MySQL दुनिया के सबसे लोकप्रिय रिलेशनल डेटाबेस मैनेजमेंट सिस्टम में से एक क्यों है?
A
It is open-source, fast, reliable, ACID-compliant (via InnoDB), cross-platform, and integrates seamlessly with Java, Python, PHP, and cloud platforms
यह ओपन-सोर्स, तेज़, विश्वसनीय, ACID-अनुपालक (InnoDB द्वारा), क्रॉस-प्लेटफॉर्म है और Java, Python, PHP व क्लाउड के साथ आसानी से जुड़ता है
Correct
B
It works only without SQL
यह केवल बिना SQL के काम करता है
C
It cannot store text or dates
यह टेक्स्ट या तारीख स्टोर नहीं कर सकता
D
It runs only on MS-DOS
यह केवल MS-DOS पर चलता है
Solution Breakdown:
-> MySQL powers millions of websites, enterprise applications, and cloud databases worldwide due to its speed, reliability, and strong community support. -> Hence, Option (A) is the correct answer.
-> अपनी गति, सुरक्षा और ओपन-सोर्स प्रकृति के कारण MySQL दुनिया भर की लाखों वेबसाइटों और एप्लिकेशनों का आधार है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1612 NEW
Most Important EASY
Which SQL clause is used in MySQL to prevent returning 1,000,000 rows by mistake and instead fetch only a small page of results?
गलती से लाखों पंक्तियाँ लोड होने से बचने और केवल एक छोटा परिणाम सेट (जैसे 20 पंक्तियाँ) प्राप्त करने के लिए MySQL में किस क्लॉज़ का उपयोग किया जाता है?
A
`LIMIT`
`LIMIT`
Correct
B
`STOP`
`STOP`
C
`CUT`
`CUT`
D
`END`
`END`
Solution Breakdown:
-> Adding `LIMIT 20` caps the query output to at most 20 rows, keeping web applications fast and responsive. -> Hence, Option (A) is the correct answer.
-> `LIMIT` क्लॉज़ क्वेरी से आने वाली पंक्तियों की संख्या को सीमित करके एप्लिकेशन को तेज़ रखता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1613 NEW
Most Important MEDIUM
Match the MySQL Command with its Action: 1. `SHOW TABLES;` — (a) Exports database backup to `.sql` file 2. `DESC students;` — (b) Selects a database to work in 3. `USE school_db;` — (c) Lists all tables in the current database 4. `mysqldump` — (d) Displays column names, types, and keys of `students`
MySQL कमांड को उसके कार्य से सुमेलित करें: 1. `SHOW TABLES;` — (a) डेटाबेस का बैकअप `.sql` फाइल में एक्सपोर्ट करता है 2. `DESC students;` — (b) काम करने के लिए डेटाबेस चुनता है 3. `USE school_db;` — (c) वर्तमान डेटाबेस की सभी टेबल्स की सूची दिखाता है 4. `mysqldump` — (d) `students` टेबल के कॉलम, प्रकार और कीज़ दिखाता है
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-c, 2-b, 3-d, 4-a
1-c, 2-b, 3-d, 4-a
C
1-c, 2-d, 3-b, 4-a
1-c, 2-d, 3-b, 4-a
Correct
D
1-d, 2-c, 3-b, 4-a
1-d, 2-c, 3-b, 4-a
Solution Breakdown:
-> Correct matches: `SHOW TABLES` (Lists tables), `DESC` (Shows table structure), `USE` (Selects DB), `mysqldump` (Backup utility). -> Hence, Option (C) is the correct answer.
-> सही मिलान: 1-c, 2-d, 3-b, 4-a। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1614 NEW
Most Important MEDIUM
Match the MySQL Function with its Category: 1. `CONCAT()` — (a) Date/Time Function 2. `NOW()` — (b) Aggregate Function 3. `ROUND()` — (c) String Function 4. `AVG()` — (d) Math / Numeric Function
MySQL फंक्शन को उसकी श्रेणी से सुमेलित करें: 1. `CONCAT()` — (a) डेट/टाइम फंक्शन 2. `NOW()` — (b) एग्रीगेट फंक्शन 3. `ROUND()` — (c) स्ट्रिंग फंक्शन 4. `AVG()` — (d) गणितीय फंक्शन
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-c, 2-a, 3-d, 4-b
1-c, 2-a, 3-d, 4-b
Correct
C
1-c, 2-d, 3-a, 4-b
1-c, 2-d, 3-a, 4-b
D
1-b, 2-a, 3-d, 4-c
1-b, 2-a, 3-d, 4-c
Solution Breakdown:
-> Correct matches: `CONCAT()` (String), `NOW()` (Date/Time), `ROUND()` (Math), `AVG()` (Aggregate). -> Hence, Option (B) is the correct answer.
-> सही मिलान: 1-c, 2-a, 3-d, 4-b। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1615 NEW
Most Important EASY
Identify the ODD one out from the following SQL functions:
निम्नलिखित SQL फंक्शंस में से विषम की पहचान करें:
A
`SUM()`
`SUM()`
B
`AVG()`
`AVG()`
C
`MAX()`
`MAX()`
D
`TRIM()`
`TRIM()`
Correct
Solution Breakdown:
-> `SUM()`, `AVG()`, and `MAX()` are Aggregate Functions operating on multiple rows, whereas `TRIM()` is a String Function operating on a single text value. -> Hence, Option (D) is the correct answer.
-> `TRIM()` एक स्ट्रिंग फंक्शन है, जबकि बाकी तीनों एग्रीगेट फंक्शन हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 1616 NEW
Most Important EASY
Identify the ODD one out from the following MySQL functions:
निम्नलिखित MySQL फंक्शंस में से विषम की पहचान करें:
A
`UPPER()`
`UPPER()`
B
`LOWER()`
`LOWER()`
C
`CONCAT()`
`CONCAT()`
D
`CURDATE()`
`CURDATE()`
Correct
Solution Breakdown:
-> `UPPER()`, `LOWER()`, and `CONCAT()` are String functions, whereas `CURDATE()` is a Date/Time function. -> Hence, Option (D) is the correct answer.
-> `CURDATE()` एक डेट/टाइम फंक्शन है, जबकि बाकी तीनों स्ट्रिंग फंक्शन हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 1617 NEW
Most Important MEDIUM
Evaluate the following statements about SQL/MySQL: (I) `WHERE` clause can directly use aggregate functions like `SUM(salary) > 50000`. (II) `HAVING` clause is used to filter grouped results after `GROUP BY`.
SQL/MySQL के बारे में निम्नलिखित कथनों का मूल्यांकन करें: (I) `WHERE` क्लॉज़ सीधे `SUM(salary) > 50000` जैसे एग्रीगेट फंक्शन का उपयोग कर सकता है। (II) `HAVING` क्लॉज़ का उपयोग `GROUP BY` के बाद समूहों को फ़िल्टर करने के लिए होता है।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
B
Only (I) is true
केवल (I) सत्य है
C
Only (II) is true
केवल (II) सत्य है
Correct
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Statement (I) is false because `WHERE` cannot use aggregate functions directly. Statement (II) is true. -> Hence, Option (C) is the correct answer.
-> कथन (I) असत्य है और कथन (II) सत्य है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1618 NEW
Most Important MEDIUM
Evaluate the following statements about MySQL: (I) `SHOW DATABASES;` lists all databases on the MySQL server. (II) `InnoDB` is MySQL's default storage engine and supports ACID transactions.
MySQL के बारे में निम्नलिखित कथनों का मूल्यांकन करें: (I) `SHOW DATABASES;` MySQL सर्वर पर मौजूद सभी डेटाबेस की सूची दिखाता है। (II) `InnoDB` MySQL का डिफ़ॉल्ट स्टोरेज इंजन है और ACID ट्रांज़ैक्शन को सपोर्ट करता है।
A
Only (I) is true
केवल (I) सत्य है
B
Only (II) is true
केवल (II) सत्य है
C
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
Correct
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Both statements are completely accurate MySQL facts. -> Hence, Option (C) is the correct answer.
-> दोनों कथन बिल्कुल सही हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1619 NEW
Most Important MEDIUM
What is "Collation" in MySQL (e.g., `utf8mb4_general_ci`)?
MySQL में "कोलेशन" (Collation) क्या होता है?
A
The set of rules that defines how text characters are compared and sorted (e.g., `_ci` means Case-Insensitive comparison)
नियमों का वह समूह जो तय करता है कि टेक्स्ट अक्षरों की तुलना और सॉर्टिंग कैसे होगी (जैसे `_ci` का अर्थ केस-इनसेंसिटिव तुलना है)
Correct
B
Compressing a table
टेबल को कंप्रेस करना
C
Backing up a database
डेटाबेस का बैकअप लेना
D
Counting rows
पंक्तियाँ गिनना
Solution Breakdown:
-> Because default MySQL collations end in `_ci` (case-insensitive), `'Delhi'` and `'delhi'` match as equal in `WHERE` comparisons unless a `_cs` (case-sensitive) or `_bin` collation is used. -> Hence, Option (A) is the correct answer.
-> कोलेशन टेक्स्ट की तुलना और सॉर्टिंग के नियम तय करता है (`_ci` = केस-इनसेंसिटिव, `_cs` = केस-सेंसिटिव)। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1620 NEW
Most Important EASY
What is the default character set in modern MySQL 8.0 that fully supports all global languages (including Hindi/Devanagari) and 4-byte Emojis?
आधुनिक MySQL 8.0 में डिफ़ॉल्ट कैरेक्टर सेट कौन सा है जो हिंदी और इमोजी सहित सभी वैश्विक भाषाओं को पूरी तरह सपोर्ट करता है?
A
`utf8mb4`
`utf8mb4`
Correct
B
`ascii`
`ascii`
C
`latin1`
`latin1`
D
`cp1252`
`cp1252`
Solution Breakdown:
-> `utf8mb4` supports full 4-byte UTF-8 Unicode characters (unlike older MySQL `utf8`/`utf8mb3` which only supported 3 bytes and failed on emojis). -> Hence, Option (A) is the correct answer.
-> `utf8mb4` आधुनिक MySQL 8.0 का डिफ़ॉल्ट कैरेक्टर सेट है जो हिंदी और इमोजी सहित पूरे यूनिकोड को सपोर्ट करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1621 NEW
Most Important MEDIUM
What is a "Composite Index" in MySQL?
MySQL में "कम्पोज़िट इंडेक्स" क्या होता है?
A
A single index created across TWO OR MORE columns together (e.g., `CREATE INDEX idx_name ON users(last_name, first_name);`)
दो या अधिक कॉलम को मिलाकर बनाया गया एक सिंगल इंडेक्स
Correct
B
An index that stores images
इमेज स्टोर करने वाला इंडेक्स
C
A backup of all indexes
सभी इंडेक्स का बैकअप
D
A deleted index
डिलीट किया गया इंडेक्स
Solution Breakdown:
-> Composite indexes speed up queries that filter on multiple columns simultaneously (following the Leftmost Prefix rule). -> Hence, Option (A) is the correct answer.
-> कम्पोज़िट इंडेक्स उन क्वेरी को तेज़ करता है जिनमें एक साथ कई कॉलम पर `WHERE` शर्त लगी हो। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1622 NEW
Most Important MEDIUM
Which SQL query correctly counts how many students are in each `city`, showing ONLY cities that have MORE THAN 5 students?
प्रत्येक `city` में छात्रों की संख्या गिनने और केवल उन शहरों को दिखाने के लिए जिनमें 5 से अधिक छात्र हैं, कौन सी SQL क्वेरी सही है?
A
`SELECT city, COUNT(*) FROM students GROUP BY city HAVING COUNT(*) > 5;`
`SELECT city, COUNT(*) FROM students GROUP BY city HAVING COUNT(*) > 5;`
Correct
B
`SELECT city, COUNT(*) FROM students WHERE COUNT(*) > 5 GROUP BY city;`
`SELECT city, COUNT(*) FROM students WHERE COUNT(*) > 5 GROUP BY city;`
C
`SELECT city FROM students ORDER BY COUNT(*) > 5;`
`SELECT city FROM students ORDER BY COUNT(*) > 5;`
D
`SELECT COUNT(city) > 5 FROM students;`
`SELECT COUNT(city) > 5 FROM students;`
Solution Breakdown:
-> Aggregate conditions like `COUNT(*) > 5` MUST be placed in the `HAVING` clause after `GROUP BY`—never in the `WHERE` clause. -> Hence, Option (A) is the correct answer.
-> एग्रीगेट शर्त (`COUNT(*) > 5`) हमेशा `GROUP BY` के बाद `HAVING` क्लॉज़ में ही लिखी जाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1623 NEW
Most Important MEDIUM
What is the difference between `DELETE FROM t WHERE id=1` and `DROP TABLE t` regarding `ROLLBACK`?
`ROLLBACK` के संदर्भ में `DELETE` और `DROP TABLE` में क्या मुख्य अंतर है?
A
`DELETE` (DML) can be undone using `ROLLBACK` inside a transaction, whereas `DROP TABLE` (DDL) causes an implicit commit in MySQL and CANNOT be rolled back
`DELETE` (DML) को ट्रांज़ैक्शन के अंदर `ROLLBACK` से वापस लाया जा सकता है, जबकि `DROP TABLE` (DDL) को रोलबैक नहीं किया जा सकता
Correct
B
Both can be undone with `Ctrl + Z`
दोनों को `Ctrl + Z` से वापस लाया जा सकता है
C
Neither can be rolled back
दोनों में से कोई रोलबैक नहीं हो सकता
D
`DROP TABLE` can be rolled back, `DELETE` cannot
`DROP TABLE` रोलबैक हो सकता है, `DELETE` नहीं
Solution Breakdown:
-> In MySQL, DDL commands (`CREATE`, `ALTER`, `DROP`, `TRUNCATE`) trigger an automatic implicit commit, making them permanent immediately. -> Hence, Option (A) is the correct answer.
-> MySQL में DDL कमांड्स तुरंत स्थायी (Implicit commit) हो जाते हैं और रोलबैक नहीं हो सकते। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1624 NEW
Most Important EASY
Which MySQL command is used to insert MULTIPLE rows into a table in a single fast `INSERT` statement?
एक ही `INSERT` स्टेटमेंट में टेबल के अंदर एक साथ कई पंक्तियाँ जोड़ने का सही सिंटैक्स कौन सा है?
A
`INSERT INTO t (a) VALUES (1), (2), (3);`
`INSERT INTO t (a) VALUES (1), (2), (3);`
Correct
B
`INSERT INTO t (a) VALUES (1) AND (2);`
`INSERT INTO t (a) VALUES (1) AND (2);`
C
`INSERT MULTIPLE INTO t (1, 2, 3);`
`INSERT MULTIPLE INTO t (1, 2, 3);`
D
`ADD ROWS INTO t (1, 2, 3);`
`ADD ROWS INTO t (1, 2, 3);`
Solution Breakdown:
-> Separating multiple value tuples with commas inside a single `INSERT INTO ... VALUES (...), (...);` is much faster than running separate `INSERT` statements one by one. -> Hence, Option (A) is the correct answer.
-> कॉमा से अलग करके कई टपल्स एक ही `VALUES` क्लॉज़ में लिखने से एक साथ कई पंक्तियाँ तेज़ी से जुड़ जाती हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1625 NEW
Most Important MEDIUM
Which MySQL function returns the total number of rows affected by the most recent `INSERT`, `UPDATE`, or `DELETE` statement?
हाल ही में चलाए गए `INSERT`, `UPDATE` या `DELETE` स्टेटमेंट से प्रभावित कुल पंक्तियों की संख्या कौन सा MySQL फंक्शन बताता है?
A
`ROW_COUNT()`
`ROW_COUNT()`
Correct
B
`TOTAL_ROWS()`
`TOTAL_ROWS()`
C
`COUNT_ALL()`
`COUNT_ALL()`
D
`AFFECTED()`
`AFFECTED()`
Solution Breakdown:
-> `SELECT ROW_COUNT();` returns how many rows were modified by the immediately preceding DML command. -> Hence, Option (A) is the correct answer.
-> `ROW_COUNT()` पिछले DML कमांड से प्रभावित पंक्तियों की संख्या लौटाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Prev 63 64 65 66 67 Next
ESSENTIAL STUDY KIT

Master Govt Exam PYQs Faster with Recommended Resources

Pair your daily MCQ practice with these educator-picked books, practice sets, and typing gear tailored for this syllabus.

Visit Exam Store
Dell KB216 Wired Multimedia USB Keyboard (Black)
Typing Keyboards Best for Mangal Typing Amazon
Dell KB216 Wired Multimedia USB Keyboard (Black)

Soft chiclet keys and zero lag — the best keyboard for UPP Computer Operator and DSSSB 40+ WPM Hindi/English typing tests.

₹299 ₹999 70% OFF
Affiliate Disclosure: HappyQuiz may earn a small commission on qualifying purchases at no extra cost to you.
Saved to your dashboard!