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

DBMS (Database Management System)

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 76 NEW
📜 PYQs MEDIUM
What is "Partial Dependency" in DBMS Normalization?
DBMS नॉर्मलाइज़ेशन में "पार्शियल डिपेंडेंसी" (आंशिक निर्भरता) क्या होती है?
A
When a non-prime (non-key) attribute depends on only a PROPER SUBSET (part) of a Composite Candidate/Primary Key rather than the entire key
जब कोई नॉन-की एट्रिब्यूट पूरी कम्पोज़िट प्राइमरी की के बजाय उसके केवल एक हिस्से पर निर्भर हो
Correct
B
When a column depends on `NULL`
जब कोई कॉलम `NULL` पर निर्भर हो
C
When two tables have no relationship
जब दो टेबल्स में कोई संबंध न हो
D
When a table has only 1 column
जब टेबल में केवल 1 कॉलम हो
Solution Breakdown:
-> Partial Dependency violates 2NF and is removed by moving the partially dependent attributes into a separate table along with their determinant key part. -> Hence, Option (A) is the correct answer.
-> पार्शियल डिपेंडेंसी 2NF का उल्लंघन करती है और इसे अलग टेबल बनाकर दूर किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 77 NEW
📜 PYQs MEDIUM
What is a "Lossless Join Decomposition" in Normalization?
नॉर्मलाइज़ेशन में "लॉसलेस जॉइन डीकम्पोज़िशन" क्या होता है?
A
Splitting a table into smaller tables such that rejoining them via Natural Join restores the EXACT original table with zero extra (spurious) or missing rows
किसी टेबल को छोटे टेबल्स में इस प्रकार बांटना कि उन्हें दोबारा जोड़ने पर बिना किसी अतिरिक्त या छूटे हुए डेटा के ठीक मूल टेबल वापस मिल जाए
Correct
B
Deleting half the rows during normalization
नॉर्मलाइज़ेशन के दौरान आधी पंक्तियाँ डिलीट करना
C
Compressing a table
टेबल को कंप्रेस करना
D
Removing foreign keys
फॉरेन की हटा देना
Solution Breakdown:
-> Lossless Join Decomposition is a mandatory rule of good database normalization so no original information is ever lost or corrupted when tables are split. -> Hence, Option (A) is the correct answer.
-> लॉसलेस जॉइन डीकम्पोज़िशन सुनिश्चित करता है कि टेबल को बांटने से मूल जानकारी में कोई हानि या अशुद्धि न हो। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 78 NEW
📜 PYQs EASY
Which SQL keyword is used immediately after a `JOIN table2` clause to specify the matching column condition between the two tables?
दो टेबल्स के बीच मिलान की शर्त बताने के लिए `JOIN table2` के ठीक बाद किस SQL कीवर्ड का उपयोग किया जाता है?
A
`ON`
`ON`
Correct
B
`AT`
`AT`
C
`WITH`
`WITH`
D
`BY`
`BY`
Solution Breakdown:
-> Standard ANSI SQL join syntax: `SELECT * FROM emp INNER JOIN dept ON emp.dept_id = dept.id;`. -> Hence, Option (A) is the correct answer.
-> दो टेबल्स को जोड़ने की शर्त लिखने के लिए `ON` कीवर्ड का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 79 NEW
📜 PYQs MEDIUM
Using the same scenario (`Students` = 10 rows, 3 without an advisor), if we want ONLY students who DO have an assigned advisor (excluding those without one), which join should we use?
उसी स्थिति में यदि हमें केवल वे छात्र चाहिए जिनका एडवाइज़र नियुक्त है (बिना एडवाइज़र वालों को छोड़कर), तो कौन सा जॉइन उपयोग करना चाहिए?
A
`INNER JOIN`
`INNER JOIN`
Correct
B
`LEFT JOIN`
`LEFT JOIN`
C
`CROSS JOIN`
`CROSS JOIN`
D
`FULL OUTER JOIN`
`FULL OUTER JOIN`
Solution Breakdown:
-> `INNER JOIN` returns strictly the matching pairs—here, only the 7 students who have a valid matching advisor record. -> Hence, Option (A) is the correct answer.
-> `INNER JOIN` केवल उन्हीं 7 छात्रों को लौटाएगा जिनका एडवाइज़र टेबल में वैध मिलान मौजूद है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 80 NEW
📜 PYQs MEDIUM
In a `LEFT JOIN` between `Students` (left, 10 rows) and `Advisors` (right, 4 rows), if 3 students have no advisor assigned, how many rows will the `LEFT JOIN` return (assuming each student has at most 1 advisor)?
`Students` (10 पंक्तियाँ) और `Advisors` (4 पंक्तियाँ) के बीच `LEFT JOIN` में यदि 3 छात्रों का कोई एडवाइज़र नहीं है, तो कुल कितनी पंक्तियाँ मिलेंगी?
A
7 rows
7 पंक्तियाँ
B
10 rows
10 पंक्तियाँ
Correct
C
4 rows
4 पंक्तियाँ
D
40 rows
40 पंक्तियाँ
Solution Breakdown:
-> A `LEFT JOIN` returns ALL 10 rows from `Students`: 7 rows with their matching advisor details, and 3 rows with `NULL` in the advisor columns. -> Hence, Option (B) is the correct answer.
-> `LEFT JOIN` बाईं टेबल के सभी 10 छात्र दिखाएगा (3 छात्रों के एडवाइज़र कॉलम में `NULL` आएगा)। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 81 NEW
📜 PYQs MEDIUM
What is "Denormalization" in database design, and why is it sometimes intentionally performed?
डेटाबेस डिज़ाइन में "डीनॉर्मलाइज़ेशन" क्या होता है और इसे कभी-कभी जानबूझकर क्यों किया जाता है?
A
Intentionally adding controlled redundancy (combining tables) to reduce the number of expensive `JOIN` operations and speed up heavy `SELECT` read queries
महंगे `JOIN` ऑपरेशंस को कम करने और भारी `SELECT` रीड क्वेरी को तेज़ करने के लिए जानबूझकर नियंत्रित रिडंडेंसी जोड़ना
Correct
B
Deleting all primary keys
सभी प्राइमरी की डिलीट करना
C
Corrupting a database
डेटाबेस को खराब करना
D
Removing all indexes
सभी इंडेक्स हटा देना
Solution Breakdown:
-> Denormalization is widely used in Data Warehouses and high-traffic read-heavy dashboards where query speed is prioritized over storage space. -> Hence, Option (A) is the correct answer.
-> डेटा वेयरहाउस और रिपोर्टिंग सिस्टम में तेज़ रीड स्पीड के लिए डीनॉर्मलाइज़ेशन का उपयोग किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 82 NEW
📜 PYQs MEDIUM
What is a "Functional Dependency" ($X \to Y$) in DBMS?
DBMS में "फंक्शनल डिपेंडेंसी" ($X \to Y$) क्या होती है?
A
A relationship where knowing the value of attribute $X$ uniquely determines the value of attribute $Y$
एक ऐसा संबंध जहाँ एट्रिब्यूट $X$ का मान जानने से एट्रिब्यूट $Y$ का मान विशिष्ट रूप से तय हो जाता है
Correct
B
A SQL syntax error
एक SQL सिंटैक्स एरर
C
A hardware connection
एक हार्डवेयर कनेक्शन
D
A backup schedule
एक बैकअप शेड्यूल
Solution Breakdown:
-> For example, `Roll_No -> Student_Name` means two rows with the same `Roll_No` must always have the same `Student_Name`. Here `Roll_No` is the Determinant and `Student_Name` is the Dependent. -> Hence, Option (A) is the correct answer.
-> यदि दो पंक्तियों में `Roll_No` समान है तो उनका `Student_Name` भी समान होगा—इसे ही फंक्शनल डिपेंडेंसी कहते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 83 NEW
📜 PYQs HARD
Which Normal Form specifically deals with eliminating "Join Dependencies" (ensuring a table cannot be losslessly decomposed further)?
कौन सा नॉर्मल फॉर्म विशेष रूप से "जॉइन डिपेंडेंसीज़" को समाप्त करने से संबंधित है?
A
2NF
2NF
B
3NF
3NF
C
5NF (Fifth Normal Form
Project-Join Normal Form) / पांचवाँ नॉर्मल फॉर्म (5NF)
Correct
D
1NF
1NF
Solution Breakdown:
-> 5NF (Project-Join Normal Form) ensures that a table is decomposed as far as possible without introducing spurious tuples when rejoined. -> Hence, Option (C) is the correct answer.
-> 5NF जॉइन डिपेंडेंसी को समाप्त करता है ताकि टेबल्स को दोबारा जोड़ने पर कोई गलत डेटा न बने। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 84 NEW
📜 PYQs HARD
Which Normal Form specifically eliminates "Multivalued Dependencies"?
कौन सा नॉर्मल फॉर्म विशेष रूप से "मल्टीवैल्यूड डिपेंडेंसीज़" को समाप्त करता है?
A
1NF
1NF
B
2NF
2NF
C
3NF
3NF
D
4NF (Fourth Normal Form)
चौथा नॉर्मल फॉर्म (4NF)
Correct
Solution Breakdown:
-> A table is in 4NF if it is in BCNF and contains no non-trivial multivalued dependencies (where one key independently determines multiple independent lists of values). -> Hence, Option (D) is the correct answer.
-> 4NF (चौथा नॉर्मल फॉर्म) मल्टीवैल्यूड डिपेंडेंसी को समाप्त करता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 85 NEW
📜 PYQs HARD
What is "BCNF" in database normalization?
डेटाबेस नॉर्मलाइज़ेशन में "BCNF" का पूर्ण रूप क्या है?
A
Basic Code Normal Form
बेसिक कोड नॉर्मल फॉर्म
B
Boyce-Codd Normal Form
बॉयस-कॉड नॉर्मल फॉर्म
Correct
C
Binary Column Normal Form
बाइनरी कॉलम नॉर्मल फॉर्म
D
Base Constraint Normal Form
बेस कॉन्स्ट्रेंट नॉर्मल फॉर्म
Solution Breakdown:
-> Boyce-Codd Normal Form (BCNF, often called 3.5NF) is a stricter version of 3NF: for every non-trivial functional dependency $X \to Y$, $X$ MUST be a Super Key. -> Hence, Option (B) is the correct answer.
-> BCNF (बॉयस-कॉड नॉर्मल फॉर्म) 3NF का अधिक सख्त रूप है जिसमें हर फंक्शनल डिपेंडेंसी $X \to Y$ के लिए $X$ का सुपर की होना अनिवार्य है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 86 NEW
📜 PYQs MEDIUM
When is a database relation considered to be in "Third Normal Form (3NF)"?
किसी डेटाबेस रिलेशन को "थर्ड नॉर्मल फॉर्म (3NF)" में कब माना जाता है?
A
When it is in 2NF and has NO Transitive Dependency (no non-key attribute depends on another non-key attribute)
जब यह 2NF में हो और इसमें कोई ट्रांजिटिव डिपेंडेंसी न हो (कोई नॉन-की एट्रिब्यूट किसी अन्य नॉन-की एट्रिब्यूट पर निर्भर न हो)
Correct
B
When it has 3 Primary Keys
जब इसमें 3 प्राइमरी की हों
C
When it has no rows
जब इसमें कोई पंक्ति न हो
D
When it is stored on 3 servers
जब यह 3 सर्वरों पर स्टोर हो
Solution Breakdown:
-> Example of Transitive Dependency: `Student_ID -> ZipCode` and `ZipCode -> City`. Here `City` depends indirectly on `Student_ID` through non-key `ZipCode`. 3NF removes this by moving `(ZipCode, City)` into a separate table. -> Hence, Option (A) is the correct answer.
-> 3NF ट्रांजिटिव डिपेंडेंसी को हटाकर यह सुनिश्चित करता है कि हर नॉन-की कॉलम सीधे केवल प्राइमरी की पर निर्भर हो। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 87 NEW
📜 PYQs MEDIUM
When is a database relation considered to be in "Second Normal Form (2NF)"?
किसी डेटाबेस रिलेशन को "सेकंड नॉर्मल फॉर्म (2NF)" में कब माना जाता है?
A
When it is in 1NF and every non-key attribute is FULLY functionally dependent on the entire Primary Key (no Partial Dependency)
जब यह 1NF में हो और प्रत्येक नॉन-की एट्रिब्यूट पूरी प्राइमरी की पर पूर्णतः निर्भर हो (कोई आंशिक निर्भरता न हो)
Correct
B
When it has no Foreign Keys
जब इसमें कोई फॉरेन की न हो
C
When it has only 2 columns
जब इसमें केवल 2 कॉलम हों
D
When all columns are strings
जब सभी कॉलम स्ट्रिंग हों
Solution Breakdown:
-> Partial Dependency occurs only when a table has a Composite Primary Key and a non-key column depends on just *part* of that key. 2NF eliminates Partial Dependency. -> Hence, Option (A) is the correct answer.
-> 2NF आंशिक निर्भरता (Partial Dependency) को समाप्त करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 88 NEW
📜 PYQs EASY
What is the main requirement for a database table to be in "First Normal Form (1NF)"?
किसी डेटाबेस टेबल के "फर्स्ट नॉर्मल फॉर्म (1NF)" में होने की मुख्य शर्त क्या है?
A
Every cell (intersection of row and column) must contain ONLY a single, indivisible (Atomic) value—no multivalued attributes or repeating groups
प्रत्येक सेल में केवल एक एकल, अविभाज्य (Atomic) मान होना चाहिए—कोई भी मल्टीवैल्यूड एट्रिब्यूट या दोहराव वाले समूह नहीं होने चाहिए
Correct
B
The table must have no Primary Key
टेबल में कोई प्राइमरी की नहीं होनी चाहिए
C
The table must have only 1 column
टेबल में केवल 1 कॉलम होना चाहिए
D
All values must be `NULL`
सभी मान `NULL` होने चाहिए
Solution Breakdown:
-> For example, storing `"9876543210, 9123456789"` inside a single `Phone` cell violates 1NF; each cell must hold only one atomic value. -> Hence, Option (A) is the correct answer.
-> 1NF के अनुसार टेबल के प्रत्येक खाने (Cell) में केवल एक ही अविभाज्य मान (Atomic value) होना चाहिए। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 89 NEW
📜 PYQs MEDIUM
Which three types of Data Anomalies occur in an unnormalized database table?
एक अन-नॉर्मलाइज़्ड डेटाबेस टेबल में किस प्रकार की तीन डेटा विसंगतियाँ (Anomalies) उत्पन्न होती हैं?
A
Syntax, Runtime, and Logical Anomalies
सिंटैक्स, रनटाइम और लॉजिकल विसंगतियाँ
B
Insertion, Update, and Deletion Anomalies
इंसर्शन, अपडेट और डिलीशन विसंगतियाँ
Correct
C
Read, Write, and Execute Anomalies
रीड, राइट और एग्जीक्यूट विसंगतियाँ
D
Primary, Foreign, and Unique Anomalies
प्राइमरी, फॉरेन और यूनिक विसंगतियाँ
Solution Breakdown:
-> Without normalization: Insertion Anomaly prevents adding new data without unrelated data; Update Anomaly causes inconsistent data if only some duplicate copies are updated; Deletion Anomaly accidentally loses important data when deleting an unrelated record. -> Hence, Option (B) is the correct answer.
-> अन-नॉर्मलाइज़्ड टेबल में डेटा जोड़ने (Insertion), बदलने (Update) और हटाने (Deletion) के समय गंभीर विसंगतियाँ आती हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 90 NEW
📜 PYQs EASY
What is "Normalization" in a Relational Database Management System?
रिलेशनल डेटाबेस मैनेजमेंट सिस्टम में "नॉर्मलाइज़ेशन" क्या होता है?
A
The systematic process of organizing tables and columns to reduce data redundancy and eliminate data anomalies
डेटा रिडंडेंसी (दोहराव) को कम करने और डेटा विसंगतियों (Anomalies) को समाप्त करने के लिए टेबल्स और कॉलम को व्यवस्थित करने की प्रक्रिया
Correct
B
Encrypting a database with a password
पासवर्ड से डेटाबेस एन्क्रिप्ट करना
C
Merging all tables into one giant table
सभी टेबल्स को एक बड़ी टेबल में मिलाना
D
Compressing a database into a ZIP file
डेटाबेस को ZIP फाइल में कंप्रेस करना
Solution Breakdown:
-> Normalization splits large, poorly designed tables into smaller, well-structured related tables using a series of rules called Normal Forms (1NF, 2NF, 3NF, BCNF). -> Hence, Option (A) is the correct answer.
-> नॉर्मलाइज़ेशन बड़ी टेबल्स को छोटे और सुव्यवस्थित टेबल्स में बांटकर डेटा के दोहराव को कम करता है और डेटा अखंडता बढ़ाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 91 NEW
📜 PYQs MEDIUM
What is an "Equi-Join" in SQL?
SQL में "इक्वि-जॉइन" (Equi-Join) क्या होता है?
A
A join that uses ONLY the equality comparison operator (`=`) in its join condition
एक ऐसा जॉइन जिसकी शर्त में केवल समानता ऑपरेटर (`=`) का उपयोग किया जाता है
Correct
B
A join that uses `>` or `<` operators
ऐसा जॉइन जिसमें `>` या `<` ऑपरेटर उपयोग होते हैं
C
A join between two empty tables
दो खाली टेबल्स के बीच का जॉइन
D
A join that always returns 1 row
हमेशा 1 पंक्ति लौटाने वाला जॉइन
Solution Breakdown:
-> Most practical `INNER JOIN` queries (like `ON emp.dept_id = dept.id`) are Equi-Joins; joins using `<`, `>`, or `BETWEEN` are called Non-Equi Joins. -> Hence, Option (A) is the correct answer.
-> जब जॉइन की शर्त में केवल `=` ऑपरेटर का उपयोग हो, तो उसे इक्वि-जॉइन कहते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 92 NEW
📜 PYQs MEDIUM
What is a `NATURAL JOIN` in SQL?
SQL में `NATURAL JOIN` क्या होता है?
A
A join that automatically matches rows based on ALL columns having the exact SAME name and compatible data types in both tables
एक ऐसा जॉइन जो दोनों टेबल्स में समान नाम और डेटा टाइप वाले सभी कॉलम के आधार पर पंक्तियों को स्वतः जोड़ देता है
Correct
B
A join that only works on numeric columns
केवल संख्यात्मक कॉलम पर काम करने वाला जॉइन
C
A join that requires no tables
बिना टेबल के काम करने वाला जॉइन
D
A join that deletes duplicate tables
डुप्लीकेट टेबल्स डिलीट करने वाला जॉइन
Solution Breakdown:
-> A `NATURAL JOIN` does not require an `ON` clause and automatically removes the duplicate join column from the final output. -> Hence, Option (A) is the correct answer.
-> `NATURAL JOIN` बिना `ON` क्लॉज़ के समान नाम वाले कॉलम को अपने आप मिलाता है और आउटपुट में उस कॉलम को केवल एक बार दिखाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 93 NEW
📜 PYQs MEDIUM
If table `Emp` has `10` records and table `Dept` has `5` records, how many rows will be returned by the query `SELECT * FROM Emp, Dept;`?
यदि `Emp` टेबल में `10` रिकॉर्ड्स और `Dept` टेबल में `5` रिकॉर्ड्स हैं, तो `SELECT * FROM Emp, Dept;` क्वेरी कितनी पंक्तियाँ लौटाएगी?
A
15
15
B
5
5
C
10
10
D
50
50
Correct
Solution Breakdown:
-> Writing `FROM Emp, Dept` without a `WHERE` join condition performs a Cartesian Product (`CROSS JOIN`), returning $10 \times 5 = 50$ rows. -> Hence, Option (D) is the correct answer.
-> बिना किसी `WHERE` शर्त के दो टेबल्स को कॉमा से लिखने पर कार्टेशियन प्रोडक्ट होता है, जिससे $10 \times 5 = 50$ पंक्तियाँ प्राप्त होती हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 94 NEW
📜 PYQs MEDIUM
What does a `CROSS JOIN` (or Cartesian Product) between two tables produce?
दो टेबल्स के बीच `CROSS JOIN` (या कार्टेशियन प्रोडक्ट) क्या परिणाम देता है?
A
Only matching rows
केवल मेल खाने वाली पंक्तियाँ
B
Every row of the first table paired with EVERY row of the second table
पहली टेबल की प्रत्येक पंक्ति का दूसरी टेबल की प्रत्येक पंक्ति के साथ जोड़ा
Correct
C
Only the first row of each table
प्रत्येक टेबल की केवल पहली पंक्ति
D
Zero rows
शून्य पंक्तियाँ
Solution Breakdown:
-> If Table A has $m$ rows and Table B has $n$ rows, `SELECT * FROM A CROSS JOIN B;` (or `SELECT * FROM A, B;`) produces $m \times n$ total rows. -> Hence, Option (B) is the correct answer.
-> यदि पहली टेबल में $m$ और दूसरी में $n$ पंक्तियाँ हैं, तो `CROSS JOIN` कुल $m \times n$ पंक्तियाँ उत्पन्न करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 95 NEW
📜 PYQs EASY
When a database table is joined with ITSELF (using two different table aliases), what is this join called?
जब किसी डेटाबेस टेबल को स्वयं उसी के साथ जोड़ा जाता है, तो इसे क्या कहा जाता है?
A
Self Join
सेल्फ जॉइन
Correct
B
Cross Join
क्रॉस जॉइन
C
Null Join
नल जॉइन
D
Redundant Join
रिडंडेंट जॉइन
Solution Breakdown:
-> A Self Join is commonly used for hierarchical data stored in a single table—such as an `Employee` table where each employee's `manager_id` refers to another employee's `emp_id` in the same table. -> Hence, Option (A) is the correct answer.
-> सेल्फ जॉइन का उपयोग एक ही टेबल के अंदर के पदानुक्रमित संबंधों (जैसे कर्मचारी और उसका मैनेजर) को जोड़ने के लिए किया जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 96 NEW
📜 PYQs MEDIUM
Which type of SQL Join returns ALL rows when there is a match in EITHER the left table OR the right table (combining the results of both LEFT and RIGHT joins)?
किस प्रकार का SQL जॉइन बाईं या दाईं किसी भी टेबल में मिलान होने पर दोनों टेबल्स की सभी पंक्तियाँ लौटाता है?
A
INNER JOIN
इनर जॉइन
B
NATURAL JOIN
नेचुरल जॉइन
C
SELF JOIN
सेल्फ जॉइन
D
FULL OUTER JOIN
फुल आउटर जॉइन
Correct
Solution Breakdown:
-> `FULL OUTER JOIN` keeps all rows from both tables, placing `NULL` wherever a match is missing on either side. (Note: MySQL does not have a direct `FULL OUTER JOIN` keyword, so it is simulated using `LEFT JOIN UNION RIGHT JOIN`). -> Hence, Option (D) is the correct answer.
-> `FULL OUTER JOIN` दोनों टेबल्स की सभी पंक्तियाँ दिखाता है। MySQL में इसे `LEFT JOIN` और `RIGHT JOIN` के `UNION` से बनाया जाता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 97 NEW
📜 PYQs EASY
Which type of SQL Join returns ALL rows from the right table and the matched rows from the left table (filling `NULL` for unmatched left-side columns)?
किस प्रकार का SQL जॉइन दाईं (Right) टेबल की सभी पंक्तियाँ और बाईं (Left) टेबल से मेल खाने वाली पंक्तियाँ लौटाता है?
A
INNER JOIN
इनर जॉइन
B
LEFT JOIN
लेफ्ट जॉइन
C
RIGHT OUTER JOIN (RIGHT JOIN)
राइट आउटर जॉइन
Correct
D
SELF JOIN
सेल्फ जॉइन
Solution Breakdown:
-> `RIGHT JOIN` is the exact mirror of `LEFT JOIN`: every row from the right table is preserved, and unmatched columns from the left table appear as `NULL`. -> Hence, Option (C) is the correct answer.
-> `RIGHT JOIN` दाईं टेबल की सभी पंक्तियों को सुरक्षित रखता है और बाईं टेबल में मिलान न मिलने पर `NULL` दिखाता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 98 NEW
📜 PYQs EASY
Which type of SQL Join returns ALL rows from the left table and the matched rows from the right table (filling `NULL` for unmatched right-side columns)?
किस प्रकार का SQL जॉइन बाईं (Left) टेबल की सभी पंक्तियाँ और दाईं (Right) टेबल से केवल मेल खाने वाली पंक्तियाँ लौटाता है (बेमेल होने पर `NULL` भरकर)?
A
INNER JOIN
इनर जॉइन
B
LEFT OUTER JOIN (LEFT JOIN)
लेफ्ट आउटर जॉइन
Correct
C
RIGHT OUTER JOIN
राइट आउटर जॉइन
D
CROSS JOIN
क्रॉस जॉइन
Solution Breakdown:
-> A `LEFT JOIN` guarantees that every row from the left table appears in the output; if no matching record exists in the right table, its columns show `NULL`. -> Hence, Option (B) is the correct answer.
-> `LEFT JOIN` बाईं टेबल का हर रिकॉर्ड दिखाता है और दाईं टेबल में मिलान न होने पर उस स्थान पर `NULL` प्रदर्शित करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 99 NEW
📜 PYQs EASY
Which type of SQL Join returns ONLY those rows that have matching values in BOTH tables (excluding unmatched rows)?
किस प्रकार का SQL जॉइन केवल उन्हीं पंक्तियों को लौटाता है जिनके मान दोनों टेबल्स में मेल खाते हों (बेमेल पंक्तियों को छोड़कर)?
A
INNER JOIN
इनर जॉइन
Correct
B
LEFT JOIN
लेफ्ट जॉइन
C
RIGHT JOIN
राइट जॉइन
D
CROSS JOIN
क्रॉस जॉइन
Solution Breakdown:
-> An `INNER JOIN` (the default join when you simply write `JOIN`) returns the intersection of two tables—only records where the join condition matches in both tables. -> Hence, Option (A) is the correct answer.
-> `INNER JOIN` केवल उन्हीं रिकॉर्ड्स को दिखाता है जो दोनों टेबल्स में दी गई शर्त से मेल खाते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 100 NEW
📜 PYQs EASY
What is the primary purpose of a "JOIN" clause in SQL?
SQL में "JOIN" क्लॉज़ का मुख्य उद्देश्य क्या होता है?
A
To delete duplicate tables
डुप्लीकेट टेबल्स को डिलीट करना
B
To combine rows from two or more tables based on a related column between them
दो या अधिक टेबल्स के बीच एक संबंधित कॉलम के आधार पर उनकी पंक्तियों को आपस में जोड़ना
Correct
C
To create a new database
नया डेटाबेस बनाना
D
To encrypt table data
टेबल डेटा को एन्क्रिप्ट करना
Solution Breakdown:
-> In relational databases, data is split across normalized tables to avoid redundancy. The `JOIN` clause links these tables back together (usually via Primary Key and Foreign Key) to produce unified query results. -> Hence, Option (B) is the correct answer.
-> रिलेशनल डेटाबेस में डेटा को अलग-अलग टेबल्स में रखा जाता है। `JOIN` क्लॉज़ संबंधित कॉलम (जैसे प्राइमरी की और फॉरेन की) के आधार पर इन टेबल्स की जानकारी को एक साथ जोड़कर दिखाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Prev 2 3 4 5 6 Next
ESSENTIAL STUDY KIT

Master DBMS (Database Management System) 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!