convert sql query to pandas dataframe

welcome to shbcf.ru