Python How To Find Substring In Sql