CREATE USER 'GERARD'@'localhost' IDENTIFIED BY 'XYZ1234';CREATE VIEW RESIDENTS (TOWN, NUMBER_OF) ASSELECT TOWN, COUNT(*)FROM PLAYERSGROUP BY TOWN;GRANT SELECTON RESIDENTSTO GERARD