File size: 3,392 Bytes
f965c4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
SQL,GQL
SELECT Nickname FROM table WHERE Undergraduate Enrollment = 9386,"query{
	table(where: {undergraduate enrollment: { _gt: 9386}})
	{
		Nickname
	}
}"
SELECT Runs FROM table WHERE Batsmen = james bryant graeme welch,"query{
	table(where: {Batsmen : {_eq : james bryant graeme welch}})
	{
		Runs
	}
}"
"SELECT MAX Production in 2010 (1,000 ton) FROM table WHERE Country = Sweden","query{
	table(limit = 1, order_by: {Production: desc}, where: {Country: {_eq : ""Sweden""}})
	{
		Production 
	}
}"
SELECT Date FROM table WHERE Field = hofstra stadium,"query{
	table(where: {Field: {_eq: ""hofstra stadium""}})
	{
		Date
	}
}"
SELECT Team 1 FROM table WHERE Team 2 = ulisses,"query{
        table(where: {Team 2: {_eq: ""ulisses""}})
        {
                Team 1
        }
}"
SELECT Type of Record FROM table WHERE Result/Games = B.C. 16 @ Edmonton 22,"query{
	table(where: {Result/Games = ""B.C. 16 @ Edmonton 22""})
	{
		Record
	}
}"
SELECT Country FROM table WHERE Name = pele,"query{
	table(where: {Name: {_eq: ""pele""}})
	{
		Country
	}
}"
SELECT COUNT Attendance FROM table WHERE Opponent = new orleans saints,"query{
	table(:where : {opponent: {_eq : ""new orleans saints""}})
	{
		aggregate{
			count
			sum{
				Attendance
			}
		}
	}
}"
SELECT Registrations FROM table WHERE Station Number = C26,"query{
	table(:where : {Station Number: {_eq: ""C26""}})
	{
		Registrations
	}
}"
SELECT AVG Crowd FROM table WHERE Home team score = 9.8 (62),"query{
        table(:where: {Home team score: {_eq : ""98(62)""}})
        {
                aggregate{
                        avg{
                                Crowd
                        }
                }
        }
}"
SELECT Title FROM table WHERE Release = August 27,"query{
	table(: where: {Release: {_eq : ""August 27""}})
	{
		Title
	}
}"
SELECT AVG Attendance FROM Students WHERE Round = f,"query{
	Students(:where: {Round: {_eq : ""f""}})
	{
		aggregate{
			avg{
				Attendance
			}
		}
	}
}"
SELECT Player FROM Players WHERE Score = 72-67-71=210,"query{
	Players(where: {Score: {_eq : ""72-67-71=210""} })
	{
		Player
	}
}"
SELECT League FROM table WHERE Year = 2010,"query{
	table(where: {Year: {_eq : ""2010""}})
	{
		League
	}
}"
"SELECT AVG BW 2013 FROM table WHERE AE 2011 = 1000 AND Location (State, City) = texas, fort worth AND FT 2011 < 1000","query{
	table(where: {AE: {_eq: ""2011=1000""}, and: {Location (State, City): {_eq: ""texas, fort worth""}}, and: {FT 2011: {_lt: 1000}}})
	{
		aggregate{
			avg{
				BW
			}
		}
	}
}"
SELECT SUM Gold FROM Golds WHERE Silver = 2 AND Nation = bulgaria (bul) OR Rank < 18,"query{
	Golds(where: {Silver: {_eq: 2}}, and: {Nation: {_eq: ""bulgaria""}}, or: {rank: {_lt : 18}})
	{
		aggregate{
			count
			sum{
				Gold
			}
		}
	}
}"
SELECT High points FROM table WHERE Date = may 12,"query{
        table(where: {Date: {_eq: ""may 12""}})
        {
                High points
        }
}"
SELECT Opponents FROM table WHERE Partner = rushmi chakravarthi,"query{
	table(where: {Partner: {_eq: ""rushmi chakravarti""}})
	{
		Opponents
	}
}"
SELECT Broadcast date FROM table WHERE Viewers (in millions) = 6.4 AND Archive = 16mm t/r,"query{
	table(where: {Viewers(in millions): {_eq: 6.4}}, and: {Archive: {_eq: ""16mm t/r""}})
	{
		Broadcast date
	}
}"
SELECT Race Name FROM table WHERE Circuit = Monza,"query{
	table(where: {Circuit: {_eq: ""Monza""}})
	{
		Race
	}
}"