I have connected Python to SASEG using pysftp, however need to connect it by applying SQL Query into pysftp in order to create a subset of the table.