Think you're looking for a CSV file format. This is a really plain text file with a very simple structure . Here you can link to the Wiki .
You can do it yourself by getting data from your database and writing data to a text file according to your needs.
Here is an example of the contents of a CSV file:
Year,Make,Model 1997,Ford,E350 2000,Mercury,Cougar
The file has 3 columns: Year , Make , Model and 2 rows of data: 1997,Ford,E350 , 2000,Mercury,Cougar .
source share