instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which Team wins has an Individual winner smaller than 1 and Total win larger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (team_wins INTEGER, individual_winners VARCHAR, total_wins VARCHAR) | SELECT SUM(team_wins) FROM table_name_60 WHERE individual_winners < 1 AND total_wins > 1 |
Write a SQL query that answers the following question: Which Team Win is from sweden and has a Individual win smaller than 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (team_wins INTEGER, nation VARCHAR, individual_wins VARCHAR) | SELECT MAX(team_wins) FROM table_name_48 WHERE nation = "sweden" AND individual_wins < 1 |
Write a SQL query that answers the following question: Which channel did Going for Gold air on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR) | SELECT original_channel FROM table_name_19 WHERE programme = "going for gold" |
Write a SQL query that answers the following question: What channel is Gladiators on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (new_channel_s_ VARCHAR, programme VARCHAR) | SELECT new_channel_s_ FROM table_name_19 WHERE programme = "gladiators" |
Write a SQL query that answers the following question: When did Going for Gold return in BBC One? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR) | SELECT date_s__of_return FROM table_name_67 WHERE original_channel = "bbc one" AND programme = "going for gold" |
Write a SQL query that answers the following question: Which faith has a name of Belswains? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR) | SELECT faith FROM table_name_40 WHERE name = "belswains" |
Write a SQL query that answers the following question: Which school is a primary school with DCSF number 2045? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (name VARCHAR, type VARCHAR, dcsf_number VARCHAR) | SELECT name FROM table_name_62 WHERE type = "primary" AND dcsf_number = 2045 |
Write a SQL query that answers the following question: Which position had fewer rounds than 3, and an overall of less than 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (position VARCHAR, round VARCHAR, overall VARCHAR) | SELECT position FROM table_name_96 WHERE round < 3 AND overall < 48 |
Write a SQL query that answers the following question: Which highest pick number's name was Adam Podlesh, when the overall was less than 101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (pick__number INTEGER, name VARCHAR, overall VARCHAR) | SELECT MAX(pick__number) FROM table_name_2 WHERE name = "adam podlesh" AND overall < 101 |
Write a SQL query that answers the following question: What is the IHSAA class in Batesville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR) | SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville" |
Write a SQL query that answers the following question: Which city is Lawrenceburg school, with an IHSAA football class of aaa and less than 676 enrollments, located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (city VARCHAR, school VARCHAR, ihsaa_football_class VARCHAR, enrollment VARCHAR) | SELECT city FROM table_name_84 WHERE ihsaa_football_class = "aaa" AND enrollment < 676 AND school = "lawrenceburg" |
Write a SQL query that answers the following question: What school is in Brookville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (school VARCHAR, city VARCHAR) | SELECT school FROM table_name_34 WHERE city = "brookville" |
Write a SQL query that answers the following question: Which Score has a Record of 36β61? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_29 WHERE record = "36β61" |
Write a SQL query that answers the following question: Which Attendance has a Record of 34β51? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_63 WHERE record = "34β51" |
Write a SQL query that answers the following question: Which Loss has a Date of july 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_71 WHERE date = "july 2" |
Write a SQL query that answers the following question: Which tournament's 2001 and 2008 were a when 2010 was qf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (tournament VARCHAR) | SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf" |
Write a SQL query that answers the following question: Which tournament's 2001 and 2006s were a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (tournament VARCHAR) | SELECT tournament FROM table_name_25 WHERE 2001 = "a" AND 2006 = "a" |
Write a SQL query that answers the following question: Which 2007 had a 2009 taht was qf when its 2000 was a? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (Id VARCHAR) | SELECT 2007 FROM table_name_60 WHERE 2009 = "qf" AND 2000 = "a" |
Write a SQL query that answers the following question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (Id VARCHAR) | SELECT 2008 FROM table_name_16 WHERE 1998 = "a" AND 2009 = "sf" AND 2006 = "a" |
Write a SQL query that answers the following question: What is the number of floors for the Citic Square? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR) | SELECT AVG(floors) FROM table_name_10 WHERE name = "citic square" |
Write a SQL query that answers the following question: What is the height for the Shanghai World Plaza? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (height_m___ft VARCHAR, name VARCHAR) | SELECT height_m___ft FROM table_name_26 WHERE name = "shanghai world plaza" |
Write a SQL query that answers the following question: What week had a lower attendance than 51,423 but was still higher than the other weeks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (week INTEGER, attendance INTEGER) | SELECT MAX(week) FROM table_name_76 WHERE attendance < 51 OFFSET 423 |
Write a SQL query that answers the following question: Which Vertices have a Dual Archimedean solid of truncated dodecahedron? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (vertices INTEGER, dual_archimedean_solid VARCHAR) | SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = "truncated dodecahedron" |
Write a SQL query that answers the following question: Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR) | SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 62 |
Write a SQL query that answers the following question: Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR) | SELECT AVG(faces) FROM table_name_39 WHERE dual_archimedean_solid = "truncated icosahedron" AND vertices > 32 |
Write a SQL query that answers the following question: Which Set 2 has a Set 3 of 20β25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (set_2 VARCHAR, set_3 VARCHAR) | SELECT set_2 FROM table_name_70 WHERE set_3 = "20β25" |
Write a SQL query that answers the following question: Which Total has a Set 2 of 20β25, and a Score of 1β3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR) | SELECT total FROM table_name_26 WHERE set_2 = "20β25" AND score = "1β3" |
Write a SQL query that answers the following question: Which Set 3 has a Score of 3β2, and a Set 2 of 25β23, and a Time of 19:00? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (set_3 VARCHAR, time VARCHAR, score VARCHAR, set_2 VARCHAR) | SELECT set_3 FROM table_name_86 WHERE score = "3β2" AND set_2 = "25β23" AND time = "19:00" |
Write a SQL query that answers the following question: Which Total has a Score of 1β3, and a Set 1 of 29β31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (total VARCHAR, score VARCHAR, set_1 VARCHAR) | SELECT total FROM table_name_9 WHERE score = "1β3" AND set_1 = "29β31" |
Write a SQL query that answers the following question: Which Date has a Time of 11:00, and a Set 3 of 25β18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (date VARCHAR, time VARCHAR, set_3 VARCHAR) | SELECT date FROM table_name_62 WHERE time = "11:00" AND set_3 = "25β18" |
Write a SQL query that answers the following question: Which Total has a Set 3 of 13β25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (total VARCHAR, set_3 VARCHAR) | SELECT total FROM table_name_53 WHERE set_3 = "13β25" |
Write a SQL query that answers the following question: What was the result for the best musical revival category? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (result VARCHAR, category VARCHAR) | SELECT result FROM table_name_98 WHERE category = "best musical revival" |
Write a SQL query that answers the following question: Name the area served for on-air ID of abc canberra | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (area_served VARCHAR, on_air_id VARCHAR) | SELECT area_served FROM table_name_46 WHERE on_air_id = "abc canberra" |
Write a SQL query that answers the following question: Name the frequency with on-air ID of 1way fm | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (frequency VARCHAR, on_air_id VARCHAR) | SELECT frequency FROM table_name_18 WHERE on_air_id = "1way fm" |
Write a SQL query that answers the following question: Name the purpose for on-air ID of 2xx | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (purpose VARCHAR, on_air_id VARCHAR) | SELECT purpose FROM table_name_13 WHERE on_air_id = "2xx" |
Write a SQL query that answers the following question: Name the frequency for community purpose and callsign of 1vfm | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR) | SELECT frequency FROM table_name_79 WHERE purpose = "community" AND callsign = "1vfm" |
Write a SQL query that answers the following question: Name the band with frequency of 102.3 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR) | SELECT band FROM table_name_88 WHERE frequency = "102.3" |
Write a SQL query that answers the following question: What was the loss of the game against with LA New Bears with a save of Mac Suzuki? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (loss VARCHAR, opponent VARCHAR, save VARCHAR) | SELECT loss FROM table_name_4 WHERE opponent = "la new bears" AND save = "mac suzuki" |
Write a SQL query that answers the following question: What was the date of the game with a save of ||3,073? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (date VARCHAR, save VARCHAR) | SELECT date FROM table_name_74 WHERE save = "||3,073" |
Write a SQL query that answers the following question: Which 2004 has a Tournament of french open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (tournament VARCHAR) | SELECT 2004 FROM table_name_41 WHERE tournament = "french open" |
Write a SQL query that answers the following question: Which 2003 has a 2013 of 1r, and a 2007 of 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 2003 FROM table_name_99 WHERE 2013 = "1r" AND 2007 = "2r" |
Write a SQL query that answers the following question: Which 2007 has a Tournament of grand slam sr? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (tournament VARCHAR) | SELECT 2007 FROM table_name_32 WHERE tournament = "grand slam sr" |
Write a SQL query that answers the following question: Which 2008 has a Career Win-Loss of 25β40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (career_win_loss VARCHAR) | SELECT 2008 FROM table_name_54 WHERE career_win_loss = "25β40" |
Write a SQL query that answers the following question: Which Career Win-Loss has a 2001 of 1β1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (career_win_loss VARCHAR) | SELECT career_win_loss FROM table_name_76 WHERE 2001 = "1β1" |
Write a SQL query that answers the following question: Which 2012 has a 2007 of 1r, and a 2008 of 1r, and a 2013 of 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (Id VARCHAR) | SELECT 2012 FROM table_name_75 WHERE 2007 = "1r" AND 2008 = "1r" AND 2013 = "2r" |
Write a SQL query that answers the following question: What college or club did the round 9 draft pick from Canada come from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada" |
Write a SQL query that answers the following question: Who is the player who was from Dynamo-2 moscow (rus) and was picked after round 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT player FROM table_name_43 WHERE round > 5 AND college_junior_club_team__league_ = "dynamo-2 moscow (rus)" |
Write a SQL query that answers the following question: What position does the draft pick from Finland play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (position VARCHAR, nationality VARCHAR) | SELECT position FROM table_name_72 WHERE nationality = "finland" |
Write a SQL query that answers the following question: What is the lowest round number that Ian Forbes was picked in the draft? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (round INTEGER, player VARCHAR) | SELECT MIN(round) FROM table_name_43 WHERE player = "ian forbes" |
Write a SQL query that answers the following question: Who was the coach in 1953? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (coach VARCHAR, year VARCHAR) | SELECT coach FROM table_name_19 WHERE year = "1953" |
Write a SQL query that answers the following question: What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (time VARCHAR, nfl_recap VARCHAR, game_site VARCHAR) | SELECT time FROM table_name_82 WHERE nfl_recap = "recap" AND game_site = "arrowhead stadium" |
Write a SQL query that answers the following question: What was the Opponent at Arrowhead Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (opponent VARCHAR, game_site VARCHAR) | SELECT opponent FROM table_name_97 WHERE game_site = "arrowhead stadium" |
Write a SQL query that answers the following question: What was the Result of the game after Week 4 with a Time of 5:15 p.m. and a Record of 4β7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (result VARCHAR, record VARCHAR, week VARCHAR, time VARCHAR) | SELECT result FROM table_name_88 WHERE week > 4 AND time = "5:15 p.m." AND record = "4β7" |
Write a SQL query that answers the following question: When in November were they 11-7-3 with over 21 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR) | SELECT MAX(november) FROM table_name_80 WHERE record = "11-7-3" AND game > 21 |
Write a SQL query that answers the following question: What school had a team name of the Trojans? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (school VARCHAR, team_name VARCHAR) | SELECT school FROM table_name_54 WHERE team_name = "trojans" |
Write a SQL query that answers the following question: What date was the Site michigan stadium β’ ann arbor, mi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date VARCHAR, site VARCHAR) | SELECT date FROM table_name_50 WHERE site = "michigan stadium β’ ann arbor, mi" |
Write a SQL query that answers the following question: What is the site of the game with a Result of l7-33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (site VARCHAR, result VARCHAR) | SELECT site FROM table_name_34 WHERE result = "l7-33" |
Write a SQL query that answers the following question: What is the name of the Opponent when the Result was w48-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_6 WHERE result = "w48-0" |
Write a SQL query that answers the following question: What is the Date at memorial stadium β’ minneapolis, mn, and an Opponent of northwestern? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_45 WHERE site = "memorial stadium β’ minneapolis, mn" AND opponent = "northwestern" |
Write a SQL query that answers the following question: What is the Result of the game on 10/11/1930? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_63 WHERE date = "10/11/1930" |
Write a SQL query that answers the following question: What is the total number of games played against the Buffalo Sabres? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (game VARCHAR, opponent VARCHAR) | SELECT COUNT(game) FROM table_name_65 WHERE opponent = "buffalo sabres" |
Write a SQL query that answers the following question: Which April has Points of 95, and a Record of 41β25β10β3, and a Game smaller than 79? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (april INTEGER, game VARCHAR, points VARCHAR, record VARCHAR) | SELECT SUM(april) FROM table_name_50 WHERE points = 95 AND record = "41β25β10β3" AND game < 79 |
Write a SQL query that answers the following question: How many Points have a Score of 1β3, and a Game larger than 82? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (points VARCHAR, score VARCHAR, game VARCHAR) | SELECT COUNT(points) FROM table_name_49 WHERE score = "1β3" AND game > 82 |
Write a SQL query that answers the following question: Which Game is the lowest one that has Points smaller than 92? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (game INTEGER, points INTEGER) | SELECT MIN(game) FROM table_name_14 WHERE points < 92 |
Write a SQL query that answers the following question: Which April is the smallest one that has a Score of 2β4, and a Game smaller than 76? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (april INTEGER, score VARCHAR, game VARCHAR) | SELECT MAX(april) FROM table_name_4 WHERE score = "2β4" AND game < 76 |
Write a SQL query that answers the following question: What is the high point total associated with a difference of 1 and 0 draws? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR) | SELECT MAX(points) FROM table_name_88 WHERE difference = "1" AND drawn = 0 |
Write a SQL query that answers the following question: What position did the team finish in with a Difference of - 6, 3 losses, and over 4 draws? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_83 WHERE difference = "- 6" AND lost = 3 AND drawn > 4 |
Write a SQL query that answers the following question: Which round has the scorer of Di Matteo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (round VARCHAR, scorers VARCHAR) | SELECT round FROM table_name_56 WHERE scorers = "di matteo" |
Write a SQL query that answers the following question: What is the lowest attendance of a game that has the result of 2-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (attendance INTEGER, result VARCHAR) | SELECT MIN(attendance) FROM table_name_59 WHERE result = "2-0" |
Write a SQL query that answers the following question: What Metric value has a Unit of dolia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (metric_value VARCHAR, unit VARCHAR) | SELECT metric_value FROM table_name_4 WHERE unit = "dolia" |
Write a SQL query that answers the following question: What Russian has a Ratio of 40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR) | SELECT russian FROM table_name_60 WHERE ratio = "40" |
Write a SQL query that answers the following question: What Avoirdupois value has a Russian of Π±Π΅ΡΠΊΠΎΠ²Π΅Ρ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (avoirdupois_value VARCHAR, russian VARCHAR) | SELECT avoirdupois_value FROM table_name_37 WHERE russian = "Π±Π΅ΡΠΊΠΎΠ²Π΅Ρ" |
Write a SQL query that answers the following question: What Russian has an Avoirdupois value of 0.686 gr? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (russian VARCHAR, avoirdupois_value VARCHAR) | SELECT russian FROM table_name_16 WHERE avoirdupois_value = "0.686 gr" |
Write a SQL query that answers the following question: What Unit has a Ratio of 1/32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (unit VARCHAR, ratio VARCHAR) | SELECT unit FROM table_name_55 WHERE ratio = "1/32" |
Write a SQL query that answers the following question: What Ratio has a Unit of zolotnik? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (ratio VARCHAR, unit VARCHAR) | SELECT ratio FROM table_name_57 WHERE unit = "zolotnik" |
Write a SQL query that answers the following question: What player from New Mexico plays the WR position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico" |
Write a SQL query that answers the following question: What's the Uni# of Timms, who has bats of R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR) | SELECT uni_number FROM table_name_22 WHERE bats = "r" AND surname = "timms" |
Write a SQL query that answers the following question: What team were the Opponent in Game 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_37 WHERE game = 29 |
Write a SQL query that answers the following question: When did the woman who died at 31 first contact Hitlers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (first_contact_with_hitler VARCHAR, age_at_death VARCHAR) | SELECT first_contact_with_hitler FROM table_name_60 WHERE age_at_death = "31" |
Write a SQL query that answers the following question: What is the relationship of the woman who died at 96? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR) | SELECT relationship FROM table_name_95 WHERE age_at_death = "96" |
Write a SQL query that answers the following question: What is the lifespan of Stefanie Rabatsch? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (life VARCHAR, name VARCHAR) | SELECT life FROM table_name_93 WHERE name = "stefanie rabatsch" |
Write a SQL query that answers the following question: What is Brendan Gaughan's Car #? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (car__number VARCHAR, driver VARCHAR) | SELECT car__number FROM table_name_72 WHERE driver = "brendan gaughan" |
Write a SQL query that answers the following question: What is Mike Skinner's Chevrolet's Car #? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (car__number VARCHAR, make VARCHAR, driver VARCHAR) | SELECT COUNT(car__number) FROM table_name_74 WHERE make = "chevrolet" AND driver = "mike skinner" |
Write a SQL query that answers the following question: What is Driver Brendan Gaughan's Pos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (pos VARCHAR, driver VARCHAR) | SELECT pos FROM table_name_29 WHERE driver = "brendan gaughan" |
Write a SQL query that answers the following question: What was the 2009 value for a total over 1 and 4th on 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (total VARCHAR) | SELECT 2009 FROM table_name_36 WHERE total > 1 AND 2010 = "4th" |
Write a SQL query that answers the following question: What is the number of laps for the Time/Retired of +16.445? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_76 WHERE time_retired = "+16.445" |
Write a SQL query that answers the following question: What is the number of laps for the honda vehicle, with a grid of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (laps VARCHAR, constructor VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_17 WHERE constructor = "honda" AND grid = "13" |
Write a SQL query that answers the following question: What is the name of the company that constructed the vehicle for Timo Glock? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_15 WHERE driver = "timo glock" |
Write a SQL query that answers the following question: What is the Grid for Rubens Barrichello? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_99 WHERE driver = "rubens barrichello" |
Write a SQL query that answers the following question: What is the Time/Retired for the BMW Sauber, and Nick Heidfeld? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (time_retired VARCHAR, constructor VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_80 WHERE constructor = "bmw sauber" AND driver = "nick heidfeld" |
Write a SQL query that answers the following question: What were the total number of games in April greater than 83? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (april VARCHAR, game INTEGER) | SELECT COUNT(april) FROM table_name_61 WHERE game > 83 |
Write a SQL query that answers the following question: Which Gamesβ is the lowest one that has a Position of wlb? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (games INTEGER, position VARCHAR) | SELECT MIN(games) AS β FROM table_name_88 WHERE position = "wlb" |
Write a SQL query that answers the following question: Which Gamesβ is the lowest one that has a Number of 98? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (games INTEGER, number VARCHAR) | SELECT MIN(games) AS β FROM table_name_88 WHERE number = 98 |
Write a SQL query that answers the following question: What is the height of Josh Tabb? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (height VARCHAR, name VARCHAR) | SELECT height FROM table_name_28 WHERE name = "josh tabb" |
Write a SQL query that answers the following question: What series episode has stetson hats (part 1) under segment C? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (series_ep VARCHAR, segment_c VARCHAR) | SELECT series_ep FROM table_name_22 WHERE segment_c = "stetson hats (part 1)" |
Write a SQL query that answers the following question: What is under segment C when s cuckoo clock is under segment B? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (segment_c VARCHAR, segment_b VARCHAR) | SELECT segment_c FROM table_name_22 WHERE segment_b = "s cuckoo clock" |
Write a SQL query that answers the following question: When segment B is s pineapple, what is the segment C? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (segment_c VARCHAR, segment_b VARCHAR) | SELECT segment_c FROM table_name_92 WHERE segment_b = "s pineapple" |
Write a SQL query that answers the following question: What series episode has jukeboxes as segment B? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (series_ep VARCHAR, segment_b VARCHAR) | SELECT series_ep FROM table_name_80 WHERE segment_b = "jukeboxes" |
Write a SQL query that answers the following question: What week ended in a result of w 30-3, and had an attendance less than 62,795? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (week INTEGER, result VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_53 WHERE result = "w 30-3" AND attendance < 62 OFFSET 795 |
Write a SQL query that answers the following question: Which Format has a Catalog of 61298, and a Date of september 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (format VARCHAR, catalog VARCHAR, date VARCHAR) | SELECT format FROM table_name_51 WHERE catalog = 61298 AND date = "september 1984" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.