instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: How many draw is in a place that is less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (draw VARCHAR, place INTEGER)
SELECT COUNT(draw) FROM table_name_67 WHERE place < 1
Write a SQL query that answers the following question: Emilya Valenti has what draw average?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (draw INTEGER, artist VARCHAR)
SELECT AVG(draw) FROM table_name_31 WHERE artist = "emilya valenti"
Write a SQL query that answers the following question: What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)
SELECT airing_date FROM table_name_50 WHERE official_website = "official website" AND number_of_episodes = 20 AND genre = "modern action" AND english_title__chinese_title_ = "armed reaction 陀槍師姐"
Write a SQL query that answers the following question: What's the airing date for the show with 62 episodes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (airing_date VARCHAR, number_of_episodes VARCHAR)
SELECT airing_date FROM table_name_1 WHERE number_of_episodes = 62
Write a SQL query that answers the following question: What's the official website of Burning Flame 烈火雄心 with 22 episodes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (official_website VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)
SELECT official_website FROM table_name_33 WHERE number_of_episodes > 22 AND english_title__chinese_title_ = "burning flame 烈火雄心"
Write a SQL query that answers the following question: what is the position for the competitor that has a score more than 7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (position VARCHAR, a_score INTEGER)
SELECT position FROM table_name_44 WHERE a_score > 7
Write a SQL query that answers the following question: what is the score for the 5th position and a score less than 7
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (b_score INTEGER, position VARCHAR, a_score VARCHAR)
SELECT MIN(b_score) FROM table_name_40 WHERE position = "5th" AND a_score < 7
Write a SQL query that answers the following question: what is the total scored for the 8th position and a score more than 6.6
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (total INTEGER, position VARCHAR, a_score VARCHAR)
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.6
Write a SQL query that answers the following question: What is the Meet of the Event with a Time of 7:55.02?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (meet VARCHAR, time VARCHAR)
SELECT meet FROM table_name_33 WHERE time = "7:55.02"
Write a SQL query that answers the following question: What is the Location of the Event with a Time of 2:22.32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (location VARCHAR, time VARCHAR)
SELECT location FROM table_name_93 WHERE time = "2:22.32"
Write a SQL query that answers the following question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body Length/mm larger than 18.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, body_length_mm VARCHAR)
SELECT MIN(body_width_mm) FROM table_name_48 WHERE lead_pitch_mm < 0.55 AND body_length_mm > 18.4
Write a SQL query that answers the following question: Which Body Length/mm has a Lead Pitch/mm smaller than 0.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (body_length_mm INTEGER, lead_pitch_mm INTEGER)
SELECT AVG(body_length_mm) FROM table_name_9 WHERE lead_pitch_mm < 0.5
Write a SQL query that answers the following question: How much Body Width/mm has a Body Length/mm of 18.4, and Pins of 40?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (body_width_mm VARCHAR, body_length_mm VARCHAR, pins VARCHAR)
SELECT COUNT(body_width_mm) FROM table_name_50 WHERE body_length_mm = 18.4 AND pins = "40"
Write a SQL query that answers the following question: Which Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Part Number of tsop48?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, part_number VARCHAR)
SELECT MIN(body_width_mm) FROM table_name_63 WHERE lead_pitch_mm < 0.55 AND part_number = "tsop48"
Write a SQL query that answers the following question: Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (lead_pitch_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)
SELECT MAX(lead_pitch_mm) FROM table_name_1 WHERE part_number = "tsop40" AND body_length_mm > 18.4
Write a SQL query that answers the following question: What was the least attendance when the time was 3:15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (attendance INTEGER, time VARCHAR)
SELECT MIN(attendance) FROM table_name_10 WHERE time = "3:15"
Write a SQL query that answers the following question: What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR, game VARCHAR, location VARCHAR)
SELECT date FROM table_name_6 WHERE game < 5 AND location = "oakland-alameda county coliseum" AND time = "3:40"
Write a SQL query that answers the following question: Which Bronze has a Gold larger than 1, and a Total larger than 11, and a Silver larger than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_36 WHERE gold > 1 AND total > 11 AND silver > 5
Write a SQL query that answers the following question: How many silvers have more than 2 golds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (silver VARCHAR, gold INTEGER)
SELECT COUNT(silver) FROM table_name_67 WHERE gold > 2
Write a SQL query that answers the following question: What percentage of browsers were using Firefox or other Mozilla browsers during the period in which 1.93% were using Chrome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (firefox_ VARCHAR, _other_mozilla VARCHAR, chrome VARCHAR)
SELECT firefox_, _other_mozilla FROM table_name_12 WHERE chrome = "1.93%"
Write a SQL query that answers the following question: What percentage of browsers were using Internet Explorer during the period in which 24.91% were using Chrome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (internet_explorer VARCHAR, chrome VARCHAR)
SELECT internet_explorer FROM table_name_97 WHERE chrome = "24.91%"
Write a SQL query that answers the following question: What percentage of browsers were using Chrome during the period in which 72.03% were using Internet Explorer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (chrome VARCHAR, internet_explorer VARCHAR)
SELECT chrome FROM table_name_88 WHERE internet_explorer = "72.03%"
Write a SQL query that answers the following question: What percentage of browsers were using Safari during the period in which 2.05% were using Chrome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (safari VARCHAR, chrome VARCHAR)
SELECT safari FROM table_name_57 WHERE chrome = "2.05%"
Write a SQL query that answers the following question: What percentage of browsers were using Chrome during the period in which 0.30% were using Opera and 6.77% were using Safari?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (chrome VARCHAR, opera VARCHAR, safari VARCHAR)
SELECT chrome FROM table_name_22 WHERE opera = "0.30%" AND safari = "6.77%"
Write a SQL query that answers the following question: Which TV network was located in Brazil?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (tv_network_s_ VARCHAR, country VARCHAR)
SELECT tv_network_s_ FROM table_name_42 WHERE country = "brazil"
Write a SQL query that answers the following question: What country has a series premier of unknown and mbc action as their TV network?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (country VARCHAR, series_premiere VARCHAR, tv_network_s_ VARCHAR)
SELECT country FROM table_name_27 WHERE series_premiere = "unknown" AND tv_network_s_ = "mbc action"
Write a SQL query that answers the following question: What is the weekly schedule for the network sky italia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (weekly_schedule VARCHAR, tv_network_s_ VARCHAR)
SELECT weekly_schedule FROM table_name_97 WHERE tv_network_s_ = "sky italia"
Write a SQL query that answers the following question: How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 18
Write a SQL query that answers the following question: How many Gold medals did the Soviet Union receive?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR)
SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"
Write a SQL query that answers the following question: What's the name of the person in the CF Pos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (name VARCHAR, pos VARCHAR)
SELECT name FROM table_name_43 WHERE pos = "cf"
Write a SQL query that answers the following question: Which league cup apps has FA as the cup apps of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (league_cup_apps VARCHAR, fa_cup_apps VARCHAR)
SELECT league_cup_apps FROM table_name_83 WHERE fa_cup_apps = "5"
Write a SQL query that answers the following question: What is the lowest league goals that has fw as the position, total goals greater than 9, with league cup goals greater than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (league_goals INTEGER, league_cup_goals VARCHAR, position VARCHAR, total_goals VARCHAR)
SELECT MIN(league_goals) FROM table_name_43 WHERE position = "fw" AND total_goals > 9 AND league_cup_goals > 4
Write a SQL query that answers the following question: What is the earliest year that a team event was included at Vilamoura, Portugal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal"
Write a SQL query that answers the following question: In which event before 2001 did the athlete place 16th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (event VARCHAR, year VARCHAR, result VARCHAR)
SELECT event FROM table_name_96 WHERE year < 2001 AND result = "16th"
Write a SQL query that answers the following question: In which tournament was the result 25th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (tournament VARCHAR, result VARCHAR)
SELECT tournament FROM table_name_24 WHERE result = "25th"
Write a SQL query that answers the following question: What artist has more than 6 draws, and in a place higher than 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (artist VARCHAR, draw VARCHAR, place VARCHAR)
SELECT artist FROM table_name_28 WHERE draw > 6 AND place > 14
Write a SQL query that answers the following question: What Social Democratic has a Democratic and Social Centre of 10.0% 22 seats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR)
SELECT social_democratic FROM table_name_33 WHERE democratic_and_social_centre = "10.0% 22 seats"
Write a SQL query that answers the following question: What Social Democratic has the Democratic and Social Centre of 4.4% 4 seats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (social_democratic VARCHAR, democratic_and_social_centre VARCHAR)
SELECT social_democratic FROM table_name_86 WHERE democratic_and_social_centre = "4.4% 4 seats"
Write a SQL query that answers the following question: How many teams were at the 2007 details tournament where there a top goalscorer was not awarded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (number_of_teams VARCHAR, top_goalscorer_s_ VARCHAR, year VARCHAR)
SELECT number_of_teams FROM table_name_66 WHERE top_goalscorer_s_ = "not awarded" AND year = "2007 details"
Write a SQL query that answers the following question: What is the location of the tournament where the best goalkeeper had 164 (8.2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (location VARCHAR, best_goalkeeper VARCHAR)
SELECT location FROM table_name_91 WHERE best_goalkeeper = "164 (8.2)"
Write a SQL query that answers the following question: What section were they in when there were tier 2 in 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (section VARCHAR, level VARCHAR, season VARCHAR)
SELECT section FROM table_name_30 WHERE level = "tier 2" AND season = 1996
Write a SQL query that answers the following question: What is the administration when the division was Ykkönen (first division), and they were in the 1st position in 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (administration VARCHAR, season VARCHAR, division VARCHAR, position VARCHAR)
SELECT administration FROM table_name_21 WHERE division = "ykkönen (first division)" AND position = "1st" AND season = 1996
Write a SQL query that answers the following question: What was the film title that emma thompson was the actress nominated for best supporting actress?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = "emma thompson" AND category = "best supporting actress"
Write a SQL query that answers the following question: What category was al pacino nominated for in the film, glengarry glen ross?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (category VARCHAR, actor_actress VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT category FROM table_name_51 WHERE actor_actress = "al pacino" AND film_title_used_in_nomination = "glengarry glen ross"
Write a SQL query that answers the following question: What is the year when sigourney weaver was nominated for best actress?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (year__ceremony_ VARCHAR, category VARCHAR, actor_actress VARCHAR)
SELECT year__ceremony_ FROM table_name_26 WHERE category = "best actress" AND actor_actress = "sigourney weaver"
Write a SQL query that answers the following question: What year was holly hunter a nominee?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year__ceremony_ VARCHAR, result VARCHAR, actor_actress VARCHAR)
SELECT year__ceremony_ FROM table_name_30 WHERE result = "nominee" AND actor_actress = "holly hunter"
Write a SQL query that answers the following question: What is the per capita income of the county with a median family income of $40,492?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (per_capita_income VARCHAR, median_family_income VARCHAR)
SELECT per_capita_income FROM table_name_61 WHERE median_family_income = "$40,492"
Write a SQL query that answers the following question: what is the earliest year when the result is won and the role/episode is fox mulder?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)
SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder"
Write a SQL query that answers the following question: what is the year when the role/episode is david duchovny?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (year VARCHAR, role_episode VARCHAR)
SELECT year FROM table_name_82 WHERE role_episode = "david duchovny"
Write a SQL query that answers the following question: What date has 9 as the week?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_21 WHERE week = 9
Write a SQL query that answers the following question: What is the average total of the 0-8 tally?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (total INTEGER, tally VARCHAR)
SELECT AVG(total) FROM table_name_16 WHERE tally = "0-8"
Write a SQL query that answers the following question: What is the total rank of the match with tipperary as the opposition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (rank VARCHAR, opposition VARCHAR)
SELECT COUNT(rank) FROM table_name_6 WHERE opposition = "tipperary"
Write a SQL query that answers the following question: What is the lowest total of player tommy ring, who has a rank greater than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (total INTEGER, player VARCHAR, rank VARCHAR)
SELECT MIN(total) FROM table_name_62 WHERE player = "tommy ring" AND rank > 1
Write a SQL query that answers the following question: What is the average rank of the match where offaly was the opposition and the total was greater than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (rank INTEGER, opposition VARCHAR, total VARCHAR)
SELECT AVG(rank) FROM table_name_5 WHERE opposition = "offaly" AND total > 9
Write a SQL query that answers the following question: Which municipality has a party of Lega Friuli-VG that won elections before 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (municipality VARCHAR, party VARCHAR, election VARCHAR)
SELECT municipality FROM table_name_34 WHERE party = "lega friuli-vg" AND election < 2011
Write a SQL query that answers the following question: Which party is Ettore Romoli from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (party VARCHAR, mayor VARCHAR)
SELECT party FROM table_name_99 WHERE mayor = "ettore romoli"
Write a SQL query that answers the following question: What campus is in Brgy. Alangilan, Batangas City?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (campus VARCHAR, location VARCHAR)
SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city"
Write a SQL query that answers the following question: When was the Balayan, Batangas campus founded?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (founded VARCHAR, location VARCHAR)
SELECT founded FROM table_name_41 WHERE location = "balayan, batangas"
Write a SQL query that answers the following question: Who is the executive director of the Lemery, Batangas extension?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (executive_director VARCHAR, type VARCHAR, location VARCHAR)
SELECT executive_director FROM table_name_84 WHERE type = "extension" AND location = "lemery, batangas"
Write a SQL query that answers the following question: What is number of silver for the country with more than 0 gold, rank of 14, and more than 4 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_81 WHERE gold > 0 AND rank = "14" AND bronze > 4
Write a SQL query that answers the following question: What is the number of gold for the country ranked 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR)
SELECT SUM(gold) FROM table_name_19 WHERE rank = "19"
Write a SQL query that answers the following question: What is the least amount of silver when there is less than 0 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (silver INTEGER, bronze INTEGER)
SELECT MIN(silver) FROM table_name_83 WHERE bronze < 0
Write a SQL query that answers the following question: What is the most bronze when the total is 14, and there are more than 6 gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (bronze INTEGER, total VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_99 WHERE total = 14 AND gold > 6
Write a SQL query that answers the following question: Who has 187kg and a Snatch of Clean & Jerk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (snatch VARCHAR)
SELECT 187 AS kg FROM table_name_79 WHERE snatch = "clean & jerk"
Write a SQL query that answers the following question: What is the Reserved for (SC / ST /None) when the constituency number is 203?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_81 WHERE constituency_number = "203"
Write a SQL query that answers the following question: What is the number of electorates (2009) for the Indore district, when reserved for (SC / ST /None) is none, and constituency number is 208?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
SELECT SUM(number_of_electorates__2009_) FROM table_name_21 WHERE district = "indore" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "208"
Write a SQL query that answers the following question: What percentage of users were using other browsers according to the source that reported 21.22% were using Firefox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (other VARCHAR, firefox VARCHAR)
SELECT other FROM table_name_95 WHERE firefox = "21.22%"
Write a SQL query that answers the following question: According to W3Counter, what percentage of browsers used Firefox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (firefox VARCHAR, source VARCHAR)
SELECT firefox FROM table_name_60 WHERE source = "w3counter"
Write a SQL query that answers the following question: What percentage of users were using Firefox according to the source that reported 21.70% used Internet Explorer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (firefox VARCHAR, internet_explorer VARCHAR)
SELECT firefox FROM table_name_22 WHERE internet_explorer = "21.70%"
Write a SQL query that answers the following question: Which source reported 32.60% of browsers used Chrome?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (source VARCHAR, chrome VARCHAR)
SELECT source FROM table_name_43 WHERE chrome = "32.60%"
Write a SQL query that answers the following question: What percentage of users were using Firefox according to the source that reported 15.40% used Safari?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (firefox VARCHAR, safari VARCHAR)
SELECT firefox FROM table_name_66 WHERE safari = "15.40%"
Write a SQL query that answers the following question: What percentage of users were using Internet Explorer according to the source that reported 20.01% used Firefox?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (internet_explorer VARCHAR, firefox VARCHAR)
SELECT internet_explorer FROM table_name_53 WHERE firefox = "20.01%"
Write a SQL query that answers the following question: How many points did team Rothmans Honda have in 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (points INTEGER, team VARCHAR, year VARCHAR)
SELECT MIN(points) FROM table_name_7 WHERE team = "rothmans honda" AND year = 1992
Write a SQL query that answers the following question: What class before 1990 has points of 33?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (class VARCHAR, year VARCHAR, points VARCHAR)
SELECT class FROM table_name_66 WHERE year < 1990 AND points = 33
Write a SQL query that answers the following question: How many total points were in 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_74 WHERE year = 1992
Write a SQL query that answers the following question: In 1992, what class has higher wins than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (class VARCHAR, wins VARCHAR, year VARCHAR)
SELECT class FROM table_name_58 WHERE wins > 0 AND year = 1992
Write a SQL query that answers the following question: What was the class that team Honda Britain was in with points higher than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR, points VARCHAR)
SELECT class FROM table_name_34 WHERE team = "honda britain" AND points > 0
Write a SQL query that answers the following question: Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (fa_cup_goals INTEGER, league_cup_apps VARCHAR, name VARCHAR)
SELECT MAX(fa_cup_goals) FROM table_name_55 WHERE league_cup_apps > 0 AND name = "trevor cherry"
Write a SQL query that answers the following question: How many League Goals have League Cup Goals smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (league_goals INTEGER, league_cup_goals INTEGER)
SELECT SUM(league_goals) FROM table_name_43 WHERE league_cup_goals < 0
Write a SQL query that answers the following question: What's the 2009 of the Australian Open having a 1R in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (tournament VARCHAR)
SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open"
Write a SQL query that answers the following question: What's the 2008 of the Australian Open when the 2011 was 1R?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (tournament VARCHAR)
SELECT 2008 FROM table_name_87 WHERE 2011 = "1r" AND tournament = "australian open"
Write a SQL query that answers the following question: What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (tournament VARCHAR)
SELECT 2008 FROM table_name_17 WHERE 2011 = "1r" AND 2010 = "2r" AND tournament = "us open"
Write a SQL query that answers the following question: What is the lowest number of episodes in a series with an airing date of 12 jan- 6 feb?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (number_of_episodes INTEGER, airing_date VARCHAR)
SELECT MIN(number_of_episodes) FROM table_name_22 WHERE airing_date = "12 jan- 6 feb"
Write a SQL query that answers the following question: What tournament has petra mandula patricia wartusch as the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch"
Write a SQL query that answers the following question: What date has kimberly po nathalie tauziat as the opponent in the final?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_92 WHERE opponent_in_the_final = "kimberly po nathalie tauziat"
Write a SQL query that answers the following question: What score has February 12, 2006 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_38 WHERE date = "february 12, 2006"
Write a SQL query that answers the following question: What opponent in the final has October 9, 2005 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_69 WHERE date = "october 9, 2005"
Write a SQL query that answers the following question: What is the to par for Bo Bae Song?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_20 WHERE player = "bo bae song"
Write a SQL query that answers the following question: What is the to par for Jiyai Shin when the place is t1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_70 WHERE place = "t1" AND player = "jiyai shin"
Write a SQL query that answers the following question: What is the to par for Jiyai Shin in place t1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_49 WHERE place = "t1" AND player = "jiyai shin"
Write a SQL query that answers the following question: What was Laura Diaz's score for place t9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz"
Write a SQL query that answers the following question: What country does Bo Bae Song play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_65 WHERE player = "bo bae song"
Write a SQL query that answers the following question: How many gold medals did Brazil win with a total of more than 55 medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55
Write a SQL query that answers the following question: How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2
Write a SQL query that answers the following question: What is the fewest gold medals won by Greece?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)
SELECT MIN(gold) FROM table_name_92 WHERE nation = "greece"
Write a SQL query that answers the following question: What is the lowest rank of the United States, with fewer than 4 bronze medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(rank) FROM table_name_55 WHERE nation = "united states" AND bronze < 4
Write a SQL query that answers the following question: What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT MAX(gold) FROM table_name_83 WHERE silver < 2 AND bronze < 4
Write a SQL query that answers the following question: Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT AVG(react) FROM table_name_72 WHERE lane < 4 AND rank > 4 AND time > 23.22
Write a SQL query that answers the following question: What shows for against when draws are 0, and losses are 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (against INTEGER, draws VARCHAR, losses VARCHAR)
SELECT AVG(against) FROM table_name_67 WHERE draws = 0 AND losses = 16
Write a SQL query that answers the following question: What is the highest number of wins when draws are larger than 1, and byes are larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (wins INTEGER, draws VARCHAR, byes VARCHAR)
SELECT MAX(wins) FROM table_name_59 WHERE draws > 1 AND byes > 0