Computer Science · Database Management Systems
एक अलग तालिका में एक संबंधित उप-विभाग (sub-department) मौजूद है या नहीं, इसके आधार पर मुख्य विभागों को फ़िल्टर करने के लिए कौन सा क्वेरी सिंटैक्स उपयुक्त है?
- 1SELECT * FROM departments HAVING sub_dept IS NOT NULL;
- 2SELECT * FROM departments ORDER BY sub_dept;
- 3SELECT * FROM departments GROUP BY sub_dept;
- 4SELECT * FROM departments WHERE sub_dept IN (SELECT name FROM sub_depts);✓
सही उत्तर देखें
SELECT * FROM departments WHERE sub_dept IN (SELECT name FROM sub_depts);
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 Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Database Management Systems?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Database Management Systems