title: How do I export all files without any IDs or duplicate IDs to a text file in Java?
body: <p>I have a java program which is like a search engine where you can type any keyword into the search bar and it will find a matching keyword in the MySQL database and pull up all those entries into a Jtable. There are about 50000 data entries so if I were to type 1.456, all entries that contain this keyword will come up. I have an ID column whereby every entry has a unique ID. I want to be able to export any entries that do not have an ID to a seperate text file. And also if possible, export duplicate IDs.</p>