How can I print data that i filtered out of my mysql table : I am currently developing a school project and once again require some advice from fellow coders. I basically have a mysql table from which i filter out data (according to conditions). I used to print this filtered data to the console, however I now want to go further and want to print the results.

Is there a simple way to maybe write the data to another table and print it?
If not is there perhaps a way to just export the data (maybe in the form of a txt.file)?

My problem is basically that i am still a beginner who doesn't know most of the Java terms and functions. It would therefore be very helpful if someone could perhaps recommend a simple way to fulfil the above requirements.

Thank you for your help :)!!
