Computer Science · Database Management System
यदि तालिका 'dept' में डुप्लिकेट विभाग के नाम हैं, तो निम्नलिखित SQL क्वेरी का आउटपुट क्या होगा? SELECT DISTINCT dept_name FROM dept ORDER BY dept_name DESC NULLS FIRST;
- 1आरोही (ascending) क्रम में क्रमबद्ध सभी विभाग के नाम, जिसमें NULL मान सबसे नीचे होंगे
- 2बिना किसी विशिष्ट क्रम के GROUP BY dept_name का उपयोग करने जैसा ही परिणाम
- 3सभी विशिष्ट (unique) विभाग के नाम अवरोही (descending) क्रम में क्रमबद्ध, जिसमें NULL मान सबसे पहले दिखाई देंगे✓
- 4डुप्लिकेट को हटाकर सभी विभागों के नाम, लेकिन उनका क्रम यादृच्छिक (random) होगा
सही उत्तर देखें
सभी विशिष्ट (unique) विभाग के नाम अवरोही (descending) क्रम में क्रमबद्ध, जिसमें NULL मान सबसे पहले दिखाई देंगे
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Database Management System?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Database Management System