結果 : how to write sql queries in python