help for writing shell script to export table data

Hi All,

I need to write a shell script(ksh) to take the tables backup in oracle(exporting tables data).

The tables list is not static, and those are selecting through dynamic sql
query. Can any body help how to write this shell script.

Thanks,

This topic has been discussed a lot, try to search first by 'oracle', 'sql' keywords

Can any one provide the link / guidelines. that's enough

Thanks

here is the script'

connect to db;
export to 'path of the file' of del select * form table