There are several ways to export data from your database, including output redirection and using a data extraction facility.
You may also export data by using a front-end tool, written by you or a third party, that effectively queries the IQ database and formats the data as desired.