instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)
SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886"
Write a SQL query that answers the following question: What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR)
SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"
Write a SQL query that answers the following question: Which member of the United States House of Representatives began their term on January 4, 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (representative VARCHAR, begin_date VARCHAR)
SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997"
Write a SQL query that answers the following question: Which state did Samuel Thatcher of the Federalist party represent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)
SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher"
Write a SQL query that answers the following question: What position does Hedo Türkoğlu play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_93 WHERE player = "hedo türkoğlu"
Write a SQL query that answers the following question: How long has Sebastian Telfair played for Toronto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR)
SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair"
Write a SQL query that answers the following question: Tell me the title for japan august 23, 2012
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (title VARCHAR, japan VARCHAR)
SELECT title FROM table_name_30 WHERE japan = "august 23, 2012"
Write a SQL query that answers the following question: Tell me the title for japan august 23, 2012
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR)
SELECT title FROM table_name_57 WHERE japan = "august 23, 2012"
Write a SQL query that answers the following question: Tell me the Australia march 17, 2005
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)
SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005"
Write a SQL query that answers the following question: Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (europe VARCHAR, title VARCHAR)
SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman"
Write a SQL query that answers the following question: Name the total losses for 4 place and ties less than 0
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (losses VARCHAR, place VARCHAR, ties VARCHAR)
SELECT COUNT(losses) FROM table_name_35 WHERE place = 4 AND ties < 0
Write a SQL query that answers the following question: Name the average place for ties less than 1 and losess more than 3 with points of 6 qc
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)
SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3
Write a SQL query that answers the following question: Name the most wins for losses more than 2 and points of two with place larger than 7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (wins INTEGER, place VARCHAR, losses VARCHAR, points VARCHAR)
SELECT MAX(wins) FROM table_name_4 WHERE losses > "2" AND points = "2" AND place > 7
Write a SQL query that answers the following question: Name the sum of place with ties larger than 0 and point sof 7 qc and losses more than 2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)
SELECT SUM(place) FROM table_name_58 WHERE ties > 0 AND points = "7 qc" AND losses > 2
Write a SQL query that answers the following question: Tell me the number range for 4vip
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR)
SELECT no_range FROM table_name_36 WHERE type = "4vip"
Write a SQL query that answers the following question: Name the heat rank for senegal
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)
SELECT heat_rank FROM table_name_22 WHERE country = "senegal"
Write a SQL query that answers the following question: What is the value for 2010 when the 2012 value is Q2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (Id VARCHAR)
SELECT 2010 FROM table_name_95 WHERE 2012 = "q2"
Write a SQL query that answers the following question: What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (Id VARCHAR)
SELECT 2010 FROM table_name_59 WHERE 2006 = "a" AND 2009 = "1r"
Write a SQL query that answers the following question: What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (Id VARCHAR)
SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r"
Write a SQL query that answers the following question: What is the value for 2008 for the US Open Tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (tournament VARCHAR)
SELECT 2008 FROM table_name_84 WHERE tournament = "us open"
Write a SQL query that answers the following question: What is the value for 2009 when the value for 2011 is 138?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (Id VARCHAR)
SELECT 2009 FROM table_name_87 WHERE 2011 = "138"
Write a SQL query that answers the following question: Tell me the highest series # for september 22, 1976
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR)
SELECT MAX(series__number) FROM table_name_53 WHERE original_air_date = "september 22, 1976"
Write a SQL query that answers the following question: What is the screen size and pixel value when the dimensions are 115.5×83.7×102.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR)
SELECT screen_size, pixels FROM table_name_7 WHERE dimensions_w×h×d__mm_ = "115.5×83.7×102.5"
Write a SQL query that answers the following question: What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)
SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000"
Write a SQL query that answers the following question: Tell me the championship game for big eight
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (championship_game VARCHAR, conference VARCHAR)
SELECT championship_game FROM table_name_29 WHERE conference = "big eight"
Write a SQL query that answers the following question: Name the lowest total for rank of 13 with bronze less than 1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1
Write a SQL query that answers the following question: Tell me the sum of original week for september 16, 1982
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (original_week INTEGER, date VARCHAR)
SELECT SUM(original_week) FROM table_name_51 WHERE date = "september 16, 1982"
Write a SQL query that answers the following question: Tell me the average original week for soldier field
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (original_week INTEGER, venue VARCHAR)
SELECT AVG(original_week) FROM table_name_18 WHERE venue = "soldier field"
Write a SQL query that answers the following question: Tell me the date for original week less than 16 and result of l 23–22
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)
SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"
Write a SQL query that answers the following question: Tell me the call sign for frequency of 0 97.3 fm
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)
SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm"
Write a SQL query that answers the following question: Tell me the owner for classical
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (owner VARCHAR, format VARCHAR)
SELECT owner FROM table_name_81 WHERE format = "classical"
Write a SQL query that answers the following question: Tell me the city of license for 0 106.9 fm
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR)
SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm"
Write a SQL query that answers the following question: What year(s) did Hakeem Olajuwon play Center for Toronto?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (years_in_toronto VARCHAR, player VARCHAR)
SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon"
Write a SQL query that answers the following question: What position did Jimmy Oliver of the United States play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (position VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT position FROM table_name_75 WHERE nationality = "united states" AND player = "jimmy oliver"
Write a SQL query that answers the following question: Tell me the total number of crest length for year construction larger than 1957 for mattmark
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (crest_length__meters_ VARCHAR, year_of_construction VARCHAR, name VARCHAR)
SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND name = "mattmark"
Write a SQL query that answers the following question: Tell me the % of wt 2nd for bp 3rd comp of 98.4
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR)
SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4"
Write a SQL query that answers the following question: Tell me the 3rd component for bp azeo of 62.1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR)
SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1"
Write a SQL query that answers the following question: Tell me the name with sør-trøndelag
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (name VARCHAR, county VARCHAR)
SELECT name FROM table_name_64 WHERE county = "sør-trøndelag"
Write a SQL query that answers the following question: Tell me the elevation for oslo
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (elevation VARCHAR, county VARCHAR)
SELECT elevation FROM table_name_20 WHERE county = "oslo"
Write a SQL query that answers the following question: What was the result of the match against Pat Lawlor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_46 WHERE opponent = "pat lawlor"
Write a SQL query that answers the following question: Tell me the sum of cars per set for operator of london midland
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (cars_per_set INTEGER, operator VARCHAR)
SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland"
Write a SQL query that answers the following question: Tell me the title of japan january 31, 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (title VARCHAR, japan VARCHAR)
SELECT title FROM table_name_74 WHERE japan = "january 31, 2008"
Write a SQL query that answers the following question: Tell me japan for jigsaw land: japan graffiti
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (japan VARCHAR, title VARCHAR)
SELECT japan FROM table_name_14 WHERE title = "jigsaw land: japan graffiti"
Write a SQL query that answers the following question: Tell me north america for january 23, 2013
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (north_america VARCHAR, japan VARCHAR)
SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013"
Write a SQL query that answers the following question: Tell me the north america for september 18, 2009
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (north_america VARCHAR, europe VARCHAR)
SELECT north_america FROM table_name_64 WHERE europe = "september 18, 2009"
Write a SQL query that answers the following question: Tell me europe for japan of january 28, 2010
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR)
SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010"
Write a SQL query that answers the following question: Tell me the north america for phantom brave
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (north_america VARCHAR, title VARCHAR)
SELECT north_america FROM table_name_74 WHERE title = "phantom brave"
Write a SQL query that answers the following question: What is the average played value in Belgrade with attendance greater than 26,222?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR)
SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222
Write a SQL query that answers the following question: Tell me the role of festival theatre
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (role VARCHAR, theatre VARCHAR)
SELECT role FROM table_name_35 WHERE theatre = "festival theatre"
Write a SQL query that answers the following question: Tell me the lowest year for shubert theatre
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR)
SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre"
Write a SQL query that answers the following question: Tell me the total number of years for lady cecily waynflete and opera house, kennedy center
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)
SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center"
Write a SQL query that answers the following question: Tell me the role for tea and sympathy
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (role VARCHAR, play VARCHAR)
SELECT role FROM table_name_83 WHERE play = "tea and sympathy"
Write a SQL query that answers the following question: When was the first beatification in Korea that was canonised before 1984?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR)
SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984
Write a SQL query that answers the following question: When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent-marie-joseph imbert / st. imbert" AND canonised > 1984
Write a SQL query that answers the following question: When was the person(s) who were canonised before 1988 beatified?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER)
SELECT beatified FROM table_name_17 WHERE canonised < 1988
Write a SQL query that answers the following question: When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988
Write a SQL query that answers the following question: What is the sum of year with the local host Sai?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year INTEGER, local_host_s_ VARCHAR)
SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai"
Write a SQL query that answers the following question: Who are the local hosts for the United States in years earlier than 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR)
SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007
Write a SQL query that answers the following question: Which city has a conference of LCC2 and a year earlier than 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (city VARCHAR, year VARCHAR, conference VARCHAR)
SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"
Write a SQL query that answers the following question: Tell me the class with rank of 89th
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR)
SELECT class FROM table_name_12 WHERE rank = "89th"
Write a SQL query that answers the following question: Tell me the most year for 3 points
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year INTEGER, points VARCHAR)
SELECT MAX(year) FROM table_name_30 WHERE points = 3
Write a SQL query that answers the following question: Which lane is Goksu Bicer in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (lane VARCHAR, swimmer VARCHAR)
SELECT lane FROM table_name_37 WHERE swimmer = "goksu bicer"
Write a SQL query that answers the following question: Which Driver that has a Grid less than 9 and a Time/Retired of 2:06:26.358?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_59 WHERE grid < 9 AND time_retired = "2:06:26.358"
Write a SQL query that answers the following question: Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3
Write a SQL query that answers the following question: Name the location of ufc 98
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_51 WHERE event = "ufc 98"
Write a SQL query that answers the following question: What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)
SELECT MIN(wins) FROM table_name_25 WHERE tournament = "totals" AND top_25 > 3
Write a SQL query that answers the following question: What is the sum of Top-5 values with events values less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (top_5 INTEGER, events INTEGER)
SELECT SUM(top_5) FROM table_name_35 WHERE events < 2
Write a SQL query that answers the following question: What is the smallest value for Wins when the number of cuts is greater than 4 and the Top-5 value is less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (wins INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
SELECT MIN(wins) FROM table_name_51 WHERE cuts_made > 4 AND top_5 < 1
Write a SQL query that answers the following question: Tell me the competition for 2nd position with year more than 2005
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR)
SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005
Write a SQL query that answers the following question: Name the sum of year for 2nd position for junior race
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR)
SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race"
Write a SQL query that answers the following question: Name the venue for 2nd position of year before 2008
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_83 WHERE year < 2008 AND position = "2nd"
Write a SQL query that answers the following question: Which circuit did Raymond Mays win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (circuit VARCHAR, winning_driver VARCHAR)
SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays"
Write a SQL query that answers the following question: Which Circuit did Johnny Wakefield win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (circuit VARCHAR, winning_driver VARCHAR)
SELECT circuit FROM table_name_3 WHERE winning_driver = "johnny wakefield"
Write a SQL query that answers the following question: Tell me the lowest bronze for panama and total larger than 8
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(bronze) FROM table_name_84 WHERE nation = "panama" AND total > 8
Write a SQL query that answers the following question: Tell me the average total for guatemala and bronze less than 2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_32 WHERE nation = "guatemala" AND bronze < 2
Write a SQL query that answers the following question: Tell me the number of bronze for silver of 0 and total less than 1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT COUNT(bronze) FROM table_name_54 WHERE silver = 0 AND total < 1
Write a SQL query that answers the following question: Tell me the sum of total for rank of 1
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR)
SELECT SUM(total) FROM table_name_35 WHERE rank = 1
Write a SQL query that answers the following question: Tell me the total number for costa rica and rank more than 8
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (total VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8
Write a SQL query that answers the following question: What years did Tymerlan Huseynov, whose average is larger than 0.361, play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (career VARCHAR, average VARCHAR, player VARCHAR)
SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov"
Write a SQL query that answers the following question: Who scored more than 8 goals, had more than 75 caps, and averaged 0.432?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (player VARCHAR, average VARCHAR, goals VARCHAR, caps VARCHAR)
SELECT player FROM table_name_42 WHERE goals > 8 AND caps > 75 AND average = 0.432
Write a SQL query that answers the following question: What is the sum of the averages when there are 68 caps and less than 9 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (average INTEGER, caps VARCHAR, goals VARCHAR)
SELECT SUM(average) FROM table_name_16 WHERE caps = 68 AND goals < 9
Write a SQL query that answers the following question: Tell me the 1968 for 1r
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (Id VARCHAR)
SELECT 1968 FROM table_name_76 WHERE 1967 = "1r"
Write a SQL query that answers the following question: Tell me the round of 32 for conference of southland
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (round_of_32 VARCHAR, conference VARCHAR)
SELECT round_of_32 FROM table_name_62 WHERE conference = "southland"
Write a SQL query that answers the following question: Tell me the lowest # of bids for win percent of .667
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (_number_of_bids INTEGER, win__percentage VARCHAR)
SELECT MIN(_number_of_bids) FROM table_name_38 WHERE win__percentage = ".667"
Write a SQL query that answers the following question: Tell me the sum of cap/hor for double chair and vertical less than 479
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (cap_hour INTEGER, type VARCHAR, vertical VARCHAR)
SELECT SUM(cap_hour) FROM table_name_8 WHERE type = "double chair" AND vertical < 479
Write a SQL query that answers the following question: What's the compression ratio when the vin code is c?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (vin_code VARCHAR)
SELECT "c" AS ompression_ratio FROM table_name_38 WHERE vin_code = "c"
Write a SQL query that answers the following question: Tell me the sum of year for extra of junior team competition
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (year INTEGER, extra VARCHAR)
SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"
Write a SQL query that answers the following question: Tell me the lens zoom for aperture of model s2600
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600"
Write a SQL query that answers the following question: Tell me the screen size for pixels of model s6400
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (screen_size VARCHAR, pixels VARCHAR, model VARCHAR)
SELECT screen_size, pixels FROM table_name_69 WHERE model = "s6400"
Write a SQL query that answers the following question: Name the sensor res for model of s9200
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (sensor_res VARCHAR, _size VARCHAR, model VARCHAR)
SELECT sensor_res, _size FROM table_name_74 WHERE model = "s9200"
Write a SQL query that answers the following question: Tell me the nation for bronze more than 0 and total more than 8 with gold of 4
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT nation FROM table_name_62 WHERE bronze > 0 AND total > 8 AND gold = 4
Write a SQL query that answers the following question: Who is Team Suzuki's rider and ranks higher than 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (rider VARCHAR, rank VARCHAR, team VARCHAR)
SELECT rider FROM table_name_44 WHERE rank > 6 AND team = "suzuki"
Write a SQL query that answers the following question: Who was the lowest division in the 7th season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (division INTEGER, reg_season VARCHAR)
SELECT MIN(division) FROM table_name_11 WHERE reg_season = "7th"
Write a SQL query that answers the following question: In 1924/25, who was in the playoffs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (playoffs VARCHAR, year VARCHAR)
SELECT playoffs FROM table_name_27 WHERE year = "1924/25"
Write a SQL query that answers the following question: Which division has no playoff but has a 12th game in their season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (division INTEGER, playoffs VARCHAR, reg_season VARCHAR)
SELECT MAX(division) FROM table_name_74 WHERE playoffs = "no playoff" AND reg_season = "12th"
Write a SQL query that answers the following question: What was the venue of the competition that held the 1st position in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (venue VARCHAR, position VARCHAR, year VARCHAR)
SELECT venue FROM table_name_68 WHERE position = "1st" AND year = 2011
Write a SQL query that answers the following question: What was the position of the Olympic Games in the year 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_68 WHERE competition = "olympic games" AND year = 2008
Write a SQL query that answers the following question: Which competition held the 1st position in 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (competition VARCHAR, position VARCHAR, year VARCHAR)
SELECT competition FROM table_name_89 WHERE position = "1st" AND year = 2009
Write a SQL query that answers the following question: Which venue did the African Championships have after 2006 with a position of 2nd and 3000 m s'chase in notes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (venue VARCHAR, competition VARCHAR, position VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_28 WHERE year > 2006 AND notes = "3000 m s'chase" AND position = "2nd" AND competition = "african championships"
Write a SQL query that answers the following question: Tell me the label for US region and catalog of 10008-2
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-2"