DBMS — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye

📚 2982 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
2982 questions
151
EN + हिं
GB SQL query to find the temperature in increasing order of all cities.
IN सभी शहरों के बढ़ते क्रम में तापमान जानने के लिए SQL क्वेरी।
A
SELECT city FROM weather ORDER BY temperature मौसम से शहर का चयन करें तापमान के अनुसार क्रमबद्ध करें
B
SELECT city, temperature FROM weather मौसम से शहर, तापमान चुनें
C
SELECT city, temperature FROM weather ORDER BY temperature शहर चुनें, मौसम से तापमान, तापमान के अनुसार क्रम
D
SELECT city, temperature FROM weather ORDER BY city शहर का चयन करें, मौसम से तापमान शहर के अनुसार क्रमबद्ध करें
✅ Correct Answer:
152
EN + हिं
GB What is the meaning of LIKE ‘%0%0%’?
IN LIKE '%0%0%' का क्या अर्थ है?
A
Feature begins with two 0’s फ़ीचर दो 0 से शुरू होता है
B
Feature ends with two 0’s फ़ीचर दो 0 के साथ समाप्त होता है
C
Feature has more than two 0’s फ़ीचर में दो से अधिक 0 हैं
D
Feature has two 0’s in it, at any position फ़ीचर में किसी भी स्थिति में दो 0 हैं
✅ Correct Answer:
153
EN + हिं
GB Find the names of these cities with temperature and condition whose condition is neither sunny nor cloudy.
IN तापमान और स्थिति के साथ उन शहरों के नाम खोजें जिनकी स्थिति न तो धूप है और न ही बादल।
A
SELECT city, temperature, condition FROM weather WHERE condition NOT IN (‘sunny’, ‘cloudy’) मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति नहीं है ('धूप', 'बादल')
B
SELECT city, temperature, condition FROM weather WHERE condition NOT BETWEEN (‘sunny’, ‘cloudy’) मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति बीच में न हो ('धूप', 'बादल')
C
SELECT city, temperature, condition FROM weather WHERE condition IN (‘sunny’, ‘cloudy’) मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति ('धूप', 'बादल')
D
SELECT city, temperature, condition FROM weather WHERE condition BETWEEN (‘sunny’, ‘cloudy’); मौसम से शहर, तापमान, स्थिति का चयन करें जहां स्थिति ('धूप', 'बादल') के बीच हो;
✅ Correct Answer:
154
EN + हिं
GB Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70.
IN तापमान और स्थिति वाले उन शहरों के नाम खोजें जिनकी स्थिति या तो धूप या बादल है लेकिन तापमान 70 से अधिक होना चाहिए।
A
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ OR temperature > 70 मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति = 'धूप' और स्थिति = 'बादल' या तापमान > 70
B
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ OR temperature > 70 मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति = 'धूप' या स्थिति = 'बादल' या तापमान > 70
C
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ AND temperature > 70 मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति = 'धूप' या स्थिति = 'बादल' और तापमान > 70
D
SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ AND temperature > 70 मौसम से शहर, तापमान, स्थिति चुनें जहां स्थिति = 'धूप' और स्थिति = 'बादल' और तापमान > 70
✅ Correct Answer:
155
EN + हिं
GB Find all the tuples having a temperature greater than ‘Paris’.
IN 'पेरिस' से अधिक तापमान वाले सभी टुपल्स खोजें।
A
SELECT * FROM weather WHERE temperature > (SELECT temperature FROM weather WHERE city = ‘Paris’ चुनें * मौसम से जहां तापमान > (मौसम से तापमान चुनें जहां शहर = 'पेरिस'
B
SELECT * FROM weather WHERE temperature > (SELECT * FROM weather WHERE city = ‘Paris’) चुनें * मौसम से जहां तापमान > (चुनें * मौसम से जहां शहर = 'पेरिस')
C
SELECT * FROM weather WHERE temperature > (SELECT city FROM weather WHERE city = ‘Paris’) चुनें * मौसम से जहां तापमान > (मौसम से शहर चुनें जहां शहर = 'पेरिस')
D
SELECT * FROM weather WHERE temperature > ‘Paris’ temperature * मौसम से चुनें जहां तापमान > 'पेरिस' तापमान
✅ Correct Answer:
156
EN + हिं
GB Find all the cities with temperature, condition and humidity whose humidity is in the range of 63 to 79.
IN तापमान, स्थिति और आर्द्रता वाले सभी शहरों का पता लगाएं जिनकी आर्द्रता 63 से 79 के बीच है।
A
SELECT * FROM weather WHERE humidity IN (63 to 79) चुनें * उस मौसम से जहां आर्द्रता (63 से 79)
B
SELECT * FROM weather WHERE humidity NOT IN (63 AND 79) * उस मौसम से चुनें जहां आर्द्रता नहीं है (63 और 79)
C
SELECT * FROM weather WHERE humidity BETWEEN 63 AND 79 * उस मौसम से चुनें जहां आर्द्रता 63 और 79 के बीच हो
D
SELECT * FROM weather WHERE humidity NOT BETWEEN 63 AND 79 ऐसे मौसम से चुनें * जहां आर्द्रता 63 और 79 के बीच न हो
✅ Correct Answer:
157
EN + हिं
GB The command to remove rows from a table ‘CUSTOMER’ is __________________
IN 'ग्राहक' तालिका से पंक्तियों को हटाने का आदेश __________________ है
A
DROP FROM CUSTOMER ग्राहक से ड्रॉप
B
UPDATE FROM CUSTOMER ग्राहक से अद्यतन
C
REMOVE FROM CUSTOMER ग्राहक से हटाएँ
D
DELETE FROM CUSTOMER WHERE ग्राहक से हटाएँ जहाँ
✅ Correct Answer:
158
EN + हिं
GB What type of join is needed when you wish to include rows that do not have matching values?
IN जब आप उन पंक्तियों को शामिल करना चाहते हैं जिनमें मेल खाने वाले मान नहीं हैं तो किस प्रकार के जुड़ाव की आवश्यकता है?
A
Equi-join सम में शामिल होने के
B
Natural join प्राकृतिक जुड़ाव
C
Outer join बाहरी जोड़
D
All of the Mentioned उल्लेखित सभी
✅ Correct Answer:
159
EN + हिं
GB What type of join is needed when you wish to return rows that do have matching values?
IN जब आप उन पंक्तियों को वापस करना चाहते हैं जिनमें मेल खाने वाले मान हैं तो किस प्रकार के जुड़ाव की आवश्यकता है?
A
Equi-join सम में शामिल होने के
B
Natural join प्राकृतिक जुड़ाव
C
Outer join बाहरी जोड़
D
All of the Mentioned उल्लेखित सभी
✅ Correct Answer:
160
EN + हिं
GB Which of the following is one of the basic approaches for joining tables?
IN तालिकाओं को जोड़ने के लिए निम्नलिखित में से कौन सा बुनियादी दृष्टिकोण में से एक है?
A
Subqueries सबक्वेरी
B
Union Join संघ सम्मिलित हों
C
Natural join प्राकृतिक जुड़ाव
D
All of the Mentioned उल्लेखित सभी
✅ Correct Answer:
161
EN + हिं
GB The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID?
IN निम्नलिखित SQL किस प्रकार का जुड़ाव है: SELECT CUSTOMER_T. ग्राहक_आईडी, ऑर्डर_टी. ग्राहक_आईडी, नाम, ऑर्डर_आईडी ग्राहक_टी से, ऑर्डर_टी जहां ग्राहक_टी। ग्राहक_आईडी = ऑर्डर_टी. ग्राहक आईडी?
A
Equi-join सम में शामिल होने के
B
Natural join प्राकृतिक जुड़ाव
C
Outer join बाहरी जोड़
D
Cartesian join कार्तीय जोड़
✅ Correct Answer:
162
EN + हिं
GB A UNION query is which of the following?
IN यूनियन क्वेरी निम्नलिखित में से कौन सी है?
A
Combines the output from no more than two queries and must include the same number of columns दो से अधिक प्रश्नों के आउटपुट को संयोजित करता है और इसमें समान संख्या में कॉलम शामिल होने चाहिए
B
Combines the output from no more than two queries and does not include the same number of columns आउटपुट को दो से अधिक प्रश्नों से संयोजित नहीं करता है और इसमें समान संख्या में कॉलम शामिल नहीं होते हैं
C
Combines the output from multiple queries and must include the same number of columns एकाधिक प्रश्नों से आउटपुट को संयोजित करता है और इसमें समान संख्या में कॉलम शामिल होने चाहिए
D
Combines the output from multiple queries and does not include the same number of columns एकाधिक क्वेरीज़ से आउटपुट को संयोजित करता है और इसमें समान संख्या में कॉलम शामिल नहीं होते हैं
✅ Correct Answer:
163
EN + हिं
GB Which of the following statements is true concerning subqueries?
IN सबक्वेरीज़ के संबंध में निम्नलिखित में से कौन सा कथन सत्य है?
A
Involves the use of an inner and outer query इसमें आंतरिक और बाहरी क्वेरी का उपयोग शामिल है
B
Cannot return the same result as a query that is not a subquery उस क्वेरी के समान परिणाम नहीं लौटाया जा सकता जो सबक्वेरी नहीं है
C
Does not start with the word SELECT SELECT शब्द से प्रारंभ नहीं होता
D
All of the mentioned सभी का उल्लेख किया गया है
✅ Correct Answer:
164
EN + हिं
GB Which of the following is a correlated subquery?
IN निम्नलिखित में से कौन सा सहसंबद्ध सबक्वेरी है?
A
Uses the result of an inner query to determine the processing of an outer query बाहरी क्वेरी की प्रोसेसिंग निर्धारित करने के लिए आंतरिक क्वेरी के परिणाम का उपयोग करता है
B
Uses the result of an outer query to determine the processing of an inner query आंतरिक क्वेरी के प्रसंस्करण को निर्धारित करने के लिए बाहरी क्वेरी के परिणाम का उपयोग करता है
C
Uses the result of an inner query to determine the processing of an inner query किसी आंतरिक क्वेरी के प्रसंस्करण को निर्धारित करने के लिए आंतरिक क्वेरी के परिणाम का उपयोग करता है
D
Uses the result of an outer query to determine the processing of an outer query किसी बाहरी क्वेरी के प्रसंस्करण को निर्धारित करने के लिए बाहरी क्वेरी के परिणाम का उपयोग करता है
✅ Correct Answer:
165
EN + हिं
GB The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T?
IN निम्नलिखित SQL किस प्रकार का जुड़ाव है: SELECT CUSTOMER_T. ग्राहक_आईडी, ऑर्डर_टी. CUSTOMER_ID, NAME, ORDER_ID CUSTOMER_T,ORDER_T से?
A
Equi-join सम में शामिल होने के
B
Natural join प्राकृतिक जुड़ाव
C
Outer join बाहरी जोड़
D
Cartesian join कार्तीय जोड़
✅ Correct Answer:
151–165 of 2982