cursor type\loop question

JD2
Contributor

Hello:
In my Hive Metastore, I have 35 tables in database that I want to export in excel. I need help on query that can loop one table at a time export one table to excel.

Any help is appreciated.

Thanking in advance for your kind help.