Use more SQL functionalities