96.1k views
5 votes
Which modification should be made to the "ClientsByState" query to select records where the ManagerID field value is 'M-01' OR the State field value is 'TX'?

A) Add AND criteria for ManagerID and State fields.

B) Add OR criteria for ManagerID and State fields.

C) Remove the existing criteria for ManagerID and State fields.

D) Create a new query for ManagerID and another for State, then combine the results.

User Eric Kok
by
8.2k points

1 Answer

1 vote

Final answer:

The correct answer is to add OR criteria for the ManagerID and State fields in the "ClientsByState" query, which will select records that meet either condition.

The Correct option is; B) Add OR criteria for ManagerID and State fields.

Step-by-step explanation:

The modification that should be made to the "ClientsByState" query to select records where the ManagerID field value is 'M-01' OR the State field value is 'TX' is to add OR criteria for ManagerID and State fields.

This will allow the query to return records that satisfy either one of the conditions without needing both to be true at the same time. Using AND criteria would incorrectly require both conditions to be true, removing the existing criteria would not filter the results at all, and creating new queries and combining them would be unnecessarily complex for this task.

The modification that should be made to the "ClientsByState" query to select records where the ManagerID field value is 'M-01' OR the State field value is 'TX' is to Add OR criteria for ManagerID and State fields.

User Rahulbehl
by
7.9k points