instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which location has a rank of 147? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (location VARCHAR, rank VARCHAR) | SELECT location FROM table_name_95 WHERE rank = 147 |
Write a SQL query that answers the following question: Which mountain range contains Sierra Blanca Peak? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (mountain_range VARCHAR, mountain_peak VARCHAR) | SELECT mountain_range FROM table_name_68 WHERE mountain_peak = "sierra blanca peak" |
Write a SQL query that answers the following question: Which location is in Oregon, ranked under 121, and contains Mount McLoughlin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (location VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR) | SELECT location FROM table_name_71 WHERE state = "oregon" AND rank < 121 AND mountain_peak = "mount mcloughlin" |
Write a SQL query that answers the following question: What is the film, television series, or miniseries with a nomination in 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (film_or_television_series_or_miniseries VARCHAR, year VARCHAR) | SELECT film_or_television_series_or_miniseries FROM table_name_16 WHERE year = 2001 |
Write a SQL query that answers the following question: In what year was Martin Sheen nominated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR) | SELECT year FROM table_name_3 WHERE nominee = "martin sheen" |
Write a SQL query that answers the following question: Who was the president in 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (president VARCHAR, year VARCHAR) | SELECT president FROM table_name_57 WHERE year = 1999 |
Write a SQL query that answers the following question: Which Date has a Status of second test? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (date VARCHAR, status VARCHAR) | SELECT date FROM table_name_54 WHERE status = "second test" |
Write a SQL query that answers the following question: Which Venue has an Against of 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (venue VARCHAR, against VARCHAR) | SELECT venue FROM table_name_26 WHERE against = 25 |
Write a SQL query that answers the following question: Which Status has a Date of 19/05/1981? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (status VARCHAR, date VARCHAR) | SELECT status FROM table_name_34 WHERE date = "19/05/1981" |
Write a SQL query that answers the following question: Which Against has a Date of 30/05/1981? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (against VARCHAR, date VARCHAR) | SELECT COUNT(against) FROM table_name_63 WHERE date = "30/05/1981" |
Write a SQL query that answers the following question: Which Date has an Against smaller than 21, and a Status of second test? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, against VARCHAR, status VARCHAR) | SELECT date FROM table_name_37 WHERE against < 21 AND status = "second test" |
Write a SQL query that answers the following question: What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR) | SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)" |
Write a SQL query that answers the following question: What is Albany, when Buffalo is Oatka Creek Shale, and when Syracuse is Cardiff Dark Gray Shale? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (albany VARCHAR, buffalo VARCHAR, syracuse VARCHAR) | SELECT albany FROM table_name_18 WHERE buffalo = "oatka creek shale" AND syracuse = "cardiff dark gray shale" |
Write a SQL query that answers the following question: What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR) | SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone" |
Write a SQL query that answers the following question: What is Syracuse, when Utica is Solsville Shale And Sandstone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (syracuse VARCHAR, utica VARCHAR) | SELECT syracuse FROM table_name_51 WHERE utica = "solsville shale and sandstone" |
Write a SQL query that answers the following question: What is Syracuse, when Buffalo is Oatka Creek Shale, and when Albany is Berne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (syracuse VARCHAR, buffalo VARCHAR, albany VARCHAR) | SELECT syracuse FROM table_name_90 WHERE buffalo = "oatka creek shale" AND albany = "berne" |
Write a SQL query that answers the following question: What is the Name of the Players with a Rank of 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (name VARCHAR, rank VARCHAR) | SELECT name FROM table_name_67 WHERE rank = 18 |
Write a SQL query that answers the following question: How many Points for the couple ranking 17 with Placings larger than 100? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (points VARCHAR, placings VARCHAR, rank VARCHAR) | SELECT points FROM table_name_97 WHERE placings > 100 AND rank = 17 |
Write a SQL query that answers the following question: What is the Rank of the couple with less than 408.8 Points and Placings of 160? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (rank VARCHAR, points VARCHAR, placings VARCHAR) | SELECT rank FROM table_name_77 WHERE points < 408.8 AND placings = 160 |
Write a SQL query that answers the following question: What is the Place of the couple with a Rank smaller than 7 and 514.55 Points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR) | SELECT SUM(placings) FROM table_name_22 WHERE rank < 7 AND points = 514.55 |
Write a SQL query that answers the following question: What is the total Lane with a Mark of 47.02, and a Heat higher than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (lane INTEGER, mark VARCHAR, heat VARCHAR) | SELECT SUM(lane) FROM table_name_64 WHERE mark = "47.02" AND heat > 5 |
Write a SQL query that answers the following question: With a Mark of 46.47, What is the lowest Heat? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (heat INTEGER, mark VARCHAR) | SELECT MIN(heat) FROM table_name_57 WHERE mark = "46.47" |
Write a SQL query that answers the following question: What is the Country that has Richard Buck Lane higher than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (country VARCHAR, lane VARCHAR, name VARCHAR) | SELECT country FROM table_name_99 WHERE lane > 3 AND name = "richard buck" |
Write a SQL query that answers the following question: When did Louise, Princess royal get married? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (date_married VARCHAR, name_dates VARCHAR) | SELECT date_married FROM table_name_87 WHERE name_dates = "louise, princess royal" |
Write a SQL query that answers the following question: What are the Djurgården scorers that have a Score of 2-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (djurgården_scorers VARCHAR, score VARCHAR) | SELECT djurgården_scorers FROM table_name_87 WHERE score = "2-1" |
Write a SQL query that answers the following question: What are the Opponents that have Djurgården scorers of sjölund (2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (opponents VARCHAR, djurgården_scorers VARCHAR) | SELECT opponents FROM table_name_43 WHERE djurgården_scorers = "sjölund (2)" |
Write a SQL query that answers the following question: What is the Score that has a Date of 2005-10-29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_6 WHERE date = "2005-10-29" |
Write a SQL query that answers the following question: What is the Score that has an Attendance of 4 679? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_52 WHERE attendance = "4 679" |
Write a SQL query that answers the following question: What is the Date that has a Round of semifinal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (date VARCHAR, round VARCHAR) | SELECT date FROM table_name_46 WHERE round = "semifinal" |
Write a SQL query that answers the following question: Which Round is the highest one that has a College of arizona, and an Overall larger than 120? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, overall VARCHAR) | SELECT MAX(round) FROM table_name_25 WHERE college = "arizona" AND overall > 120 |
Write a SQL query that answers the following question: Which Pick has a Name of ed hickerson, and a Round smaller than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (pick INTEGER, name VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_56 WHERE name = "ed hickerson" AND round < 10 |
Write a SQL query that answers the following question: How much Overall has a Pick of 10, and a Round smaller than 8, and a Position of e, and a College of tennessee? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (overall VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_4 WHERE pick = 10 AND round < 8 AND position = "e" AND college = "tennessee" |
Write a SQL query that answers the following question: What date was the away team Morecambe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_78 WHERE away_team = "morecambe" |
Write a SQL query that answers the following question: What team was the away team when the home team was Grimsby Town? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_24 WHERE home_team = "grimsby town" |
Write a SQL query that answers the following question: What team was the away team when the home team was Hereford United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_32 WHERE home_team = "hereford united" |
Write a SQL query that answers the following question: What team was the away team when the tie no is 40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_67 WHERE tie_no = "40" |
Write a SQL query that answers the following question: What was the 1st leg score for the team with an Agg score of 151-134? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (agg VARCHAR) | SELECT 1 AS st_leg FROM table_name_36 WHERE agg = "151-134" |
Write a SQL query that answers the following question: What was the team Unics Kazan's 1st leg score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (team__number1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_73 WHERE team__number1 = "unics kazan" |
Write a SQL query that answers the following question: Who was the first team when the second team was Kalise Gran Canaria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (team__number1 VARCHAR, team__number2 VARCHAR) | SELECT team__number1 FROM table_name_71 WHERE team__number2 = "kalise gran canaria" |
Write a SQL query that answers the following question: What was the score of game 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_52 WHERE game = 30 |
Write a SQL query that answers the following question: Who was the high scorer in the Toronto game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_name_97 WHERE team = "toronto" |
Write a SQL query that answers the following question: What is the highest date in october for a game number larger than 8 with a record of 4-4-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (october INTEGER, record VARCHAR, game VARCHAR) | SELECT MAX(october) FROM table_name_54 WHERE record = "4-4-0" AND game > 8 |
Write a SQL query that answers the following question: When the tom watson is playing for the United States and the To par is under 14, what's the total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (total VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT total FROM table_name_30 WHERE country = "united states" AND to_par < 14 AND player = "tom watson" |
Write a SQL query that answers the following question: What player has a total of 158/ | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_54 WHERE total = "158" |
Write a SQL query that answers the following question: If 1967 is the winning year and a player has a total recorded as wd with a To par under 16, what's the players name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (player VARCHAR, year_s__won VARCHAR, total VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_43 WHERE total = "wd" AND to_par < 16 AND year_s__won = "1967" |
Write a SQL query that answers the following question: How many kicks did he get in the year when he played 7 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (kicks VARCHAR, games VARCHAR) | SELECT kicks FROM table_name_61 WHERE games = "7" |
Write a SQL query that answers the following question: How many marks did he get in 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (marks VARCHAR, season VARCHAR) | SELECT marks FROM table_name_89 WHERE season = "2005" |
Write a SQL query that answers the following question: How many wins did West Ham get when Millwall had more than 23 goal and 5 wins, and they tied 8 times? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (west_ham_wins VARCHAR, drawn VARCHAR, millwall_wins VARCHAR, millwall_goals VARCHAR) | SELECT west_ham_wins FROM table_name_56 WHERE millwall_wins > 5 AND millwall_goals > 23 AND drawn = 8 |
Write a SQL query that answers the following question: What is the least number of wins West Ham got when they tied 27 times? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (west_ham_wins INTEGER, drawn INTEGER) | SELECT MIN(west_ham_wins) FROM table_name_54 WHERE drawn > 27 |
Write a SQL query that answers the following question: what is the attendance when the date is october 22, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_12 WHERE date = "october 22, 2000" |
Write a SQL query that answers the following question: What is the highest value for 2000, when the value for 1950 is 3.5, and when the value for 1970 is greater than 3.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (Id VARCHAR) | SELECT MAX(2000) FROM table_name_78 WHERE 1950 = 3.5 AND 1970 > 3.4 |
Write a SQL query that answers the following question: What is the lowest value for 1990, when the Region is East Asia (10 Economies), and when 1960 has a value less than 12.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (region VARCHAR) | SELECT MIN(1990) FROM table_name_54 WHERE region = "east asia (10 economies)" AND 1960 < 12.6 |
Write a SQL query that answers the following question: What is the average value for 1970, when the Region is East Europe (7 Economies), and when 2000 has a value greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (region VARCHAR) | SELECT AVG(1970) FROM table_name_12 WHERE region = "east europe (7 economies)" AND 2000 > 2 |
Write a SQL query that answers the following question: What is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (Id VARCHAR) | SELECT MAX(1970) FROM table_name_81 WHERE 1960 < 61.9 AND 1980 < 3.8 AND 1990 = 3.3 AND 2000 > 3.2 |
Write a SQL query that answers the following question: What is the lowest value for 1960, when the value for 2000 is less than 8.4, when the value for 1950 is greater than 3.5, and when the value for 1990 is less than 3.3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (Id VARCHAR) | SELECT MIN(1960) FROM table_name_66 WHERE 2000 < 8.4 AND 1950 > 3.5 AND 1990 < 3.3 |
Write a SQL query that answers the following question: What average drawn has a played greater than 42? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (drawn INTEGER, played INTEGER) | SELECT AVG(drawn) FROM table_name_21 WHERE played > 42 |
Write a SQL query that answers the following question: What is the highest played that has a position less than 17, and 63 as the goals for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (played INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(played) FROM table_name_4 WHERE position < 17 AND goals_for = 63 |
Write a SQL query that answers the following question: What is the lowest played that has a position greater than 6, 61 as the goals against, with a loss less than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (played INTEGER, lost VARCHAR, position VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_58 WHERE position > 6 AND goals_against = 61 AND lost < 16 |
Write a SQL query that answers the following question: What is the highest goals for that has a drawn less than 11, with a played less than 42? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (goals_for INTEGER, drawn VARCHAR, played VARCHAR) | SELECT MAX(goals_for) FROM table_name_54 WHERE drawn < 11 AND played < 42 |
Write a SQL query that answers the following question: What is the average goals for that has +40 as the goals difference, with points 1 greater than 55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (goals_for INTEGER, goal_difference VARCHAR, points_1 VARCHAR) | SELECT AVG(goals_for) FROM table_name_62 WHERE goal_difference = "+40" AND points_1 > 55 |
Write a SQL query that answers the following question: Can you tell me the average Total that has the To par of 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (total INTEGER, to_par VARCHAR) | SELECT AVG(total) FROM table_name_36 WHERE to_par = 15 |
Write a SQL query that answers the following question: Can you tell me the Country that has the To par larger than 9, and the Year(s) won of 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_67 WHERE to_par > 9 AND year_s__won = "1984" |
Write a SQL query that answers the following question: Who produced the track that is 4:16 long? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (producer_s_ VARCHAR, length VARCHAR) | SELECT producer_s_ FROM table_name_25 WHERE length = "4:16" |
Write a SQL query that answers the following question: Who produced track 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (producer_s_ VARCHAR, track VARCHAR) | SELECT producer_s_ FROM table_name_7 WHERE track = 7 |
Write a SQL query that answers the following question: What is the contract length when rejected is the status? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (contract_length VARCHAR, status VARCHAR) | SELECT contract_length FROM table_name_55 WHERE status = "rejected" |
Write a SQL query that answers the following question: what is the average drawn when the points is more than 15, lost is 1 and played is less than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR) | SELECT AVG(drawn) FROM table_name_22 WHERE points > 15 AND lost = 1 AND played < 14 |
Write a SQL query that answers the following question: what is the lowest position when points is more than 11, name is ea schongau and lost is less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (position INTEGER, lost VARCHAR, points VARCHAR, name VARCHAR) | SELECT MIN(position) FROM table_name_47 WHERE points > 11 AND name = "ea schongau" AND lost < 3 |
Write a SQL query that answers the following question: what is the average lost when played is more than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (lost INTEGER, played INTEGER) | SELECT AVG(lost) FROM table_name_32 WHERE played > 14 |
Write a SQL query that answers the following question: what is the sum of drawn when points is less than 15, lost is 8 and position is more than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (drawn INTEGER, position VARCHAR, points VARCHAR, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_81 WHERE points < 15 AND lost = 8 AND position > 6 |
Write a SQL query that answers the following question: what is the lowest points when name is ehc münchen ii and position is less than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (points INTEGER, name VARCHAR, position VARCHAR) | SELECT MIN(points) FROM table_name_24 WHERE name = "ehc münchen ii" AND position < 7 |
Write a SQL query that answers the following question: what is the result when the week is earlier than 9 and attendance is 25,188? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_42 WHERE week < 9 AND attendance = "25,188" |
Write a SQL query that answers the following question: What is Team, when High Points is "Rashard Lewis (18)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (team VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_58 WHERE high_points = "rashard lewis (18)" |
Write a SQL query that answers the following question: What is High Rebounds, when High Assists is "Rafer Alston , Rashard Lewis , Hedo Türkoğlu (3)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (high_rebounds VARCHAR, high_assists VARCHAR) | SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)" |
Write a SQL query that answers the following question: What is Team, when High Points is "Rashard Lewis , Mickaël Piétrus (17)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (team VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_80 WHERE high_points = "rashard lewis , mickaël piétrus (17)" |
Write a SQL query that answers the following question: What is the highest Game, when Team is "Celtics", and when High Assists is "Hedo Türkoğlu (4)"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (game INTEGER, team VARCHAR, high_assists VARCHAR) | SELECT MAX(game) FROM table_name_34 WHERE team = "celtics" AND high_assists = "hedo türkoğlu (4)" |
Write a SQL query that answers the following question: What is Run 1, when Run 4 is 1:56.59? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (run_1 VARCHAR, run_4 VARCHAR) | SELECT run_1 FROM table_name_62 WHERE run_4 = "1:56.59" |
Write a SQL query that answers the following question: What is Rank, when Run 2 is 2:06.62? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (rank VARCHAR, run_2 VARCHAR) | SELECT rank FROM table_name_74 WHERE run_2 = "2:06.62" |
Write a SQL query that answers the following question: What is Run 2, when Run 1 is 2:09.09? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (run_2 VARCHAR, run_1 VARCHAR) | SELECT run_2 FROM table_name_84 WHERE run_1 = "2:09.09" |
Write a SQL query that answers the following question: What is Final, when Team is United States (USA) USA I? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (final VARCHAR, team VARCHAR) | SELECT final FROM table_name_66 WHERE team = "united states (usa) usa i" |
Write a SQL query that answers the following question: What is Final, when Run 3 is 1:57.41? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (final VARCHAR, run_3 VARCHAR) | SELECT final FROM table_name_60 WHERE run_3 = "1:57.41" |
Write a SQL query that answers the following question: What is Run 3, when Team is United States (USA) USA I? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR) | SELECT run_3 FROM table_name_73 WHERE team = "united states (usa) usa i" |
Write a SQL query that answers the following question: Which position has 30 points and Reiner Stuyvenberg as a passenger? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (position VARCHAR, points VARCHAR, passenger VARCHAR) | SELECT position FROM table_name_95 WHERE points = 30 AND passenger = "reiner stuyvenberg" |
Write a SQL query that answers the following question: Which passenger has a position of 21 and less than 49 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR) | SELECT passenger FROM table_name_89 WHERE position = "21" AND points < 49 |
Write a SQL query that answers the following question: What were the wins with more than 145 points, less than 17 races, and Sven Verbrugge as a passenger? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (wins VARCHAR, races VARCHAR, points VARCHAR, passenger VARCHAR) | SELECT wins FROM table_name_12 WHERE points > 145 AND passenger = "sven verbrugge" AND races < 17 |
Write a SQL query that answers the following question: Who is the passenger in 2009 season with 17 races? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (passenger VARCHAR, season VARCHAR, races VARCHAR) | SELECT passenger FROM table_name_55 WHERE season = "2009" AND races = 17 |
Write a SQL query that answers the following question: WHAT IS THE POSITION FOR BRAZIL, WITH 27 GOALS, AND FOR NECA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (position VARCHAR, name VARCHAR, nationality VARCHAR, goals VARCHAR) | SELECT position FROM table_name_83 WHERE nationality = "brazil" AND goals = 27 AND name = "neca" |
Write a SQL query that answers the following question: WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR) | SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name = "ricardo rocha" |
Write a SQL query that answers the following question: Which display has an ISO range of 80-800, and 0.8 Seconds/Frame? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR) | SELECT display FROM table_name_21 WHERE iso_range = "80-800" AND seconds_frame = 0.8 |
Write a SQL query that answers the following question: WHAT IS THE VALE ROYAL WITH THE JEWISH RELIGION? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (vale_royal VARCHAR, religion VARCHAR) | SELECT vale_royal FROM table_name_20 WHERE religion = "jewish" |
Write a SQL query that answers the following question: On 1959-01-27 when outcome was failure, what is the serial? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (serial VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT serial FROM table_name_91 WHERE outcome = "failure" AND date = "1959-01-27" |
Write a SQL query that answers the following question: Which date has serial of 11c? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR) | SELECT date FROM table_name_28 WHERE serial = "11c" |
Write a SQL query that answers the following question: Which Apogee was on 1959-02-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (apogee VARCHAR, date VARCHAR) | SELECT apogee FROM table_name_5 WHERE date = "1959-02-20" |
Write a SQL query that answers the following question: Which date has time (GMT) of 23:34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, time___gmt__ VARCHAR) | SELECT date FROM table_name_45 WHERE time___gmt__ = "23:34" |
Write a SQL query that answers the following question: What is Cross Country, when Soccer is Ashland, when Volleyball is Wooster, and when School Year is 2006-07? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (cross_country VARCHAR, school_year VARCHAR, soccer VARCHAR, volleyball VARCHAR) | SELECT cross_country FROM table_name_35 WHERE soccer = "ashland" AND volleyball = "wooster" AND school_year = "2006-07" |
Write a SQL query that answers the following question: What is School Year, when Cross Country is Wooster? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (school_year VARCHAR, cross_country VARCHAR) | SELECT school_year FROM table_name_19 WHERE cross_country = "wooster" |
Write a SQL query that answers the following question: What is Tennis, when School Year is 2004-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (tennis VARCHAR, school_year VARCHAR) | SELECT tennis FROM table_name_29 WHERE school_year = "2004-05" |
Write a SQL query that answers the following question: What is Cross Country, when School Year is 2012-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (cross_country VARCHAR, school_year VARCHAR) | SELECT cross_country FROM table_name_90 WHERE school_year = "2012-13" |
Write a SQL query that answers the following question: What is School Year, when Cross Country is Lexington, when Soccer is Ashland, and when Volleyball is Wooster? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (school_year VARCHAR, volleyball VARCHAR, cross_country VARCHAR, soccer VARCHAR) | SELECT school_year FROM table_name_9 WHERE cross_country = "lexington" AND soccer = "ashland" AND volleyball = "wooster" |
Write a SQL query that answers the following question: What is Soccer, when Cross Country is Lexington, and when School Year is 2011-12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (soccer VARCHAR, cross_country VARCHAR, school_year VARCHAR) | SELECT soccer FROM table_name_74 WHERE cross_country = "lexington" AND school_year = "2011-12" |
Write a SQL query that answers the following question: What is the highest Attendance, when Result is l 26-16, and when Week is less than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_36 WHERE result = "l 26-16" AND week < 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.