Computer AwarenessHardIBPS SO IT Officer · SBI Clerk Mains

Which statement about a view in SQL is correct?

  1. A. It is a physical copy of a table, refreshed once a day
  2. B. It is an index that makes searches on a column faster
  3. C. It is a backup of the table kept in a separate file
  4. D. It is a stored query that appears to users as a virtual table

Correct answer: D. It is a stored query that appears to users as a virtual table

A view stores the SELECT, not the data; each use runs the query on the base tables. Views can hide columns and simplify complex joins for users.

हिंदी में

SQL में व्यू के बारे में कौन-सा कथन सही है?

  1. A. यह तालिका की भौतिक प्रति है जो दिन में एक बार रिफ़्रेश होती है
  2. B. यह एक इंडेक्स है जो किसी स्तंभ पर खोज तेज़ करता है
  3. C. यह अलग फ़ाइल में रखा तालिका का बैकअप है
  4. D. यह एक संग्रहीत क्वेरी है जो उपयोगकर्ताओं को वर्चुअल तालिका जैसी दिखती है

उत्तर: D. व्यू SELECT को संग्रहीत करता है, डेटा को नहीं; प्रत्येक प्रयोग पर क्वेरी आधार तालिकाओं पर चलती है। व्यू स्तंभों को छिपा सकते हैं और उपयोगकर्ताओं के लिए जटिल जॉइन सरल कर सकते हैं।

More Computer Awareness questions

Exams that ask this topic