db_id
stringlengths
4
31
query
stringlengths
18
577
question
stringlengths
16
224
query_toks
listlengths
4
90
query_toks_no_value
listlengths
4
125
question_toks
listlengths
4
44
soccer_2
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID ORDER BY T1.pName
Find the name of all students who were in the tryout sorted in alphabetic order.
[ "SELECT", "T1.pName", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "ORDER", "BY", "T1.pName" ]
[ "select", "t1", ".", "pname", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "order", "by", "t1", ".", "pname" ]
[ "Find", "the", "name", "of", "all", "students", "who", "were", "in", "the", "tryout", "sorted", "in", "alphabetic", "order", "." ]
soccer_2
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID ORDER BY T1.pName
What are the names of all students who tried out in alphabetical order?
[ "SELECT", "T1.pName", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "ORDER", "BY", "T1.pName" ]
[ "select", "t1", ".", "pname", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "order", "by", "t1", ".", "pname" ]
[ "What", "are", "the", "names", "of", "all", "students", "who", "tried", "out", "in", "alphabetical", "order", "?" ]
soccer_2
SELECT T1.pName , T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
Find the name and hours of the students whose tryout decision is yes.
[ "SELECT", "T1.pName", ",", "T1.HS", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'yes", "'" ]
[ "select", "t1", ".", "pname", ",", "t1", ".", "hs", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value" ]
[ "Find", "the", "name", "and", "hours", "of", "the", "students", "whose", "tryout", "decision", "is", "yes", "." ]
soccer_2
SELECT T1.pName , T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
What are the names and hours spent practicing of every student who received a yes at tryouts?
[ "SELECT", "T1.pName", ",", "T1.HS", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'yes", "'" ]
[ "select", "t1", ".", "pname", ",", "t1", ".", "hs", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value" ]
[ "What", "are", "the", "names", "and", "hours", "spent", "practicing", "of", "every", "student", "who", "received", "a", "yes", "at", "tryouts", "?" ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'striker'
Find the states of the colleges that have students in the tryout who played in striker position.
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'striker", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value" ]
[ "Find", "the", "states", "of", "the", "colleges", "that", "have", "students", "in", "the", "tryout", "who", "played", "in", "striker", "position", "." ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'striker'
What are the states of the colleges where students who tried out for the striker position attend?
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'striker", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value" ]
[ "What", "are", "the", "states", "of", "the", "colleges", "where", "students", "who", "tried", "out", "for", "the", "striker", "position", "attend", "?" ]
soccer_2
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' AND T2.pPos = 'striker'
Find the names of the students who are in the position of striker and got a yes tryout decision.
[ "SELECT", "T1.pName", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'yes", "'", "AND", "T2.pPos", "=", "'striker", "'" ]
[ "select", "t1", ".", "pname", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value", "and", "t2", ".", "ppos", "=", "value" ]
[ "Find", "the", "names", "of", "the", "students", "who", "are", "in", "the", "position", "of", "striker", "and", "got", "a", "yes", "tryout", "decision", "." ]
soccer_2
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' AND T2.pPos = 'striker'
What are the names of all students who successfully tried out for the position of striker?
[ "SELECT", "T1.pName", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'yes", "'", "AND", "T2.pPos", "=", "'striker", "'" ]
[ "select", "t1", ".", "pname", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value", "and", "t2", ".", "ppos", "=", "value" ]
[ "What", "are", "the", "names", "of", "all", "students", "who", "successfully", "tried", "out", "for", "the", "position", "of", "striker", "?" ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'
Find the state of the college which player Charles is attending.
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "JOIN", "player", "AS", "T3", "ON", "T2.pID", "=", "T3.pID", "WHERE", "T3.pName", "=", "'Charles", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "join", "player", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t3", ".", "pname", "=", "value" ]
[ "Find", "the", "state", "of", "the", "college", "which", "player", "Charles", "is", "attending", "." ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'
In which state is the college that Charles attends?
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "JOIN", "player", "AS", "T3", "ON", "T2.pID", "=", "T3.pID", "WHERE", "T3.pName", "=", "'Charles", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "join", "player", "as", "t3", "on", "t2", ".", "pid", "=", "t3", ".", "pid", "where", "t3", ".", "pname", "=", "value" ]
[ "In", "which", "state", "is", "the", "college", "that", "Charles", "attends", "?" ]
soccer_2
SELECT avg(T1.HS) , max(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
Find the average and maximum hours for the students whose tryout decision is yes.
[ "SELECT", "avg", "(", "T1.HS", ")", ",", "max", "(", "T1.HS", ")", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'yes", "'" ]
[ "select", "avg", "(", "t1", ".", "hs", ")", ",", "max", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value" ]
[ "Find", "the", "average", "and", "maximum", "hours", "for", "the", "students", "whose", "tryout", "decision", "is", "yes", "." ]
soccer_2
SELECT avg(T1.HS) , max(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
What is the average and maximum number of hours students who made the team practiced?
[ "SELECT", "avg", "(", "T1.HS", ")", ",", "max", "(", "T1.HS", ")", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'yes", "'" ]
[ "select", "avg", "(", "t1", ".", "hs", ")", ",", "max", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value" ]
[ "What", "is", "the", "average", "and", "maximum", "number", "of", "hours", "students", "who", "made", "the", "team", "practiced", "?" ]
soccer_2
SELECT avg(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'no'
Find the average hours for the students whose tryout decision is no.
[ "SELECT", "avg", "(", "T1.HS", ")", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'no", "'" ]
[ "select", "avg", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value" ]
[ "Find", "the", "average", "hours", "for", "the", "students", "whose", "tryout", "decision", "is", "no", "." ]
soccer_2
SELECT avg(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'no'
What is the average number of hours spent practicing for students who got rejected?
[ "SELECT", "avg", "(", "T1.HS", ")", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.decision", "=", "'no", "'" ]
[ "select", "avg", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value" ]
[ "What", "is", "the", "average", "number", "of", "hours", "spent", "practicing", "for", "students", "who", "got", "rejected", "?" ]
soccer_2
SELECT max(T1.HS) , pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos
What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?
[ "SELECT", "max", "(", "T1.HS", ")", ",", "pPos", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T1.HS", ">", "1000", "GROUP", "BY", "T2.pPos" ]
[ "select", "max", "(", "t1", ".", "hs", ")", ",", "ppos", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "hs", ">", "value", "group", "by", "t2", ".", "ppos" ]
[ "What", "is", "the", "maximum", "training", "hours", "for", "the", "students", "whose", "training", "hours", "is", "greater", "than", "1000", "in", "different", "positions", "?" ]
soccer_2
SELECT max(T1.HS) , pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos
For each position, what is the maximum number of hours for students who spent more than 1000 hours training?
[ "SELECT", "max", "(", "T1.HS", ")", ",", "pPos", "FROM", "player", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T1.HS", ">", "1000", "GROUP", "BY", "T2.pPos" ]
[ "select", "max", "(", "t1", ".", "hs", ")", ",", "ppos", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "hs", ">", "value", "group", "by", "t2", ".", "ppos" ]
[ "For", "each", "position", ",", "what", "is", "the", "maximum", "number", "of", "hours", "for", "students", "who", "spent", "more", "than", "1000", "hours", "training", "?" ]
soccer_2
SELECT T1.cName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T2.pName LIKE 'D%'
Which colleges do the tryout players whose name starts with letter D go to?
[ "SELECT", "T1.cName", "FROM", "tryout", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.pName", "LIKE", "'D", "%", "'" ]
[ "select", "t1", ".", "cname", "from", "tryout", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "pname", "like", "value" ]
[ "Which", "colleges", "do", "the", "tryout", "players", "whose", "name", "starts", "with", "letter", "D", "go", "to", "?" ]
soccer_2
SELECT T1.cName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T2.pName LIKE 'D%'
Which colleges does each player with a name that starts with the letter D who tried out go to?
[ "SELECT", "T1.cName", "FROM", "tryout", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T2.pName", "LIKE", "'D", "%", "'" ]
[ "select", "t1", ".", "cname", "from", "tryout", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "pname", "like", "value" ]
[ "Which", "colleges", "does", "each", "player", "with", "a", "name", "that", "starts", "with", "the", "letter", "D", "who", "tried", "out", "go", "to", "?" ]
soccer_2
SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
Which college has any student who is a goalie and succeeded in the tryout.
[ "SELECT", "cName", "FROM", "tryout", "WHERE", "decision", "=", "'yes", "'", "AND", "pPos", "=", "'goalie", "'" ]
[ "select", "cname", "from", "tryout", "where", "decision", "=", "value", "and", "ppos", "=", "value" ]
[ "Which", "college", "has", "any", "student", "who", "is", "a", "goalie", "and", "succeeded", "in", "the", "tryout", "." ]
soccer_2
SELECT cName FROM tryout WHERE decision = 'yes' AND pPos = 'goalie'
What college has a student who successfully made the team in the role of a goalie?
[ "SELECT", "cName", "FROM", "tryout", "WHERE", "decision", "=", "'yes", "'", "AND", "pPos", "=", "'goalie", "'" ]
[ "select", "cname", "from", "tryout", "where", "decision", "=", "value", "and", "ppos", "=", "value" ]
[ "What", "college", "has", "a", "student", "who", "successfully", "made", "the", "team", "in", "the", "role", "of", "a", "goalie", "?" ]
soccer_2
SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)
Find the name of the tryout players who are from the college with largest size.
[ "SELECT", "T2.pName", "FROM", "tryout", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T1.cName", "=", "(", "SELECT", "cName", "FROM", "college", "ORDER", "BY", "enr", "DESC", "LIMIT", "1", ")" ]
[ "select", "t2", ".", "pname", "from", "tryout", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "cname", "=", "(", "select", "cname", "from", "college", "order", "by", "enr", "desc", "limit", "value", ")" ]
[ "Find", "the", "name", "of", "the", "tryout", "players", "who", "are", "from", "the", "college", "with", "largest", "size", "." ]
soccer_2
SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1)
What are the names of all tryout participants who are from the largest college?
[ "SELECT", "T2.pName", "FROM", "tryout", "AS", "T1", "JOIN", "player", "AS", "T2", "ON", "T1.pID", "=", "T2.pID", "WHERE", "T1.cName", "=", "(", "SELECT", "cName", "FROM", "college", "ORDER", "BY", "enr", "DESC", "LIMIT", "1", ")" ]
[ "select", "t2", ".", "pname", "from", "tryout", "as", "t1", "join", "player", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t1", ".", "cname", "=", "(", "select", "cname", "from", "college", "order", "by", "enr", "desc", "limit", "value", ")" ]
[ "What", "are", "the", "names", "of", "all", "tryout", "participants", "who", "are", "from", "the", "largest", "college", "?" ]
soccer_2
SELECT DISTINCT T1.state , T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.
[ "SELECT", "DISTINCT", "T1.state", ",", "T1.enr", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.decision", "=", "'yes", "'" ]
[ "select", "distinct", "t1", ".", "state", ",", "t1", ".", "enr", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "decision", "=", "value" ]
[ "What", "is", "the", "state", "and", "enrollment", "of", "the", "colleges", "where", "have", "any", "students", "who", "got", "accepted", "in", "the", "tryout", "decision", "." ]
soccer_2
SELECT DISTINCT T1.state , T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges?
[ "SELECT", "DISTINCT", "T1.state", ",", "T1.enr", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.decision", "=", "'yes", "'" ]
[ "select", "distinct", "t1", ".", "state", ",", "t1", ".", "enr", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "decision", "=", "value" ]
[ "How", "many", "students", "are", "enrolled", "in", "colleges", "that", "have", "student", "accepted", "during", "tryouts", ",", "and", "in", "which", "states", "are", "those", "colleges", "?" ]
soccer_2
SELECT cName FROM College WHERE enr < 13000 AND state = "AZ" UNION SELECT cName FROM College WHERE enr > 15000 AND state = "LA"
Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment.
[ "SELECT", "cName", "FROM", "College", "WHERE", "enr", "<", "13000", "AND", "state", "=", "``", "AZ", "''", "UNION", "SELECT", "cName", "FROM", "College", "WHERE", "enr", ">", "15000", "AND", "state", "=", "``", "LA", "''" ]
[ "select", "cname", "from", "college", "where", "enr", "<", "value", "and", "state", "=", "value", "union", "select", "cname", "from", "college", "where", "enr", ">", "value", "and", "state", "=", "value" ]
[ "Find", "the", "names", "of", "either", "colleges", "in", "LA", "with", "greater", "than", "15000", "size", "or", "in", "state", "AZ", "with", "less", "than", "13000", "enrollment", "." ]
soccer_2
SELECT cName FROM College WHERE enr < 13000 AND state = "AZ" UNION SELECT cName FROM College WHERE enr > 15000 AND state = "LA"
What are the names of colleges in LA that have more than 15,000 students and of colleges in AZ with less than 13,000 students?
[ "SELECT", "cName", "FROM", "College", "WHERE", "enr", "<", "13000", "AND", "state", "=", "``", "AZ", "''", "UNION", "SELECT", "cName", "FROM", "College", "WHERE", "enr", ">", "15000", "AND", "state", "=", "``", "LA", "''" ]
[ "select", "cname", "from", "college", "where", "enr", "<", "value", "and", "state", "=", "value", "union", "select", "cname", "from", "college", "where", "enr", ">", "value", "and", "state", "=", "value" ]
[ "What", "are", "the", "names", "of", "colleges", "in", "LA", "that", "have", "more", "than", "15,000", "students", "and", "of", "colleges", "in", "AZ", "with", "less", "than", "13,000", "students", "?" ]
soccer_2
SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid'
Find the names of schools that have some students playing in goalie and mid positions.
[ "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'goalie", "'", "INTERSECT", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'mid", "'" ]
[ "select", "cname", "from", "tryout", "where", "ppos", "=", "value", "intersect", "select", "cname", "from", "tryout", "where", "ppos", "=", "value" ]
[ "Find", "the", "names", "of", "schools", "that", "have", "some", "students", "playing", "in", "goalie", "and", "mid", "positions", "." ]
soccer_2
SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid'
What are the names of all schools that have students trying out for the position of goal and 'mid'-field.
[ "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'goalie", "'", "INTERSECT", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'mid", "'" ]
[ "select", "cname", "from", "tryout", "where", "ppos", "=", "value", "intersect", "select", "cname", "from", "tryout", "where", "ppos", "=", "value" ]
[ "What", "are", "the", "names", "of", "all", "schools", "that", "have", "students", "trying", "out", "for", "the", "position", "of", "goal", "and", "'mid'-field", "." ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'
Find the names of states that have some college students playing in goalie and mid positions.
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'goalie", "'", "INTERSECT", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'mid", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", "intersect", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value" ]
[ "Find", "the", "names", "of", "states", "that", "have", "some", "college", "students", "playing", "in", "goalie", "and", "mid", "positions", "." ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie' INTERSECT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid'
What are the names of the states that have some college students playing in the positions of goalie and mid-field?
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'goalie", "'", "INTERSECT", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'mid", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", "intersect", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value" ]
[ "What", "are", "the", "names", "of", "the", "states", "that", "have", "some", "college", "students", "playing", "in", "the", "positions", "of", "goalie", "and", "mid-field", "?" ]
soccer_2
SELECT COUNT(*) FROM (SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid')
How many schools have some students playing in goalie and mid positions.
[ "SELECT", "COUNT", "(", "*", ")", "FROM", "(", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'goalie", "'", "INTERSECT", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'mid", "'", ")" ]
[ "select", "count", "(", "*", ")", "from", "(", "select", "cname", "from", "tryout", "where", "ppos", "=", "value", "intersect", "select", "cname", "from", "tryout", "where", "ppos", "=", "value", ")" ]
[ "How", "many", "schools", "have", "some", "students", "playing", "in", "goalie", "and", "mid", "positions", "." ]
soccer_2
SELECT COUNT(*) FROM (SELECT cName FROM tryout WHERE pPos = 'goalie' INTERSECT SELECT cName FROM tryout WHERE pPos = 'mid')
How many schools have students playing in goalie and mid-field positions?
[ "SELECT", "COUNT", "(", "*", ")", "FROM", "(", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'goalie", "'", "INTERSECT", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'mid", "'", ")" ]
[ "select", "count", "(", "*", ")", "from", "(", "select", "cname", "from", "tryout", "where", "ppos", "=", "value", "intersect", "select", "cname", "from", "tryout", "where", "ppos", "=", "value", ")" ]
[ "How", "many", "schools", "have", "students", "playing", "in", "goalie", "and", "mid-field", "positions", "?" ]
soccer_2
SELECT cName FROM tryout WHERE pPos = 'mid' EXCEPT SELECT cName FROM tryout WHERE pPos = 'goalie'
Find the names of schools that have some players in the mid position but not in the goalie position.
[ "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'mid", "'", "EXCEPT", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'goalie", "'" ]
[ "select", "cname", "from", "tryout", "where", "ppos", "=", "value", "except", "select", "cname", "from", "tryout", "where", "ppos", "=", "value" ]
[ "Find", "the", "names", "of", "schools", "that", "have", "some", "players", "in", "the", "mid", "position", "but", "not", "in", "the", "goalie", "position", "." ]
soccer_2
SELECT cName FROM tryout WHERE pPos = 'mid' EXCEPT SELECT cName FROM tryout WHERE pPos = 'goalie'
What are the names of the schools with some players in the mid position but no goalies?
[ "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'mid", "'", "EXCEPT", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "'goalie", "'" ]
[ "select", "cname", "from", "tryout", "where", "ppos", "=", "value", "except", "select", "cname", "from", "tryout", "where", "ppos", "=", "value" ]
[ "What", "are", "the", "names", "of", "the", "schools", "with", "some", "players", "in", "the", "mid", "position", "but", "no", "goalies", "?" ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'
Find the names of states that have some college students playing in the mid position but not in the goalie position.
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'mid", "'", "EXCEPT", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'goalie", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", "except", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value" ]
[ "Find", "the", "names", "of", "states", "that", "have", "some", "college", "students", "playing", "in", "the", "mid", "position", "but", "not", "in", "the", "goalie", "position", "." ]
soccer_2
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'
What are the names of all the states with college students playing in the mid position but no goalies?
[ "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'mid", "'", "EXCEPT", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'goalie", "'" ]
[ "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", "except", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value" ]
[ "What", "are", "the", "names", "of", "all", "the", "states", "with", "college", "students", "playing", "in", "the", "mid", "position", "but", "no", "goalies", "?" ]
soccer_2
SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie')
How many states that have some college students playing in the mid position but not in the goalie position.
[ "SELECT", "COUNT", "(", "*", ")", "FROM", "(", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'mid", "'", "EXCEPT", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'goalie", "'", ")" ]
[ "select", "count", "(", "*", ")", "from", "(", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", "except", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", ")" ]
[ "How", "many", "states", "that", "have", "some", "college", "students", "playing", "in", "the", "mid", "position", "but", "not", "in", "the", "goalie", "position", "." ]
soccer_2
SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie')
What is the count of states with college students playing in the mid position but not as goalies?
[ "SELECT", "COUNT", "(", "*", ")", "FROM", "(", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'mid", "'", "EXCEPT", "SELECT", "T1.state", "FROM", "college", "AS", "T1", "JOIN", "tryout", "AS", "T2", "ON", "T1.cName", "=", "T2.cName", "WHERE", "T2.pPos", "=", "'goalie", "'", ")" ]
[ "select", "count", "(", "*", ")", "from", "(", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", "except", "select", "t1", ".", "state", "from", "college", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "cname", "=", "t2", ".", "cname", "where", "t2", ".", "ppos", "=", "value", ")" ]
[ "What", "is", "the", "count", "of", "states", "with", "college", "students", "playing", "in", "the", "mid", "position", "but", "not", "as", "goalies", "?" ]
soccer_2
SELECT DISTINCT state FROM college WHERE enr < (SELECT max(enr) FROM college)
Find the states where have the colleges whose enrollments are less than the largest size.
[ "SELECT", "DISTINCT", "state", "FROM", "college", "WHERE", "enr", "<", "(", "SELECT", "max", "(", "enr", ")", "FROM", "college", ")" ]
[ "select", "distinct", "state", "from", "college", "where", "enr", "<", "(", "select", "max", "(", "enr", ")", "from", "college", ")" ]
[ "Find", "the", "states", "where", "have", "the", "colleges", "whose", "enrollments", "are", "less", "than", "the", "largest", "size", "." ]
soccer_2
SELECT DISTINCT state FROM college WHERE enr < (SELECT max(enr) FROM college)
What are the states with colleges that have enrollments less than the some other college?
[ "SELECT", "DISTINCT", "state", "FROM", "college", "WHERE", "enr", "<", "(", "SELECT", "max", "(", "enr", ")", "FROM", "college", ")" ]
[ "select", "distinct", "state", "from", "college", "where", "enr", "<", "(", "select", "max", "(", "enr", ")", "from", "college", ")" ]
[ "What", "are", "the", "states", "with", "colleges", "that", "have", "enrollments", "less", "than", "the", "some", "other", "college", "?" ]
soccer_2
SELECT DISTINCT cName FROM college WHERE enr > (SELECT min(enr) FROM college WHERE state = 'FL')
Find names of colleges with enrollment greater than that of some (at least one) college in the FL state.
[ "SELECT", "DISTINCT", "cName", "FROM", "college", "WHERE", "enr", ">", "(", "SELECT", "min", "(", "enr", ")", "FROM", "college", "WHERE", "state", "=", "'FL", "'", ")" ]
[ "select", "distinct", "cname", "from", "college", "where", "enr", ">", "(", "select", "min", "(", "enr", ")", "from", "college", "where", "state", "=", "value", ")" ]
[ "Find", "names", "of", "colleges", "with", "enrollment", "greater", "than", "that", "of", "some", "(", "at", "least", "one", ")", "college", "in", "the", "FL", "state", "." ]
soccer_2
SELECT DISTINCT cName FROM college WHERE enr > (SELECT min(enr) FROM college WHERE state = 'FL')
What are the names of the colleges that are larger than at least one college in Florida?
[ "SELECT", "DISTINCT", "cName", "FROM", "college", "WHERE", "enr", ">", "(", "SELECT", "min", "(", "enr", ")", "FROM", "college", "WHERE", "state", "=", "'FL", "'", ")" ]
[ "select", "distinct", "cname", "from", "college", "where", "enr", ">", "(", "select", "min", "(", "enr", ")", "from", "college", "where", "state", "=", "value", ")" ]
[ "What", "are", "the", "names", "of", "the", "colleges", "that", "are", "larger", "than", "at", "least", "one", "college", "in", "Florida", "?" ]
soccer_2
SELECT cName FROM college WHERE enr > (SELECT max(enr) FROM college WHERE state = 'FL')
Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.
[ "SELECT", "cName", "FROM", "college", "WHERE", "enr", ">", "(", "SELECT", "max", "(", "enr", ")", "FROM", "college", "WHERE", "state", "=", "'FL", "'", ")" ]
[ "select", "cname", "from", "college", "where", "enr", ">", "(", "select", "max", "(", "enr", ")", "from", "college", "where", "state", "=", "value", ")" ]
[ "Find", "names", "of", "all", "colleges", "whose", "enrollment", "is", "greater", "than", "that", "of", "all", "colleges", "in", "the", "FL", "state", "." ]
soccer_2
SELECT cName FROM college WHERE enr > (SELECT max(enr) FROM college WHERE state = 'FL')
What are the names of all colleges with a larger enrollment than the largest college in Florida?
[ "SELECT", "cName", "FROM", "college", "WHERE", "enr", ">", "(", "SELECT", "max", "(", "enr", ")", "FROM", "college", "WHERE", "state", "=", "'FL", "'", ")" ]
[ "select", "cname", "from", "college", "where", "enr", ">", "(", "select", "max", "(", "enr", ")", "from", "college", "where", "state", "=", "value", ")" ]
[ "What", "are", "the", "names", "of", "all", "colleges", "with", "a", "larger", "enrollment", "than", "the", "largest", "college", "in", "Florida", "?" ]
soccer_2
SELECT sum(enr) FROM college WHERE cName NOT IN (SELECT cName FROM tryout WHERE pPos = "goalie")
What is the total number of enrollment of schools that do not have any goalie player?
[ "SELECT", "sum", "(", "enr", ")", "FROM", "college", "WHERE", "cName", "NOT", "IN", "(", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "``", "goalie", "''", ")" ]
[ "select", "sum", "(", "enr", ")", "from", "college", "where", "cname", "not", "in", "(", "select", "cname", "from", "tryout", "where", "ppos", "=", "value", ")" ]
[ "What", "is", "the", "total", "number", "of", "enrollment", "of", "schools", "that", "do", "not", "have", "any", "goalie", "player", "?" ]
soccer_2
SELECT sum(enr) FROM college WHERE cName NOT IN (SELECT cName FROM tryout WHERE pPos = "goalie")
What is the total number of students enrolled in schools without any goalies?
[ "SELECT", "sum", "(", "enr", ")", "FROM", "college", "WHERE", "cName", "NOT", "IN", "(", "SELECT", "cName", "FROM", "tryout", "WHERE", "pPos", "=", "``", "goalie", "''", ")" ]
[ "select", "sum", "(", "enr", ")", "from", "college", "where", "cname", "not", "in", "(", "select", "cname", "from", "tryout", "where", "ppos", "=", "value", ")" ]
[ "What", "is", "the", "total", "number", "of", "students", "enrolled", "in", "schools", "without", "any", "goalies", "?" ]
soccer_2
SELECT count(DISTINCT state) FROM college WHERE enr > (SELECT avg(enr) FROM college)
What is the number of states that has some college whose enrollment is larger than the average enrollment?
[ "SELECT", "count", "(", "DISTINCT", "state", ")", "FROM", "college", "WHERE", "enr", ">", "(", "SELECT", "avg", "(", "enr", ")", "FROM", "college", ")" ]
[ "select", "count", "(", "distinct", "state", ")", "from", "college", "where", "enr", ">", "(", "select", "avg", "(", "enr", ")", "from", "college", ")" ]
[ "What", "is", "the", "number", "of", "states", "that", "has", "some", "college", "whose", "enrollment", "is", "larger", "than", "the", "average", "enrollment", "?" ]
soccer_2
SELECT count(DISTINCT state) FROM college WHERE enr > (SELECT avg(enr) FROM college)
How many states have a college with more students than average?
[ "SELECT", "count", "(", "DISTINCT", "state", ")", "FROM", "college", "WHERE", "enr", ">", "(", "SELECT", "avg", "(", "enr", ")", "FROM", "college", ")" ]
[ "select", "count", "(", "distinct", "state", ")", "from", "college", "where", "enr", ">", "(", "select", "avg", "(", "enr", ")", "from", "college", ")" ]
[ "How", "many", "states", "have", "a", "college", "with", "more", "students", "than", "average", "?" ]
soccer_2
SELECT count(DISTINCT state) FROM college WHERE enr < (SELECT avg(enr) FROM college)
What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?
[ "SELECT", "count", "(", "DISTINCT", "state", ")", "FROM", "college", "WHERE", "enr", "<", "(", "SELECT", "avg", "(", "enr", ")", "FROM", "college", ")" ]
[ "select", "count", "(", "distinct", "state", ")", "from", "college", "where", "enr", "<", "(", "select", "avg", "(", "enr", ")", "from", "college", ")" ]
[ "What", "is", "the", "number", "of", "states", "that", "has", "some", "colleges", "whose", "enrollment", "is", "smaller", "than", "the", "average", "enrollment", "?" ]
soccer_2
SELECT count(DISTINCT state) FROM college WHERE enr < (SELECT avg(enr) FROM college)
How many states have smaller colleges than average?
[ "SELECT", "count", "(", "DISTINCT", "state", ")", "FROM", "college", "WHERE", "enr", "<", "(", "SELECT", "avg", "(", "enr", ")", "FROM", "college", ")" ]
[ "select", "count", "(", "distinct", "state", ")", "from", "college", "where", "enr", "<", "(", "select", "avg", "(", "enr", ")", "from", "college", ")" ]
[ "How", "many", "states", "have", "smaller", "colleges", "than", "average", "?" ]
device
SELECT count(*) FROM device
How many devices are there?
[ "SELECT", "count", "(", "*", ")", "FROM", "device" ]
[ "select", "count", "(", "*", ")", "from", "device" ]
[ "How", "many", "devices", "are", "there", "?" ]
device
SELECT count(*) FROM device
Count the number of devices.
[ "SELECT", "count", "(", "*", ")", "FROM", "device" ]
[ "select", "count", "(", "*", ")", "from", "device" ]
[ "Count", "the", "number", "of", "devices", "." ]
device
SELECT Carrier FROM device ORDER BY Carrier ASC
List the carriers of devices in ascending alphabetical order.
[ "SELECT", "Carrier", "FROM", "device", "ORDER", "BY", "Carrier", "ASC" ]
[ "select", "carrier", "from", "device", "order", "by", "carrier", "asc" ]
[ "List", "the", "carriers", "of", "devices", "in", "ascending", "alphabetical", "order", "." ]
device
SELECT Carrier FROM device ORDER BY Carrier ASC
What are the different carriers for devices, listed in alphabetical order?
[ "SELECT", "Carrier", "FROM", "device", "ORDER", "BY", "Carrier", "ASC" ]
[ "select", "carrier", "from", "device", "order", "by", "carrier", "asc" ]
[ "What", "are", "the", "different", "carriers", "for", "devices", ",", "listed", "in", "alphabetical", "order", "?" ]
device
SELECT Carrier FROM device WHERE Software_Platform != 'Android'
What are the carriers of devices whose software platforms are not "Android"?
[ "SELECT", "Carrier", "FROM", "device", "WHERE", "Software_Platform", "!", "=", "'Android", "'" ]
[ "select", "carrier", "from", "device", "where", "software_platform", "!", "=", "value" ]
[ "What", "are", "the", "carriers", "of", "devices", "whose", "software", "platforms", "are", "not", "``", "Android", "''", "?" ]
device
SELECT Carrier FROM device WHERE Software_Platform != 'Android'
Return the device carriers that do not have Android as their software platform.
[ "SELECT", "Carrier", "FROM", "device", "WHERE", "Software_Platform", "!", "=", "'Android", "'" ]
[ "select", "carrier", "from", "device", "where", "software_platform", "!", "=", "value" ]
[ "Return", "the", "device", "carriers", "that", "do", "not", "have", "Android", "as", "their", "software", "platform", "." ]
device
SELECT Shop_Name FROM shop ORDER BY Open_Year ASC
What are the names of shops in ascending order of open year?
[ "SELECT", "Shop_Name", "FROM", "shop", "ORDER", "BY", "Open_Year", "ASC" ]
[ "select", "shop_name", "from", "shop", "order", "by", "open_year", "asc" ]
[ "What", "are", "the", "names", "of", "shops", "in", "ascending", "order", "of", "open", "year", "?" ]
device
SELECT Shop_Name FROM shop ORDER BY Open_Year ASC
Return the names of shops, ordered by year of opening ascending.
[ "SELECT", "Shop_Name", "FROM", "shop", "ORDER", "BY", "Open_Year", "ASC" ]
[ "select", "shop_name", "from", "shop", "order", "by", "open_year", "asc" ]
[ "Return", "the", "names", "of", "shops", ",", "ordered", "by", "year", "of", "opening", "ascending", "." ]
device
SELECT avg(Quantity) FROM stock
What is the average quantity of stocks?
[ "SELECT", "avg", "(", "Quantity", ")", "FROM", "stock" ]
[ "select", "avg", "(", "quantity", ")", "from", "stock" ]
[ "What", "is", "the", "average", "quantity", "of", "stocks", "?" ]
device
SELECT avg(Quantity) FROM stock
Give the average quantity of stocks.
[ "SELECT", "avg", "(", "Quantity", ")", "FROM", "stock" ]
[ "select", "avg", "(", "quantity", ")", "from", "stock" ]
[ "Give", "the", "average", "quantity", "of", "stocks", "." ]
device
SELECT Shop_Name , LOCATION FROM shop ORDER BY Shop_Name ASC
What are the names and location of the shops in ascending alphabetical order of name.
[ "SELECT", "Shop_Name", ",", "LOCATION", "FROM", "shop", "ORDER", "BY", "Shop_Name", "ASC" ]
[ "select", "shop_name", ",", "location", "from", "shop", "order", "by", "shop_name", "asc" ]
[ "What", "are", "the", "names", "and", "location", "of", "the", "shops", "in", "ascending", "alphabetical", "order", "of", "name", "." ]
device
SELECT Shop_Name , LOCATION FROM shop ORDER BY Shop_Name ASC
Return the names and locations of shops, ordered by name in alphabetical order.
[ "SELECT", "Shop_Name", ",", "LOCATION", "FROM", "shop", "ORDER", "BY", "Shop_Name", "ASC" ]
[ "select", "shop_name", ",", "location", "from", "shop", "order", "by", "shop_name", "asc" ]
[ "Return", "the", "names", "and", "locations", "of", "shops", ",", "ordered", "by", "name", "in", "alphabetical", "order", "." ]
device
SELECT count(DISTINCT Software_Platform) FROM device
How many different software platforms are there for devices?
[ "SELECT", "count", "(", "DISTINCT", "Software_Platform", ")", "FROM", "device" ]
[ "select", "count", "(", "distinct", "software_platform", ")", "from", "device" ]
[ "How", "many", "different", "software", "platforms", "are", "there", "for", "devices", "?" ]
device
SELECT count(DISTINCT Software_Platform) FROM device
Count the number of different software platforms.
[ "SELECT", "count", "(", "DISTINCT", "Software_Platform", ")", "FROM", "device" ]
[ "select", "count", "(", "distinct", "software_platform", ")", "from", "device" ]
[ "Count", "the", "number", "of", "different", "software", "platforms", "." ]
device
SELECT Open_Date , Open_Year FROM shop WHERE Shop_Name = "Apple"
List the open date of open year of the shop named "Apple".
[ "SELECT", "Open_Date", ",", "Open_Year", "FROM", "shop", "WHERE", "Shop_Name", "=", "``", "Apple", "''" ]
[ "select", "open_date", ",", "open_year", "from", "shop", "where", "shop_name", "=", "value" ]
[ "List", "the", "open", "date", "of", "open", "year", "of", "the", "shop", "named", "``", "Apple", "''", "." ]
device
SELECT Open_Date , Open_Year FROM shop WHERE Shop_Name = "Apple"
What are the open dates and years for the shop named Apple?
[ "SELECT", "Open_Date", ",", "Open_Year", "FROM", "shop", "WHERE", "Shop_Name", "=", "``", "Apple", "''" ]
[ "select", "open_date", ",", "open_year", "from", "shop", "where", "shop_name", "=", "value" ]
[ "What", "are", "the", "open", "dates", "and", "years", "for", "the", "shop", "named", "Apple", "?" ]
device
SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1
List the name of the shop with the latest open year.
[ "SELECT", "Shop_Name", "FROM", "shop", "ORDER", "BY", "Open_Year", "DESC", "LIMIT", "1" ]
[ "select", "shop_name", "from", "shop", "order", "by", "open_year", "desc", "limit", "value" ]
[ "List", "the", "name", "of", "the", "shop", "with", "the", "latest", "open", "year", "." ]
device
SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1
What is the shop name corresponding to the shop that opened in the most recent year?
[ "SELECT", "Shop_Name", "FROM", "shop", "ORDER", "BY", "Open_Year", "DESC", "LIMIT", "1" ]
[ "select", "shop_name", "from", "shop", "order", "by", "open_year", "desc", "limit", "value" ]
[ "What", "is", "the", "shop", "name", "corresponding", "to", "the", "shop", "that", "opened", "in", "the", "most", "recent", "year", "?" ]
device
SELECT T3.Shop_Name , T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID
Show names of shops and the carriers of devices they have in stock.
[ "SELECT", "T3.Shop_Name", ",", "T2.Carrier", "FROM", "stock", "AS", "T1", "JOIN", "device", "AS", "T2", "ON", "T1.Device_ID", "=", "T2.Device_ID", "JOIN", "shop", "AS", "T3", "ON", "T1.Shop_ID", "=", "T3.Shop_ID" ]
[ "select", "t3", ".", "shop_name", ",", "t2", ".", "carrier", "from", "stock", "as", "t1", "join", "device", "as", "t2", "on", "t1", ".", "device_id", "=", "t2", ".", "device_id", "join", "shop", "as", "t3", "on", "t1", ".", "shop_id", "=", "t3", ".", "shop_id" ]
[ "Show", "names", "of", "shops", "and", "the", "carriers", "of", "devices", "they", "have", "in", "stock", "." ]
device
SELECT T3.Shop_Name , T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID
What are the names of device shops, and what are the carriers that they carry devices in stock for?
[ "SELECT", "T3.Shop_Name", ",", "T2.Carrier", "FROM", "stock", "AS", "T1", "JOIN", "device", "AS", "T2", "ON", "T1.Device_ID", "=", "T2.Device_ID", "JOIN", "shop", "AS", "T3", "ON", "T1.Shop_ID", "=", "T3.Shop_ID" ]
[ "select", "t3", ".", "shop_name", ",", "t2", ".", "carrier", "from", "stock", "as", "t1", "join", "device", "as", "t2", "on", "t1", ".", "device_id", "=", "t2", ".", "device_id", "join", "shop", "as", "t3", "on", "t1", ".", "shop_id", "=", "t3", ".", "shop_id" ]
[ "What", "are", "the", "names", "of", "device", "shops", ",", "and", "what", "are", "the", "carriers", "that", "they", "carry", "devices", "in", "stock", "for", "?" ]
device
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 1
Show names of shops that have more than one kind of device in stock.
[ "SELECT", "T2.Shop_Name", "FROM", "stock", "AS", "T1", "JOIN", "shop", "AS", "T2", "ON", "T1.Shop_ID", "=", "T2.Shop_ID", "GROUP", "BY", "T1.Shop_ID", "HAVING", "COUNT", "(", "*", ")", ">", "1" ]
[ "select", "t2", ".", "shop_name", "from", "stock", "as", "t1", "join", "shop", "as", "t2", "on", "t1", ".", "shop_id", "=", "t2", ".", "shop_id", "group", "by", "t1", ".", "shop_id", "having", "count", "(", "*", ")", ">", "value" ]
[ "Show", "names", "of", "shops", "that", "have", "more", "than", "one", "kind", "of", "device", "in", "stock", "." ]
device
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*) > 1
What are the names of shops that have more than a single kind of device in stock?
[ "SELECT", "T2.Shop_Name", "FROM", "stock", "AS", "T1", "JOIN", "shop", "AS", "T2", "ON", "T1.Shop_ID", "=", "T2.Shop_ID", "GROUP", "BY", "T1.Shop_ID", "HAVING", "COUNT", "(", "*", ")", ">", "1" ]
[ "select", "t2", ".", "shop_name", "from", "stock", "as", "t1", "join", "shop", "as", "t2", "on", "t1", ".", "shop_id", "=", "t2", ".", "shop_id", "group", "by", "t1", ".", "shop_id", "having", "count", "(", "*", ")", ">", "value" ]
[ "What", "are", "the", "names", "of", "shops", "that", "have", "more", "than", "a", "single", "kind", "of", "device", "in", "stock", "?" ]
device
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1
Show the name of the shop that has the most kind of devices in stock.
[ "SELECT", "T2.Shop_Name", "FROM", "stock", "AS", "T1", "JOIN", "shop", "AS", "T2", "ON", "T1.Shop_ID", "=", "T2.Shop_ID", "GROUP", "BY", "T1.Shop_ID", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ]
[ "select", "t2", ".", "shop_name", "from", "stock", "as", "t1", "join", "shop", "as", "t2", "on", "t1", ".", "shop_id", "=", "t2", ".", "shop_id", "group", "by", "t1", ".", "shop_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ]
[ "Show", "the", "name", "of", "the", "shop", "that", "has", "the", "most", "kind", "of", "devices", "in", "stock", "." ]
device
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1
What is the name of the shop that has the most different kinds of devices in stock?
[ "SELECT", "T2.Shop_Name", "FROM", "stock", "AS", "T1", "JOIN", "shop", "AS", "T2", "ON", "T1.Shop_ID", "=", "T2.Shop_ID", "GROUP", "BY", "T1.Shop_ID", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ]
[ "select", "t2", ".", "shop_name", "from", "stock", "as", "t1", "join", "shop", "as", "t2", "on", "t1", ".", "shop_id", "=", "t2", ".", "shop_id", "group", "by", "t1", ".", "shop_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ]
[ "What", "is", "the", "name", "of", "the", "shop", "that", "has", "the", "most", "different", "kinds", "of", "devices", "in", "stock", "?" ]
device
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
Show the name of the shop that have the largest quantity of devices in stock.
[ "SELECT", "T2.Shop_Name", "FROM", "stock", "AS", "T1", "JOIN", "shop", "AS", "T2", "ON", "T1.Shop_ID", "=", "T2.Shop_ID", "GROUP", "BY", "T1.Shop_ID", "ORDER", "BY", "SUM", "(", "T1.quantity", ")", "DESC", "LIMIT", "1" ]
[ "select", "t2", ".", "shop_name", "from", "stock", "as", "t1", "join", "shop", "as", "t2", "on", "t1", ".", "shop_id", "=", "t2", ".", "shop_id", "group", "by", "t1", ".", "shop_id", "order", "by", "sum", "(", "t1", ".", "quantity", ")", "desc", "limit", "value" ]
[ "Show", "the", "name", "of", "the", "shop", "that", "have", "the", "largest", "quantity", "of", "devices", "in", "stock", "." ]
device
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
What is the name of the shop that has the greatest quantity of devices in stock?
[ "SELECT", "T2.Shop_Name", "FROM", "stock", "AS", "T1", "JOIN", "shop", "AS", "T2", "ON", "T1.Shop_ID", "=", "T2.Shop_ID", "GROUP", "BY", "T1.Shop_ID", "ORDER", "BY", "SUM", "(", "T1.quantity", ")", "DESC", "LIMIT", "1" ]
[ "select", "t2", ".", "shop_name", "from", "stock", "as", "t1", "join", "shop", "as", "t2", "on", "t1", ".", "shop_id", "=", "t2", ".", "shop_id", "group", "by", "t1", ".", "shop_id", "order", "by", "sum", "(", "t1", ".", "quantity", ")", "desc", "limit", "value" ]
[ "What", "is", "the", "name", "of", "the", "shop", "that", "has", "the", "greatest", "quantity", "of", "devices", "in", "stock", "?" ]
device
SELECT Software_Platform , COUNT(*) FROM device GROUP BY Software_Platform
Please show different software platforms and the corresponding number of devices using each.
[ "SELECT", "Software_Platform", ",", "COUNT", "(", "*", ")", "FROM", "device", "GROUP", "BY", "Software_Platform" ]
[ "select", "software_platform", ",", "count", "(", "*", ")", "from", "device", "group", "by", "software_platform" ]
[ "Please", "show", "different", "software", "platforms", "and", "the", "corresponding", "number", "of", "devices", "using", "each", "." ]
device
SELECT Software_Platform , COUNT(*) FROM device GROUP BY Software_Platform
What are the different software platforms for devices, and how many devices have each?
[ "SELECT", "Software_Platform", ",", "COUNT", "(", "*", ")", "FROM", "device", "GROUP", "BY", "Software_Platform" ]
[ "select", "software_platform", ",", "count", "(", "*", ")", "from", "device", "group", "by", "software_platform" ]
[ "What", "are", "the", "different", "software", "platforms", "for", "devices", ",", "and", "how", "many", "devices", "have", "each", "?" ]
device
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
Please show the software platforms of devices in descending order of the count.
[ "SELECT", "Software_Platform", "FROM", "device", "GROUP", "BY", "Software_Platform", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC" ]
[ "select", "software_platform", "from", "device", "group", "by", "software_platform", "order", "by", "count", "(", "*", ")", "desc" ]
[ "Please", "show", "the", "software", "platforms", "of", "devices", "in", "descending", "order", "of", "the", "count", "." ]
device
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
What are the different software platforms for devices, ordered by frequency descending?
[ "SELECT", "Software_Platform", "FROM", "device", "GROUP", "BY", "Software_Platform", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC" ]
[ "select", "software_platform", "from", "device", "group", "by", "software_platform", "order", "by", "count", "(", "*", ")", "desc" ]
[ "What", "are", "the", "different", "software", "platforms", "for", "devices", ",", "ordered", "by", "frequency", "descending", "?" ]
device
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
List the software platform shared by the greatest number of devices.
[ "SELECT", "Software_Platform", "FROM", "device", "GROUP", "BY", "Software_Platform", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ]
[ "select", "software_platform", "from", "device", "group", "by", "software_platform", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ]
[ "List", "the", "software", "platform", "shared", "by", "the", "greatest", "number", "of", "devices", "." ]
device
SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
What is the software platform that is most common amongst all devices?
[ "SELECT", "Software_Platform", "FROM", "device", "GROUP", "BY", "Software_Platform", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1" ]
[ "select", "software_platform", "from", "device", "group", "by", "software_platform", "order", "by", "count", "(", "*", ")", "desc", "limit", "value" ]
[ "What", "is", "the", "software", "platform", "that", "is", "most", "common", "amongst", "all", "devices", "?" ]
device
SELECT Shop_Name FROM shop WHERE Shop_ID NOT IN (SELECT Shop_ID FROM stock)
List the names of shops that have no devices in stock.
[ "SELECT", "Shop_Name", "FROM", "shop", "WHERE", "Shop_ID", "NOT", "IN", "(", "SELECT", "Shop_ID", "FROM", "stock", ")" ]
[ "select", "shop_name", "from", "shop", "where", "shop_id", "not", "in", "(", "select", "shop_id", "from", "stock", ")" ]
[ "List", "the", "names", "of", "shops", "that", "have", "no", "devices", "in", "stock", "." ]
device
SELECT Shop_Name FROM shop WHERE Shop_ID NOT IN (SELECT Shop_ID FROM stock)
What are the names of shops that do not have any devices in stock?
[ "SELECT", "Shop_Name", "FROM", "shop", "WHERE", "Shop_ID", "NOT", "IN", "(", "SELECT", "Shop_ID", "FROM", "stock", ")" ]
[ "select", "shop_name", "from", "shop", "where", "shop_id", "not", "in", "(", "select", "shop_id", "from", "stock", ")" ]
[ "What", "are", "the", "names", "of", "shops", "that", "do", "not", "have", "any", "devices", "in", "stock", "?" ]
device
SELECT LOCATION FROM shop WHERE Open_Year > 2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year < 2008
Show the locations shared by shops with open year later than 2012 and shops with open year before 2008.
[ "SELECT", "LOCATION", "FROM", "shop", "WHERE", "Open_Year", ">", "2012", "INTERSECT", "SELECT", "LOCATION", "FROM", "shop", "WHERE", "Open_Year", "<", "2008" ]
[ "select", "location", "from", "shop", "where", "open_year", ">", "value", "intersect", "select", "location", "from", "shop", "where", "open_year", "<", "value" ]
[ "Show", "the", "locations", "shared", "by", "shops", "with", "open", "year", "later", "than", "2012", "and", "shops", "with", "open", "year", "before", "2008", "." ]
device
SELECT LOCATION FROM shop WHERE Open_Year > 2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year < 2008
Which locations contains both shops that opened after the year 2012 and shops that opened before 2008?
[ "SELECT", "LOCATION", "FROM", "shop", "WHERE", "Open_Year", ">", "2012", "INTERSECT", "SELECT", "LOCATION", "FROM", "shop", "WHERE", "Open_Year", "<", "2008" ]
[ "select", "location", "from", "shop", "where", "open_year", ">", "value", "intersect", "select", "location", "from", "shop", "where", "open_year", "<", "value" ]
[ "Which", "locations", "contains", "both", "shops", "that", "opened", "after", "the", "year", "2012", "and", "shops", "that", "opened", "before", "2008", "?" ]
device
SELECT Carrier FROM device WHERE Device_ID NOT IN (SELECT Device_ID FROM stock)
List the carriers of devices that have no devices in stock.
[ "SELECT", "Carrier", "FROM", "device", "WHERE", "Device_ID", "NOT", "IN", "(", "SELECT", "Device_ID", "FROM", "stock", ")" ]
[ "select", "carrier", "from", "device", "where", "device_id", "not", "in", "(", "select", "device_id", "from", "stock", ")" ]
[ "List", "the", "carriers", "of", "devices", "that", "have", "no", "devices", "in", "stock", "." ]
device
SELECT Carrier FROM device WHERE Device_ID NOT IN (SELECT Device_ID FROM stock)
What are the carriers of devices that are not in stock anywhere?
[ "SELECT", "Carrier", "FROM", "device", "WHERE", "Device_ID", "NOT", "IN", "(", "SELECT", "Device_ID", "FROM", "stock", ")" ]
[ "select", "carrier", "from", "device", "where", "device_id", "not", "in", "(", "select", "device_id", "from", "stock", ")" ]
[ "What", "are", "the", "carriers", "of", "devices", "that", "are", "not", "in", "stock", "anywhere", "?" ]
device
SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1
Show the carriers of devices in stock at more than one shop.
[ "SELECT", "T2.Carrier", "FROM", "stock", "AS", "T1", "JOIN", "device", "AS", "T2", "ON", "T1.Device_ID", "=", "T2.Device_ID", "GROUP", "BY", "T1.Device_ID", "HAVING", "COUNT", "(", "*", ")", ">", "1" ]
[ "select", "t2", ".", "carrier", "from", "stock", "as", "t1", "join", "device", "as", "t2", "on", "t1", ".", "device_id", "=", "t2", ".", "device_id", "group", "by", "t1", ".", "device_id", "having", "count", "(", "*", ")", ">", "value" ]
[ "Show", "the", "carriers", "of", "devices", "in", "stock", "at", "more", "than", "one", "shop", "." ]
device
SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1
What are the carriers of devices that are in stock in more than a single shop?
[ "SELECT", "T2.Carrier", "FROM", "stock", "AS", "T1", "JOIN", "device", "AS", "T2", "ON", "T1.Device_ID", "=", "T2.Device_ID", "GROUP", "BY", "T1.Device_ID", "HAVING", "COUNT", "(", "*", ")", ">", "1" ]
[ "select", "t2", ".", "carrier", "from", "stock", "as", "t1", "join", "device", "as", "t2", "on", "t1", ".", "device_id", "=", "t2", ".", "device_id", "group", "by", "t1", ".", "device_id", "having", "count", "(", "*", ")", ">", "value" ]
[ "What", "are", "the", "carriers", "of", "devices", "that", "are", "in", "stock", "in", "more", "than", "a", "single", "shop", "?" ]
cre_Drama_Workshop_Groups
SELECT count(*) FROM BOOKINGS
How many bookings do we have?
[ "SELECT", "count", "(", "*", ")", "FROM", "BOOKINGS" ]
[ "select", "count", "(", "*", ")", "from", "bookings" ]
[ "How", "many", "bookings", "do", "we", "have", "?" ]
cre_Drama_Workshop_Groups
SELECT count(*) FROM BOOKINGS
Count the total number of bookings made.
[ "SELECT", "count", "(", "*", ")", "FROM", "BOOKINGS" ]
[ "select", "count", "(", "*", ")", "from", "bookings" ]
[ "Count", "the", "total", "number", "of", "bookings", "made", "." ]
cre_Drama_Workshop_Groups
SELECT Order_Date FROM BOOKINGS
List the order dates of all the bookings.
[ "SELECT", "Order_Date", "FROM", "BOOKINGS" ]
[ "select", "order_date", "from", "bookings" ]
[ "List", "the", "order", "dates", "of", "all", "the", "bookings", "." ]
cre_Drama_Workshop_Groups
SELECT Order_Date FROM BOOKINGS
What is the order date of each booking?
[ "SELECT", "Order_Date", "FROM", "BOOKINGS" ]
[ "select", "order_date", "from", "bookings" ]
[ "What", "is", "the", "order", "date", "of", "each", "booking", "?" ]
cre_Drama_Workshop_Groups
SELECT Planned_Delivery_Date , Actual_Delivery_Date FROM BOOKINGS
Show all the planned delivery dates and actual delivery dates of bookings.
[ "SELECT", "Planned_Delivery_Date", ",", "Actual_Delivery_Date", "FROM", "BOOKINGS" ]
[ "select", "planned_delivery_date", ",", "actual_delivery_date", "from", "bookings" ]
[ "Show", "all", "the", "planned", "delivery", "dates", "and", "actual", "delivery", "dates", "of", "bookings", "." ]
cre_Drama_Workshop_Groups
SELECT Planned_Delivery_Date , Actual_Delivery_Date FROM BOOKINGS
What are the planned delivery date and actual delivery date for each booking?
[ "SELECT", "Planned_Delivery_Date", ",", "Actual_Delivery_Date", "FROM", "BOOKINGS" ]
[ "select", "planned_delivery_date", ",", "actual_delivery_date", "from", "bookings" ]
[ "What", "are", "the", "planned", "delivery", "date", "and", "actual", "delivery", "date", "for", "each", "booking", "?" ]
cre_Drama_Workshop_Groups
SELECT count(*) FROM CUSTOMERS
How many customers do we have?
[ "SELECT", "count", "(", "*", ")", "FROM", "CUSTOMERS" ]
[ "select", "count", "(", "*", ")", "from", "customers" ]
[ "How", "many", "customers", "do", "we", "have", "?" ]
cre_Drama_Workshop_Groups
SELECT count(*) FROM CUSTOMERS
Count the number of customers recorded.
[ "SELECT", "count", "(", "*", ")", "FROM", "CUSTOMERS" ]
[ "select", "count", "(", "*", ")", "from", "customers" ]
[ "Count", "the", "number", "of", "customers", "recorded", "." ]
cre_Drama_Workshop_Groups
SELECT Customer_Phone , Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name = "Harold"
What are the phone and email for customer Harold?
[ "SELECT", "Customer_Phone", ",", "Customer_Email_Address", "FROM", "CUSTOMERS", "WHERE", "Customer_Name", "=", "``", "Harold", "''" ]
[ "select", "customer_phone", ",", "customer_email_address", "from", "customers", "where", "customer_name", "=", "value" ]
[ "What", "are", "the", "phone", "and", "email", "for", "customer", "Harold", "?" ]
cre_Drama_Workshop_Groups
SELECT Customer_Phone , Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name = "Harold"
Find the phone number and email address of customer "Harold".
[ "SELECT", "Customer_Phone", ",", "Customer_Email_Address", "FROM", "CUSTOMERS", "WHERE", "Customer_Name", "=", "``", "Harold", "''" ]
[ "select", "customer_phone", ",", "customer_email_address", "from", "customers", "where", "customer_name", "=", "value" ]
[ "Find", "the", "phone", "number", "and", "email", "address", "of", "customer", "``", "Harold", "''", "." ]