DECLARE
v_table_name VARCHAR2 (30);
v_stat_name VARCHAR2 (35);
v_sql_stat VARCHAR2 (200);
v_schema VARCHAR2 (30) := 'SCOTT';
--Define your table you want to export stat
CURSOR cur_tab IS SELECT table_name
FROM dba_tables WHERE table_name IN ('EMP', 'DEPT', 'BONUS');