How to use Wildcard in selecting ID's ?