instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which Date performed has a Main contestant of karanvir bohra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date_performed VARCHAR, main_contestant VARCHAR) | SELECT date_performed FROM table_name_58 WHERE main_contestant = "karanvir bohra" |
Write a SQL query that answers the following question: Which Date performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (date_performed VARCHAR, position VARCHAR, scores_by_each_individual_judge VARCHAR) | SELECT date_performed FROM table_name_12 WHERE position = "bottom 3" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14 |
Write a SQL query that answers the following question: Which Status has a Co-contestant (Yaar vs. Pyaar) of tina sachdev? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT status FROM table_name_52 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev" |
Write a SQL query that answers the following question: Which Status has a Co-contestant (Yaar vs. Pyaar) of tina parekh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT status FROM table_name_29 WHERE co_contestant__yaar_vs_pyaar_ = "tina parekh" |
Write a SQL query that answers the following question: Which Total score/week has a Status of eliminated, and Scores by each individual judge of 5 + 5 + 4 = 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (total_score_week VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR) | SELECT total_score_week FROM table_name_38 WHERE status = "eliminated" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14 |
Write a SQL query that answers the following question: Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR) | SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = "august 7" AND main_contestant = "karanvir bohra" |
Write a SQL query that answers the following question: Who is moving to Triestina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (name VARCHAR, moving_to VARCHAR) | SELECT name FROM table_name_21 WHERE moving_to = "triestina" |
Write a SQL query that answers the following question: What is the transfer window of the player moving to Panionios? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (transfer_window VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_97 WHERE moving_to = "panionios" |
Write a SQL query that answers the following question: What is the type for the Panionios moving to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (type VARCHAR, moving_to VARCHAR) | SELECT type FROM table_name_91 WHERE moving_to = "panionios" |
Write a SQL query that answers the following question: Where is the nationality of Arg Esp moving to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (moving_to VARCHAR, nat VARCHAR) | SELECT moving_to FROM table_name_15 WHERE nat = "arg esp" |
Write a SQL query that answers the following question: Who is moving to Chelsea on loan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (name VARCHAR, type VARCHAR, moving_to VARCHAR) | SELECT name FROM table_name_84 WHERE type = "loan" AND moving_to = "chelsea" |
Write a SQL query that answers the following question: What is the digital of Virgin [analogue]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (digital VARCHAR, provider VARCHAR) | SELECT digital FROM table_name_24 WHERE provider = "virgin [analogue]" |
Write a SQL query that answers the following question: Which provider is pay with analogue cable? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR) | SELECT provider FROM table_name_83 WHERE free_or_pay = "pay" AND transmission = "analogue cable" |
Write a SQL query that answers the following question: How many analogue satellite channels does Sky [Analogue] have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (no_of_channels VARCHAR, transmission VARCHAR, provider VARCHAR) | SELECT no_of_channels FROM table_name_87 WHERE transmission = "analogue satellite" AND provider = "sky [analogue]" |
Write a SQL query that answers the following question: What years are listed for analogue cable with 35 channels? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR) | SELECT years FROM table_name_27 WHERE transmission = "analogue cable" AND no_of_channels = "35" |
Write a SQL query that answers the following question: What was Week 14 when Week 13 was Nebraska (8-2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (week_14_nov_27 VARCHAR, week_13_nov_20 VARCHAR) | SELECT week_14_nov_27 FROM table_name_37 WHERE week_13_nov_20 = "nebraska (8-2)" |
Write a SQL query that answers the following question: What was Week 15 when Week 12 was Notre Dame (7-2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (week_15__final__dec_3 VARCHAR, week_12_nov_13 VARCHAR) | SELECT week_15__final__dec_3 FROM table_name_50 WHERE week_12_nov_13 = "notre dame (7-2)" |
Write a SQL query that answers the following question: What was Week 11 when Week 10 had Nebraska (7-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR) | SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)" |
Write a SQL query that answers the following question: What was Week 15 when Week 12 was Washington (9-1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (week_15__final__dec_3 VARCHAR, week_12_nov_13 VARCHAR) | SELECT week_15__final__dec_3 FROM table_name_69 WHERE week_12_nov_13 = "washington (9-1)" |
Write a SQL query that answers the following question: What Surface has a Date of 15 february 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_64 WHERE date = "15 february 1988" |
Write a SQL query that answers the following question: What Date has a Score in the final of 3–6, 2–6, 4–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR) | SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6" |
Write a SQL query that answers the following question: What Opponent in the final has a Date of 19 september 1988? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (opponent_in_the_final VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_57 WHERE date = "19 september 1988" |
Write a SQL query that answers the following question: What Championship has a Date of 26 may 1986? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (championship VARCHAR, date VARCHAR) | SELECT championship FROM table_name_66 WHERE date = "26 may 1986" |
Write a SQL query that answers the following question: What Championship has a Score in the final of 2–6, 6–2, 7–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (championship VARCHAR, score_in_the_final VARCHAR) | SELECT championship FROM table_name_16 WHERE score_in_the_final = "2–6, 6–2, 7–5" |
Write a SQL query that answers the following question: What was the lowest pick number with an overall 86? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (pick__number INTEGER, overall VARCHAR) | SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 86 |
Write a SQL query that answers the following question: What is the name of a pick more than 5 at Washington College? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR) | SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington" |
Write a SQL query that answers the following question: What is the sum of the Pick # Anthony Maddox? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (pick__number INTEGER, name VARCHAR) | SELECT SUM(pick__number) FROM table_name_27 WHERE name = "anthony maddox" |
Write a SQL query that answers the following question: Which number is 國殤? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR) | SELECT standard_order FROM table_name_69 WHERE traditional_chinese = "國殤" |
Write a SQL query that answers the following question: What is the Traditional Chinese of 国殇 which is over 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (traditional_chinese VARCHAR, standard_order VARCHAR, simplified_chinese VARCHAR) | SELECT traditional_chinese FROM table_name_14 WHERE standard_order > 9 AND simplified_chinese = "国殇" |
Write a SQL query that answers the following question: What is the English translation of 山鬼? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (english_translation VARCHAR, simplified_chinese VARCHAR) | SELECT english_translation FROM table_name_93 WHERE simplified_chinese = "山鬼" |
Write a SQL query that answers the following question: What is the total where there are 4 MLS Cups and more US Open Cups than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (total VARCHAR, mls_cup VARCHAR, us_open_cup VARCHAR) | SELECT COUNT(total) FROM table_name_43 WHERE mls_cup = 4 AND us_open_cup > 1 |
Write a SQL query that answers the following question: Which race 3 has points greater than 36, and 2 as the race 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (race_3 VARCHAR, points VARCHAR, race_1 VARCHAR) | SELECT race_3 FROM table_name_93 WHERE points > 36 AND race_1 = 2 |
Write a SQL query that answers the following question: How many race 1's have 5 as the race 3, with points less than 59? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR) | SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59 |
Write a SQL query that answers the following question: What driver has points less than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (driver VARCHAR, points INTEGER) | SELECT driver FROM table_name_94 WHERE points < 17 |
Write a SQL query that answers the following question: Who is from south africa and has a score of 76-75-73-71=295? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (player VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_25 WHERE country = "south africa" AND score = 76 - 75 - 73 - 71 = 295 |
Write a SQL query that answers the following question: What is the lowest to par of a player from australia with a score of 76-70-75-72=293? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (to_par INTEGER, country VARCHAR, score VARCHAR) | SELECT MIN(to_par) FROM table_name_96 WHERE country = "australia" AND score = 76 - 70 - 75 - 72 = 293 |
Write a SQL query that answers the following question: What is the money with a Score of 76-70-75-72=293? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_68 WHERE score = 76 - 70 - 75 - 72 = 293 |
Write a SQL query that answers the following question: What is Title, when Developer is "2Play Mobile", and when Genre is "Action"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (title VARCHAR, developer VARCHAR, genre VARCHAR) | SELECT title FROM table_name_91 WHERE developer = "2play mobile" AND genre = "action" |
Write a SQL query that answers the following question: What is the highest Version, when Release Date is "2011-04-01"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (version INTEGER, release_date VARCHAR) | SELECT MAX(version) FROM table_name_38 WHERE release_date = "2011-04-01" |
Write a SQL query that answers the following question: What is Version, when Genre is "Action", and when Title is "Hairball"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR) | SELECT version FROM table_name_39 WHERE genre = "action" AND title = "hairball" |
Write a SQL query that answers the following question: What is the Set 1 of the 45:40 Total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (set_1 VARCHAR, total VARCHAR) | SELECT set_1 FROM table_name_73 WHERE total = "45:40" |
Write a SQL query that answers the following question: What is the Total of the 24:26 Set 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (total VARCHAR, set_1 VARCHAR) | SELECT total FROM table_name_41 WHERE set_1 = "24:26" |
Write a SQL query that answers the following question: What is the Total of Set 2 of 21:12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_58 WHERE set_2 = "21:12" |
Write a SQL query that answers the following question: What is the Total of Set 2 of 24:22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_86 WHERE set_2 = "24:22" |
Write a SQL query that answers the following question: What is the date of the 21:12 Set 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, set_2 VARCHAR) | SELECT date FROM table_name_17 WHERE set_2 = "21:12" |
Write a SQL query that answers the following question: What is the torque of the 5.8l v12 engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (torque VARCHAR, engine VARCHAR) | SELECT torque FROM table_name_15 WHERE engine = "5.8l v12" |
Write a SQL query that answers the following question: What is the torque of the 6.3l v12 engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (torque VARCHAR, engine VARCHAR) | SELECT torque FROM table_name_72 WHERE engine = "6.3l v12" |
Write a SQL query that answers the following question: What is the 0-100km/h (62mph) of the supercharged 5.4l v8 engine? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (engine VARCHAR) | SELECT 0 AS _100km_h__62mph_ FROM table_name_20 WHERE engine = "supercharged 5.4l v8" |
Write a SQL query that answers the following question: What is the population when the Per capita income of $18,884, and a Number of households smaller than 14,485? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR) | SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = "$18,884" AND number_of_households < 14 OFFSET 485 |
Write a SQL query that answers the following question: What is Place, when Player is "Ben Crenshaw"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_99 WHERE player = "ben crenshaw" |
Write a SQL query that answers the following question: What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more than 576? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR) | SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576 |
Write a SQL query that answers the following question: What is the sum of the stand with a qual more than 589? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (stand INTEGER, qual INTEGER) | SELECT SUM(stand) FROM table_name_31 WHERE qual > 589 |
Write a SQL query that answers the following question: What is the 1st leg in the match where Remo (PA) is team 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "remo (pa)" |
Write a SQL query that answers the following question: Who is team 1 where team 2 is Fluminense (RJ)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_17 WHERE team_2 = "fluminense (rj)" |
Write a SQL query that answers the following question: What is the venue for the friendly competition at Dreisamstadion, Freiburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT score FROM table_name_52 WHERE competition = "friendly" AND venue = "dreisamstadion, freiburg" |
Write a SQL query that answers the following question: What is the result at Dreisamstadion, Freiburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_96 WHERE venue = "dreisamstadion, freiburg" |
Write a SQL query that answers the following question: What is Team, when Position is "LHP", and when Pick is "23"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (team VARCHAR, position VARCHAR, pick VARCHAR) | SELECT team FROM table_name_16 WHERE position = "lhp" AND pick = 23 |
Write a SQL query that answers the following question: What is the highest Pick, when Player is "Todd Van Poppel"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (pick INTEGER, player VARCHAR) | SELECT MAX(pick) FROM table_name_86 WHERE player = "todd van poppel" |
Write a SQL query that answers the following question: What is Player, when Pick is "26"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (player VARCHAR, pick VARCHAR) | SELECT player FROM table_name_48 WHERE pick = 26 |
Write a SQL query that answers the following question: What is Posititon, when Hometown/School is "Westlake, California"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (position VARCHAR, hometown_school VARCHAR) | SELECT position FROM table_name_15 WHERE hometown_school = "westlake, california" |
Write a SQL query that answers the following question: What is Player, when Position is "SS", and when Pick is "11"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (player VARCHAR, position VARCHAR, pick VARCHAR) | SELECT player FROM table_name_61 WHERE position = "ss" AND pick = 11 |
Write a SQL query that answers the following question: What is the Population of Sargent County? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (population VARCHAR, county VARCHAR) | SELECT population FROM table_name_38 WHERE county = "sargent" |
Write a SQL query that answers the following question: What is the rank for the nation with 0 silver medals and a total larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (rank INTEGER, silver VARCHAR, total VARCHAR) | SELECT SUM(rank) FROM table_name_86 WHERE silver = 0 AND total > 2 |
Write a SQL query that answers the following question: What is the least silvers where there are 39 bronzes and the total is less than 120? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_55 WHERE bronze = 39 AND total < 120 |
Write a SQL query that answers the following question: What's the general classification of stage 3 with David Loosli as the mountains classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (general_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_74 WHERE mountains_classification = "david loosli" AND stage = "3" |
Write a SQL query that answers the following question: What's the points classification when the stage was final? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (points_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_42 WHERE stage = "final" |
Write a SQL query that answers the following question: What is the stage of Gerolsteiner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (stage VARCHAR, team_classification VARCHAR) | SELECT stage FROM table_name_29 WHERE team_classification = "gerolsteiner" |
Write a SQL query that answers the following question: What's the mountains classification of Stage 7 when Kim Kirchen was the general classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) | SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7" |
Write a SQL query that answers the following question: What was Kim Kirchen's team classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (team_classification VARCHAR, general_classification VARCHAR) | SELECT team_classification FROM table_name_21 WHERE general_classification = "kim kirchen" |
Write a SQL query that answers the following question: What Player has a To par of +1 and a Score of 73-71-71=217? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_24 WHERE to_par = "+1" AND score = 73 - 71 - 71 = 217 |
Write a SQL query that answers the following question: What Player's had a To par of +1 and a Score of 73-71-73=217? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_12 WHERE to_par = "+1" AND score = 73 - 71 - 73 = 217 |
Write a SQL query that answers the following question: What is Fuzzy Zoeller's Score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_56 WHERE player = "fuzzy zoeller" |
Write a SQL query that answers the following question: What is the Country of the Player with a Score of 71-73-71=215? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_85 WHERE score = 71 - 73 - 71 = 215 |
Write a SQL query that answers the following question: What is the Country of the Player with a To par of –4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_72 WHERE to_par = "–4" |
Write a SQL query that answers the following question: What is the Country of the Player with a To par of +1 and a Score of 75-69-73=217? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT country FROM table_name_38 WHERE to_par = "+1" AND score = 75 - 69 - 73 = 217 |
Write a SQL query that answers the following question: Which Position has 24 Goals against, and a Played smaller than 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (position INTEGER, goals_against VARCHAR, played VARCHAR) | SELECT MAX(position) FROM table_name_97 WHERE goals_against = 24 AND played < 30 |
Write a SQL query that answers the following question: Which Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (points INTEGER, club VARCHAR, goal_difference VARCHAR) | SELECT MAX(points) FROM table_name_9 WHERE club = "cf calvo sotelo" AND goal_difference > -3 |
Write a SQL query that answers the following question: Which Draws have a Position of 16, and less than 58 Goals against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR) | SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58 |
Write a SQL query that answers the following question: Which Losses have Draws larger than 6, and a Club of cd mestalla, and Goals against larger than 44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (losses INTEGER, goals_against VARCHAR, draws VARCHAR, club VARCHAR) | SELECT MIN(losses) FROM table_name_75 WHERE draws > 6 AND club = "cd mestalla" AND goals_against > 44 |
Write a SQL query that answers the following question: How many Goals against have Goals for smaller than 33, and Points smaller than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR) | SELECT SUM(goals_against) FROM table_name_54 WHERE goals_for < 33 AND points < 16 |
Write a SQL query that answers the following question: What Date was the Game at Griffith Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_9 WHERE game_site = "griffith stadium" |
Write a SQL query that answers the following question: What attendance is listed against the date of bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_4 WHERE date = "bye" |
Write a SQL query that answers the following question: What date is week 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_77 WHERE week = 3 |
Write a SQL query that answers the following question: Which Floors has a Location of tower hill? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (floors VARCHAR, location VARCHAR) | SELECT floors FROM table_name_89 WHERE location = "tower hill" |
Write a SQL query that answers the following question: Which Location has a Floors of 03.0 n/a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (location VARCHAR, floors VARCHAR) | SELECT location FROM table_name_18 WHERE floors = "03.0 n/a" |
Write a SQL query that answers the following question: Name the Height metres / ft of Floors of 05.0 n/a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (height_metres___ft VARCHAR, floors VARCHAR) | SELECT height_metres___ft FROM table_name_89 WHERE floors = "05.0 n/a" |
Write a SQL query that answers the following question: Name the Years as tallest that has Height metres / ft of 01.0 27 / 90? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) | SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90" |
Write a SQL query that answers the following question: Name the Years as tallest has a Height metres / ft of 07.0 150 / 493 [b ]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) | SELECT years_as_tallest FROM table_name_95 WHERE height_metres___ft = "07.0 150 / 493 [b ]" |
Write a SQL query that answers the following question: Name the Height metres / ft of Years with tallest of 1098–1310? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR) | SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310" |
Write a SQL query that answers the following question: How many scores have a Place of t5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, place VARCHAR) | SELECT COUNT(score) FROM table_name_2 WHERE place = "t5" |
Write a SQL query that answers the following question: Which To Par has a Score smaller than 70, and a Player of matt kowal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (to_par VARCHAR, score VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_33 WHERE score < 70 AND player = "matt kowal" |
Write a SQL query that answers the following question: Which Score has a To Par of –1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score INTEGER, to_par VARCHAR) | SELECT MIN(score) FROM table_name_59 WHERE to_par = "–1" |
Write a SQL query that answers the following question: what is the date for catolog 88697185162 when the region is canada? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR, region VARCHAR) | SELECT date FROM table_name_9 WHERE catalog = 88697185162 AND region = "canada" |
Write a SQL query that answers the following question: Which parish has a church named Vangsnes Kyrkje? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje" |
Write a SQL query that answers the following question: Which Sub-Parish has a church built in 1866? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) | SELECT sub_parish__sokn_ FROM table_name_19 WHERE year_built = "1866" |
Write a SQL query that answers the following question: When was the Hopperstad Stavkyrkje built? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (year_built VARCHAR, church_name VARCHAR) | SELECT year_built FROM table_name_83 WHERE church_name = "hopperstad stavkyrkje" |
Write a SQL query that answers the following question: When was the church in Arnafjord built? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (year_built VARCHAR, location_of_the_church VARCHAR) | SELECT year_built FROM table_name_43 WHERE location_of_the_church = "arnafjord" |
Write a SQL query that answers the following question: What is the Sub-Parish called that has a church located in Fresvik? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR) | SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik" |
Write a SQL query that answers the following question: What is the church in the Sub-Parish of Fresvik called? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR) | SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik" |
Write a SQL query that answers the following question: What is the time for Sheffield? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (time VARCHAR, city VARCHAR) | SELECT time FROM table_name_15 WHERE city = "sheffield" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.