Approximate Query Processing Using Deep Learning and Database Techniques