select ... from .. where lower(username) = lower(?)