Skip to content

Commit cdc85bd

Browse files
authored
Correct incorrect column names in SELECT
In the SELECT query using the CETAS created table, the column names do not match what was created
1 parent b24270a commit cdc85bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/synapse-analytics/sql/create-external-table-as-select.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ USE [mydbname];
8383
GO
8484

8585
SELECT
86-
country_name, population
86+
CountryName, PopulationCount
8787
FROM PopulationCETAS
8888
WHERE
89-
[year] = 2019
89+
[Year] = 2019
9090
ORDER BY
91-
[population] DESC;
91+
[PopulationCount] DESC;
9292
```
9393

9494
## Remarks

0 commit comments

Comments
 (0)