instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the Akira when Prince Devitt is Devitt (7:20)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (akira VARCHAR, prince_devitt VARCHAR)
SELECT akira FROM table_name_99 WHERE prince_devitt = "devitt (7:20)"
Write a SQL query that answers the following question: What is the Prince Devitt when Block A is Yamato?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (prince_devitt VARCHAR, block_a VARCHAR)
SELECT prince_devitt FROM table_name_49 WHERE block_a = "yamato"
Write a SQL query that answers the following question: I want the league one/second division for club of millwall
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (league_one_second_division VARCHAR, club VARCHAR)
SELECT league_one_second_division FROM table_name_80 WHERE club = "millwall"
Write a SQL query that answers the following question: What was the score of the home team when they played carlton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_77 WHERE away_team = "carlton"
Write a SQL query that answers the following question: How many points did the visiting team score at south melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_94 WHERE home_team = "south melbourne"
Write a SQL query that answers the following question: What is the total Crowd number for the Away team of Hawthorn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "hawthorn"
Write a SQL query that answers the following question: What did the team score when playing against home in geelong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_72 WHERE away_team = "geelong"
Write a SQL query that answers the following question: How many people watched when st kilda played at home?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_79 WHERE home_team = "st kilda"
Write a SQL query that answers the following question: Who was the away team when the crowd was larger than 41,451?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)
SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451
Write a SQL query that answers the following question: Who was the home team when the venue was Junction Oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_82 WHERE venue = "junction oval"
Write a SQL query that answers the following question: I want to know the time which has attendance of 66,772
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (time VARCHAR, attendance VARCHAR)
SELECT time FROM table_name_82 WHERE attendance = "66,772"
Write a SQL query that answers the following question: Name the opponent that has attendance of 76,965
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_86 WHERE attendance = "76,965"
Write a SQL query that answers the following question: Tell me the week that has an attendance of 78,301
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (week VARCHAR, attendance VARCHAR)
SELECT week FROM table_name_89 WHERE attendance = "78,301"
Write a SQL query that answers the following question: I want to know the opponent that ha a week of 3
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_61 WHERE week = "3"
Write a SQL query that answers the following question: How many were in attendance on 14 April 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_50 WHERE date = "14 april 2007"
Write a SQL query that answers the following question: What is catcher Josh Donaldson's pick number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (pick VARCHAR, position VARCHAR, player VARCHAR)
SELECT pick FROM table_name_11 WHERE position = "catcher" AND player = "josh donaldson"
Write a SQL query that answers the following question: Which players plays at Akron College?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_25 WHERE college = "akron"
Write a SQL query that answers the following question: Which college does the player jon hameister-ries play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_93 WHERE player = "jon hameister-ries"
Write a SQL query that answers the following question: What is the nationality of the player with a pick larger than 21 from the College of the Sequoias?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (nationality VARCHAR, pick VARCHAR, college_high_school_club VARCHAR)
SELECT nationality FROM table_name_14 WHERE pick > 21 AND college_high_school_club = "college of the sequoias"
Write a SQL query that answers the following question: I want the result for goals which has goals of deacon 6/6
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)
SELECT result FROM table_name_52 WHERE goals = "deacon 6/6"
Write a SQL query that answers the following question: Which competition was at wilderspool?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_28 WHERE venue = "wilderspool"
Write a SQL query that answers the following question: Tell me the venue for score of 82-0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_58 WHERE score = "82-0"
Write a SQL query that answers the following question: I want the date with the venue of mcalpine stadium
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_68 WHERE venue = "mcalpine stadium"
Write a SQL query that answers the following question: Tell me the goals for score of 38-28
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (goals VARCHAR, score VARCHAR)
SELECT goals FROM table_name_54 WHERE score = "38-28"
Write a SQL query that answers the following question: Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR)
SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = "sébastien bourdais" AND laps < 67
Write a SQL query that answers the following question: Name the most laps for grid more than 9 and the driver being jan heylen
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, driver VARCHAR)
SELECT MAX(laps) FROM table_name_9 WHERE grid > 9 AND driver = "jan heylen"
Write a SQL query that answers the following question: What is the grid when the laps were 24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (grid VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_69 WHERE laps = 24
Write a SQL query that answers the following question: Who constructed Chris Amon's car?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_77 WHERE driver = "chris amon"
Write a SQL query that answers the following question: What was Jack Brabham's highest grid when his laps were more than 90?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_76 WHERE driver = "jack brabham" AND laps > 90
Write a SQL query that answers the following question: What was CHris Amon's highest lap when his grid was 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_31 WHERE driver = "chris amon" AND grid < 4
Write a SQL query that answers the following question: Where did Hawthorn have their away match against North Melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_50 WHERE away_team = "hawthorn"
Write a SQL query that answers the following question: What was the home team score at Richmond's away game against Footscray?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_17 WHERE away_team = "richmond"
Write a SQL query that answers the following question: What is the size of the crowd for the home team of Footscray?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_28 WHERE home_team = "footscray"
Write a SQL query that answers the following question: What is the Time/Retired for the car going 42 Laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (time_retired VARCHAR, laps VARCHAR)
SELECT time_retired FROM table_name_2 WHERE laps = 42
Write a SQL query that answers the following question: How many laps for alexander wurz with a grid under 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_22 WHERE grid < 12 AND driver = "alexander wurz"
Write a SQL query that answers the following question: What is the lowest evening gown score a contestant with an average less than 8.23, an interview score of 8.11, and a swimsuit larger than 7.84 has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (evening_gown INTEGER, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)
SELECT MIN(evening_gown) FROM table_name_17 WHERE average < 8.23 AND interview = 8.11 AND swimsuit > 7.84
Write a SQL query that answers the following question: What is the total interview score a contestant from Indiana with an average smaller than 8.3 has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (interview VARCHAR, state VARCHAR, average VARCHAR)
SELECT COUNT(interview) FROM table_name_36 WHERE state = "indiana" AND average < 8.3
Write a SQL query that answers the following question: What is the highest swimsuit a contestant from Kansas with an average larger than 8.48, an interview higher than 8.58, and an evening gown higher than 8.82 has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (swimsuit INTEGER, state VARCHAR, evening_gown VARCHAR, average VARCHAR, interview VARCHAR)
SELECT MAX(swimsuit) FROM table_name_69 WHERE average > 8.48 AND interview > 8.58 AND evening_gown > 8.82 AND state = "kansas"
Write a SQL query that answers the following question: What is the average interview score of a contestant from Louisiana with an evening gown smaller than 8.82?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (interview INTEGER, evening_gown VARCHAR, state VARCHAR)
SELECT AVG(interview) FROM table_name_29 WHERE evening_gown < 8.82 AND state = "louisiana"
Write a SQL query that answers the following question: What prefix has Haloalkane as the chemical class?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (prefix VARCHAR, chemical_class VARCHAR)
SELECT prefix FROM table_name_4 WHERE chemical_class = "haloalkane"
Write a SQL query that answers the following question: Which example has rx as the formula?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (example VARCHAR, formula VARCHAR)
SELECT example FROM table_name_36 WHERE formula = "rx"
Write a SQL query that answers the following question: Which chemical class uses the example Chloroethane (ethyl chloride)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)
SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)"
Write a SQL query that answers the following question: What prefix has Bromo as the group?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)
SELECT prefix FROM table_name_78 WHERE group = "bromo"
Write a SQL query that answers the following question: What is the chemical class for ri?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (chemical_class VARCHAR, formula VARCHAR)
SELECT chemical_class FROM table_name_33 WHERE formula = "ri"
Write a SQL query that answers the following question: What prefix has chemical class Iodoalkane?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (prefix VARCHAR, chemical_class VARCHAR)
SELECT prefix FROM table_name_73 WHERE chemical_class = "iodoalkane"
Write a SQL query that answers the following question: What is the rank of Lee Trevino, who had less than 27 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (rank INTEGER, player VARCHAR, wins VARCHAR)
SELECT SUM(rank) FROM table_name_89 WHERE player = "lee trevino" AND wins < 27
Write a SQL query that answers the following question: What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (original_air_date VARCHAR, season_no VARCHAR, series_no VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_name_14 WHERE series_no > 40 AND production_code < 213 AND season_no > 11
Write a SQL query that answers the following question: Who wrote the series number 49 with a season larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (written_by VARCHAR, season_no VARCHAR, series_no VARCHAR)
SELECT written_by FROM table_name_27 WHERE season_no > 4 AND series_no = 49
Write a SQL query that answers the following question: What is the total count of net gross in 1957?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (nett_gross VARCHAR, year VARCHAR)
SELECT COUNT(nett_gross) FROM table_name_90 WHERE year = 1957
Write a SQL query that answers the following question: What is the total End term with a Title of prince regent of bavaria?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)
SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria"
Write a SQL query that answers the following question: What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)
SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"
Write a SQL query that answers the following question: Which Title has an 1825 end term?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (title VARCHAR, end_term VARCHAR)
SELECT title FROM table_name_78 WHERE end_term = 1825
Write a SQL query that answers the following question: What is the average Start term with a 1912 end term?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (start_term INTEGER, end_term VARCHAR)
SELECT AVG(start_term) FROM table_name_58 WHERE end_term = 1912
Write a SQL query that answers the following question: What date were the high rebounds Evans (14)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (date VARCHAR, high_rebounds VARCHAR)
SELECT date FROM table_name_74 WHERE high_rebounds = "evans (14)"
Write a SQL query that answers the following question: Which game has a high rebound of Evans (7) and a high assist of Evans, Ollie (3)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (game INTEGER, high_rebounds VARCHAR, high_assists VARCHAR)
SELECT MAX(game) FROM table_name_11 WHERE high_rebounds = "evans (7)" AND high_assists = "evans, ollie (3)"
Write a SQL query that answers the following question: What division has the highest FA Cup Goals, but a Total Goal score less than 5, and a Total Apps of 52?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (fa_cup_goals INTEGER, total_apps__sub_ VARCHAR, total_goals VARCHAR)
SELECT MAX(fa_cup_goals) FROM table_name_85 WHERE total_apps__sub_ = "52" AND total_goals < 5
Write a SQL query that answers the following question: What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR)
SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 0
Write a SQL query that answers the following question: What is Division One's total number of FL Cup Goals, with an Other Apps greater than 3, and a FA Cup Goals greater than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (fl_cup_goals VARCHAR, fa_cup_goals VARCHAR, division VARCHAR, other_apps VARCHAR)
SELECT COUNT(fl_cup_goals) FROM table_name_28 WHERE division = "one" AND other_apps > 3 AND fa_cup_goals > 0
Write a SQL query that answers the following question: What is Division One's average Other Apps, with a League Goal less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (other_apps INTEGER, division VARCHAR, league_goals VARCHAR)
SELECT AVG(other_apps) FROM table_name_76 WHERE division = "one" AND league_goals < 1
Write a SQL query that answers the following question: Who plays at Victoria Park?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_14 WHERE venue = "victoria park"
Write a SQL query that answers the following question: What is the score against the indians after game 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_76 WHERE game > 2 AND opponent = "indians"
Write a SQL query that answers the following question: What is the average grid for piers courage?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (grid INTEGER, driver VARCHAR)
SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage"
Write a SQL query that answers the following question: Who drove 53 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_66 WHERE laps = 53
Write a SQL query that answers the following question: What is the lap total for george eaton, with a grid under 17 retiring due to gearbox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT SUM(laps) FROM table_name_72 WHERE time_retired = "gearbox" AND driver = "george eaton" AND grid < 17
Write a SQL query that answers the following question: How many laps for denny hulme with under 4 on the grid?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT SUM(laps) FROM table_name_13 WHERE driver = "denny hulme" AND grid < 4
Write a SQL query that answers the following question: What was the score of the home team when there were more than 5,500 people in the crowd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_39 WHERE crowd > 5 OFFSET 500
Write a SQL query that answers the following question: What is the sum of Crowd when Essendon was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_33 WHERE home_team = "essendon"
Write a SQL query that answers the following question: What was the home team score when North Melbourne was the away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_8 WHERE away_team = "north melbourne"
Write a SQL query that answers the following question: What is the U.S. Hot 100 chart number of the single off of the 2002 album west coast bad boyz, vol. 3: poppin' collars?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (us_hot_100 VARCHAR, year VARCHAR, album VARCHAR)
SELECT us_hot_100 FROM table_name_29 WHERE year = 2002 AND album = "west coast bad boyz, vol. 3: poppin' collars"
Write a SQL query that answers the following question: What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)
SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars"
Write a SQL query that answers the following question: What is the top round for the baltimore bullets with a Pick larger than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (round INTEGER, team VARCHAR, pick VARCHAR)
SELECT MAX(round) FROM table_name_46 WHERE team = "baltimore bullets" AND pick > 6
Write a SQL query that answers the following question: What team was the away team when they played at lake oval?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE venue = "lake oval"
Write a SQL query that answers the following question: How many people were in the crowd when North Melbourne was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_3 WHERE home_team = "north melbourne"
Write a SQL query that answers the following question: What is Craig Whelihan's average when his yards are smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (avg INTEGER, player VARCHAR, yards VARCHAR)
SELECT SUM(avg) FROM table_name_76 WHERE player = "craig whelihan" AND yards < 0
Write a SQL query that answers the following question: Which largest average had 1229 yards?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (avg INTEGER, yards VARCHAR)
SELECT MAX(avg) FROM table_name_83 WHERE yards = 1229
Write a SQL query that answers the following question: What is the constructor where the circuit is Silverstone?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (constructor VARCHAR, circuit VARCHAR)
SELECT constructor FROM table_name_8 WHERE circuit = "silverstone"
Write a SQL query that answers the following question: Who is the Winning Driver in the race viii gran premio di siracusa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (winning_driver VARCHAR, race_name VARCHAR)
SELECT winning_driver FROM table_name_42 WHERE race_name = "viii gran premio di siracusa"
Write a SQL query that answers the following question: What is the date that the winner driver is Stirling Moss in the race named vi grand prix de caen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, winning_driver VARCHAR, race_name VARCHAR)
SELECT date FROM table_name_91 WHERE winning_driver = "stirling moss" AND race_name = "vi grand prix de caen"
Write a SQL query that answers the following question: Which state is the location of 39.1178°n 106.4454°w in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (state VARCHAR, location VARCHAR)
SELECT state FROM table_name_55 WHERE location = "39.1178°n 106.4454°w"
Write a SQL query that answers the following question: What is the highest rank Mount Elbert has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (rank INTEGER, mountain_peak VARCHAR)
SELECT MAX(rank) FROM table_name_12 WHERE mountain_peak = "mount elbert"
Write a SQL query that answers the following question: What is the mountain range at 37.3934°n 104.9201°w?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (mountain_range VARCHAR, location VARCHAR)
SELECT mountain_range FROM table_name_3 WHERE location = "37.3934°n 104.9201°w"
Write a SQL query that answers the following question: What is the location of Blanca Peak?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (location VARCHAR, mountain_peak VARCHAR)
SELECT location FROM table_name_77 WHERE mountain_peak = "blanca peak"
Write a SQL query that answers the following question: Which state is West Spanish Peak in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (state VARCHAR, mountain_peak VARCHAR)
SELECT state FROM table_name_4 WHERE mountain_peak = "west spanish peak"
Write a SQL query that answers the following question: What is the ranked 5 mountain range?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (mountain_range VARCHAR, rank VARCHAR)
SELECT mountain_range FROM table_name_59 WHERE rank = 5
Write a SQL query that answers the following question: Name of choice b. Randell is the name of which District Residence?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (district_residence VARCHAR, name VARCHAR)
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
Write a SQL query that answers the following question: Who has a Took Office of march 4, 1903?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (name VARCHAR, took_office VARCHAR)
SELECT name FROM table_name_32 WHERE took_office = "march 4, 1903"
Write a SQL query that answers the following question: Which Took Office that has a Party of democrat, under the name of John Hancock
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (took_office VARCHAR, party VARCHAR, name VARCHAR)
SELECT took_office FROM table_name_30 WHERE party = "democrat" AND name = "john hancock"
Write a SQL query that answers the following question: Who has Took Office of march 4, 1875?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (name VARCHAR, took_office VARCHAR)
SELECT name FROM table_name_67 WHERE took_office = "march 4, 1875"
Write a SQL query that answers the following question: Name the record on june 22
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_89 WHERE date = "june 22"
Write a SQL query that answers the following question: Name the total number in attendance for when the bulls visited
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR)
SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls"
Write a SQL query that answers the following question: Name the most swimsuit for interview less than 8.46
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (swimsuit INTEGER, interview INTEGER)
SELECT MAX(swimsuit) FROM table_name_1 WHERE interview < 8.46
Write a SQL query that answers the following question: Name the most evening gown for average less than 8.793 with interview of 8.51 and swimsuit less than 8.12
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (evening_gown INTEGER, interview VARCHAR, average VARCHAR, swimsuit VARCHAR)
SELECT MAX(evening_gown) FROM table_name_38 WHERE average < 8.793 AND swimsuit < 8.12 AND interview = 8.51
Write a SQL query that answers the following question: On average, how many Starts have Wins that are smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (starts INTEGER, wins INTEGER)
SELECT AVG(starts) FROM table_name_86 WHERE wins < 0
Write a SQL query that answers the following question: Which of the top-10s has a starts value of 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (top_10s INTEGER, starts VARCHAR)
SELECT MAX(top_10s) FROM table_name_53 WHERE starts = 14
Write a SQL query that answers the following question: In the tournament of HSBC Champions, what was the sum of the Starts with Wins lower than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (starts INTEGER, tournament VARCHAR, wins VARCHAR)
SELECT SUM(starts) FROM table_name_52 WHERE tournament = "hsbc champions" AND wins < 0
Write a SQL query that answers the following question: Who trained the horse on post 11 with over 36 odds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (trainer VARCHAR, odds VARCHAR, post VARCHAR)
SELECT trainer FROM table_name_93 WHERE odds > 36 AND post = 11
Write a SQL query that answers the following question: What is the lowest post number for calvin borel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (post INTEGER, jockey VARCHAR)
SELECT MIN(post) FROM table_name_31 WHERE jockey = "calvin borel"
Write a SQL query that answers the following question: What horse for jara?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (horse VARCHAR, jockey VARCHAR)
SELECT horse FROM table_name_43 WHERE jockey = "jara"
Write a SQL query that answers the following question: What is the date when Lebron James (25) was the lead scorer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, leading_scorer VARCHAR)
SELECT date FROM table_name_90 WHERE leading_scorer = "lebron james (25)"
Write a SQL query that answers the following question: Which Total has a Gold smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (total INTEGER, gold INTEGER)
SELECT SUM(total) FROM table_name_29 WHERE gold < 0