Remove axis=1 for SQL