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 Filtered: 📜 PYQs

Govt Exam PYQs

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 1226 NEW
📜 PYQs EASY
In MySQL, which command displays the complete structure (column names, data types, NULL allowance, keys) of a specific table?
MySQL में किसी विशेष टेबल की पूरी संरचना (कॉलम के नाम, डेटा टाइप, कीज़) देखने के लिए किस कमांड का उपयोग किया जाता है?
A
`DESCRIBE table_name;` (or `DESC table_name;`)
`DESCRIBE table_name;` (or `DESC table_name;`)
Correct
B
`SHOW table_name;`
`SHOW table_name;`
C
`SELECT STRUCTURE table_name;`
`SELECT STRUCTURE table_name;`
D
`VIEW table_name;`
`VIEW table_name;`
Solution Breakdown:
-> `DESC students;` (short for `DESCRIBE students;`) prints the schema metadata of every column in the `students` table. -> Hence, Option (A) is the correct answer.
-> टेबल की संरचना देखने के लिए MySQL में `DESCRIBE` (या संक्षेप में `DESC`) कमांड उपयोग होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1227 NEW
📜 PYQs EASY
In MySQL, which command is used to list all non-temporary tables in the currently selected database?
MySQL में वर्तमान में चयनित डेटाबेस की सभी टेबल्स की सूची देखने के लिए किस कमांड का उपयोग किया जाता है?
A
`DESCRIBE TABLES;`
`DESCRIBE TABLES;`
B
`SHOW TABLES;`
`SHOW TABLES;`
Correct
C
`DISPLAY TABLES;`
`DISPLAY TABLES;`
D
`VIEW TABLES;`
`VIEW TABLES;`
Solution Breakdown:
-> In MySQL: `SHOW DATABASES;` lists all databases, `USE db_name;` selects a database, and `SHOW TABLES;` lists all tables inside it. -> Hence, Option (B) is the correct answer.
-> MySQL में सभी टेबल्स देखने के लिए `SHOW TABLES;` कमांड का उपयोग किया जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1228 NEW
📜 PYQs MEDIUM
What is the difference between `COUNT(*)` and `COUNT(column_name)` in SQL?
SQL में `COUNT(*)` और `COUNT(column_name)` के बीच क्या अंतर है?
A
`COUNT(*)` counts ALL rows in the table (including rows with `NULL` values), whereas `COUNT(column_name)` counts ONLY non-NULL values in that column
`COUNT(*)` टेबल की सभी पंक्तियों को गिनता है (`NULL` सहित), जबकि `COUNT(column_name)` उस कॉलम के केवल नॉन-NULL मानों को गिनता है
Correct
B
Both always return the exact same number
दोनों हमेशा समान संख्या देते हैं
C
`COUNT(*)` ignores duplicate rows
`COUNT(*)` डुप्लीकेट पंक्तियों को छोड़ देता है
D
`COUNT(column_name)` counts columns
`COUNT(column_name)` कॉलम गिनता है
Solution Breakdown:
-> If a table has 10 rows and 2 students have `NULL` in their `phone` column, `COUNT(*)` returns `10`, while `COUNT(phone)` returns `8`. -> Hence, Option (A) is the correct answer.
-> `COUNT(*)` कुल पंक्तियाँ बताता है और `COUNT(column)` खाली (`NULL`) मानों को छोड़कर गिनती करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1229 NEW
📜 PYQs EASY
Which of the following is NOT an SQL Aggregate Function?
निम्नलिखित में से कौन सा एक SQL एग्रीगेट फंक्शन नहीं है?
A
`SUM()`
`SUM()`
B
`AVG()`
`AVG()`
C
`COUNT()`
`COUNT()`
D
`LENGTH()`
`LENGTH()`
Correct
Solution Breakdown:
-> The five standard SQL Aggregate Functions are `COUNT()`, `SUM()`, `AVG()`, `MIN()`, and `MAX()`. `LENGTH()` is a scalar string function operating on a single value. -> Hence, Option (D) is the correct answer.
-> `COUNT`, `SUM`, `AVG`, `MIN` और `MAX` एग्रीगेट फंक्शन हैं, जबकि `LENGTH()` एक स्ट्रिंग फंक्शन है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 1230 NEW
📜 PYQs MEDIUM
Which SQL clause is used to filter groups created by `GROUP BY` (typically using aggregate functions like `COUNT` or `SUM`)?
`GROUP BY` द्वारा बनाए गए समूहों को (एग्रीगेट फंक्शंस के आधार पर) फ़िल्टर करने के लिए किस SQL क्लॉज़ का उपयोग किया जाता है?
A
`WHERE`
`WHERE`
B
`HAVING`
`HAVING`
Correct
C
`ORDER BY`
`ORDER BY`
D
`FILTER`
`FILTER`
Solution Breakdown:
-> `WHERE` filters individual rows BEFORE grouping (and cannot use aggregate functions like `SUM`), whereas `HAVING` filters grouped results AFTER `GROUP BY`. -> Hence, Option (B) is the correct answer.
-> `WHERE` ग्रुपिंग से पहले पंक्तियों को और `HAVING` ग्रुपिंग के बाद समूहों को फ़िल्टर करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1231 NEW
📜 PYQs EASY
Which SQL keyword is used to give a temporary, readable name (Alias) to a column or table in a `SELECT` query?
`SELECT` क्वेरी में किसी कॉलम या टेबल को अस्थायी और पढ़ने में आसान उपनाम (Alias) देने के लिए किस SQL कीवर्ड का उपयोग किया जाता है?
A
`ALIAS`
`ALIAS`
B
`RENAME`
`RENAME`
C
`AS`
`AS`
Correct
D
`TO`
`TO`
Solution Breakdown:
-> Example: `SELECT name AS Student_Name FROM students;` renames the column header cleanly in the query output without altering the actual table. -> Hence, Option (C) is the correct answer.
-> `AS` कीवर्ड क्वेरी के आउटपुट में कॉलम या टेबल को अस्थायी उपनाम देता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1232 NEW
📜 PYQs MEDIUM
What is the difference between `CHAR(10)` and `VARCHAR(10)` data types in SQL
MySQL? / SQL / MySQL में `CHAR(10)` और `VARCHAR(10)` डेटा टाइप में क्या अंतर है?
A
`CHAR` stores only numbers
`CHAR` केवल संख्याएँ स्टोर करता है
B
`CHAR(10)` is fixed-length (always occupies 10 characters of storage), whereas `VARCHAR(10)` is variable-length (occupies only as much space as the actual text plus 1–2 length bytes)
`CHAR(10)` निश्चित लंबाई का होता है (हमेशा 10 अक्षरों की जगह लेता है), जबकि `VARCHAR(10)` परिवर्तनशील लंबाई का होता है (केवल वास्तविक टेक्स्ट जितनी जगह लेता है)
Correct
C
`VARCHAR` cannot store letters
`VARCHAR` अक्षर स्टोर नहीं कर सकता
D
Both take identical storage space
दोनों बिल्कुल समान स्टोरेज लेते हैं
Solution Breakdown:
-> Use `CHAR` for fixed-length codes (like state codes `'UP'` or PIN codes) and `VARCHAR` for variable-length text (like names and emails) to save storage space. -> Hence, Option (B) is the correct answer.
-> निश्चित लंबाई के डेटा के लिए `CHAR` और बदलती लंबाई के टेक्स्ट (जैसे नाम, ईमेल) के लिए `VARCHAR` का उपयोग बेहतर होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1233 NEW
📜 PYQs EASY
What happens if you execute `DELETE FROM students;` WITHOUT a `WHERE` clause?
यदि आप `WHERE` क्लॉज़ के बिना `DELETE FROM students;` चलाते हैं, तो क्या होगा?
A
Only the first row is deleted
केवल पहली पंक्ति डिलीट होगी
B
A syntax error occurs
सिंटैक्स एरर आएगा
C
ALL rows in the `students` table are deleted, while the empty table structure remains
`students` टेबल की सभी पंक्तियाँ डिलीट हो जाएंगी, जबकि खाली टेबल की संरचना बनी रहेगी
Correct
D
The entire database is dropped
पूरा डेटाबेस डिलीट हो जाएगा
Solution Breakdown:
-> Omitting `WHERE` in `DELETE` or `UPDATE` applies the operation to EVERY row in the table—a classic mistake to avoid in production databases! -> Hence, Option (C) is the correct answer.
-> `WHERE` के बिना `DELETE` चलाने पर टेबल का सारा डेटा मिट जाता है, हालांकि खाली टेबल बनी रहती है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1234 NEW
📜 PYQs EASY
In MySQL, which attribute automatically generates a unique sequential number (`1, 2, 3...`) whenever a new record is inserted into a table?
MySQL में कौन सा एट्रिब्यूट नया रिकॉर्ड जोड़ते ही अपने आप एक यूनिक क्रमिक संख्या (`1, 2, 3...`) जनरेट करता है?
A
`AUTO_INCREMENT`
`AUTO_INCREMENT`
Correct
B
`AUTO_NUMBER`
`AUTO_NUMBER`
C
`SEQUENCE_ADD`
`SEQUENCE_ADD`
D
`NEXT_ID`
`NEXT_ID`
Solution Breakdown:
-> `AUTO_INCREMENT` is widely used on integer Primary Key columns (e.g., `id INT AUTO_INCREMENT PRIMARY KEY`) in MySQL. -> Hence, Option (A) is the correct answer.
-> MySQL में प्राइमरी की के लिए स्वतः बढ़ने वाली संख्या बनाने हेतु `AUTO_INCREMENT` का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1235 NEW
📜 PYQs EASY
Which SQL constraint automatically assigns a predefined fallback value to a column if no value is provided during `INSERT`?
यदि `INSERT` के समय किसी कॉलम का मान न दिया जाए, तो कौन सा SQL कॉन्स्ट्रेंट उसे अपने आप एक पूर्वनिर्धारित मान सौंप देता है?
A
`CHECK`
`CHECK`
B
`NOT NULL`
`NOT NULL`
C
`UNIQUE`
`UNIQUE`
D
`DEFAULT`
`DEFAULT`
Correct
Solution Breakdown:
-> For example, `status VARCHAR(20) DEFAULT 'Active'` automatically sets `status` to `'Active'` whenever a new row is inserted without specifying `status`. -> Hence, Option (D) is the correct answer.
-> `DEFAULT` कॉन्स्ट्रेंट मान न दिए जाने पर कॉलम में एक तय डिफ़ॉल्ट मान स्वतः भर देता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 1236 NEW
📜 PYQs EASY
Which SQL constraint validates that every value inserted into a column satisfies a specific logical condition (e.g., `age >= 18`)?
कौन सा SQL कॉन्स्ट्रेंट यह सत्यापित करता है कि कॉलम में डाला गया प्रत्येक मान किसी विशेष तार्किक शर्त (जैसे `age >= 18`) को पूरा करता है?
A
`DEFAULT`
`DEFAULT`
B
`UNIQUE`
`UNIQUE`
C
`CHECK`
`CHECK`
Correct
D
`FOREIGN KEY`
`FOREIGN KEY`
Solution Breakdown:
-> `CHECK (age >= 18)` automatically rejects any `INSERT` or `UPDATE` where `age` is less than 18, enforcing business rules at the database level. -> Hence, Option (C) is the correct answer.
-> `CHECK` कॉन्स्ट्रेंट किसी कॉलम में डाले जाने वाले डेटा पर शर्त लागू करता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1237 NEW
📜 PYQs EASY
Which SQL constraint ensures that all values in a column are different from each other (no duplicates), while still allowing `NULL` values (unlike Primary Key)?
कौन सा SQL कॉन्स्ट्रेंट यह सुनिश्चित करता है कि कॉलम के सभी मान अलग-अलग हों (कोई डुप्लीकेट न हो), जबकि प्राइमरी की के विपरीत इसमें `NULL` मान की अनुमति हो सकती है?
A
`NOT NULL`
`NOT NULL`
B
`UNIQUE`
`UNIQUE`
Correct
C
`DEFAULT`
`DEFAULT`
D
`CHECK`
`CHECK`
Solution Breakdown:
-> A table can have only ONE `PRIMARY KEY` (no `NULL`s), but it can have multiple `UNIQUE` constraints (e.g., `email` and `phone_no`). -> Hence, Option (B) is the correct answer.
-> एक टेबल में कई `UNIQUE` कॉलम हो सकते हैं जो डुप्लीकेट मान रोकते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1238 NEW
📜 PYQs EASY
Which SQL constraint ensures that a column CANNOT store `NULL` (empty) values?
कौन सा SQL कॉन्स्ट्रेंट यह सुनिश्चित करता है कि किसी कॉलम में `NULL` (खाली) मान स्टोर नहीं किया जा सकता?
A
`UNIQUE`
`UNIQUE`
B
`NOT NULL`
`NOT NULL`
Correct
C
`CHECK`
`CHECK`
D
`DEFAULT`
`DEFAULT`
Solution Breakdown:
-> Adding `NOT NULL` to a column definition (e.g., `name VARCHAR(50) NOT NULL`) forces every inserted row to provide a valid value for that column. -> Hence, Option (B) is the correct answer.
-> `NOT NULL` कॉन्स्ट्रेंट कॉलम में मान भरना अनिवार्य बनाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1239 NEW
📜 PYQs MEDIUM
How do you correctly check for `NULL` values in a SQL `WHERE` clause?
SQL के `WHERE` क्लॉज़ में `NULL` मानों की जांच करने का सही तरीका क्या है?
A
`WHERE email = NULL`
`WHERE email = NULL`
B
`WHERE email == NULL`
`WHERE email == NULL`
C
`WHERE email IS NULL`
`WHERE email IS NULL`
Correct
D
`WHERE email EQUALS NULL`
`WHERE email EQUALS NULL`
Solution Breakdown:
-> Because `NULL` represents an unknown value, standard comparison operators like `=` or `!=` never work with `NULL`. You MUST use `IS NULL` or `IS NOT NULL`. -> Hence, Option (C) is the correct answer.
-> `NULL` की जांच के लिए `=` का उपयोग नहीं किया जा सकता; हमेशा `IS NULL` या `IS NOT NULL` का उपयोग करना अनिवार्य है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1240 NEW
📜 PYQs EASY
Which SQL operator allows specifying multiple discrete values in a `WHERE` clause (shorthand for multiple `OR` conditions)?
`WHERE` क्लॉज़ में कई `OR` शर्तों के संक्षिप्त रूप में एक से अधिक निश्चित मान देने के लिए किस SQL ऑपरेटर का उपयोग किया जाता है?
A
`IN`
`IN`
Correct
B
`BETWEEN`
`BETWEEN`
C
`LIKE`
`LIKE`
D
`ALL`
`ALL`
Solution Breakdown:
-> `WHERE city IN ('Delhi', 'Meerut', 'Moradabad')` is much cleaner and easier to read than chaining three `OR` conditions. -> Hence, Option (A) is the correct answer.
-> कई निश्चित मानों से मिलान करने के लिए `IN` ऑपरेटर का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1241 NEW
📜 PYQs EASY
Which SQL operator is used to filter values within a given inclusive range (e.g., marks from 60 to 80)?
किसी निश्चित सीमा (रेंज, जैसे 60 से 80 तक के अंक) के भीतर के मानों को फ़िल्टर करने के लिए किस SQL ऑपरेटर का उपयोग किया जाता है?
A
`RANGE`
`RANGE`
B
`BETWEEN`
`BETWEEN`
Correct
C
`INSIDE`
`INSIDE`
D
`LIMIT`
`LIMIT`
Solution Breakdown:
-> `WHERE marks BETWEEN 60 AND 80` is inclusive of both boundary values (`60` and `80`). -> Hence, Option (B) is the correct answer.
-> `BETWEEN` ऑपरेटर दी गई शुरुआती और अंतिम दोनों सीमाओं को शामिल करते हुए डेटा फ़िल्टर करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1242 NEW
📜 PYQs EASY
Which SQL clause is used to sort the result set of a query in ascending (`ASC`) or descending (`DESC`) order?
किसी क्वेरी के परिणाम को आरोही (`ASC`) या अवरोही (`DESC`) क्रम में सॉर्ट करने के लिए किस SQL क्लॉज़ का उपयोग किया जाता है?
A
`SORT BY`
`SORT BY`
B
`GROUP BY`
`GROUP BY`
C
`ORDER BY`
`ORDER BY`
Correct
D
`ARRANGE BY`
`ARRANGE BY`
Solution Breakdown:
-> `ORDER BY` sorts query results in ascending order (`ASC`) by default; adding `DESC` sorts from highest to lowest (e.g., `ORDER BY marks DESC`). -> Hence, Option (C) is the correct answer.
-> परिणाम को सॉर्ट करने के लिए `ORDER BY` का उपयोग होता है (डिफ़ॉल्ट क्रम `ASC` होता है)। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1243 NEW
📜 PYQs EASY
Which SQL keyword is used with `SELECT` to return ONLY unique (non-duplicate) values from a column?
किसी कॉलम से केवल यूनिक (बिना दोहराव वाले) मान प्राप्त करने के लिए `SELECT` के साथ किस SQL कीवर्ड का उपयोग किया जाता है?
A
`UNIQUE`
`UNIQUE`
B
`DISTINCT`
`DISTINCT`
Correct
C
`SINGLE`
`SINGLE`
D
`ONLY`
`ONLY`
Solution Breakdown:
-> `SELECT DISTINCT city FROM students;` eliminates duplicate city names from the query output. -> Hence, Option (B) is the correct answer.
-> डुप्लीकेट मान हटाकर केवल यूनिक परिणाम देखने के लिए `SELECT DISTINCT` का उपयोग किया जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1244 NEW
📜 PYQs EASY
In SQL `LIKE` pattern matching, what do the wildcard characters `%` and `_` represent respectively?
SQL `LIKE` पैटर्न मिलान में वाइल्डकार्ड चिह्न `%` और `_` क्रमशः क्या दर्शाते हैं?
A
`%` matches zero or more characters; `_` matches exactly ONE single character
`%` शून्य या अधिक अक्षरों का मिलान करता है; `_` ठीक एक अक्षर का मिलान करता है
Correct
B
`%` matches one character; `_` matches many characters
`%` एक अक्षर का; `_` अनेक अक्षरों का मिलान करता है
C
Both match only digits
दोनों केवल अंकों का मिलान करते हैं
D
Both represent spaces
दोनों स्पेस को दर्शाते हैं
Solution Breakdown:
-> For example, `'R%'` matches `"Ravi"`, `"Rahul"`, `"R"`; while `'R__'` matches only 3-letter words starting with `'R'` like `"Ram"` or `"Raj"`. -> Hence, Option (A) is the correct answer.
-> `%` किसी भी लंबाई के अक्षरों के लिए और `_` ठीक एक अक्षर के लिए उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1245 NEW
📜 PYQs EASY
Which SQL keyword is used with the `WHERE` clause to search for a specified text pattern in a column?
किसी कॉलम में विशेष टेक्स्ट पैटर्न के आधार पर डेटा खोजने के लिए `WHERE` क्लॉज़ के साथ किस SQL कीवर्ड का उपयोग किया जाता है?
A
`IN`
`IN`
B
`BETWEEN`
`BETWEEN`
C
`LIKE`
`LIKE`
Correct
D
`MATCH`
`MATCH`
Solution Breakdown:
-> The `LIKE` operator performs pattern matching using wildcards (e.g., `WHERE name LIKE 'A%'` finds all names starting with the letter 'A'). -> Hence, Option (C) is the correct answer.
-> पैटर्न के अनुसार डेटा खोजने के लिए `WHERE` के साथ `LIKE` कीवर्ड का उपयोग होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1246 NEW
📜 PYQs EASY
Which TCL command undoes uncommitted changes made in the current transaction and restores the database to its previous consistent state?
वर्तमान ट्रांज़ैक्शन में किए गए अन-कमिटेड बदलावों को रद्द (Undo) करके डेटाबेस को पिछली सुरक्षित स्थिति में वापस लाने के लिए किस कमांड का उपयोग किया जाता है?
A
`COMMIT`
`COMMIT`
B
`ROLLBACK`
`ROLLBACK`
Correct
C
`DROP`
`DROP`
D
`REVOKE`
`REVOKE`
Solution Breakdown:
-> `ROLLBACK;` cancels all changes since the last `COMMIT` (or back to a specific `SAVEPOINT`), protecting data if an error occurs mid-transaction. -> Hence, Option (B) is the correct answer.
-> ट्रांज़ैक्शन में त्रुटि होने पर `ROLLBACK` सभी अस्थायी बदलावों को वापस ले लेता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1247 NEW
📜 PYQs EASY
Which TCL command permanently saves all changes made during the current database transaction?
वर्तमान डेटाबेस ट्रांज़ैक्शन के दौरान किए गए सभी बदलावों को स्थायी रूप से सेव करने के लिए किस TCL कमांड का उपयोग किया जाता है?
A
`ROLLBACK`
`ROLLBACK`
B
`SAVEPOINT`
`SAVEPOINT`
C
`COMMIT`
`COMMIT`
Correct
D
`GRANT`
`GRANT`
Solution Breakdown:
-> Once `COMMIT;` is executed, all pending `INSERT`, `UPDATE`, and `DELETE` changes become permanent in the database and cannot be undone with `ROLLBACK`. -> Hence, Option (C) is the correct answer.
-> `COMMIT` चलाने के बाद ट्रांज़ैक्शन के सभी बदलाव डेटाबेस में स्थायी रूप से सेव हो जाते हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1248 NEW
📜 PYQs EASY
What does "TCL" stand for in SQL, and which commands belong to it?
SQL में "TCL" का पूर्ण रूप क्या है और इसके अंतर्गत कौन से कमांड आते हैं?
A
Table Control Language; `CREATE`, `ALTER`
टेबल कंट्रोल लैंग्वेज; `CREATE`, `ALTER`
B
Transaction Control Language; `COMMIT`, `ROLLBACK`, `SAVEPOINT`
ट्रांज़ैक्शन कंट्रोल लैंग्वेज; `COMMIT`, `ROLLBACK`, `SAVEPOINT`
Correct
C
Text Command Language; `PRINT`, `SHOW`
टेक्स्ट कमांड लैंग्वेज; `PRINT`, `SHOW`
D
Type Conversion Language; `CAST`, `CONVERT`
टाइप कन्वर्ज़न लैंग्वेज; `CAST`, `CONVERT`
Solution Breakdown:
-> TCL (Transaction Control Language) manages changes made by DML statements inside transactions: `COMMIT` saves them permanently, `ROLLBACK` undoes them, and `SAVEPOINT` sets a partial undo marker. -> Hence, Option (B) is the correct answer.
-> TCL ट्रांज़ैक्शन के बदलावों को नियंत्रित करती है: `COMMIT` स्थायी रूप से सेव करता है और `ROLLBACK` बदलावों को वापस (Undo) कर देता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1249 NEW
📜 PYQs EASY
Which SQL command is used to remove previously granted permissions (privileges) from a specific database user or role?
किसी विशेष डेटाबेस यूज़र या रोल से पहले दी गई अनुमतियाँ (अधिकार) वापस लेने के लिए किस SQL कमांड का उपयोग किया जाता है?
A
`REMOVE`
`REMOVE`
B
`REASSIGN`
`REASSIGN`
C
`REVOKE`
`REVOKE`
Correct
D
`DENY_ALL`
`DENY_ALL`
Solution Breakdown:
-> `REVOKE SELECT ON students FROM 'user1';` removes the `SELECT` privilege from `user1`. -> Hence, Option (C) is the correct answer.
-> किसी यूज़र के डेटाबेस अधिकार वापस लेने के लिए `REVOKE` (DCL) कमांड का उपयोग किया जाता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1250 NEW
📜 PYQs EASY
What does "DCL" stand for in SQL, and which two commands belong to it?
SQL में "DCL" का पूर्ण रूप क्या है और इसके अंतर्गत कौन से दो कमांड आते हैं?
A
Data Control Language; `GRANT` and `REVOKE`
डेटा कंट्रोल लैंग्वेज; `GRANT` और `REVOKE`
Correct
B
Data Creation Language; `CREATE` and `DROP`
डेटा क्रिएशन लैंग्वेज; `CREATE` और `DROP`
C
Database Cache Logic; `SAVE` and `LOAD`
डेटाबेस कैश लॉजिक; `SAVE` और `LOAD`
D
Data Copy Language; `COPY` and `PASTE`
डेटा कॉपी लैंग्वेज; `COPY` और `PASTE`
Solution Breakdown:
-> DCL (Data Control Language) manages database security and user access permissions: `GRANT` gives privileges to a user, and `REVOKE` takes them away. -> Hence, Option (A) is the correct answer.
-> DCL (डेटा कंट्रोल लैंग्वेज) डेटाबेस की सुरक्षा और यूज़र अधिकारों को नियंत्रित करती है, जिसमें `GRANT` (अनुमति देना) और `REVOKE` (अनुमति वापस लेना) शामिल हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Prev 48 49 50 51 52 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!