sql parsing added lines to force 0 rows return #12
query inference improvement #12