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
121
EN + हिं
GB If a1, a2, a3 are attributes in a relation and S is another relation, which of the following is an incorrect specification of an integrity constraint?
IN यदि a1, a2, a3 एक संबंध में विशेषताएँ हैं और S एक अन्य संबंध है, तो निम्नलिखित में से कौन सा एक अखंडता बाधा का गलत विनिर्देश है?
A
primary key(a1, a2, a3) प्राथमिक कुंजी(a1, a2, a3)
B
primary key(a1) प्राथमिक कुंजी(a1)
C
foreign key(a1, a2) references S विदेशी कुंजी (ए1, ए2) संदर्भ एस
D
foreign key(a1, a2) विदेशी कुंजी(a1, a2)
✅ Correct Answer:
122
EN + हिं
GB What is the syntax to load data into the database? (Consider D as the database and a, b, c as datA:)
IN डेटाबेस में डेटा लोड करने का सिंटैक्स क्या है? (डी को डेटाबेस और ए, बी, सी को डेटाए के रूप में मानें:)
A
enter into D (a, b, C:); डी (ए, बी, सी:) में प्रवेश करें;
B
insert into D values (a, b, C:); डी मानों में डालें (ए, बी, सी:);
C
insert into D (a, b, C:); डी (ए, बी, सी:) में डालें;
D
insert (a, b, C:) values into D; डी में (ए, बी, सी:) मान डालें;
✅ Correct Answer:
123
EN + हिं
GB Which of the following commands do we use to delete a relation (R) from a database?
IN डेटाबेस से किसी रिलेशन (R) को हटाने के लिए हम निम्नलिखित में से किस कमांड का उपयोग करते हैं?
A
drop table R ड्रॉप टेबल आर
B
drop relation R ड्रॉप रिलेशन आर
C
delete table R तालिका R हटाएँ
D
delete from R आर से हटाएं
✅ Correct Answer:
124
EN + हिं
GB Which of the following commands do we use to delete all the tuples from a relation (R)?
IN किसी रिलेशन (R) से सभी टुपल्स को हटाने के लिए हम निम्नलिखित में से किस कमांड का उपयोग करते हैं?
A
delete table R तालिका R हटाएँ
B
drop table R ड्रॉप टेबल आर
C
delete from R आर से हटाएं
D
drop from R आर से ड्रॉप
✅ Correct Answer:
125
EN + हिं
GB Choose the correct command to delete an attribute A from a relation R
IN संबंध R से एक विशेषता A को हटाने के लिए सही कमांड चुनें
A
alter table R delete A तालिका R बदलें, A हटाएँ
B
alter table R drop A परिवर्तन तालिका आर ड्रॉप ए
C
alter table drop A from R आर से टेबल ड्रॉप ए बदलें
D
delete A from R R में से A हटाएं
✅ Correct Answer:
126
EN + हिं
GB create table apartment(ownerID varchar (5), ownername varchar(25), floor numeric(4,0),
primary key (ownerID:));
Choose the correct option regarding the above statement
IN टेबल अपार्टमेंट बनाएं (मालिक आईडी वर्कर (5), मालिक नाम वर्कर (25), फ्लोर न्यूमेरिक (4,0), प्राथमिक कुंजी (मालिक आईडी:)); उपरोक्त कथन के संबंध में सही विकल्प चुनें
A
The statement is syntactically wrong कथन वाक्यविन्यास की दृष्टि से गलत है
B
It creates a relation with three attributes ownerID, ownername, floor in which floor cannot be null. यह तीन विशेषताओं ओनरआईडी, ओनरनेम, फ्लोर के साथ एक संबंध बनाता है जिसमें फ्लोर शून्य नहीं हो सकता।
C
It creates a relation with three attributes ownerID, ownername, floor in which ownerID cannot be null. यह तीन विशेषताओं मालिक आईडी, मालिक नाम, मंजिल के साथ एक संबंध बनाता है जिसमें मालिक आईडी शून्य नहीं हो सकता है।
D
It creates a relation with three attributes ownerID, ownername, floor in which ownername must consist of at least 25 characters. यह तीन विशेषताओं मालिक आईडी, मालिक नाम, मंजिल के साथ एक संबंध बनाता है जिसमें मालिक नाम में कम से कम 25 अक्षर होने चाहिए।
✅ Correct Answer:
127
EN + हिं
GB What does the notnull integrity constraint do?
IN नॉटनल इंटीग्रिटी बाधा क्या करती है?
A
It ensures that at least one tuple is present in the relation यह सुनिश्चित करता है कि संबंध में कम से कम एक टुपल मौजूद है
B
It ensures that at least one foreign key is present in the relation यह सुनिश्चित करता है कि संबंध में कम से कम एक विदेशी कुंजी मौजूद है
C
It ensures that all tuples have a finite value on a specified attribute यह सुनिश्चित करता है कि सभी टुपल्स का एक निर्दिष्ट विशेषता पर एक सीमित मान हो
D
It ensures that all tuples have finite attributes on all the relations यह सुनिश्चित करता है कि सभी टुपल्स के सभी संबंधों पर सीमित गुण हों
✅ Correct Answer:
128
EN + हिं
GB Which SQL function is used to count the number of rows in a SQL query?
IN SQL क्वेरी में पंक्तियों की संख्या गिनने के लिए किस SQL ​​फ़ंक्शन का उपयोग किया जाता है?
A
COUNT() गिनती करना()
B
NUMBER() संख्या()
C
SUM() जोड़()
D
COUNT(*) गिनती करना(*)
✅ Correct Answer:
129
EN + हिं
GB Which SQL keyword is used to retrieve a maximum value?
IN अधिकतम मान प्राप्त करने के लिए किस SQL ​​कीवर्ड का उपयोग किया जाता है?
A
MOST अधिकांश
B
TOP शीर्ष
C
MAX मैक्स
D
UPPER ऊपरी
✅ Correct Answer:
130
EN + हिं
GB Which of the following SQL clauses is used to DELETE tuples from a database table?
IN निम्नलिखित में से किस SQL ​​क्लॉज़ का उपयोग डेटाबेस तालिका से टुपल्स को हटाने के लिए किया जाता है?
A
DELETE मिटाना
B
REMOVE निकालना
C
DROP बूँद
D
CLEAR स्पष्ट
✅ Correct Answer:
131
EN + हिं
GB ___________removes all rows from a table without logging the individual row deletions.
IN ___________ व्यक्तिगत पंक्ति विलोपन को लॉग किए बिना तालिका से सभी पंक्तियों को हटा देता है।
A
DELETE मिटाना
B
REMOVE निकालना
C
DROP बूँद
D
TRUNCATE काट-छांट
✅ Correct Answer:
132
EN + हिं
GB Which of the following is not a DDL command?
IN निम्नलिखित में से कौन सा DDL कमांड नहीं है?
A
UPDATE अद्यतन
B
TRUNCATE काट-छांट
C
ALTER ऑल्टर
D
None of the Mentioned उल्लेखित में से कोई नहीं
✅ Correct Answer:
133
EN + हिं
GB Which of the following are TCL commands?
IN निम्नलिखित में से कौन से TCL कमांड हैं?
A
UPDATE and TRUNCATE अद्यतन करें और छोटा करें
B
SELECT and INSERT चुनें और डालें
C
GRANT and REVOKE अनुदान देना और रद्द करना
D
ROLLBACK and SAVEPOINT रोलबैक और सेवपॉइंट
✅ Correct Answer:
134
EN + हिं
GB ________________ is not a category of SQL command.
IN ________________ SQL कमांड की श्रेणी नहीं है।
A
TCL टीसीएल
B
SCL एससीएल
C
DCL डी.सी.एल
D
DDL डीडीएल
✅ Correct Answer:
135
EN + हिं
GB If you don’t specify ASC or DESC after a SQL ORDER BY clause, the following is used by default ______________
IN यदि आप SQL ORDER BY क्लॉज के बाद ASC या DESC निर्दिष्ट नहीं करते हैं, तो डिफ़ॉल्ट रूप से निम्नलिखित का उपयोग किया जाता है ______________
A
ASC एएससी
B
DESC वर्णन
C
There is no default value कोई डिफ़ॉल्ट मूल्य नहीं है
D
None of the mentioned उल्लेखित कोई भी नहीं
✅ Correct Answer:
121–135 of 2982