SyntaxFix
Write A Post
Hire A Developer
Questions
Use LOWER function to convert the strings to lower case before comparing.
Try this:
SELECT id FROM groups WHERE LOWER(name)=LOWER('Administrator')