Modified to give sql output