instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: How many lanes have a Nationality of iceland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR) | SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland" |
Write a SQL query that answers the following question: What is the smallest rank with a Lane of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR) | SELECT MIN(rank) FROM table_name_65 WHERE lane = 1 |
Write a SQL query that answers the following question: What was the final score of Game 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_28 WHERE game = 1 |
Write a SQL query that answers the following question: What date has 2:48 as the time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_48 WHERE time = "2:48" |
Write a SQL query that answers the following question: Which record has 2:57 as the time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_91 WHERE time = "2:57" |
Write a SQL query that answers the following question: Can you tell me the Losing BP that has Played of 22, and the Lost of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR) | SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5" |
Write a SQL query that answers the following question: Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR) | SELECT lost FROM table_name_50 WHERE try_bp = "10" AND club = "uwic rfc" |
Write a SQL query that answers the following question: Can you tell me the Club that has the Lost of 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR) | SELECT club FROM table_name_34 WHERE lost = "19" |
Write a SQL query that answers the following question: Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR) | SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0" |
Write a SQL query that answers the following question: Can you tell me the Played that has the Club of club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (played VARCHAR) | SELECT played FROM table_name_15 WHERE "club" = "club" |
Write a SQL query that answers the following question: Can you tell me the Club thay has the Try BP of 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR) | SELECT club FROM table_name_84 WHERE try_bp = "0" |
Write a SQL query that answers the following question: What date did the Mountaineers score 27 points and their opponent scored more that 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (date VARCHAR, points_against VARCHAR, points_for VARCHAR) | SELECT date FROM table_name_82 WHERE points_against > 7 AND points_for = 27 |
Write a SQL query that answers the following question: What was the final result when the Mountaineers scored less than 13 and their opponents scored 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR) | SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26 |
Write a SQL query that answers the following question: With a Tally of 0-14, what is the Rank in Kilkenny County? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR) | SELECT COUNT(rank) FROM table_name_3 WHERE county = "kilkenny" AND tally = "0-14" |
Write a SQL query that answers the following question: What County has Dublin as the Opposition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (county VARCHAR, opposition VARCHAR) | SELECT county FROM table_name_78 WHERE opposition = "dublin" |
Write a SQL query that answers the following question: In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR) | SELECT AVG(rank) FROM table_name_48 WHERE opposition = "tipperary" AND county = "limerick" AND total > 12 |
Write a SQL query that answers the following question: What Player in Opposition of Kilkenny has a Total of 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, opposition VARCHAR) | SELECT player FROM table_name_83 WHERE total = 10 AND opposition = "kilkenny" |
Write a SQL query that answers the following question: What is the time in Romania that has a lane larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = "romania" |
Write a SQL query that answers the following question: Jin Hao had what amount of heat? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (heat VARCHAR, name VARCHAR) | SELECT heat FROM table_name_54 WHERE name = "jin hao" |
Write a SQL query that answers the following question: At time 15:29.69 what was the heat? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR) | SELECT heat FROM table_name_1 WHERE time = "15:29.69" |
Write a SQL query that answers the following question: What is the class of the team when less than 6 laps were completed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER) | SELECT class FROM table_name_31 WHERE laps < 6 |
Write a SQL query that answers the following question: What is the year when Scuderia Lancia Corse competed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR) | SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse" |
Write a SQL query that answers the following question: What was the position of the teams before 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER) | SELECT pos FROM table_name_23 WHERE year < 1973 |
Write a SQL query that answers the following question: What is the laid down date of Kaki? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (laid_down VARCHAR, name VARCHAR) | SELECT laid_down FROM table_name_33 WHERE name = "kaki" |
Write a SQL query that answers the following question: What is the launch date of ζ ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR) | SELECT launched FROM table_name_70 WHERE kanji = "ζ " |
Write a SQL query that answers the following question: What is the completed date of θ¬? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (completed VARCHAR, kanji VARCHAR) | SELECT completed FROM table_name_87 WHERE kanji = "θ¬" |
Write a SQL query that answers the following question: Which catalog was published on December 19, 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001" |
Write a SQL query that answers the following question: What is the label for October 21, 1981? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_37 WHERE date = "october 21, 1981" |
Write a SQL query that answers the following question: What is the date for Catalog Alca-9201? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_94 WHERE catalog = "alca-9201" |
Write a SQL query that answers the following question: What is the format for July 27, 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR) | SELECT format FROM table_name_94 WHERE date = "july 27, 1994" |
Write a SQL query that answers the following question: What is the date of the label Alfa records, a CD format, and an alca-9201 catalog? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201" |
Write a SQL query that answers the following question: What catalog has the CD format? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (catalog VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_18 WHERE format = "cd" |
Write a SQL query that answers the following question: Which nationaly is ranked greater than 1, with a time of 59.75? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_1 WHERE rank > 1 AND time = "59.75" |
Write a SQL query that answers the following question: Which france nationality has a lane larger than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france" |
Write a SQL query that answers the following question: What's the total rank of the lane smaller than 8 with a time of 59.80? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (rank INTEGER, time VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_15 WHERE time = "59.80" AND lane < 8 |
Write a SQL query that answers the following question: What's the top rank that's lane is smaller than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (rank INTEGER, lane INTEGER) | SELECT MAX(rank) FROM table_name_77 WHERE lane < 1 |
Write a SQL query that answers the following question: What year did deputy prime minister Mariano Rajoy Brey take office? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR) | SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey" |
Write a SQL query that answers the following question: Which deputy prime minister left office in 2004 and was in the 7th legislature? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (deputy_prime_minister VARCHAR, term VARCHAR, left_office VARCHAR) | SELECT deputy_prime_minister FROM table_name_8 WHERE term = "7th legislature" AND left_office = "2004" |
Write a SQL query that answers the following question: Which deputy prime minister left office in 1981? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (deputy_prime_minister VARCHAR, left_office VARCHAR) | SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "1981" |
Write a SQL query that answers the following question: How many points did Connaught Type A chassis earn on average before 1955? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (points INTEGER, year VARCHAR, chassis VARCHAR) | SELECT AVG(points) FROM table_name_32 WHERE year < 1955 AND chassis = "connaught type a" |
Write a SQL query that answers the following question: What is the lowest points with 6 draws and lower than rank 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (points INTEGER, draw VARCHAR, rank VARCHAR) | SELECT MIN(points) FROM table_name_62 WHERE draw = 6 AND rank > 10 |
Write a SQL query that answers the following question: What is the lowest draw with rank 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR) | SELECT MIN(draw) FROM table_name_94 WHERE rank = 4 |
Write a SQL query that answers the following question: How many draws has lower than rank 10 in rumba/cha-cha/jazz dance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR) | SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance" |
Write a SQL query that answers the following question: How many draws have rumba/tango dance styles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (draw VARCHAR, dance_styles VARCHAR) | SELECT COUNT(draw) FROM table_name_79 WHERE dance_styles = "rumba/tango" |
Write a SQL query that answers the following question: What's the sum of the totals for Russia with more than 1 gold and less than 10 bronze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (total INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT SUM(total) FROM table_name_90 WHERE gold > 1 AND nation = "russia" AND bronze < 10 |
Write a SQL query that answers the following question: what tournament happened on march 27, 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_34 WHERE date = "march 27, 2006" |
Write a SQL query that answers the following question: what was the score when scoville jenkins was the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins" |
Write a SQL query that answers the following question: what was the opponent on november 14, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_91 WHERE date = "november 14, 2005" |
Write a SQL query that answers the following question: what tournament happened on may 2, 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011" |
Write a SQL query that answers the following question: what tournament had sam querrey as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey" |
Write a SQL query that answers the following question: what tournament was on a hard surface and saw jacob adaktusson as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson" |
Write a SQL query that answers the following question: Who was the opponent on September 17, 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995" |
Write a SQL query that answers the following question: Which week had an attendance of 51,265? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_93 WHERE attendance = "51,265" |
Write a SQL query that answers the following question: Who was the opponent on December 17, 1995? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_58 WHERE date = "december 17, 1995" |
Write a SQL query that answers the following question: Which record has 4:14 as the time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_94 WHERE time = "4:14" |
Write a SQL query that answers the following question: Which record has tko (strikes) as the method, and daan kooiman as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman" |
Write a SQL query that answers the following question: Which round has pain and glory 2006 as the event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR) | SELECT round FROM table_name_94 WHERE event = "pain and glory 2006" |
Write a SQL query that answers the following question: Which record has john flemming as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_14 WHERE opponent = "john flemming" |
Write a SQL query that answers the following question: Which record has 5:00 as the time, jess liaudin as the opponent for the location of england? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (record VARCHAR, location VARCHAR, time VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_49 WHERE time = "5:00" AND opponent = "jess liaudin" AND location = "england" |
Write a SQL query that answers the following question: Name the score for home of green bay packers | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_37 WHERE home = "green bay packers" |
Write a SQL query that answers the following question: Name the home for 21-17 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR) | SELECT home FROM table_name_93 WHERE score = "21-17" |
Write a SQL query that answers the following question: What engine did Scuderia Ambrosiana with fewer than 4 points have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR) | SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4 |
Write a SQL query that answers the following question: What chassis had fewer than 0 points in a year before 1954? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0 |
Write a SQL query that answers the following question: What chassis had an entrant of G.A. Vandervell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell" |
Write a SQL query that answers the following question: How many people were in attendance on may 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_3 WHERE date = "may 2" |
Write a SQL query that answers the following question: How many people were in attendance on may 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_7 WHERE date = "may 17" |
Write a SQL query that answers the following question: How many weeks did the single that entered the charts 14 september 2002 stay on the charts ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR) | SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002" |
Write a SQL query that answers the following question: Which single was on the Charts for 23 weeks ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (title VARCHAR, weeks_on_chart__uk_ VARCHAR) | SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23 |
Write a SQL query that answers the following question: How many ECTS credit points occur with Master in Management? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (ects_credit_points VARCHAR, program VARCHAR) | SELECT COUNT(ects_credit_points) FROM table_name_25 WHERE program = "master in management" |
Write a SQL query that answers the following question: What is the teaching language for Master of Quantitative Finance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (teaching_language VARCHAR, program VARCHAR) | SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance" |
Write a SQL query that answers the following question: Which program has 3.5 years? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR) | SELECT program FROM table_name_35 WHERE duration__years_ = 3.5 |
Write a SQL query that answers the following question: What is the teaching language for a less than 2 year duration and less than 65 ECTS credit points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR) | SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65 |
Write a SQL query that answers the following question: What engine has more than 0 pts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER) | SELECT engine FROM table_name_79 WHERE pts > 0 |
Write a SQL query that answers the following question: What is the average pots of Alfa Romeo v12 after 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR) | SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983 |
Write a SQL query that answers the following question: What was the total against in uefa champions league/european cup with more than 1 draw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (against INTEGER, competition VARCHAR, draw VARCHAR) | SELECT SUM(against) FROM table_name_75 WHERE competition = "uefa champions league/european cup" AND draw > 1 |
Write a SQL query that answers the following question: What is the total against with 1 draw and less than 8 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR) | SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8 |
Write a SQL query that answers the following question: How many times did Super Nova Racing win with a zytek engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (wins VARCHAR, engine VARCHAR, racing_team VARCHAR) | SELECT wins FROM table_name_14 WHERE engine = "zytek" AND racing_team = "super nova racing" |
Write a SQL query that answers the following question: How many main wins for France? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR) | SELECT main_wins FROM table_name_63 WHERE team = "france" |
Write a SQL query that answers the following question: How many poles does status grand prix have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) | SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix" |
Write a SQL query that answers the following question: Question does not make sense since there was no record of 88-74 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_77 WHERE record = "88-74" |
Write a SQL query that answers the following question: What is the award type for all Lowe awards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (award VARCHAR, name VARCHAR) | SELECT award FROM table_name_1 WHERE name = "lowe" |
Write a SQL query that answers the following question: Which engine(s) has a year of 1966, and a point of 42. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR) | SELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = "42" |
Write a SQL query that answers the following question: What was the score against hapoel tel aviv? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR) | SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv" |
Write a SQL query that answers the following question: What day did they play cambridge united? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_51 WHERE opponent = "cambridge united" |
Write a SQL query that answers the following question: Where was match 8 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (ground VARCHAR, match VARCHAR) | SELECT ground FROM table_name_65 WHERE match = 8 |
Write a SQL query that answers the following question: What is the name of the person with a PWin% of .696? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (name_ VARCHAR, b_ VARCHAR, Pwin_percentage VARCHAR) | SELECT name_[b_] FROM table_name_63 WHERE Pwin_percentage = 0.696 |
Write a SQL query that answers the following question: What is the sum of the game with a PWin% of β, Term [c] of 1987β1988, and Win% less than 0.506? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, β VARCHAR, term_ VARCHAR, c_ VARCHAR) | SELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = β AND term_[c_] = "1987β1988" AND win_percentage < 0.506 |
Write a SQL query that answers the following question: What is the win% for the game 80 and a PWin% of β, and a Term [c ] of 1987β1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (win_percentage VARCHAR, games VARCHAR, Pwin_percentage VARCHAR, β VARCHAR, term_ VARCHAR, c_ VARCHAR) | SELECT win_percentage FROM table_name_88 WHERE games = 80 AND Pwin_percentage = β AND term_[c_] = "1987β1988" |
Write a SQL query that answers the following question: What is the of games when for the term [c] of 1969 β 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (games INTEGER, term_ VARCHAR, c_ VARCHAR) | SELECT SUM(games) FROM table_name_24 WHERE term_[c_] = "1969 β 1973" |
Write a SQL query that answers the following question: What was the method of execution on September 24, 1830? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (method VARCHAR, date_of_execution VARCHAR) | SELECT method FROM table_name_6 WHERE date_of_execution = "september 24, 1830" |
Write a SQL query that answers the following question: How was the native american, Wau-Bau-Ne-Me-Mee, executed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (method VARCHAR, race VARCHAR, name VARCHAR) | SELECT method FROM table_name_19 WHERE race = "native american" AND name = "wau-bau-ne-me-mee" |
Write a SQL query that answers the following question: What was the race of the person executed on December 27, 1827? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (race VARCHAR, date_of_execution VARCHAR) | SELECT race FROM table_name_52 WHERE date_of_execution = "december 27, 1827" |
Write a SQL query that answers the following question: In what way was Kewaubis executed on December 27, 1827? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (method VARCHAR, date_of_execution VARCHAR, name VARCHAR) | SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis" |
Write a SQL query that answers the following question: How was the native american executed in July 1836? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (method VARCHAR, race VARCHAR, date_of_execution VARCHAR) | SELECT method FROM table_name_30 WHERE race = "native american" AND date_of_execution = "july 1836" |
Write a SQL query that answers the following question: How many draws have 1 win, 1 loss, and a Goal Differential of +1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (draws INTEGER, goal_differential VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1" |
Write a SQL query that answers the following question: What genre is Led Zeppelin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (genre VARCHAR, artist VARCHAR) | SELECT genre FROM table_name_85 WHERE artist = "led zeppelin" |
Write a SQL query that answers the following question: On what date was the Loss by Flanagan (6-7)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_40 WHERE loss = "flanagan (6-7)" |
Write a SQL query that answers the following question: During which loss was the record 48-50? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_45 WHERE record = "48-50" |
Write a SQL query that answers the following question: What was the score that made the record 47-49? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_22 WHERE record = "47-49" |
Write a SQL query that answers the following question: Who was the Opponent on July 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_61 WHERE date = "july 29" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.