context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_51 (remixed_by VARCHAR, year VARCHAR, version VARCHAR) | Which long version was remixed in 1986? | SELECT remixed_by FROM table_name_51 WHERE year = 1986 AND version = "long version" |
CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR) | What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4? | SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4 |
CREATE TABLE table_21576644_2 (ladies_1st_xi VARCHAR, mens_2nd_xi VARCHAR) | When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi? | SELECT ladies_1st_xi FROM table_21576644_2 WHERE mens_2nd_xi = "10th, South West District 1" |
CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR, date VARCHAR) | Who was the opponent in the game played after Week 4 on October 15, 2000? | SELECT opponent FROM table_name_37 WHERE week > 4 AND date = "october 15, 2000" |
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR) | What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid? | SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11 |
CREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) | Name the average bronze with silver more than 0, total of 6 and gold more than 0 | SELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0 |
CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) | Which Surface had a Date of june 13, 1983? | SELECT surface FROM table_name_14 WHERE date = "june 13, 1983" |
CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) | What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? | SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0" |
CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR) | What is the Opponent name at memorial stadium • minneapolis, mn on 10/20/1928? | SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium • minneapolis, mn" AND date = "10/20/1928" |
CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR) | What set 2 has 15:33 as the time? | SELECT set_2 FROM table_name_14 WHERE time = "15:33" |
CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) | What is the Attendance number when the Opponent was purdue? | SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue" |
CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR) | Who was the Winner at Campbelltown Sports Stadium? | SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium" |
CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR) | What was the second leg score from the group stage on matchday 5? | SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5" |
CREATE TABLE table_name_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR, nationality VARCHAR) | What College/junior/club had a player of United States nationality drafted by the Toronto Maple Leafs? | SELECT college_junior_club_team FROM table_name_12 WHERE nhl_team = "toronto maple leafs" AND nationality = "united states" |
CREATE TABLE table_name_78 (weight INTEGER, height VARCHAR, spike VARCHAR, block VARCHAR) | What is the smallest Weight, when Spike is less than 330, when Block is 315, and when Height is greater than 187? | SELECT MIN(weight) FROM table_name_78 WHERE spike < 330 AND block = 315 AND height > 187 |
CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR) | Venue of thessaloniki (without participation) had what score? | SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)" |
CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR) | Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru? | SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru" |
CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR) | How many years have a Location of pacific ring of fire, and Eruptions of pinatubo? | SELECT SUM(year) FROM table_name_22 WHERE location = "pacific ring of fire" AND eruptions = "pinatubo" |
CREATE TABLE table_name_65 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) | Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points? | SELECT chassis FROM table_name_65 WHERE points = 0 AND entrant = "automobiles gonfaronnaises sportives" |
CREATE TABLE table_name_87 (score VARCHAR, game VARCHAR, high_rebounds VARCHAR) | What is the Score for the Game less than 21, and of antonio davis (12)had the High rebounds? | SELECT score FROM table_name_87 WHERE game < 21 AND high_rebounds = "antonio davis (12)" |
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) | Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? | SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward" |
CREATE TABLE table_name_98 (year INTEGER, points VARCHAR, engine VARCHAR, entrant VARCHAR) | How many years did barclay nordica arrows bmw enter with a bmw str-4 t/c engine with less than 1 point? | SELECT SUM(year) FROM table_name_98 WHERE engine = "bmw str-4 t/c" AND entrant = "barclay nordica arrows bmw" AND points < 1 |
CREATE TABLE table_name_47 (text VARCHAR, traditional_characters VARCHAR) | Which text has traditional characters of 心如猨猴? | SELECT text FROM table_name_47 WHERE traditional_characters = "心如猨猴" |
CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) | Which country has Weerawila Airport? | SELECT country FROM table_name_76 WHERE airport = "weerawila airport" |
CREATE TABLE table_name_69 (year INTEGER, position VARCHAR, performance VARCHAR, competition VARCHAR) | What was the earliest year in which long jump was performed in the world indoor Championships in 5th position? | SELECT MIN(year) FROM table_name_69 WHERE performance = "long jump" AND competition = "world indoor championships" AND position = "5th" |
CREATE TABLE table_name_47 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | What is the sum of Bronze when the rank is more than 11 and gold is less than 0? | SELECT SUM(bronze) FROM table_name_47 WHERE rank > 11 AND gold < 0 |
CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR) | How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis? | SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r" |
CREATE TABLE table_name_20 (year_won INTEGER, player VARCHAR, to_par VARCHAR) | What is the average year Rich Beem had a to par less than 17? | SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17 |
CREATE TABLE table_name_44 (frame_size VARCHAR, color_sampling VARCHAR, audio_coding VARCHAR, format_name VARCHAR) | What frame size has pcm 4 ch/16 bit/48khz as audio coding and dvcam as the format name and 4:1:1 as the color sampling? | SELECT frame_size FROM table_name_44 WHERE audio_coding = "pcm 4 ch/16 bit/48khz" AND format_name = "dvcam" AND color_sampling = "4:1:1" |
CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR) | What is the total for Bob Tway for the year won before 2002 with a to par bigger than 7? | SELECT COUNT(total) FROM table_name_2 WHERE year_won < 2002 AND player = "bob tway" AND to_par > 7 |
CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR) | What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145? | SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145 |
CREATE TABLE table_name_59 (year INTEGER, rank VARCHAR, accolade VARCHAR) | What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"? | SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of the decade" |
CREATE TABLE table_name_91 (name VARCHAR, roll VARCHAR, area VARCHAR, decile VARCHAR) | What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186? | SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186 |
CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR) | with name meridian condominiums what is number of floors? | SELECT AVG(floors) FROM table_name_19 WHERE name = "meridian condominiums" |
CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR) | What game has 28 points, and tampa bay lightning as the opponent? | SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning" |
CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR) | What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9? | SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9" |
CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR) | Record of 42–16–8, and a March larger than 5 has what average points? | SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5 |
CREATE TABLE table_name_63 (points INTEGER, chassis VARCHAR, year VARCHAR) | Name the average points for dallara 3087 lola t88/50 and year before 1988 | SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988 |
CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) | Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor? | SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma" |
CREATE TABLE table_name_92 (episode_number VARCHAR, musical_guest__song_performed_ VARCHAR) | WHich Coat of Cash" Wearing Celebrity has a Episode Number larger than 1 and with amy macdonald ( mr rock & roll )? | SELECT "coat_of_cash" AS _wearing_celebrity FROM table_name_92 WHERE episode_number > 1 AND musical_guest__song_performed_ = "amy macdonald ( mr rock & roll )" |
CREATE TABLE table_name_95 (rec INTEGER, opponent VARCHAR, average VARCHAR, s_touchdown VARCHAR) | Which Rec has an Average smaller than 32, and a Touchdown smaller than 3, and an Opponent of oregon state? | SELECT SUM(rec) FROM table_name_95 WHERE average < 32 AND s_touchdown < 3 AND opponent = "oregon state" |
CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR) | What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16? | SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16 |
CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR) | Which Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966? | SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966 |
CREATE TABLE table_name_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR) | How many Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7? | SELECT COUNT(s_touchdown) FROM table_name_57 WHERE rec = 10 AND opponent = "oregon state" AND average < 19.7 |
CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR) | How many points did Nigel Connell have? | SELECT points FROM table_name_44 WHERE performer = "nigel connell" |
CREATE TABLE table_name_27 (runner_s__up VARCHAR, winning_score VARCHAR) | Who was the runner-up for the event that ended with a winning score of –15 (66-67-70-70=273)? | SELECT runner_s__up FROM table_name_27 WHERE winning_score = –15(66 - 67 - 70 - 70 = 273) |
CREATE TABLE table_name_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR) | What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985? | SELECT name FROM table_name_96 WHERE propulsion = "turbojet" AND year > 1985 AND launched_by = "surface, sub" |
CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR) | What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0? | SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 0 |
CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR) | What make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4? | SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = "diesel" AND floor_type = "high" AND bicycle_capacity† < 3 AND quantity = 4 |
CREATE TABLE table_name_61 (date VARCHAR, label VARCHAR, catalog VARCHAR) | What is the Date when the label was alfa records, and a Catalog of alca-487? | SELECT date FROM table_name_61 WHERE label = "alfa records" AND catalog = "alca-487" |
CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR) | Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)? | SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332) |
CREATE TABLE table_name_8 (goals INTEGER, division VARCHAR, team VARCHAR, country VARCHAR) | What is the total number of goals that the Partizan team from the country of serbia had that was larger than 1? | SELECT SUM(goals) FROM table_name_8 WHERE team = "partizan" AND country = "serbia" AND division > 1 |
CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR) | What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002? | SELECT catalog FROM table_name_1 WHERE format = "ed remaster cd" AND label = "village records" AND date = "march 13, 2002" |
CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) | How many tickets were sold/available when the gross revenue (2011) was $5,948,390? | SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390" |
CREATE TABLE table_name_11 (legs_lost VARCHAR, player VARCHAR, played VARCHAR) | How many legs were lost for Trina Gulliver with more than 3 played? | SELECT COUNT(legs_lost) FROM table_name_11 WHERE player = "trina gulliver" AND played > 3 |
CREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR) | Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards? | SELECT AVG(yards) FROM table_name_2 WHERE game_time = "2nd quarter (0:00)" AND date = "november 8, 1971" |
CREATE TABLE table_name_87 (driver VARCHAR, chassis VARCHAR, entrant VARCHAR) | Who was the Driver, when the Chassis was Bugatti T51, and when the Entrant was Automobiles Ettore Bugatti? | SELECT driver FROM table_name_87 WHERE chassis = "bugatti t51" AND entrant = "automobiles ettore bugatti" |
CREATE TABLE table_name_3 (date VARCHAR, kicker VARCHAR, result VARCHAR, game_time VARCHAR) | Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date? | SELECT date FROM table_name_3 WHERE result = "missed*" AND game_time = "2nd quarter (0:00)" AND kicker = "mason crosby" |
CREATE TABLE table_name_26 (value__ INTEGER, revenue__$m_ VARCHAR, debt_as__percentageof_value VARCHAR) | What is the lowest value of a team with revenue less than 374 and a debt of 84%? | SELECT MIN(value__) AS $m_ FROM table_name_26 WHERE revenue__$m_ < 374 AND debt_as__percentageof_value = "84" |
CREATE TABLE table_name_8 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | What's the FCC info with a Frequency MHz thats smaller than 91.9 and has a CIty of license of Dansville, NY? | SELECT fcc_info FROM table_name_8 WHERE frequency_mhz < 91.9 AND city_of_license = "dansville, ny" |
CREATE TABLE table_name_13 (regulator VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) | What is Regulator, when Conduct of Litigation is Yes, and when Probate Activities is Yes? | SELECT regulator FROM table_name_13 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes" |
CREATE TABLE table_name_85 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | What's the FCC info with a Frequency MHz thats smaller than 100.3 and a City of License as Lowville, NY? | SELECT fcc_info FROM table_name_85 WHERE frequency_mhz < 100.3 AND city_of_license = "lowville, ny" |
CREATE TABLE table_name_43 (administration_of_oaths VARCHAR, rights_of_audience VARCHAR, reserved_instruments VARCHAR) | What is Administration of Oaths, when Rights of Audience is Yes, and when Reserved Instruments is Yes? | SELECT administration_of_oaths FROM table_name_43 WHERE rights_of_audience = "yes" AND reserved_instruments = "yes" |
CREATE TABLE table_name_19 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR) | What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is Yes? | SELECT reserved_instruments FROM table_name_19 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes" |
CREATE TABLE table_name_6 (probate_activities VARCHAR, reserved_instruments VARCHAR, regulator VARCHAR) | What is Probate Activities, when Reserved Instruments is No, and when Regulator is Chartered Institute of Legal Executives? | SELECT probate_activities FROM table_name_6 WHERE reserved_instruments = "no" AND regulator = "chartered institute of legal executives" |
CREATE TABLE table_name_2 (erp_w VARCHAR, frequency_mhz INTEGER) | What's the sum of ERP W with a Frequency MHz that larger than 97.7? | SELECT COUNT(erp_w) FROM table_name_2 WHERE frequency_mhz > 97.7 |
CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR) | Which Best Film has a Best Supporting Actress of shamaine buencamino for niño? | SELECT best_film FROM table_name_42 WHERE best_supporting_actress = "shamaine buencamino for niño" |
CREATE TABLE table_name_16 (probate_activities VARCHAR, regulator VARCHAR, notarial_activities VARCHAR, conduct_of_litigation VARCHAR) | What is Probate Activities, when Notarial Activities is No, when Conduct of Litigation is Yes, and when Regulator is Association of Law Costs Draftsmen? | SELECT probate_activities FROM table_name_16 WHERE notarial_activities = "no" AND conduct_of_litigation = "yes" AND regulator = "association of law costs draftsmen" |
CREATE TABLE table_name_87 (year_of_intro VARCHAR, name__designation VARCHAR, primary_cartridge VARCHAR, country_of_origin VARCHAR, type VARCHAR) | What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29? | SELECT COUNT(year_of_intro) FROM table_name_87 WHERE country_of_origin = "soviet union" AND type = "reusable" AND primary_cartridge = "40mm" AND name__designation = "rpg-29" |
CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR) | What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález? | SELECT country FROM table_name_39 WHERE transfer_fee = "—" AND transfer_window = "summer" AND status = "loaned out" AND name = "gonzález" |
CREATE TABLE table_name_68 (draw INTEGER, place VARCHAR, televote VARCHAR, artist VARCHAR) | What draw average has a televote less than 633 and Vilma Voroblevaitė as artist and the place is greater than 14? | SELECT AVG(draw) FROM table_name_68 WHERE televote < 633 AND artist = "vilma voroblevaitė" AND place > 14 |
CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR) | What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1? | SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = "6:1" AND least_compression_at_maximum_fps = "7:1" |
CREATE TABLE table_name_61 (band VARCHAR, area_served VARCHAR, purpose VARCHAR) | Which band serves darwin for commercial purpose? | SELECT band FROM table_name_61 WHERE area_served = "darwin" AND purpose = "commercial" |
CREATE TABLE table_name_46 (combined VARCHAR, super_g VARCHAR, overall VARCHAR) | What is Combined, when Super G is less than 10, and when Overall is less than 4? | SELECT combined FROM table_name_46 WHERE super_g < 10 AND overall < 4 |
CREATE TABLE table_name_47 (production_year VARCHAR) | What is the average 2006 value for wheat with a 2005 value greater than 7340? | SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340 |
CREATE TABLE table_name_30 (in_state_area VARCHAR, outlet VARCHAR, _percentage_in_state VARCHAR) | With an outlet of Colorado River and a % instate of a038 84.8% what is in-state area? | SELECT in_state_area FROM table_name_30 WHERE outlet = "colorado river" AND _percentage_in_state = "a038 84.8%" |
CREATE TABLE table_name_97 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) | What was the transfer fee for the player ending in 2011 and moving from Thrasyvoulos? | SELECT transfer_fee FROM table_name_97 WHERE ends = 2011 AND moving_from = "thrasyvoulos" |
CREATE TABLE table_name_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR) | What is the highest rank of Venezuela, which has more than 9 bronze medals? | SELECT MIN(rank) FROM table_name_54 WHERE nation = "venezuela" AND bronze > 9 |
CREATE TABLE table_name_69 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold? | SELECT MIN(rank) FROM table_name_69 WHERE bronze = 0 AND silver = 1 AND gold > 0 |
CREATE TABLE table_name_46 (date VARCHAR, tournament VARCHAR) | On what date was the Transitions Championship? | SELECT date FROM table_name_46 WHERE tournament = "transitions championship" |
CREATE TABLE table_name_75 (nationality VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) | What nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player? | SELECT nationality FROM table_name_75 WHERE position = "left wing" AND round > 4 AND player = "mattia baldi" |
CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR) | What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th? | SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th" |
CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR) | Which Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998? | SELECT result FROM table_name_1 WHERE goal > 6 AND score = "1–0" AND competition = "friendly" AND date = "may 31, 1998" |
CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR) | What is the highest points value for the 500cc class in years after 1962 with 0 wins? | SELECT MAX(points) FROM table_name_71 WHERE class = "500cc" AND year > 1962 AND wins < 0 |
CREATE TABLE table_name_17 (finish INTEGER, year VARCHAR, manufacturer VARCHAR, start VARCHAR) | Before 2008, if the Manufacturer is dodge and the start is under 9, what's the highest finish time? | SELECT MAX(finish) FROM table_name_17 WHERE manufacturer = "dodge" AND start < 9 AND year < 2008 |
CREATE TABLE table_name_71 (total INTEGER, gold VARCHAR, nation VARCHAR) | What is the average Total, when Gold is 0, and when Nation is Iran? | SELECT AVG(total) FROM table_name_71 WHERE gold = 0 AND nation = "iran" |
CREATE TABLE table_name_58 (content VARCHAR, television_service VARCHAR) | What is the content of the Television service of Vesti? | SELECT content FROM table_name_58 WHERE television_service = "vesti" |
CREATE TABLE table_name_73 (average VARCHAR, attendance VARCHAR, sellouts VARCHAR, season VARCHAR) | What is the full amount of averages when the sellouts are less than 14, the season is 2011-12, and attendance is less than 162,474? | SELECT COUNT(average) FROM table_name_73 WHERE sellouts < 14 AND season = "2011-12" AND attendance < 162 OFFSET 474 |
CREATE TABLE table_name_88 (modern_equivalent VARCHAR, province_of_silla VARCHAR, post_1009_province VARCHAR, administrative_district VARCHAR) | What kind of Modern equivalent has a Post-1009 province of gyeongsang -do, and a Administrative district of jinju -mok, and a Province of Silla of gangju? | SELECT modern_equivalent FROM table_name_88 WHERE post_1009_province = "gyeongsang -do" AND administrative_district = "jinju -mok" AND province_of_silla = "gangju" |
CREATE TABLE table_name_84 (against INTEGER, team VARCHAR, drawn VARCHAR) | How many games against for team guarani with under 3 draws? | SELECT SUM(against) FROM table_name_84 WHERE team = "guarani" AND drawn < 3 |
CREATE TABLE table_name_92 (congress VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR) | What Congress had less than 23 cosponsors and had June 30, 2005 as the date of introduction of the bill? | SELECT congress FROM table_name_92 WHERE _number_of_cosponsors < 23 AND date_introduced = "june 30, 2005" |
CREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR) | WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju? | SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = "south jeolla" AND administrative_district = "seungju" |
CREATE TABLE table_name_71 (team VARCHAR, points VARCHAR, chassis VARCHAR) | What team has 4 points and a Chassis of march 82/83c? | SELECT team FROM table_name_71 WHERE points = 4 AND chassis = "march 82/83c" |
CREATE TABLE table_name_88 (opponent_in_final VARCHAR, date VARCHAR) | Who is the opponent in the final of the tournament on May 22, 2006? | SELECT opponent_in_final FROM table_name_88 WHERE date = "may 22, 2006" |
CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR) | Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51 | SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51 |
CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR) | What place was Dave Stockton when he had a to par of +1? | SELECT place FROM table_name_10 WHERE to_par = "+1" AND player = "dave stockton" |
CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR) | Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476 | SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476 |
CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR) | What is the to par of the player with a t4 place and a score of 75-69-74-72=290? | SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290 |
CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR) | What type of engine did the Fuel Injection entrant use? | SELECT engine FROM table_name_4 WHERE entrant = "fuel injection" |
CREATE TABLE table_name_15 (writer VARCHAR, title VARCHAR, year VARCHAR, notes VARCHAR) | Who is the writer of Wallace & Gromit: A Close Shave, a short film from before 2008? | SELECT writer FROM table_name_15 WHERE year < 2008 AND notes = "short film" AND title = "wallace & gromit: a close shave" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.