LeanTaaS interview question

How to speed up performance on multiple data analysis on sql tables.