VibraXX
Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter Arena
HomeCategoriesLogic & PuzzlesQuestion
Question
Logic & Puzzles

If a database query returns all customer records where the 'city' field is either 'New York' OR 'Los Angeles', which set theory operation models this?

A)Set intersection
B)Set difference
C)Set union
D)Power set

💡 Explanation

The query models a set union because it returns records belonging to either the set of customers from 'New York' or the set of customers from 'Los Angeles', therefore combining both sets. It's a union, rather than intersection which would only return customers in both cities.

🏆 Up to £1,000 monthly prize pool

Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.

⚡ Enter Arena

Related Questions

Browse Logic & Puzzles