instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the Shirt No for Henry Bell Cisnero whose height is less than 190? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (shirt_no INTEGER, height VARCHAR, player VARCHAR) | SELECT MAX(shirt_no) FROM table_name_24 WHERE height < 190 AND player = "henry bell cisnero" |
Write a SQL query that answers the following question: What is the Shirt No for the person whose height is 188? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (shirt_no INTEGER, height VARCHAR) | SELECT SUM(shirt_no) FROM table_name_9 WHERE height = 188 |
Write a SQL query that answers the following question: What is the height of the person whose position is Libero? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (height INTEGER, position VARCHAR) | SELECT MAX(height) FROM table_name_15 WHERE position = "libero" |
Write a SQL query that answers the following question: What is the total for the person with free of 47.667, and technical less than 47.417? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR) | SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417 |
Write a SQL query that answers the following question: What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR) | SELECT MAX(technical) FROM table_name_77 WHERE athlete = "jiang tingting & jiang wenwen" AND total > 96.334 |
Write a SQL query that answers the following question: What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger than 90.333? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (free INTEGER, athlete VARCHAR, total VARCHAR) | SELECT MIN(free) FROM table_name_87 WHERE athlete = "apolline dreyfuss & lila meesseman-bakir" AND total > 90.333 |
Write a SQL query that answers the following question: What is the average number of games drawn among teams that played over 14 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (drawn INTEGER, played INTEGER) | SELECT AVG(drawn) FROM table_name_53 WHERE played > 14 |
Write a SQL query that answers the following question: What is the total number of points combined from the teams that played over 14 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (points VARCHAR, played INTEGER) | SELECT COUNT(points) FROM table_name_52 WHERE played > 14 |
Write a SQL query that answers the following question: How many points did the ESC Riverrats Geretsried, who lost more than 3 games, score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (points INTEGER, lost VARCHAR, name VARCHAR) | SELECT SUM(points) FROM table_name_17 WHERE lost > 3 AND name = "esc riverrats geretsried" |
Write a SQL query that answers the following question: What is the average number of games drawn among the teams that lost over 13 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (drawn INTEGER, lost INTEGER) | SELECT AVG(drawn) FROM table_name_37 WHERE lost > 13 |
Write a SQL query that answers the following question: What is the date of vacancy when the manner of departure is sacked and the team is nejapa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR) | SELECT date_of_vacancy FROM table_name_45 WHERE manner_of_departure = "sacked" AND team = "nejapa" |
Write a SQL query that answers the following question: what is the date of vacancy when the date of appointment is 1 january 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR) | SELECT date_of_vacancy FROM table_name_54 WHERE date_of_appointment = "1 january 2009" |
Write a SQL query that answers the following question: what is the date of vacancy when the position in table is 10th and the team is balboa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (date_of_vacancy VARCHAR, position_in_table VARCHAR, team VARCHAR) | SELECT date_of_vacancy FROM table_name_70 WHERE position_in_table = "10th" AND team = "balboa" |
Write a SQL query that answers the following question: Who replaced when the position in table is 5th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (replaced_by VARCHAR, position_in_table VARCHAR) | SELECT replaced_by FROM table_name_58 WHERE position_in_table = "5th" |
Write a SQL query that answers the following question: Who is the outgoing manager when they were replaced by pablo centrone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (outgoing_manager VARCHAR, replaced_by VARCHAR) | SELECT outgoing_manager FROM table_name_16 WHERE replaced_by = "pablo centrone" |
Write a SQL query that answers the following question: what is the date of vacancy when the team is firpo and replaced by is oscar benitez? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez" |
Write a SQL query that answers the following question: Which country was ranked 8 and noted as qs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (country VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT country FROM table_name_15 WHERE notes = "qs" AND rank = 8 |
Write a SQL query that answers the following question: What are the notes for the contestants that were ranked #1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_80 WHERE rank = 1 |
Write a SQL query that answers the following question: Who did the Hawks play on 12/21/1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_52 WHERE date = "12/21/1973" |
Write a SQL query that answers the following question: What rank does Tricia Flores have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (rank VARCHAR, name VARCHAR) | SELECT rank FROM table_name_22 WHERE name = "tricia flores" |
Write a SQL query that answers the following question: Who is in group B and has a mark of 6.33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (name VARCHAR, group VARCHAR, mark VARCHAR) | SELECT name FROM table_name_10 WHERE group = "b" AND mark = "6.33" |
Write a SQL query that answers the following question: What is the mark for Grenada in group A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (mark VARCHAR, group VARCHAR, nationality VARCHAR) | SELECT mark FROM table_name_73 WHERE group = "a" AND nationality = "grenada" |
Write a SQL query that answers the following question: Who has a mark of 6.17 in group B? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (name VARCHAR, group VARCHAR, mark VARCHAR) | SELECT name FROM table_name_40 WHERE group = "b" AND mark = "6.17" |
Write a SQL query that answers the following question: What rank does Tatyana Lebedeva have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (rank VARCHAR, name VARCHAR) | SELECT rank FROM table_name_7 WHERE name = "tatyana lebedeva" |
Write a SQL query that answers the following question: What rank has a mark of NM and is from India? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (rank VARCHAR, mark VARCHAR, nationality VARCHAR) | SELECT rank FROM table_name_85 WHERE mark = "nm" AND nationality = "india" |
Write a SQL query that answers the following question: What is the sum of totals for ranks under 3 with tallies of 2-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (total INTEGER, rank VARCHAR, tally VARCHAR) | SELECT SUM(total) FROM table_name_94 WHERE rank < 3 AND tally = "2-5" |
Write a SQL query that answers the following question: Which player had a rank of 8 and tally of 1-5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (player VARCHAR, rank VARCHAR, tally VARCHAR) | SELECT player FROM table_name_56 WHERE rank = 8 AND tally = "1-5" |
Write a SQL query that answers the following question: What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR) | SELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = "sam meikle" AND no_in_season = 21 |
Write a SQL query that answers the following question: What was the score for the game played in Alexander Memorial Coliseum when the record was 0-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, location_attendance VARCHAR, record VARCHAR) | SELECT score FROM table_name_32 WHERE location_attendance = "alexander memorial coliseum" AND record = "0-1" |
Write a SQL query that answers the following question: When was the game played that was at the Seattle Center Coliseum? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_54 WHERE location_attendance = "seattle center coliseum" |
Write a SQL query that answers the following question: What is the least game that was played in Alexander Memorial Coliseum on October 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (game INTEGER, location_attendance VARCHAR, date VARCHAR) | SELECT MIN(game) FROM table_name_98 WHERE location_attendance = "alexander memorial coliseum" AND date = "october 16" |
Write a SQL query that answers the following question: What average game was played on October 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_87 WHERE date = "october 16" |
Write a SQL query that answers the following question: On what day was game 2 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_56 WHERE game = 2 |
Write a SQL query that answers the following question: What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) | SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449 |
Write a SQL query that answers the following question: What is the tourism competitiveness in 2011 of venezuela? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (tourism_competitiveness__2011___ttci_ VARCHAR, country VARCHAR) | SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = "venezuela" |
Write a SQL query that answers the following question: What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) | SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655 |
Write a SQL query that answers the following question: What is the lowest tourism arrivals in 2011 in millions with 507 US $ per arrival in 2011 tourism receipts and less than 11,869 million of US $ in 2011 tourism receipts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (tourist_arrivals__2011___millions_ INTEGER, tourism_receipts__2011___us$_per_arrival_ VARCHAR, tourism_receipts__2011___millions_of_us$_ VARCHAR) | SELECT MIN(tourist_arrivals__2011___millions_) FROM table_name_95 WHERE tourism_receipts__2011___us$_per_arrival_ = 507 AND tourism_receipts__2011___millions_of_us$_ < 11 OFFSET 869 |
Write a SQL query that answers the following question: What is the highest tourism arrivals in 2011 in millions with a 3.82 tourism competitiveness in 2011 and more than 1,102 US$ per arrival in 2011 tourism receipts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (tourist_arrivals__2011___millions_ INTEGER, tourism_competitiveness__2011___ttci_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) | SELECT MAX(tourist_arrivals__2011___millions_) FROM table_name_92 WHERE tourism_competitiveness__2011___ttci_ = "3.82" AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 102 |
Write a SQL query that answers the following question: In what year was Wisconsin the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (year VARCHAR, runner_up VARCHAR) | SELECT year FROM table_name_36 WHERE runner_up = "wisconsin" |
Write a SQL query that answers the following question: In what arena was the North Dakota the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (arena VARCHAR, runner_up VARCHAR) | SELECT arena FROM table_name_43 WHERE runner_up = "north dakota" |
Write a SQL query that answers the following question: What was the score of the game at the Broadmoor Arena? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, arena VARCHAR) | SELECT score FROM table_name_38 WHERE arena = "broadmoor arena" |
Write a SQL query that answers the following question: Who was the runner-up at the Broadmoor Arena before 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (runner_up VARCHAR, year VARCHAR, arena VARCHAR) | SELECT runner_up FROM table_name_43 WHERE year < 2008 AND arena = "broadmoor arena" |
Write a SQL query that answers the following question: In what year was the competition at the Pepsi Arena? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (year VARCHAR, arena VARCHAR) | SELECT year FROM table_name_41 WHERE arena = "pepsi arena" |
Write a SQL query that answers the following question: Which opponent has a 53-24 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_56 WHERE record = "53-24" |
Write a SQL query that answers the following question: Who was the opponent for game 73? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_10 WHERE game = "73" |
Write a SQL query that answers the following question: who is the replacement when the team is milton keynes dons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_name_10 WHERE team = "milton keynes dons" |
Write a SQL query that answers the following question: what is the team with the position in table of 24th and the date of appointment 15 september 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR) | SELECT team FROM table_name_50 WHERE position_in_table = "24th" AND date_of_appointment = "15 september 2008" |
Write a SQL query that answers the following question: what is the position in table when the team is hartlepool united? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (position_in_table VARCHAR, team VARCHAR) | SELECT position_in_table FROM table_name_11 WHERE team = "hartlepool united" |
Write a SQL query that answers the following question: what is the team geraint williams is the replacement? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_name_20 WHERE replaced_by = "geraint williams" |
Write a SQL query that answers the following question: what is the date of vacancy when the position in table is 16th and the outgoing manager is russell slade? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date_of_vacancy VARCHAR, position_in_table VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_name_25 WHERE position_in_table = "16th" AND outgoing_manager = "russell slade" |
Write a SQL query that answers the following question: What years have 10 (0) in the finals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (years VARCHAR, finals VARCHAR) | SELECT years FROM table_name_33 WHERE finals = "10 (0)" |
Write a SQL query that answers the following question: What A-League has 6 (1) for the finals, and leigh broxham as the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (a_league VARCHAR, finals VARCHAR, name VARCHAR) | SELECT a_league FROM table_name_54 WHERE finals = "6 (1)" AND name = "leigh broxham" |
Write a SQL query that answers the following question: What finals have grant brebner as the name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (finals VARCHAR, name VARCHAR) | SELECT finals FROM table_name_40 WHERE name = "grant brebner" |
Write a SQL query that answers the following question: What years have 9 (0) as the finals and 133 (1) as the A-League? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (years VARCHAR, finals VARCHAR, a_league VARCHAR) | SELECT years FROM table_name_12 WHERE finals = "9 (0)" AND a_league = "133 (1)" |
Write a SQL query that answers the following question: What years have 9 (3) as the finals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (years VARCHAR, finals VARCHAR) | SELECT years FROM table_name_77 WHERE finals = "9 (3)" |
Write a SQL query that answers the following question: What years have 101 (16) as the total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (years VARCHAR, total VARCHAR) | SELECT years FROM table_name_74 WHERE total = "101 (16)" |
Write a SQL query that answers the following question: Who has a time of 7:26.85 and notes of sc/d? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (athlete VARCHAR, notes VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_59 WHERE notes = "sc/d" AND time = "7:26.85" |
Write a SQL query that answers the following question: Ioannis Christou with a rank smaller than 6 has what notes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (notes VARCHAR, rank VARCHAR, athlete VARCHAR) | SELECT notes FROM table_name_71 WHERE rank < 6 AND athlete = "ioannis christou" |
Write a SQL query that answers the following question: Which Notes have a Distance larger than 7, and a Location of aplin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (notes VARCHAR, distance VARCHAR, location VARCHAR) | SELECT notes FROM table_name_62 WHERE distance > 7 AND location = "aplin" |
Write a SQL query that answers the following question: How much Distance has a County of faulkner, and a Total smaller than 1.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (distance INTEGER, county VARCHAR, total VARCHAR) | SELECT SUM(distance) FROM table_name_73 WHERE county = "faulkner" AND total < 1.5 |
Write a SQL query that answers the following question: How much Distance has Notes of north end terminus of ar 155? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (distance INTEGER, notes VARCHAR) | SELECT SUM(distance) FROM table_name_87 WHERE notes = "north end terminus of ar 155" |
Write a SQL query that answers the following question: How much Latitude has a Water (sqmi) smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (latitude VARCHAR, water__sqmi_ INTEGER) | SELECT COUNT(latitude) FROM table_name_69 WHERE water__sqmi_ < 0 |
Write a SQL query that answers the following question: Which Land (sqmi) has a GEO ID smaller than 3800587900? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (land___sqmi__ INTEGER, geo_id INTEGER) | SELECT MIN(land___sqmi__) FROM table_name_49 WHERE geo_id < 3800587900 |
Write a SQL query that answers the following question: Which Water (sqmi) has a Township of yorktown, and a GEO ID smaller than 3802187940? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (water__sqmi_ INTEGER, township VARCHAR, geo_id VARCHAR) | SELECT MIN(water__sqmi_) FROM table_name_22 WHERE township = "yorktown" AND geo_id < 3802187940 |
Write a SQL query that answers the following question: What school had Jeff Urban playing at the p position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (school VARCHAR, position VARCHAR, player VARCHAR) | SELECT school FROM table_name_92 WHERE position = "p" AND player = "jeff urban" |
Write a SQL query that answers the following question: What school has the Kansas City Royals for a team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (school VARCHAR, team VARCHAR) | SELECT school FROM table_name_27 WHERE team = "kansas city royals" |
Write a SQL query that answers the following question: What is the date of the match where vampiro was the winner in Mexico City? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, location VARCHAR, winner VARCHAR) | SELECT date FROM table_name_40 WHERE location = "mexico city" AND winner = "vampiro" |
Write a SQL query that answers the following question: What is the wager on August 23, 1992 where vampiro was the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR) | SELECT wager FROM table_name_94 WHERE winner = "vampiro" AND date = "august 23, 1992" |
Write a SQL query that answers the following question: What is the location where shocker was the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (location VARCHAR, winner VARCHAR) | SELECT location FROM table_name_14 WHERE winner = "shocker" |
Write a SQL query that answers the following question: What is the location where aaron grundy was the loser? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (location VARCHAR, loser VARCHAR) | SELECT location FROM table_name_27 WHERE loser = "aaron grundy" |
Write a SQL query that answers the following question: What is the 1994 when QF is 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (Id VARCHAR) | SELECT 1994 FROM table_name_4 WHERE 1999 = "qf" |
Write a SQL query that answers the following question: What is the 1991 when 1997 is 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (Id VARCHAR) | SELECT 1991 FROM table_name_26 WHERE 1997 = "18" |
Write a SQL query that answers the following question: What's the 1991 when 1999 is 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (Id VARCHAR) | SELECT 1991 FROM table_name_25 WHERE 1999 = "14" |
Write a SQL query that answers the following question: What's the 1996 when 1997 is 3R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (Id VARCHAR) | SELECT 1996 FROM table_name_44 WHERE 1997 = "3r" |
Write a SQL query that answers the following question: What is 1994 when 1996 is 3R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (Id VARCHAR) | SELECT 1994 FROM table_name_46 WHERE 1996 = "3r" |
Write a SQL query that answers the following question: What is 1996 during the US Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (tournament VARCHAR) | SELECT 1996 FROM table_name_72 WHERE tournament = "us open" |
Write a SQL query that answers the following question: What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (standard_name VARCHAR, version VARCHAR, downstream_rate VARCHAR) | SELECT standard_name FROM table_name_49 WHERE version = "adsl2" AND downstream_rate = "01.5 1.5 mbit/s" |
Write a SQL query that answers the following question: What's the downstream rate for the Itu g.992.2 having a version of ADSL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (downstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR) | SELECT downstream_rate FROM table_name_2 WHERE version = "adsl" AND standard_name = "itu g.992.2" |
Write a SQL query that answers the following question: What's the version of Itu g.992.3 Annex J? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (version VARCHAR, standard_name VARCHAR) | SELECT version FROM table_name_97 WHERE standard_name = "itu g.992.3 annex j" |
Write a SQL query that answers the following question: What's the version that has a 20.0 mbit/s downstream rate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR) | SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s" |
Write a SQL query that answers the following question: What's the upstream rate for Itu g.992.2 with a version of ADSL? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR) | SELECT upstream_rate FROM table_name_60 WHERE version = "adsl" AND standard_name = "itu g.992.2" |
Write a SQL query that answers the following question: How many games does the player with 1 (0) finals and a w-league of 28 (1) have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR) | SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (1)" |
Write a SQL query that answers the following question: What year had more than 2 goals and 11 (2) games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (years VARCHAR, goals VARCHAR, games VARCHAR) | SELECT years FROM table_name_36 WHERE goals > 2 AND games = "11 (2)" |
Write a SQL query that answers the following question: What is the lowest number of goals with 8 (2) w-leagues? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR) | SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)" |
Write a SQL query that answers the following question: Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR) | SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0 |
Write a SQL query that answers the following question: Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR) | SELECT SUM(copa_del_rey) FROM table_name_63 WHERE name = "guti" AND fifa_club_world_championship < 0 |
Write a SQL query that answers the following question: Which Copa del Rey has a La Liga smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER) | SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 0 |
Write a SQL query that answers the following question: Which FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller than 3, and a Name of geremi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (fifa_club_world_championship INTEGER, name VARCHAR, uefa_champions_league VARCHAR, total VARCHAR) | SELECT MIN(fifa_club_world_championship) FROM table_name_56 WHERE uefa_champions_league = 0 AND total < 3 AND name = "geremi" |
Write a SQL query that answers the following question: What is the average rank for Hungary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (rank INTEGER, country VARCHAR) | SELECT AVG(rank) FROM table_name_82 WHERE country = "hungary" |
Write a SQL query that answers the following question: What country has a time of 3:19.167? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (country VARCHAR, time VARCHAR) | SELECT country FROM table_name_36 WHERE time = "3:19.167" |
Write a SQL query that answers the following question: What are the notes for the time at 3:19.167? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_85 WHERE time = "3:19.167" |
Write a SQL query that answers the following question: What was the album Closer: The Best of Sarah Mclachlan certified as? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (certification VARCHAR, album VARCHAR) | SELECT certification FROM table_name_88 WHERE album = "closer: the best of sarah mclachlan" |
Write a SQL query that answers the following question: What is the average Laps that have gregorio lavilla as the rider, with a grid greater than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (laps INTEGER, rider VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_95 WHERE rider = "gregorio lavilla" AND grid > 13 |
Write a SQL query that answers the following question: What bike has 26 as the grid? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR) | SELECT bike FROM table_name_20 WHERE grid = 26 |
Write a SQL query that answers the following question: What is the highest grid that has +44.866 as the time, with laps greater than 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_80 WHERE time = "+44.866" AND laps > 25 |
Write a SQL query that answers the following question: who has the high points on june 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_53 WHERE date = "june 16" |
Write a SQL query that answers the following question: What was the attendance on november 2, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003" |
Write a SQL query that answers the following question: What is the 1.93 that is 2.05 in height? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (height VARCHAR) | SELECT 193 FROM table_name_77 WHERE height = 2.05 |
Write a SQL query that answers the following question: What is the 1.93 for Svetlana Shkolina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (name VARCHAR) | SELECT 193 FROM table_name_69 WHERE name = "svetlana shkolina" |
Write a SQL query that answers the following question: What is the name for the play from the Ukraine, and a 1.93 xxo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (name VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_50 WHERE nationality = "ukraine" AND 193 = "xxo" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.