I currently do a verification of value in table to match with in the website. I normally verify using small SQL commands for related tables. Somehow it is a time consuming. I was wondering if you help me with creating a SQL script by getting values from tables and throwing the result or output in text file format as part of verification that the values are matched in database and in website

Thanks a lot