Machine learning confidence-based query matching with IBM Db2