I apologize in advance if this question has been asked before.
I am trying to import a text file, that contains my MySQL output, into the LyX document I'm working on. The text file contains tables created by MySQL.
This is what part of the file looks like (it's 146 pages long so I won't paste the whole thing):
+-------------------+----------+
| Name | Area |
+-------------------+----------+
| Africa | 30254700 |
| America | 39872000 |
| Asia | 45095300 |
| Australia/Oceania | 8503470 |
| Europe | 9562490 |
+-------------------+----------+
This is the smallest table, of course, there are far bigger tables. I don't want to have to do write it all down by hand, if I can avoid it.
I have tried converting the file to JPEGs and import them but that messes up formatting. I have also tried to copy and paste but that changes the formatting and gets rid of extra spaces.
I'd really appreciate any help that you guys can give me here.
I am a noob at LyX so I'd also appreciate simple instructions.

tabulars in LaTeX), or a plain ASCII table that obeys the spaces? The former would have to be done outside of LaTeX/LyX, but the second inside. – Werner Oct 26 '12 at 5:43