CREATE USER $USERNAME PASSWORD $PASSWORD;
GRANT USAGE ON SCHEMA $SCHEMA TO $USERNAME;
GRANT SELECT ON $TABLENAME TO $USERNAME; 
