SELECT namespaces.id FROM namespaces WHERE namespaces.id IN (%IN_LIST%)
