Many times we want to recreate the query in databases for understanding the result or just for testing and validation purpose. SQL code is handy in reproducing the results in databases. Just copy the SQL and you can run in your database without any modification.