PREMIUM
🎯 PPSC Past Paper Test Series
30 Mock Tests (100 MCQs Each) + 3,000+ Past Paper MCQs
βœ… Detailed Explanations β€’ πŸ’‘ One-Liner Memory Hacks β€’ πŸ“š Previous Papers
WhatsApp Now β†’

Query can be used to select data from?

A. Single table
B. mutiple tabs
C. Both A & B
D. None
Correct Answer: C. Both A & B

A query in a database management system is a request for data or information from a database table or combination of tables. Its primary function is to retrieve specific information based on defined criteria.

Option C: Both A & B is correct because database queries, particularly those using SQL (Structured Query Language), are designed to select data from a single table when the required information resides in one place. More powerfully, they can also select and combine data from multiple tables using operations like JOINs, allowing for complex data retrieval across related datasets. Therefore, options A and B individually are only partially correct, as a query's utility extends to both scenarios, making C the most comprehensive and accurate answer.

Leave a Comment

Your email address will not be published. Required fields are marked *

Join Our WhatsApp Channel ×
Scroll to Top