090183: The selection query specified is invalid for the following reason: <value>

Description

The selection query is invalid because it is badly formed, does not return any feature, returns more than one feature, or returns an invalid feature with curved line segments.

Solution

Ensure that the selection query uses correct SQL syntax and returns exactly one valid feature.