A query is used to ________.
Select one:
a. allocate storage space for a database
b. retrieve data from a database
c. organize and sort the data in a database
d. eliminate data duplication
e. prevent illegal or illogical entries from entering the database