We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6c308 commit 7d7f751Copy full SHA for 7d7f751
1-queries/08_nyc_restaurants.sql
@@ -4,17 +4,37 @@
4
SELECT *
5
FROM restaurants;
6
7
+-- Unique restaurants
8
+
9
SELECT DISTINCT cuisine
10
11
12
+-- Chinese spots
13
14
15
FROM restaurants
16
WHERE cuisine = 'Chinese';
17
18
+-- Italian spots
19
20
21
22
WHERE cuisine = 'Italian';
23
24
+-- Restaurants in Greenpoint
25
26
+SELECT *
27
+FROM restaurants
28
+WHERE neighborhood = 'Greenpoint';
29
30
+-- Cheat eats
31
32
33
34
+WHERE price = '$';
35
36
+-- Bougie spots
37
38
39
-WHERE neighborhood = 'Greenpoint';
40
+WHERE price = '$$$';
0 commit comments