Python Function Input Parameters In Sql