How to select items with all possible id-s or just a particular one using the same query?
===

Is there a variable in SQL that can be used to represent **ALL** the possible values of a field? Something like this pseudo-code

    SELECT name FROM table WHERE id = *ALL_EXISTING_ID-s*

I want to return all rows in this case, but later when I do a search and need only one item I can simply replace that variable with the `id` I'm looking for, i.e.

    SELECT name FROM table WHERE id = 1