Sql Select Multiple Conditions In Python With Example