context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_10 (opponents VARCHAR, partner VARCHAR, surface VARCHAR, year VARCHAR) | When playing on grass who was the opponents in a year greater than 1993, and playing with Jonas Björkman? | SELECT opponents FROM table_name_10 WHERE surface = "grass" AND year > 1993 AND partner = "jonas björkman" |
CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR) | What is the ICAO for Riyadh, Saudi Arabia? | SELECT icao FROM table_name_35 WHERE country = "saudi arabia" AND city = "riyadh" |
CREATE TABLE table_name_94 (total VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | How many totals have 0 as Gold, a bronze greater than 1, and a silver less than 1? | SELECT COUNT(total) FROM table_name_94 WHERE gold = 0 AND bronze > 1 AND silver < 1 |
CREATE TABLE table_name_51 (goals INTEGER, name VARCHAR, appearances VARCHAR) | What was Lee Smith's highest number of goals when he made fewer than 364 appearances? | SELECT MAX(goals) FROM table_name_51 WHERE name = "lee smith" AND appearances < 364 |
CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR) | What driver has 5 as the zan 2? | SELECT driver FROM table_name_69 WHERE zan_2 = "5" |
CREATE TABLE table_name_72 (away_captain VARCHAR, result VARCHAR, venue VARCHAR) | What is the Away captain when the Result was draw, and a Venue of lord's? | SELECT away_captain FROM table_name_72 WHERE result = "draw" AND venue = "lord's" |
CREATE TABLE table_name_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR) | Which lane ranked less than 4 for the Netherlands? | SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = "netherlands" |
CREATE TABLE table_name_35 (winning_score VARCHAR, tournament VARCHAR) | What was the winning score in the Alfred Dunhill links championship? | SELECT winning_score FROM table_name_35 WHERE tournament = "alfred dunhill links championship" |
CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún? | SELECT score FROM table_name_48 WHERE surface = "clay" AND outcome = "winner" AND tournament = "ciudad juárez" AND opponent_in_the_final = "estefania craciún" |
CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR) | What is the frequency of the Turion 64 X2 TL-62? | SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62" |
CREATE TABLE table_name_66 (socket VARCHAR, multiplier_1 VARCHAR) | What is the socket type for the processor with a multiplier 1 of 11.5x? | SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x" |
CREATE TABLE table_name_44 (lner_class VARCHAR, wa VARCHAR, no_built VARCHAR) | What LINER class has a W.A. of 0-6-0st with a 2 No. Built? | SELECT lner_class FROM table_name_44 WHERE wa = "0-6-0st" AND no_built = 2 |
CREATE TABLE table_name_50 (points_for VARCHAR, club VARCHAR) | How many pints does the Cambrian Welfare RFC have? | SELECT points_for FROM table_name_50 WHERE club = "cambrian welfare rfc" |
CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR) | What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823? | SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = "valverde" AND area > 823 |
CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR) | What is the lowest rank that the protestants population holds? | SELECT MIN(rank) FROM table_name_67 WHERE name = "protestants population" |
CREATE TABLE table_name_41 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR, tuesday_mangala__mars_ VARCHAR) | What is the result on Saturday when it's रविवार ravivār on Sunday and मंगळवार mangaḷavār on Tuesday? | SELECT saturday_shani__saturn_ FROM table_name_41 WHERE sunday_surya__the_sun_ = "रविवार ravivār" AND tuesday_mangala__mars_ = "मंगळवार mangaḷavār" |
CREATE TABLE table_name_29 (sunday_surya__the_sun_ VARCHAR, monday_soma__the_moon_ VARCHAR, tuesday_mangala__mars_ VARCHAR) | What is the result on Sunday that's सोमवार somavār on Monday and मंगलवार mangalavār on Tuesday? | SELECT sunday_surya__the_sun_ FROM table_name_29 WHERE monday_soma__the_moon_ = "सोमवार somavār" AND tuesday_mangala__mars_ = "मंगलवार mangalavār" |
CREATE TABLE table_name_99 (result VARCHAR, year VARCHAR, category VARCHAR) | What was album of the year after 2009? | SELECT result FROM table_name_99 WHERE year > 2009 AND category = "album of the year" |
CREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR) | For a Lost of 10 and a Try Bonus of 4, what are the points against them? | SELECT points_against FROM table_name_54 WHERE try_bonus = "4" AND lost = "10" |
CREATE TABLE table_name_7 (nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR) | Which player is the NHL right, who was born in Downers Grove, Illinois? | SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = "downers grove, illinois" |
CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR) | What is the nationality of the School/Club team of Louisville? | SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville" |
CREATE TABLE table_name_62 (population_112008 INTEGER, urban_area VARCHAR, population_112006 VARCHAR) | Name the sum of population 1.1.2008 for tønsberg and population 1.1.2006 more than 45.447 | SELECT SUM(population_112008) FROM table_name_62 WHERE urban_area = "tønsberg" AND population_112006 > 45.447 |
CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR) | Which country had more than 2 silvers and less than 4 golds? | SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4 |
CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR) | In the 2005 season, how many races did the 15th place team complete? | SELECT AVG(races) FROM table_name_98 WHERE final_placing = "15th" AND season = "2005" |
CREATE TABLE table_name_93 (structure_height_ VARCHAR, m VARCHAR, name VARCHAR, country VARCHAR, year VARCHAR, type VARCHAR) | What is the height of the fort peck dam which was built before 1968, is located in the united states and has a dam type of TE ? | SELECT structure_height_[m] FROM table_name_93 WHERE year < 1968 AND type = "te" AND country = "united states" AND name = "fort peck dam" |
CREATE TABLE table_name_19 (year INTEGER, points VARCHAR) | in what year were 2 points scored? | SELECT MAX(year) FROM table_name_19 WHERE points = "2" |
CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR) | What is the Location when the individual was josé maria cañizares? | SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares" |
CREATE TABLE table_name_49 (Id VARCHAR) | How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997? | SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0 |
CREATE TABLE table_name_7 (last_performance VARCHAR, style VARCHAR, name VARCHAR) | What is the date of the Last Ballet Style Performance of Rhys kosakowski as Billy Elliot? | SELECT last_performance FROM table_name_7 WHERE style = "ballet" AND name = "rhys kosakowski" |
CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR) | What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso? | SELECT year FROM table_name_96 WHERE tournament_name = "grand prix passing shot bordeaux" AND runners_up = "diego nargiso" |
CREATE TABLE table_name_65 (score VARCHAR, runners_up VARCHAR, year VARCHAR, tournament_name VARCHAR) | After 1989, what was the score of the Grand Prix Passing Shot where the Runners-up were Jeff Tarango? | SELECT score FROM table_name_65 WHERE year > 1989 AND tournament_name = "grand prix passing shot" AND runners_up = "jeff tarango" |
CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR) | What engine does Garvey Team Lotus use? | SELECT engine FROM table_name_50 WHERE entrant = "garvey team lotus" |
CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR) | Who was the constitutional ticket when william karlin was the socialist ticket? | SELECT constitutional_ticket FROM table_name_95 WHERE socialist_ticket = "william karlin" |
CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR) | Where were the Pan American Games held? | SELECT venue FROM table_name_80 WHERE competition = "pan american games" |
CREATE TABLE table_name_93 (game INTEGER, date VARCHAR, attendance VARCHAR) | What game, played on October 17 in front of 49,347 fans, had the lowest score? | SELECT MIN(game) FROM table_name_93 WHERE date = "october 17" AND attendance > 49 OFFSET 347 |
CREATE TABLE table_name_53 (total_foreign_born__1000_ INTEGER, born_in_a_non_eu_state__1000_ VARCHAR, total_population__1000_ VARCHAR) | What is the highest Total Foreign-born (1000) from a non EU state (1000) of 685 and a population (1000) smaller than 10,666? | SELECT MAX(total_foreign_born__1000_) FROM table_name_53 WHERE born_in_a_non_eu_state__1000_ = 685 AND total_population__1000_ > 10 OFFSET 666 |
CREATE TABLE table_name_20 (born_in_a_non_eu_state__1000_ INTEGER, country VARCHAR, total_population__1000_ VARCHAR) | What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534? | SELECT MAX(born_in_a_non_eu_state__1000_) FROM table_name_20 WHERE country = "denmark" AND total_population__1000_ < 5 OFFSET 534 |
CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR) | What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859? | SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = "sweden" AND born_in_a_non_eu_state__1000_ < 859 |
CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR) | How many ranks had 367 matches and more than 216 goals? | SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216 |
CREATE TABLE table_name_80 (episode_number VARCHAR, audience_share__average_ VARCHAR) | What episode number has an audience share of 10%? | SELECT COUNT(episode_number) FROM table_name_80 WHERE audience_share__average_ = "10%" |
CREATE TABLE table_name_21 (country VARCHAR, city VARCHAR) | What country is Yerevan located in? | SELECT country FROM table_name_21 WHERE city = "yerevan" |
CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR) | When were there less than 1 point with a cosworth v8 engine in jolly club switzerland? | SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland" |
CREATE TABLE table_name_74 (overall VARCHAR, opponent VARCHAR, plyff VARCHAR, home VARCHAR) | Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Blizzard team? | SELECT overall FROM table_name_74 WHERE plyff = "(0-0)" AND home = "(0-1)" AND opponent = "green bay blizzard" |
CREATE TABLE table_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR) | Name the most FA cup for championship of 18 and total of 19 | SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19 |
CREATE TABLE table_name_72 (fourth_district VARCHAR, second_district VARCHAR) | Who's Fourth District has a Second District of bob springstead? | SELECT fourth_district FROM table_name_72 WHERE second_district = "bob springstead" |
CREATE TABLE table_name_29 (first_round INTEGER, weight VARCHAR, team VARCHAR) | What is the average first round for Utah Jazz team, with a weight smaller than 229? | SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = "utah jazz" |
CREATE TABLE table_name_24 (month VARCHAR, _year VARCHAR, sunk_by_u_boat VARCHAR, sunk_by_aircraft VARCHAR, german_submarines_lost VARCHAR, sunk_by_warship_or_raider VARCHAR) | What is the month and year less than 5 German submarines were lost, less than 6893 were sunk by warship or raider, less than 133746 were sunk by aircraft, and more than 111263 were sunk by U-boat? | SELECT month, _year FROM table_name_24 WHERE german_submarines_lost < 5 AND sunk_by_warship_or_raider < 6893 AND sunk_by_aircraft < 133746 AND sunk_by_u_boat > 111263 |
CREATE TABLE table_name_73 (month VARCHAR, _year VARCHAR, sunk_by_aircraft VARCHAR, sunk_by_warship_or_raider VARCHAR) | What is the month and year less than 106005 were sunk by aircraft and 61857 were sunk by warship or raider? | SELECT month, _year FROM table_name_73 WHERE sunk_by_aircraft < 106005 AND sunk_by_warship_or_raider = 61857 |
CREATE TABLE table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR) | What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels? | SELECT AVG(example_code__huc_) FROM table_name_35 WHERE example_name = "lower snake" AND digits = 6 AND level < 3 |
CREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR) | What is the mean level number when the example name is lower snake and the approximate number is hus is less than 370? | SELECT AVG(level) FROM table_name_42 WHERE example_name = "lower snake" AND number_of_hus__approximate_ < 370 |
CREATE TABLE table_name_59 (attendance VARCHAR, game_site VARCHAR, week VARCHAR) | How many attendance numbers are associated with the site of Veterans Stadium before week 1? | SELECT COUNT(attendance) FROM table_name_59 WHERE game_site = "veterans stadium" AND week < 1 |
CREATE TABLE table_name_6 (date VARCHAR, outcome VARCHAR, surface VARCHAR, score VARCHAR) | Name the date when the surface was clay and the score was 6–1, 6–2 and runner-up | SELECT date FROM table_name_6 WHERE surface = "clay" AND score = "6–1, 6–2" AND outcome = "runner-up" |
CREATE TABLE table_name_61 (tournament VARCHAR, opponent VARCHAR, outcome VARCHAR, surface VARCHAR) | Name the tournament for outcome of winner and clay surface with opponent of aranza salut | SELECT tournament FROM table_name_61 WHERE outcome = "winner" AND surface = "clay" AND opponent = "aranza salut" |
CREATE TABLE table_name_16 (series VARCHAR, launch_date VARCHAR) | What is Series, when Launch Date is 23 February 2013? | SELECT series FROM table_name_16 WHERE launch_date = "23 february 2013" |
CREATE TABLE table_name_16 (days INTEGER, launch_date VARCHAR) | What is Highest Days, when Launch Date is 23 January 2010? | SELECT MAX(days) FROM table_name_16 WHERE launch_date = "23 january 2010" |
CREATE TABLE table_name_60 (rank INTEGER, name VARCHAR, games VARCHAR) | What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20? | SELECT MIN(rank) FROM table_name_60 WHERE name = "jeremiah massey" AND games < 20 |
CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | Name the attendance for atlanta braves opponent for september 9 | SELECT AVG(attendance) FROM table_name_26 WHERE opponent = "atlanta braves" AND date = "september 9" |
CREATE TABLE table_name_45 (country VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, ends VARCHAR) | What is the name of the country that has a transfer window of winter with an end after 2009 and moving from Bolton Wanderers? | SELECT country FROM table_name_45 WHERE transfer_window = "winter" AND ends > 2009 AND moving_from = "bolton wanderers" |
CREATE TABLE table_name_65 (type VARCHAR, moving_from VARCHAR, source VARCHAR, transfer_window VARCHAR) | What is the type of the Leeds United source, winter transfer window and moving from Northampton town? | SELECT type FROM table_name_65 WHERE source = "leeds united" AND transfer_window = "winter" AND moving_from = "northampton town" |
CREATE TABLE table_name_75 (points INTEGER, position VARCHAR, drawn VARCHAR) | What is the highest Points in Position 2 with more than 3 Drawn games? | SELECT MAX(points) FROM table_name_75 WHERE position = 2 AND drawn > 3 |
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR) | What is the average rank Finland, which has 1 bronze, more than 1 silver, and less than 0 gold, has? | SELECT AVG(rank) FROM table_name_6 WHERE bronze = 1 AND silver > 1 AND nation = "finland" AND gold < 0 |
CREATE TABLE table_name_18 (score INTEGER, player VARCHAR) | What is Sum of Score, when Player is Vijay Singh? | SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh" |
CREATE TABLE table_name_1 (Id VARCHAR) | What is 2009, when 2000 is 1R, and when 1998 is 3R? | SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r" |
CREATE TABLE table_name_56 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes? | SELECT tournament FROM table_name_56 WHERE margin_of_victory = "2 strokes" AND date = "sep 20, 1981" |
CREATE TABLE table_name_60 (winning_score VARCHAR, tournament VARCHAR) | What was the winning score for the Andy Williams-San Diego Open Invitational tournament? | SELECT winning_score FROM table_name_60 WHERE tournament = "andy williams-san diego open invitational" |
CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR) | When was tony parker (guard) born? | SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker" |
CREATE TABLE table_name_63 (kit_manufacturer VARCHAR, shirt_sponsor VARCHAR) | Who was the Kit manufacturer that was has shirts sponsored by Walkers? | SELECT kit_manufacturer FROM table_name_63 WHERE shirt_sponsor = "walkers" |
CREATE TABLE table_name_62 (total VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR) | What is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2? | SELECT total FROM table_name_62 WHERE set_4 = "na" AND score = "3-0" AND set_2 = "26-24" |
CREATE TABLE table_name_92 (score VARCHAR, competition VARCHAR, date VARCHAR) | Which score has a competition of 1997 dunhill cup malaysia and february 23, 1997 as the date? | SELECT score FROM table_name_92 WHERE competition = "1997 dunhill cup malaysia" AND date = "february 23, 1997" |
CREATE TABLE table_name_8 (fastest_lap VARCHAR, circuit VARCHAR, pole_position VARCHAR, winning_team VARCHAR, race VARCHAR) | What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island? | SELECT fastest_lap FROM table_name_8 WHERE winning_team = "team brm" AND race = 1 AND pole_position = "leanne tander" AND circuit = "phillip island" |
CREATE TABLE table_name_77 (result VARCHAR, category VARCHAR) | What is the result of the directorial debut of the year award? | SELECT result FROM table_name_77 WHERE category = "directorial debut of the year" |
CREATE TABLE table_name_81 (date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR) | What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander? | SELECT date FROM table_name_81 WHERE fastest_lap = "james winslow" AND race = 1 AND winning_driver = "leanne tander" |
CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR) | When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket? | SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel" |
CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR) | What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket? | SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein" |
CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR) | What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions? | SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8 |
CREATE TABLE table_name_57 (loan_club VARCHAR, country VARCHAR, ended VARCHAR) | What is the Loan Club from Eng that ended on 22 February? | SELECT loan_club FROM table_name_57 WHERE country = "eng" AND ended = "22 february" |
CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR) | What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions? | SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = "0.1%" AND area__percentage_of_eu = "0.1%" AND population_in_millions > 0.5 |
CREATE TABLE table_name_61 (area_km_2 INTEGER, member_state VARCHAR, population_in_millions VARCHAR) | What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3? | SELECT MIN(area_km_2) FROM table_name_61 WHERE member_state = "czech republic" AND population_in_millions < 10.3 |
CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR) | What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357? | SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357 |
CREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR) | What is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605? | SELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605 |
CREATE TABLE table_name_95 (commercial_operation VARCHAR, gross_capacity VARCHAR, unit VARCHAR) | What commercial operation that has a gross capacity of 1,126 mw, and a unit of tianwan-4? | SELECT commercial_operation FROM table_name_95 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4" |
CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) | What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match? | SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match" |
CREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR) | What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780? | SELECT red_list FROM table_name_22 WHERE order = "artiodactyla" AND family = "cervidae" AND species_authority = "odocoileus virginianus zimmermann, 1780" |
CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR) | What is the least amount of appearances by new zealand when they scored 4 goals? | SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand" |
CREATE TABLE table_name_34 (area INTEGER, capital VARCHAR) | What is the average area with valparaíso as the capital? | SELECT AVG(area) FROM table_name_34 WHERE capital = "valparaíso" |
CREATE TABLE table_name_46 (date_made VARCHAR, notes VARCHAR) | When has a Note of 45/48 renumbered 15/16; two sold to sl&ncr? | SELECT date_made FROM table_name_46 WHERE notes = "45/48 renumbered 15/16; two sold to sl&ncr" |
CREATE TABLE table_name_46 (gershausen VARCHAR, willingshain VARCHAR, reckerode_ VARCHAR) | What Gershausen has a Willingshain of 243 and Reckerode of 224? | SELECT gershausen FROM table_name_46 WHERE willingshain = "243" AND reckerode_ * * * * = "224" |
CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR) | Which Republican ran against the American Labor candidate Matthew J. Merritt? | SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt" |
CREATE TABLE table_name_27 (events INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR) | What is the average number of events of PGA Championship tournaments with a top-5 less than 0? | SELECT AVG(events) FROM table_name_27 WHERE top_10 = 0 AND tournament = "pga championship" AND top_5 < 0 |
CREATE TABLE table_name_50 (percentage_of_marine_area__foreez_ INTEGER, ecozone VARCHAR, percentage_of_total_area__foreez_ VARCHAR) | What is the smallest percentage of marine area for Pacific Marine ecozone and percentage of total area greater than 3.1? | SELECT MIN(percentage_of_marine_area__foreez_) FROM table_name_50 WHERE ecozone = "pacific marine" AND percentage_of_total_area__foreez_ > 3.1 |
CREATE TABLE table_name_78 (percentage_of_marine_area__foreez_ VARCHAR, ecozone VARCHAR, area__km²__exclusive_economic_zone VARCHAR) | How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439? | SELECT COUNT(percentage_of_marine_area__foreez_) FROM table_name_78 WHERE ecozone = "atlantic marine" AND area__km²__exclusive_economic_zone < 996 OFFSET 439 |
CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR) | Which Source has a Clinton of 39% and a Undecided of 7%? | SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "7%" |
CREATE TABLE table_name_83 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | Name the date with margin of victory of 1 stroke and tournament of legend financial group classic | SELECT date FROM table_name_83 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" |
CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic | SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "1 stroke" AND tournament = "legend financial group classic" |
CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR) | What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes? | SELECT astc_member FROM table_name_39 WHERE state = "arkansas" AND aam_member = "no" AND aam_accredited = "yes" |
CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR) | Which Office has a Party of rep, and a Representative of brian bosma? | SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma" |
CREATE TABLE table_name_30 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR) | What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No? | SELECT city FROM table_name_30 WHERE state = "california" AND aam_accredited = "no" AND astc_member = "yes" AND aam_member = "no" |
CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR) | What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585? | SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = "china" AND main_span_feet = "2,585" |
CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR) | What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket? | SELECT office FROM table_name_8 WHERE socialist_labor_ticket = "(none)" AND liberal_ticket = "stanley h. fuld" |
CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR) | What is the Fatalities when the tail number was unknown and in Kabul> | SELECT fatalities FROM table_name_53 WHERE tail_number = "unknown" AND location = "kabul" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.