context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_67 (year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | What is the earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57? | SELECT MIN(year) FROM table_name_67 WHERE final_position___tour > 72 AND final_position___vuelta < 77 AND final_position___giro < 57 AND rider = "valdimir poelnikov" |
CREATE TABLE table_name_29 (year INTEGER, final_position___tour VARCHAR, final_position___giro VARCHAR) | What year was the rider with a final position-tour of 88 and less than 11 final position-giros? | SELECT SUM(year) FROM table_name_29 WHERE final_position___tour = 88 AND final_position___giro < 11 |
CREATE TABLE table_name_14 (area__km_2__ INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR) | What is the average area of the city that has a density less than than 206.2 and an altitude of less than 85? | SELECT AVG(area__km_2__) FROM table_name_14 WHERE density__inhabitants_km_2__ < 206.2 AND altitude__mslm_ < 85 |
CREATE TABLE table_name_99 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | What was the highest attendance when the opponent was the Indians and the record was 13-4? | SELECT MAX(attendance) FROM table_name_99 WHERE opponent = "indians" AND record = "13-4" |
CREATE TABLE table_name_37 (population INTEGER, density__inhabitants_km_2__ VARCHAR, altitude__mslm_ VARCHAR, city VARCHAR) | What is the lowest population of alessandria where the altitude is less than 197 and density is less than 461.8? | SELECT MIN(population) FROM table_name_37 WHERE altitude__mslm_ < 197 AND city = "alessandria" AND density__inhabitants_km_2__ < 461.8 |
CREATE TABLE table_name_32 (entered_service VARCHAR, delivered_as VARCHAR) | What is the Entered service date of the T413? | SELECT entered_service FROM table_name_32 WHERE delivered_as = "t413" |
CREATE TABLE table_name_18 (album VARCHAR, label VARCHAR, title VARCHAR) | What album has the title I Need A Life with the label of warp records / paper bag records? | SELECT album FROM table_name_18 WHERE label = "warp records / paper bag records" AND title = "i need a life" |
CREATE TABLE table_name_57 (game__number INTEGER, record VARCHAR) | Record of 11-10-3 is what sum of game #? | SELECT SUM(game__number) FROM table_name_57 WHERE record = "11-10-3" |
CREATE TABLE table_name_51 (high_estimate INTEGER, low_estimate VARCHAR, type VARCHAR, location VARCHAR) | With a type of mass suicide located in France and a low estimate greater than 16, the sum of the high estimate numbers listed is what number? | SELECT SUM(high_estimate) FROM table_name_51 WHERE type = "mass suicide" AND location = "france" AND low_estimate > 16 |
CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR) | Who was the director of Battalion Wars 2 which was released on GCN after 2004? | SELECT director FROM table_name_72 WHERE platform_s_ = "gcn" AND year > 2004 AND title = "battalion wars 2" |
CREATE TABLE table_name_7 (year INTEGER, title VARCHAR) | What year was Metroid Prime Hunters 5 released? | SELECT SUM(year) FROM table_name_7 WHERE title = "metroid prime hunters 5" |
CREATE TABLE table_name_72 (title VARCHAR, platform_s_ VARCHAR, director VARCHAR) | What 3ds game did Naohiko Aoyama direct? | SELECT title FROM table_name_72 WHERE platform_s_ = "3ds" AND director = "naohiko aoyama" |
CREATE TABLE table_name_42 (catalog VARCHAR, region VARCHAR) | What is the Catalog number in the Region of France? | SELECT catalog FROM table_name_42 WHERE region = "france" |
CREATE TABLE table_name_90 (cardinal_direction VARCHAR, english VARCHAR) | What is the cardinal direction of Wednesday p.m. in English? | SELECT cardinal_direction FROM table_name_90 WHERE english = "wednesday p.m." |
CREATE TABLE table_name_56 (seasons VARCHAR, name VARCHAR) | How many seasons did Charles C. Farrell coach? | SELECT COUNT(seasons) FROM table_name_56 WHERE name = "charles c. farrell" |
CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR) | How many new entries are there for a second phase that has 4 winners from previous rounds? | SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "4" |
CREATE TABLE table_name_19 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981? | SELECT winning_score FROM table_name_19 WHERE margin_of_victory = "1 stroke" AND date = "21 jun 1981" |
CREATE TABLE table_name_12 (points_for VARCHAR, drawn VARCHAR, losing_bonus VARCHAR) | How many points drew 2 with a losing bonus of 5? | SELECT points_for FROM table_name_12 WHERE drawn = "2" AND losing_bonus = "5" |
CREATE TABLE table_name_76 (segment_a VARCHAR, segment_d VARCHAR) | What segment A is associated with a Segment D of manual motorcycle transmissions? | SELECT segment_a FROM table_name_76 WHERE segment_d = "manual motorcycle transmissions" |
CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_final VARCHAR) | What was the outcome from the 2009 match in the final against Chong Wei Feng? | SELECT outcome FROM table_name_44 WHERE year = 2009 AND opponent_in_final = "chong wei feng" |
CREATE TABLE table_name_77 (races VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, driver VARCHAR) | Which races have points greater than 123, fernando alonso as the driver and a percentage of possible points of 74.44%? | SELECT races FROM table_name_77 WHERE points > 123 AND driver = "fernando alonso" AND percentage_of_possible_points = "74.44%" |
CREATE TABLE table_name_31 (season INTEGER, points VARCHAR, driver VARCHAR, percentage_of_possible_points VARCHAR) | How many seasons have fernando alonso as the driver, and a percentage of possible points of 64.12% and points less than 109? | SELECT SUM(season) FROM table_name_31 WHERE driver = "fernando alonso" AND percentage_of_possible_points = "64.12%" AND points < 109 |
CREATE TABLE table_name_20 (album VARCHAR, remixed_by VARCHAR, version VARCHAR) | Which album is the royal g's club mix version, which is remixed by royal garden sound, from? | SELECT album FROM table_name_20 WHERE remixed_by = "royal garden sound" AND version = "royal g's club mix" |
CREATE TABLE table_name_78 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR) | How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent? | SELECT attendance FROM table_name_78 WHERE game_site = "griffith stadium" AND opponent = "philadelphia eagles" |
CREATE TABLE table_name_55 (tournament VARCHAR) | Name the 2012 for us open | SELECT 2012 FROM table_name_55 WHERE tournament = "us open" |
CREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR) | Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best? | SELECT MIN(best) FROM table_name_34 WHERE team = "n/h/l racing" AND name = "graham rahal" AND qual_2 > 59.384 |
CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR) | What is the molecular target of bacterium? | SELECT molecular_target FROM table_name_10 WHERE marine_organism_α = "bacterium" |
CREATE TABLE table_name_5 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR) | For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ? | SELECT tie_no FROM table_name_5 WHERE attendance = "2 january 1999" AND home_team = "plymouth argyle" |
CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR) | What is the local mission that has ambassador as the local position, and a mission of suriname? | SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname" |
CREATE TABLE table_name_41 (Local VARCHAR, mission VARCHAR, resident_country VARCHAR, local_location VARCHAR, local_position VARCHAR) | What is the local mission that has none as a local location, high commissioner as a local position, fiji as a resident county, and a mission of tonga? | SELECT Local AS mission FROM table_name_41 WHERE local_location = "none" AND local_position = "high commissioner" AND resident_country = "fiji" AND mission = "tonga" |
CREATE TABLE table_name_20 (venue VARCHAR, competition VARCHAR, notes VARCHAR) | What venue hsoted the european cross country championships with a notes of junior men individual 6.595km? | SELECT venue FROM table_name_20 WHERE competition = "european cross country championships" AND notes = "junior men individual 6.595km" |
CREATE TABLE table_name_95 (position VARCHAR, notes VARCHAR) | What position did the person finish in with a notes of junior men individual 5.64km? | SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km" |
CREATE TABLE table_name_29 (total INTEGER, gold VARCHAR, nation VARCHAR) | Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia? | SELECT MAX(total) FROM table_name_29 WHERE gold = 1 AND nation = "czechoslovakia" |
CREATE TABLE table_name_79 (week VARCHAR, venue VARCHAR, attendance VARCHAR) | What is the total number of weeks with a game at the Milwaukee County Stadium attended by 47,897? | SELECT COUNT(week) FROM table_name_79 WHERE venue = "milwaukee county stadium" AND attendance = 47 OFFSET 897 |
CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR) | What is the alignment that predicts an alignment of the linuxbinary link? | SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary" |
CREATE TABLE table_name_91 (maximum_seating_capacity VARCHAR, arena_venue VARCHAR) | What is the maximum capacity of the San Agustin Gym? | SELECT maximum_seating_capacity FROM table_name_91 WHERE arena_venue = "san agustin gym" |
CREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR) | Where is the Holy Cross of Davao College campus located? | SELECT province_region FROM table_name_42 WHERE home_campus = "holy cross of davao college" |
CREATE TABLE table_name_61 (total INTEGER, finish VARCHAR) | What is the highest total with a t12 finish? | SELECT MAX(total) FROM table_name_61 WHERE finish = "t12" |
CREATE TABLE table_name_39 (tournament VARCHAR) | Which 2008 has a 2009 of A, and a Tournament of cincinnati masters? | SELECT 2008 FROM table_name_39 WHERE 2009 = "a" AND tournament = "cincinnati masters" |
CREATE TABLE table_name_39 (round INTEGER, position VARCHAR, pick__number VARCHAR) | What is the mean round number for center position when the pick number is less than 23? | SELECT AVG(round) FROM table_name_39 WHERE position = "center" AND pick__number < 23 |
CREATE TABLE table_name_42 (points INTEGER, engine VARCHAR, team VARCHAR) | What are the average points for the Project Indy team that has the Ford xb engine? | SELECT AVG(points) FROM table_name_42 WHERE engine = "ford xb" AND team = "project indy" |
CREATE TABLE table_name_60 (area__km_2__ VARCHAR, common_of VARCHAR, population VARCHAR) | How much Area (km 2) has a Common of collegno, and a Population smaller than 50137? | SELECT COUNT(area__km_2__) FROM table_name_60 WHERE common_of = "collegno" AND population < 50137 |
CREATE TABLE table_name_19 (population INTEGER, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR) | Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7? | SELECT MAX(population) FROM table_name_19 WHERE altitude__mslm_ < 229 AND area__km_2__ > 32.7 |
CREATE TABLE table_name_35 (grid VARCHAR, bike VARCHAR, time VARCHAR) | What is the total number for grid with a Suzuki GSX-R1000 K7 for +13.283? | SELECT COUNT(grid) FROM table_name_35 WHERE bike = "suzuki gsx-r1000 k7" AND time = "+13.283" |
CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR) | What was the name for the race in the Miramas circuit? | SELECT name FROM table_name_31 WHERE circuit = "miramas" |
CREATE TABLE table_name_56 (year VARCHAR, band VARCHAR, lifetime_achievement_award VARCHAR) | In what year did Aslan receive a Lifetime Achievement Award and Snow Patrol perform? | SELECT year FROM table_name_56 WHERE band = "snow patrol" AND lifetime_achievement_award = "aslan" |
CREATE TABLE table_name_27 (bronze INTEGER, event VARCHAR, total VARCHAR) | What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5? | SELECT MAX(bronze) FROM table_name_27 WHERE event = "1972 heidelberg" AND total < 5 |
CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR) | What is the Total with the Event 2004 Athens and Gold less than 20? | SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20 |
CREATE TABLE table_name_26 (colours VARCHAR, head_coach VARCHAR) | What are the colours of the team with benedikt guðmundsson as head coach? | SELECT colours FROM table_name_26 WHERE head_coach = "benedikt guðmundsson" |
CREATE TABLE table_name_98 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | When has a Surface of clay, and an Opponent in the final of andrés gómez javier sánchez? | SELECT date FROM table_name_98 WHERE surface = "clay" AND opponent_in_the_final = "andrés gómez javier sánchez" |
CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR) | Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5? | SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5" |
CREATE TABLE table_name_98 (white_hat VARCHAR, ullrich VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR) | Dakota Mission of t, and a Deloria & Boas of tʽ, and a Ullrich of tȟ had what white hat? | SELECT white_hat FROM table_name_98 WHERE dakota_mission = "t" AND deloria_ & _boas = "tʽ" AND ullrich = "tȟ" |
CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR) | Name the total number of years for chassis of maserati 250f and points less than 0 | SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0 |
CREATE TABLE table_name_36 (record VARCHAR, november VARCHAR, game VARCHAR, points VARCHAR) | Which Record has a Game larger than 15, and Points smaller than 31, and a November of 7? | SELECT record FROM table_name_36 WHERE game > 15 AND points < 31 AND november = 7 |
CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR) | How many years did the team place 2nd in Antwerp, Belgium? | SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd" |
CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR) | What competition had a final round in the finals and the final position winners? | SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals" |
CREATE TABLE table_name_35 (first_match VARCHAR, final_position VARCHAR, final_round VARCHAR) | On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals? | SELECT first_match FROM table_name_35 WHERE final_position = "winners" AND final_round = "finals" |
CREATE TABLE table_name_44 (player VARCHAR, date VARCHAR, transfer_fee VARCHAR) | Which Player had a Date of 31 jan. 2008, and a Transfer fee of £3.87m? | SELECT player FROM table_name_44 WHERE date = "31 jan. 2008" AND transfer_fee = "£3.87m" |
CREATE TABLE table_name_53 (record VARCHAR, date VARCHAR) | What was the record on April 8? | SELECT record FROM table_name_53 WHERE date = "april 8" |
CREATE TABLE table_name_77 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) | When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign? | SELECT call_sign FROM table_name_77 WHERE erp_w > 10 AND frequency_mhz = 103.7 |
CREATE TABLE table_name_10 (studio_host VARCHAR, year VARCHAR) | Year of 2006-07 had what studio host? | SELECT studio_host FROM table_name_10 WHERE year = "2006-07" |
CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR) | Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host? | SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" AND year = "2005-06" |
CREATE TABLE table_name_38 (play_by_play VARCHAR, studio_host VARCHAR, year VARCHAR) | Studio host of john ryder, and a Year of 2007-08 had what play by play? | SELECT play_by_play FROM table_name_38 WHERE studio_host = "john ryder" AND year = "2007-08" |
CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR) | Name the player with score of 73-69-74-71=287 | SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287 |
CREATE TABLE table_name_79 (hometown VARCHAR, games_started VARCHAR) | Games started of 4 is in what hometown? | SELECT hometown FROM table_name_79 WHERE games_started = "4" |
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR, surface VARCHAR) | Name the date for chris evert opponent and carpet surface | SELECT date FROM table_name_98 WHERE opponent = "chris evert" AND surface = "carpet" |
CREATE TABLE table_name_33 (weight INTEGER, position VARCHAR) | Position of fullback has what highest weight? | SELECT MAX(weight) FROM table_name_33 WHERE position = "fullback" |
CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR) | What was arrows racing team's highest points after 1982? | SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982 |
CREATE TABLE table_name_25 (party VARCHAR, member VARCHAR, first_elected VARCHAR, state VARCHAR) | Which party has a first elected of 1966, qld as the state, and donald milner cameron as the member? | SELECT party FROM table_name_25 WHERE first_elected = "1966" AND state = "qld" AND member = "donald milner cameron" |
CREATE TABLE table_name_70 (member VARCHAR, electorate VARCHAR, state VARCHAR, first_elected VARCHAR, party VARCHAR) | Which memeber has a first elected of 1972, alp as the party, vic as the state, and an electorate of gellibrand? | SELECT member FROM table_name_70 WHERE first_elected = "1972" AND party = "alp" AND state = "vic" AND electorate = "gellibrand" |
CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR) | Name the date for motogp winner of casey stoner and grand prix of valencian grand prix | SELECT date FROM table_name_15 WHERE motogp_winner = "casey stoner" AND grand_prix = "valencian grand prix" |
CREATE TABLE table_name_55 (grand_prix VARCHAR, motogp_winner VARCHAR, circuit VARCHAR) | Name the grand prix for casey stoner and circuit of losail | SELECT grand_prix FROM table_name_55 WHERE motogp_winner = "casey stoner" AND circuit = "losail" |
CREATE TABLE table_name_27 (rank INTEGER, total VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) | Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/anglesey with total more than 8 | SELECT MIN(rank) FROM table_name_27 WHERE bronze = 2 AND gold > 0 AND nation = "ynys môn/anglesey" AND total > 8 |
CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | Name the total number of total with silver of 6, bronze more than 5 and gold less than 4 | SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4 |
CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR) | What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25?? | SELECT term_start FROM table_name_47 WHERE title = "minister for agriculture, fisheries and forestry" AND order = "25" |
CREATE TABLE table_name_17 (game INTEGER, october VARCHAR, opponent VARCHAR, record VARCHAR) | What average game has @ florida panthers as the opponent, 0-1-2 as the record, with an october greater than 8? | SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8 |
CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR) | What is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama? | SELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = "1.6%" AND mccain_percentage = "40.5%" AND obama_number < 256 OFFSET 299 |
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) | What was the Attendance on 31 January 1987? | SELECT COUNT(attendance) FROM table_name_44 WHERE date = "31 january 1987" |
CREATE TABLE table_name_62 (location_attendance VARCHAR, score VARCHAR) | What was the location and attendance with a score of w 89–86 (ot)? | SELECT location_attendance FROM table_name_62 WHERE score = "w 89–86 (ot)" |
CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR) | What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14? | SELECT name FROM table_name_13 WHERE season = "2010-2011" AND acquisition_via = "free agency" AND number = "14" |
CREATE TABLE table_name_44 (size__steps_ VARCHAR, just__cents_ VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR) | size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number? | SELECT COUNT(size__steps_) FROM table_name_44 WHERE size__cents_ = 58.54 AND just_ratio = "28:27" AND just__cents_ > 62.96 |
CREATE TABLE table_name_64 (games_played INTEGER, points VARCHAR, draws VARCHAR, loses VARCHAR) | What is the highest number of games played for teams with 3 draws, 5 losses, and under 39 points? | SELECT MAX(games_played) FROM table_name_64 WHERE draws = 3 AND loses = 5 AND points < 39 |
CREATE TABLE table_name_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR) | What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? | SELECT picture_coding_types FROM table_name_57 WHERE chroma_format = "4:2:2 or 4:2:0" AND name = "4:2:2 profile" |
CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR) | How many league cups associated with under 10 championships and a total of under 3? | SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3 |
CREATE TABLE table_name_82 (entered_the_house VARCHAR, evicted VARCHAR, name VARCHAR) | When did slađana pejić, who was evicted on day 29, enter the house? | SELECT entered_the_house FROM table_name_82 WHERE evicted = "day 29" AND name = "slađana pejić" |
CREATE TABLE table_name_29 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR) | How many laps are associated with a grid greater than 8, under 11 points, and will power? | SELECT COUNT(laps) FROM table_name_29 WHERE grid > 8 AND points < 11 AND driver = "will power" |
CREATE TABLE table_name_93 (home VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR) | What is the home team of the UEFA cup in the 2000-2001 season with a second round? | SELECT home FROM table_name_93 WHERE competition = "uefa cup" AND season = "2000-2001" AND round = "second round" |
CREATE TABLE table_name_68 (total VARCHAR, rank VARCHAR, bronze VARCHAR) | Name the total number of total for rank of 7 and bronze less than 1 | SELECT COUNT(total) FROM table_name_68 WHERE rank = "7" AND bronze < 1 |
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR, nation VARCHAR, total VARCHAR, rank VARCHAR) | How many bronze numbers had a total of more than 4 when the rank is less than four, germany is involved, and there's less than 5 silver? | SELECT COUNT(bronze) FROM table_name_67 WHERE total > 4 AND rank < 4 AND nation = "germany" AND silver < 5 |
CREATE TABLE table_name_67 (place VARCHAR, player VARCHAR) | Which Place has Phil Mickelson as the Player? | SELECT place FROM table_name_67 WHERE player = "phil mickelson" |
CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR) | What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975? | SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = "d" AND birthdate = "july 4, 1975" |
CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR) | What is the Birthdate for the person with a height less than 191, and weight of 84 kg? | SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = 84 |
CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR) | Which gender has a Decile of 8, an Area of taradale, and Years of 1–13? | SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–13" |
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) | What is the Score of the game against the boston celtics? | SELECT score FROM table_name_58 WHERE opponent = "boston celtics" |
CREATE TABLE table_name_94 (vineyard_surface__2010_ VARCHAR, village VARCHAR, grand_cru VARCHAR) | What is the Vineyeard surface (2010) with a Village of Gevrey-Chambertin, and Grand Cru of Latricières-Chambertin? | SELECT vineyard_surface__2010_ FROM table_name_94 WHERE village = "gevrey-chambertin" AND grand_cru = "latricières-chambertin" |
CREATE TABLE table_name_33 (grand_cru VARCHAR, wine_style VARCHAR, village VARCHAR) | What is the Grand Cru with a Wine Style of Red Wine and Village of Gevrey-Chambertin? | SELECT grand_cru FROM table_name_33 WHERE wine_style = "red wine" AND village = "gevrey-chambertin" |
CREATE TABLE table_name_20 (score VARCHAR, opponent VARCHAR, date VARCHAR) | Name the score for the mariners opponent on may 10 | SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10" |
CREATE TABLE table_name_36 (choreographer_s_ VARCHAR, chosen_by VARCHAR, style VARCHAR) | What is Choreographer(s), when Chosen is Mary Murphy, and when Style is Contemporary? | SELECT choreographer_s_ FROM table_name_36 WHERE chosen_by = "mary murphy" AND style = "contemporary" |
CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR) | Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1 | SELECT MIN(rank) FROM table_name_5 WHERE silver < 1 AND total > 1 AND bronze < 1 |
CREATE TABLE table_name_44 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, tournament VARCHAR) | What is the lowest Top-10 when the Top-25 is 6, and a Tournament of u.s. open, and a Cut made larger than 9? | SELECT MIN(top_10) FROM table_name_44 WHERE top_25 = 6 AND tournament = "u.s. open" AND cuts_made > 9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.