Python Find Multiple Substring Function In Sql