391 Question 391 EN + हिं Hard GB Which creates table same structure as questions but no data? IN जो प्रश्नों के समान तालिका संरचना बनाता है लेकिन कोई डेटा नहीं? A COPY questions TO questions_bak प्रश्नों को questions_bak में कॉपी करें B DUPLICATE TABLE questions डुप्लिकेट टेबल प्रश्न C CLONE TABLE questions क्लोन टेबल प्रश्न D CREATE TABLE questions_bak AS SELECT * FROM questions WHERE 1=0 चयन के रूप में तालिका प्रश्न_बक बनाएं * उन प्रश्नों से जहां 1=0 ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) WHERE 1=0 always false: copies only the structure (column definitions) with no rows. व्याख्या (हिन्दी) जहां 1=0 हमेशा गलत होता है: बिना किसी पंक्ति के केवल संरचना (स्तंभ परिभाषा) की प्रतिलिपि बनाता है। 🎯 Exam Perspective DBMS ("Introduction to DBMS" sub-topic) से जुड़ा यह सवाल — difficulty level "Hard" उन students के लिए काम का है जो SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions is_deleted=0 in questions table represents To add composite index on (assignment_id, q_level) in L... DB::table('questions')->where('q_level',3)->orWhere('q_... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
392 Question 392 EN + हिं Hard GB Which window function computes running total of salaries ordered by hire_date? IN कौन सा विंडो फ़ंक्शन किराये_दिनांक द्वारा आदेशित कुल वेतन की गणना करता है? A SELECT SUM(salary) FROM emp GROUP BY hire_date नियुक्ति दिनांक तक कर्मचारी समूह से राशि (वेतन) चुनें B SELECT SUM(salary) OVER(ORDER BY hire_date) FROM emp कर्मचारी से अतिरिक्त राशि (वेतन) (किराया तिथि के अनुसार ऑर्डर) चुनें C SELECT RUNNING_SUM(salary) FROM emp कर्मचारी से RUNNING_SUM(वेतन) चुनें D SELECT CUMSUM(salary) FROM emp नियोक्ता से कमसम (वेतन) का चयन करें ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) SUM(salary) OVER(ORDER BY hire_date): computes cumulative (running) total ordered by hire_date. व्याख्या (हिन्दी) SUM(वेतन) ओवर (किराया तिथि के अनुसार आदेश): नियुक्ति तिथि के अनुसार संचयी (चल रहे) कुल की गणना करता है। 🎯 Exam Perspective SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में DBMS ("Introduction to DBMS" sub-topic) से सवाल अक्सर पूछे जाते हैं — difficulty level "Hard"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions right_answer_id storing 'option_a','option_b' etc. is w... To add composite index on (assignment_id, q_level) in L... MERGE statement (SQL:2003) performs 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
393 Question 393 EN + हिं Hard GB DB::table('questions')->where('q_level',3)->orWhere('q_level',2)->get() generates IN DB::table('questions')->where('q_level',3)->orwhere('q_level',2)->get() उत्पन्न करता है A WHERE q_level=3 AND q_level=2 जहां q_level=3 और q_level=2 B WHERE q_level=3 OR q_level=2 जहां q_level=3 या q_level=2 C WHERE q_level IN (2,3) कहां q_स्तर में (2,3) D Error गलती ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) orWhere chains conditions with OR: WHERE q_level=3 OR q_level=2. व्याख्या (हिन्दी) याव्हेयर श्रृंखला की स्थिति OR के साथ: WHERE q_level=3 OR q_level=2. 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो DBMS ("Introduction to DBMS" sub-topic) का यह topic आपके लिए महत्वपूर्ण है — difficulty level "Hard"। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions Which window function computes running total of salarie... Which SQL finds duplicate right_answer_id values in que... question_type=1 in questions table likely represents 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
394 Question 394 EN + हिं Hard GB To retrieve only active non-deleted questions in Laravel IN लारवेल में केवल सक्रिय गैर-हटाए गए प्रश्नों को पुनः प्राप्त करने के लिए A Question::all() प्रश्न::सभी() B DB::table('questions')->where('is_deleted',0)->get() डीबी::टेबल('प्रश्न')->कहाँ('is_deleted',0)->प्राप्त करें() C Question::find(0) प्रश्न::खोजें(0) D Question::where('is_deleted',NULL)->get() प्रश्न::कहां('is_deleted',NULL)->get() ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) WHERE is_deleted=0 filters active questions (matches screenshot pattern where is_deleted=0). व्याख्या (हिन्दी) WHERE is_deleted=0 सक्रिय प्रश्नों को फ़िल्टर करता है (स्क्रीनशॉट पैटर्न से मेल खाता है जहां is_deleted=0 है)। 🎯 Exam Perspective DBMS ("Introduction to DBMS" sub-topic) के इस प्रश्न को — difficulty level "Hard" कई प्रतियोगी परीक्षाओं जैसे Railway, SSC, Banking और Defence परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions right_answer_id storing 'option_a','option_b' etc. is w... Eloquent query to get hard questions for assignment 1 t... To add composite index on (assignment_id, q_level) in L... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
395 Question 395 EN + हिं Hard GB right_answer_id storing 'option_a','option_b' etc. is which design? IN Right_answer_id 'option_a', 'option_b' आदि को संग्रहीत करना कौन सा डिज़ाइन है? A Normalization मानकीकरण B Denormalization असमान्यीकरण C Storing column name reference indicating which option column has correct answer कॉलम नाम संदर्भ संग्रहीत करना यह दर्शाता है कि किस विकल्प कॉलम में सही उत्तर है D Foreign key pattern विदेशी कुंजी पैटर्न ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) right_answer_id stores which option column (option_a, option_b, etc.) contains the correct answer. व्याख्या (हिन्दी) Right_answer_id यह संग्रहीत करता है कि कौन से विकल्प कॉलम (option_a, option_b, आदि) में सही उत्तर है। 🎯 Exam Perspective यह सवाल DBMS ("Introduction to DBMS" sub-topic) category का है — difficulty level "Hard", और SSC, Railway, Banking और State PCS के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions Which creates table same structure as questions but no... To add composite index on (assignment_id, q_level) in L... $table->foreignId('assignment_id')->constrained() creat... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
396 Question 396 EN + हिं Hard GB question_type=1 in questions table likely represents IN प्रश्न तालिका में प्रश्न_प्रकार=1 संभवतः दर्शाता है A Easy question आसान सवाल B MCQ (Multiple Choice Question) type एमसीक्यू (बहुविकल्पीय प्रश्न) प्रकार C True/False question सही/गलत प्रश्न D Essay question नीबएनडीएच पर प्रश्न ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) question_type=1 typically represents MCQ (Multiple Choice Question) type in assessment systems. व्याख्या (हिन्दी) प्रश्न_प्रकार=1 आमतौर पर मूल्यांकन प्रणालियों में एमसीक्यू (बहुविकल्पीय प्रश्न) प्रकार का प्रतिनिधित्व करता है। 🎯 Exam Perspective यह प्रश्न DBMS ("Introduction to DBMS" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है — difficulty level "Hard"। इस तरह के प्रश्न अक्सर SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions To get correct answer text when right_answer_id='option... To retrieve only active non-deleted questions in Larave... Which SQL finds duplicate right_answer_id values in que... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
397 Question 397 EN + हिं Hard GB is_deleted=0 in questions table represents IN प्रश्न तालिका में is_deleted=0 दर्शाता है A Hard deletion कठिन विलोपन B Record is soft-deleted रिकॉर्ड सॉफ़्ट-डिलीट है C Record is ACTIVE (not deleted) - soft delete pattern रिकॉर्ड सक्रिय है (हटाया नहीं गया) - सॉफ्ट डिलीट पैटर्न D Record is archived रिकॉर्ड संग्रहीत है ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Soft delete pattern: is_deleted=0 means record is ACTIVE; is_deleted=1 means soft-deleted. व्याख्या (हिन्दी) सॉफ्ट डिलीट पैटर्न: is_deleted=0 का मतलब है कि रिकॉर्ड सक्रिय है; is_deleted=1 का अर्थ है सॉफ़्ट-डिलीट। 🎯 Exam Perspective DBMS ("Introduction to DBMS" sub-topic) से जुड़ा यह सवाल — difficulty level "Hard" उन students के लिए काम का है जो UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions right_answer_id storing 'option_a','option_b' etc. is w... Which window function computes running total of salarie... Which creates table same structure as questions but no... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
398 Question 398 EN + हिं Hard GB To count questions per assignment_id and q_level in one query IN एक क्वेरी में प्रति असाइनमेंट_आईडी और q_level प्रश्नों की गणना करना A SELECT COUNT(*) FROM questions प्रश्नों में से COUNT(*) चुनें B SELECT assignment_id,q_level,COUNT(*) as cnt FROM questions GROUP BY assignment_id,q_level प्रश्नों से असाइनमेंट_आईडी, क्यू_लेवल, COUNT(*) को सीएनटी के रूप में चुनें ग्रुप बाय असाइनमेंट_आईडी, क्यू_लेवल C SELECT assignment_id FROM questions GROUP BY assignment_id प्रश्नों के समूह से असाइनमेंट_आईडी चुनें असाइनमेंट_आईडी के अनुसार D SELECT q_level FROM questions GROUP BY q_level प्रश्नों के समूह से q_level का चयन करें q_level के अनुसार ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) GROUP BY multiple columns gives count for each unique combination of assignment_id and q_level. व्याख्या (हिन्दी) एकाधिक कॉलम द्वारा ग्रुप असाइनमेंट_आईडी और क्यू_लेवल के प्रत्येक अद्वितीय संयोजन के लिए गिनती देता है। 🎯 Exam Perspective Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में DBMS ("Introduction to DBMS" sub-topic) से सवाल अक्सर पूछे जाते हैं — difficulty level "Hard"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions Eloquent query to get hard questions for assignment 1 t... To add composite index on (assignment_id, q_level) in L... To retrieve only active non-deleted questions in Larave... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
399 Question 399 EN + हिं Hard GB $table->foreignId('assignment_id')->constrained() creates IN $table->foreignId('assignment_id')->contrained() बनाता है A Index on assignment_id only केवल असाइनमेंट_आईडी पर अनुक्रमणिका B UNSIGNED BIGINT column PLUS FK constraint referencing assignments.id अहस्ताक्षरित बिगिनट कॉलम प्लस एफके बाधा असाइनमेंट.आईडी को संदर्भित करती है C Primary key प्राथमिक कुंजी D Unique constraint अनोखी बाधा ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) foreignId('col')->constrained(): creates UNSIGNED BIGINT column AND FK constraint automatically. व्याख्या (हिन्दी) विदेशीआईडी('col')->constrained(): स्वचालित रूप से अहस्ताक्षरित BIGINT कॉलम और FK बाधा बनाता है। 🎯 Exam Perspective अगर आप SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं, तो DBMS ("Introduction to DBMS" sub-topic) का यह topic आपके लिए महत्वपूर्ण है — difficulty level "Hard"। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions solution column in questions table contains To add composite index on (assignment_id, q_level) in L... To get correct answer text when right_answer_id='option... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
400 Question 400 EN + हिं Hard GB MERGE statement (SQL:2003) performs IN मर्ज स्टेटमेंट (SQL:2003) निष्पादित होता है A Only INSERT केवल सम्मिलित करें B Only UPDATE केवल अद्यतन करें C Only DELETE केवल हटाएँ D INSERT UPDATE or DELETE based on match condition (UPSERT) मिलान स्थिति के आधार पर अद्यतन सम्मिलित करें या हटाएँ (UPSERT) ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) MERGE: WHEN MATCHED→UPDATE, WHEN NOT MATCHED→INSERT - performs conditional upsert operations. व्याख्या (हिन्दी) मर्ज: जब मिलान किया जाए→अपडेट करें, जब मिलान न किया जाए→सम्मिलित करें - सशर्त अप्सर्ट ऑपरेशन करता है। 🎯 Exam Perspective DBMS ("Introduction to DBMS" sub-topic) के इस प्रश्न को — difficulty level "Hard" कई प्रतियोगी परीक्षाओं जैसे SSC CGL, IBPS, RRB और State-level परीक्षाओं में repeat होते देखा गया है। Concept clarity के लिए explanation section जरूर पढ़ें। 🔗 Related Questions $table->foreignId('assignment_id')->constrained() creat... is_deleted=0 in questions table represents To retrieve only active non-deleted questions in Larave... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
401 Question 401 EN + हिं Hard GB To add composite index on (assignment_id, q_level) in Laravel migration IN लारवेल माइग्रेशन में (असाइनमेंट_आईडी, q_level) पर समग्र सूचकांक जोड़ने के लिए A $table->primary(['assignment_id','q_level']) $टेबल->प्राथमिक(['असाइनमेंट_आईडी','क्यू_लेवल']) B $table->unique(['assignment_id','q_level']) $टेबल->अद्वितीय(['असाइनमेंट_आईडी','क्यू_लेवल']) C $table->index(['assignment_id','q_level']) $टेबल->सूचकांक(['असाइनमेंट_आईडी','क्यू_लेवल']) D $table->foreign(['assignment_id','q_level']) $टेबल->विदेशी(['असाइनमेंट_आईडी','क्यू_लेवल']) ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) $table->index(['col1','col2']): creates composite index for faster filtered queries. व्याख्या (हिन्दी) $table->index(['col1','col2']): तेजी से फ़िल्टर किए गए प्रश्नों के लिए समग्र सूचकांक बनाता है। 🎯 Exam Perspective यह सवाल DBMS ("Introduction to DBMS" sub-topic) category का है — difficulty level "Hard", और UPSC, SSC, Banking और Police भर्ती के exam pattern में इस तरह के questions common हैं। Answer choose करने के बाद दिया गया explanation जरूर पढ़ें। 🔗 Related Questions right_answer_id storing 'option_a','option_b' etc. is w... Eloquent query to get hard questions for assignment 1 t... solution column in questions table contains 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
402 Question 402 EN + हिं Hard GB Which SQL finds duplicate right_answer_id values in questions? IN कौन सा SQL प्रश्नों में डुप्लिकेट Right_answer_id मान ढूँढता है? A SELECT right_answer_id FROM questions प्रश्नों में से Right_answer_id चुनें B SELECT DISTINCT right_answer_id FROM questions प्रश्नों से DISTINCT Right_answer_id चुनें C SELECT right_answer_id,COUNT(*) FROM questions GROUP BY right_answer_id HAVING COUNT(*)>1 प्रश्नों के समूह से दाएँ_उत्तर_आईडी, COUNT(*) का चयन करें, समूह द्वारा दाएँ_उत्तर_आईडी का चयन करें, जिनकी गिनती (*)>1 है D SELECT MAX(right_answer_id) FROM questions प्रश्नों में से MAX(right_answer_id) चुनें ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) GROUP BY + HAVING COUNT(*) > 1 identifies right_answer_id values appearing more than once. व्याख्या (हिन्दी) GROUP BY + HAVING COUNT(*) > 1 एक से अधिक बार प्रदर्शित होने वाले Right_answer_id मानों की पहचान करता है। 🎯 Exam Perspective यह प्रश्न DBMS ("Introduction to DBMS" sub-topic) की तैयारी करने वाले अभ्यर्थियों के लिए उपयोगी है — difficulty level "Hard"। इस तरह के प्रश्न अक्सर Railway, SSC, Banking और Defence परीक्षाओं जैसी परीक्षाओं में पूछे जाते रहे हैं, इसलिए concept और explanation दोनों को ध्यान से समझें, सिर्फ उत्तर याद न करें। 🔗 Related Questions right_answer_id storing 'option_a','option_b' etc. is w... Eloquent query to get hard questions for assignment 1 t... Which creates table same structure as questions but no... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
403 Question 403 EN + हिं Hard GB To get correct answer text when right_answer_id='option_b' for question id=1 IN सही उत्तर पाने के लिए प्रश्न id=1 के लिए Right_answer_id='option_b' टेक्स्ट करें A SELECT right_answer_id FROM questions WHERE id=1 उन प्रश्नों से सही_उत्तर_आईडी चुनें जहां आईडी=1 है B SELECT option_b FROM questions WHERE id=1 उन प्रश्नों से विकल्प_बी चुनें जहां आईडी=1 है C SELECT option_a FROM questions WHERE id=1 उन प्रश्नों में से option_a चुनें जहां id=1 है D SELECT solution FROM questions WHERE id=1 उन प्रश्नों से समाधान चुनें जहां आईडी=1 है ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) right_answer_id='option_b' means answer is in option_b column. SELECT option_b gets the answer text. व्याख्या (हिन्दी) Right_answer_id='option_b' का अर्थ है कि उत्तर option_b कॉलम में है। SELECT option_b को उत्तर टेक्स्ट मिलता है। 🎯 Exam Perspective DBMS ("Introduction to DBMS" sub-topic) से जुड़ा यह सवाल — difficulty level "Hard" उन students के लिए काम का है जो SSC, Railway, Banking और State PCS की तैयारी कर रहे हैं। बेहतर होगा कि explanation पढ़कर concept clear करें, ताकि exam में similar प्रश्न आने पर confusion न हो। 🔗 Related Questions question_type=1 in questions table likely represents solution column in questions table contains Which window function computes running total of salarie... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
404 Question 404 EN + हिं Hard GB Eloquent query to get hard questions for assignment 1 that are not deleted IN असाइनमेंट 1 के लिए कठिन प्रश्न प्राप्त करने के लिए वाक्पटु प्रश्न जिन्हें हटाया नहीं गया है A Question::all() प्रश्न::सभी() B Question::where('q_level',3)->where('assignment_id',1)->where('is_deleted',0)->get() प्रश्न::कहां('q_level',3)->कहां('असाइनमेंट_आईडी',1)->कहां('is_deleted',0)->प्राप्त करें() C Question::find(3) प्रश्न::खोजें(3) D DB::table('questions')->count() डीबी::टेबल('प्रश्न')->गिनती() ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) Chaining where() generates AND conditions: WHERE q_level=3 AND assignment_id=1 AND is_deleted=0. व्याख्या (हिन्दी) चेनिंग जहां () और शर्तें उत्पन्न करती है: जहां q_level=3 और असाइनमेंट_आईडी=1 और is_deleted=0। 🎯 Exam Perspective SSC CGL, IBPS, RRB और State-level परीक्षाओं जैसी परीक्षाओं में DBMS ("Introduction to DBMS" sub-topic) से सवाल अक्सर पूछे जाते हैं — difficulty level "Hard"। इसलिए सिर्फ answer रटने के बजाय, नीचे दी गई explanation को ध्यान से पढ़ें और concept समझें। 🔗 Related Questions Which window function computes running total of salarie... To get correct answer text when right_answer_id='option... Which creates table same structure as questions but no... 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)
405 Question 405 EN + हिं Hard GB solution column in questions table contains IN प्रश्न तालिका में समाधान कॉलम शामिल है A Correct option label only केवल सही विकल्प लेबल B Full explanation/solution text for the question प्रश्न के लिए पूर्ण स्पष्टीकरण/समाधान पाठ C NULL always हमेशा शून्य D The question text प्रश्न पाठ ✅ Correct Answer: 💡 Explanation / व्याख्या Explanation (English) solution column stores the detailed explanation/solution text for the question. व्याख्या (हिन्दी) समाधान कॉलम प्रश्न के लिए विस्तृत स्पष्टीकरण/समाधान पाठ संग्रहीत करता है। 🎯 Exam Perspective अगर आप UPSC, SSC, Banking और Police भर्ती की तैयारी कर रहे हैं, तो DBMS ("Introduction to DBMS" sub-topic) का यह topic आपके लिए महत्वपूर्ण है — difficulty level "Hard"। Exam में accuracy बढ़ाने के लिए हर सवाल की explanation जरूर पढ़ें। 🔗 Related Questions right_answer_id storing 'option_a','option_b' etc. is w... MERGE statement (SQL:2003) performs is_deleted=0 in questions table represents 📚 Related Topic Database Architecture (135) Data Models (138) ER Model (138)