hasTable, better SQL reporting