Computer AwarenessHardIBPS SO IT Officer
Which relational algebra operation picks out chosen COLUMNS of a relation and removes any duplicate rows that result?
- A. Selection (σ)
- B. Projection (π)
- C. Cartesian product (×)
- D. Union (∪)
Correct answer: B. Projection (π)
Projection keeps the listed attributes, and since a relation is a set, duplicate tuples disappear. Selection picks rows that satisfy a condition.
हिंदी में
कौन-सी रिलेशनल बीजगणित संक्रिया किसी रिलेशन के चुने हुए स्तंभ निकालती है और परिणामी दोहराई गई पंक्तियाँ हटा देती है?
- A. सेलेक्शन (σ)
- B. प्रोजेक्शन (π)
- C. कार्तीय गुणनफल (×)
- D. यूनियन (∪)
उत्तर: B. प्रोजेक्शन सूचीबद्ध एट्रिब्यूट रखता है, और चूँकि रिलेशन एक समुच्चय है, दोहराए गए टपल लुप्त हो जाते हैं। सेलेक्शन शर्त पूरी करने वाली पंक्तियाँ चुनता है।
More Computer Awareness questions
- A data warehouse, unlike a bank's day-to-day transaction database, is mainly designed for:
- Which statement about a view in SQL is correct?
- A bank wants a log entry to be written automatically whenever a row in the ACCOUNTS table is updated, without the application doing it…
- ORDERS.CustomerID is a foreign key to CUSTOMER, declared with ON DELETE CASCADE. What happens when a customer row is deleted?
- In ENROLMENT(StudentID, CourseID, Grade), a student takes many courses and a course has many students, but a student takes a course only…
- Which pairing of computer generation and its key technology is WRONG?