using ILIKE instead of LIKE
SELECT id FROM groups WHERE LOWER(name)=LOWER('Administrator')
-- Postgresql case insensitive: SELECT * FROM people WHERE name ILIKE 'JOHN' -- John -- JOHN -- john