We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7a4fc3 commit b6b1d72Copy full SHA for b6b1d72
src/tutorial/advanced.source
@@ -23,7 +23,7 @@
23
CREATE TABLE cities (
24
name text,
25
population float8,
26
- altitude int -- (in ft)
+ elevation int -- (in ft)
27
);
28
29
CREATE TABLE capitals (
@@ -42,17 +42,17 @@ SELECT * FROM cities;
42
SELECT * FROM capitals;
43
44
-- You can find all cities, including capitals, that
45
--- are located at an altitude of 500 ft or higher by:
+-- are located at an elevation of 500 ft or higher by:
46
47
-SELECT c.name, c.altitude
+SELECT c.name, c.elevation
48
FROM cities c
49
-WHERE c.altitude > 500;
+WHERE c.elevation > 500;
50
51
-- To scan rows of the parent table only, use ONLY:
52
53
-SELECT name, altitude
+SELECT name, elevation
54
FROM ONLY cities
55
-WHERE altitude > 500;
+WHERE elevation > 500;
56
57
58
-- clean up (you must remove the children first)
0 commit comments