SET ECHO OFF
SET FEEDBACK OFF
SPOOL GRANTS.SQL
SELECT 'GRANT SELECT ON HISTORY_TBL TO ' || USERNAME || ';'
FROM SYS.DBA_USERS
WHERE USERNAME IN ('JOHN','KEVIN','RYAN','RON','CHRIS')
grant select on history_tbl to JOHN;
grant select on history_tbl to KEVIN;
grant select on history_tbl to RYAN;
grant select on history_tbl to RON;
grant select on history_tbl to CHRIS;