If two SQL returns different results -> test fails. Application supports TeamCity Service Messages (##teamcity messages) so if teamcityLogsEnabled is set to "true" (config file or command line ...
You can access my YouTube channel for more information about this and other automated testing frameworks. Make sure you have the environment variable JAVA_HOME set to the path of the respective JDK.