Interpretation of statistical queries to relational databases