It's also worth being aware of the (possible) effect of writing a query where ID values are returned as the first (or only) column in the result table. Even though it has no effect in this particular case (see below).
The behaviour is governed by the setting Tools > Options > Miscellaneous > Automatically select query records.
If the setting is enabled, then running a query that returns the IDs of drawing objects in the first column will cause the corresponding drawing objects to become selected (just as if they had been manually selected in the GUI).
(This has nothing to do with the SQL word SELECT--the correspondence with selection in the GUI is there, but it is a red herring.)
The reason why automatic selection has no effect in this case is that you are listing IDs for objects that are already selected--so, no change.
By contrast, assuming that the option is enabled, the complementary query
SELECT [ID] FROM [Drawing] WHERE NOT [Selection (I)]
will list the IDs of all unselected objects--and then cause those objects to become selected in the drawing--and all other objects to become unselected. So the selection is inverted.