context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_28365816_2 (tournament_winner VARCHAR, conference VARCHAR) | During the Mid-American Conference who is listed as the tournament winner? | SELECT tournament_winner FROM table_28365816_2 WHERE conference = "Mid-American conference" |
CREATE TABLE table_2840500_5 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | Which team drafted the player from the HC Lada Togliatti (Russia)? | SELECT nhl_team FROM table_2840500_5 WHERE college_junior_club_team = "HC Lada Togliatti (Russia)" |
CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR) | Name the least season number for two marriage proposals | SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "Two marriage proposals" |
CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) | Which High rebounds has a Game smaller than 9, and a Opponent of detroit? | SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit" |
CREATE TABLE table_2840500_2 (pick INTEGER, position VARCHAR, nationality VARCHAR) | What is the minimum pick of a centre from the Czech Republic? | SELECT MIN(pick) FROM table_2840500_2 WHERE position = "Centre" AND nationality = "Czech Republic" |
CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR) | How many events did clay win? | SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay" |
CREATE TABLE table_name_59 (surface VARCHAR, opponent VARCHAR, event VARCHAR) | Which Surface has an Opponent of rafael nadal, and an Event of 2? | SELECT surface FROM table_name_59 WHERE opponent = "rafael nadal" AND NOT event = 2 |
CREATE TABLE table_name_36 (stage INTEGER, finish VARCHAR, year VARCHAR, leader_at_the_summit VARCHAR) | What is the highest stage number for a year later than 1948, leader at the summit was group, and finish was Bagnères-De-Bigorre? | SELECT MAX(stage) FROM table_name_36 WHERE year > 1948 AND leader_at_the_summit = "group" AND finish = "bagnères-de-bigorre" |
CREATE TABLE table_28490105_1 (distance VARCHAR, supporting VARCHAR, tc_winning_car VARCHAR) | What was the distance in the round where the supporter was champ car world series ( grand prix of cleveland ) and the tc winning car was pierre kleinubing? | SELECT distance FROM table_28490105_1 WHERE supporting = "Champ Car World Series ( Grand Prix of Cleveland )" AND tc_winning_car = "Pierre Kleinubing" |
CREATE TABLE table_28490105_1 (rnd INTEGER, gt_winning_car VARCHAR) | What is the earliest round where the gt winning car is max angelelli? | SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = "Max Angelelli" |
CREATE TABLE table_28490105_1 (supporting VARCHAR, gt_winning_car VARCHAR, rnd VARCHAR) | Who was supporting in round 1 where the gt winning car was dodge viper? | SELECT supporting FROM table_28490105_1 WHERE gt_winning_car = "Dodge Viper" AND rnd = 1 |
CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR) | How many divisions in bowling ? | SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling" |
CREATE TABLE table_2849652_2 (sport VARCHAR) | Where was the 2011-2012 soccer state tournament held? | SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer" |
CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR) | What is the highest championship that has 1 as the league cup, and 17 as the total? | SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "17" |
CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR) | What's the date when Yelena Isinbayeva for Russia was in Beijing, China? | SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva" |
CREATE TABLE table_25563779_4 (second VARCHAR, national_trophy_rookie VARCHAR) | If the national trophy/rookie is Gerrard Barrabeig, what is the name of the second? | SELECT second FROM table_25563779_4 WHERE national_trophy_rookie = "Gerrard Barrabeig" |
CREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR) | What was the location when the winning driver was Nathanaël Berthon? | SELECT location FROM table_25572068_1 WHERE winning_driver = "Nathanaël Berthon" |
CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) | What is the name of the swimmer from Australia in lane 4 with a heat larger than 4? | SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = "australia" |
CREATE TABLE table_2850912_8 (position VARCHAR, nhl_team VARCHAR, player VARCHAR) | how many parts does detroit red wings person urban nordin play | SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin" |
CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR) | What is the website of the school affiliated with the Church of England? | SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England" |
CREATE TABLE table_2562572_20 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) | Name the number of population for врбас | SELECT COUNT(population__2011_) FROM table_2562572_20 WHERE cyrillic_name_other_names = "Врбас" |
CREATE TABLE table_28511558_2 (original_air_date__us_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) | What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.? | SELECT original_air_date__us_ FROM table_28511558_2 WHERE directed_by = "Victor Cook" AND written_by = "Brat Jennett" |
CREATE TABLE table_2562572_20 (cyrillic_name_other_names VARCHAR, settlement VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR) | Name the cyrillic name for orthodox christianity village and bačko dobro polje | SELECT cyrillic_name_other_names FROM table_2562572_20 WHERE dominant_religion__2002_ = "Orthodox Christianity" AND type = "village" AND settlement = "Bačko Dobro Polje" |
CREATE TABLE table_28538368_2 (mountains_classification VARCHAR, winner VARCHAR, general_classification VARCHAR, points_classification VARCHAR) | When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification? | SELECT mountains_classification FROM table_28538368_2 WHERE general_classification = "Alberto Contador Kanstantsin Sivtsov" AND points_classification = "Alessandro Petacchi" AND winner = "Mark Cavendish" |
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR) | What is the name of the young rider classification when Paolo Tiralongo won? | SELECT young_rider_classification FROM table_28538368_2 WHERE winner = "Paolo Tiralongo" |
CREATE TABLE table_2562572_5 (population__1991_ VARCHAR, population__2011_ VARCHAR) | Name the total number of population for 1991 for 9564 for 2011 | SELECT COUNT(population__1991_) FROM table_2562572_5 WHERE population__2011_ = 9564 |
CREATE TABLE table_28562675_3 (austria VARCHAR, netherlands VARCHAR, belgium VARCHAR) | What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Waterloo LL Brussels? | SELECT austria FROM table_28562675_3 WHERE netherlands = "Brunssum/Schinnen LL Brunssum" AND belgium = "SHAPE and Waterloo LL Brussels" |
CREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR) | What digital channel corresponds to virtual channel 23.2? | SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "23.2" |
CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR) | what is the pick when the school is jasper hs (jasper, texas)? | SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)" |
CREATE TABLE table_256286_63 (no_votes VARCHAR, description VARCHAR) | How many no votes were there in the partial public funding of election campaigns legislation? | SELECT no_votes FROM table_256286_63 WHERE description = "Partial public funding of election campaigns" |
CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR) | How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4? | SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology" |
CREATE TABLE table_28611413_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR) | How many seasons had 16.15 million viewers? | SELECT COUNT(no_in_series) FROM table_28611413_2 WHERE viewers__millions_ = "16.15" |
CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR) | Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%? | SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.5%" |
CREATE TABLE table_name_54 (opponent VARCHAR, res VARCHAR, event VARCHAR) | Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event? | SELECT opponent FROM table_name_54 WHERE res = "loss" AND event = "gladiator challenge 87: collision course" |
CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR) | For the Cage Combat Fighting Championships: Mayhem, what was the record? | SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem" |
CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR) | Who is the chef at Lakes Bar and Grill? | SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill" |
CREATE TABLE table_2865020_5 (points INTEGER, average VARCHAR) | What is the minimum number of points for teams averaging 1.412? | SELECT MIN(points) FROM table_2865020_5 WHERE average = "1.412" |
CREATE TABLE table_2866456_1 (us_viewers__million_ VARCHAR, _number VARCHAR) | How many u.s. viewers (million) have 6 as the #? | SELECT us_viewers__million_ FROM table_2866456_1 WHERE _number = 6 |
CREATE TABLE table_25703_2 (birth_2012 VARCHAR, january_december_2012 VARCHAR) | What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast? | SELECT COUNT(birth_2012) FROM table_25703_2 WHERE january_december_2012 = "Kurgan Oblast" |
CREATE TABLE table_25703_2 (birth_2012 INTEGER, death_2012 VARCHAR) | What were the total 2012 births when the 2012 deaths were 163? | SELECT MIN(birth_2012) FROM table_25703_2 WHERE death_2012 = 163 |
CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR) | What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB? | SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus" |
CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR) | What is the Time of the Player with a Rank of 1 or 2 and Notes of FA? | SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2 |
CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR) | What is the largest amount of ends won when stolen ends were 3? | SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3 |
CREATE TABLE table_25735_1 (teams INTEGER, winner VARCHAR) | What was the number of teams in the competition that wynnum manly seagulls won? | SELECT MIN(teams) FROM table_25735_1 WHERE winner = "Wynnum Manly Seagulls" |
CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) | What is the total number of electorates in 2009 with a constituency of 193? | SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193" |
CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR) | how many times is the fa cup apps more than 0, the position mf and the league goals 4? | SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4 |
CREATE TABLE table_28697228_4 (rushing_yards INTEGER, opponent VARCHAR, player VARCHAR) | What is the number of rushing yards when the opponentis Indiana and the player is Denard Robinson? | SELECT MAX(rushing_yards) FROM table_28697228_4 WHERE opponent = "Indiana" AND player = "Denard Robinson" |
CREATE TABLE table_25773915_11 (int INTEGER, player VARCHAR) | If the player is Maake Kemoeatu, what is the int maximum? | SELECT MAX(int) FROM table_25773915_11 WHERE player = "Maake Kemoeatu" |
CREATE TABLE table_28697228_4 (rushing_yards VARCHAR, passing_yards VARCHAR) | How many rushing yards are listed when the passing yards are 244? | SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244 |
CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR) | What title has lt as the series, ben hardaway as the director, with 6612 as the production num.? | SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612" |
CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR) | What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46? | SELECT eliminated FROM table_28742659_2 WHERE finish = "15th voted Out 9th Jury Member Day 46" |
CREATE TABLE table_20424014_1 (mccain__percentage VARCHAR, obama__percentage VARCHAR) | what is the mccain % where obama got 19.3% | SELECT mccain__percentage FROM table_20424014_1 WHERE obama__percentage = "19.3%" |
CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR) | How much Enrollment has a School of fort wayne homestead? | SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead" |
CREATE TABLE table_25987797_1 (location VARCHAR, school VARCHAR) | What is the name of the school in Lucas ? | SELECT location FROM table_25987797_1 WHERE school = "Lucas" |
CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR) | when number of selection is 2 and first team is 1 who are all the player | SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2 |
CREATE TABLE table_26130295_3 (final_four_mvp INTEGER, first_team VARCHAR) | what would be final four mvp maximum when first team is 1 | SELECT MAX(final_four_mvp) FROM table_26130295_3 WHERE first_team = 1 |
CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR) | What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2? | SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2" |
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR) | In the North Central region, what are the regional page #'s? | SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central" |
CREATE TABLE table_287659_2 (region_name VARCHAR, regional_page__number VARCHAR) | Which region has a regional page # of 1-3, 5-7, 9-11, 13-15? | SELECT region_name FROM table_287659_2 WHERE regional_page__number = "1-3, 5-7, 9-11, 13-15" |
CREATE TABLE table_26129220_2 (party VARCHAR, senator VARCHAR) | What is the party affiliation for senator mark Wagoner? | SELECT party FROM table_26129220_2 WHERE senator = "Mark Wagoner" |
CREATE TABLE table_26131768_4 (representative VARCHAR, residence VARCHAR) | If the residence is Chagrin falls, who is the representative? | SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls" |
CREATE TABLE table_26131768_4 (term_limited INTEGER, first_elected VARCHAR) | If first elected on 2003 (appt.), when was the term limited? | SELECT MIN(term_limited) FROM table_26131768_4 WHERE first_elected = "2003 (Appt.)" |
CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR) | How many times was Scott Oelslager a representative? | SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager" |
CREATE TABLE table_2879165_1 (ioc_code VARCHAR, country VARCHAR) | What is the ioc code when the country is listed as Singapore? | SELECT ioc_code FROM table_2879165_1 WHERE country = "Singapore" |
CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR) | How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841? | SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendance = "KeyArena 16,841" |
CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR) | Name the least number in season for brad markowitz, william n. fordes & rené balcer | SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & René Balcer" |
CREATE TABLE table_28794440_1 (station_type VARCHAR, location VARCHAR) | What types of stations are located in Cebu? | SELECT station_type FROM table_28794440_1 WHERE location = "Cebu" |
CREATE TABLE table_261927_2 (football_conference VARCHAR, location VARCHAR) | What is the football conference for Henniker, New Hampshire>? | SELECT football_conference FROM table_261927_2 WHERE location = "Henniker, New Hampshire" |
CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR) | What venue did the game on september 5, 1998 take place at? | SELECT venue FROM table_name_71 WHERE date = "september 5, 1998" |
CREATE TABLE table_26202812_7 (no VARCHAR, score_in_the_final VARCHAR) | Which match was the final score 7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)? | SELECT no FROM table_26202812_7 WHERE score_in_the_final = "7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)" |
CREATE TABLE table_28793672_1 (golden_tickets VARCHAR, callback_venue VARCHAR) | How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta? | SELECT COUNT(golden_tickets) FROM table_28793672_1 WHERE callback_venue = "RCTI Studio, Jakarta" |
CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) | What event type had BODY CMAS in 1980 and underwater hockey? | SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey" |
CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) | What body is at the World Championship for Underwater Target shooting? | SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting" |
CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR) | What is the theme for Audition week? | SELECT theme FROM table_26250176_1 WHERE week__number = "Audition" |
CREATE TABLE table_28846752_9 (player VARCHAR, economy VARCHAR) | Who is the player when the economy is 6.14? | SELECT player FROM table_28846752_9 WHERE economy = "6.14" |
CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR) | Name the highest Parallel Bars of the united states with a Vault smaller than 63.85? | SELECT MAX(parallel_bars) FROM table_name_61 WHERE country = "united states" AND vault < 63.85 |
CREATE TABLE table_28853064_15 (stage VARCHAR, winner VARCHAR, team_classification VARCHAR, mountains_classification VARCHAR) | In what stage did Jaime Vergara won, Team Classification was given to EPM-Une and Mountain Classification winner was Oscar Solis? | SELECT stage FROM table_28853064_15 WHERE team_classification = "EPM-UNE" AND mountains_classification = "Oscar Solis" AND winner = "Jaime Vergara" |
CREATE TABLE table_28859177_2 (directed_by VARCHAR, original_air_date VARCHAR) | Who directed the episode that aired November 21, 2003? | SELECT directed_by FROM table_28859177_2 WHERE original_air_date = "November 21, 2003" |
CREATE TABLE table_name_9 (goals VARCHAR, years_at_club VARCHAR, debut_year VARCHAR) | How many Goals have Years at club of 1961–1966, and a Debut year larger than 1961? | SELECT COUNT(goals) FROM table_name_9 WHERE years_at_club = "1961–1966" AND debut_year > 1961 |
CREATE TABLE table_2889300_6 (drumset_name VARCHAR, drumstand__oftenoptional_ VARCHAR, tom_tom_pads VARCHAR) | how many drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are | SELECT COUNT(drumset_name) FROM table_2889300_6 WHERE drumstand__oftenoptional_ = "HD-1/3Stand" AND tom_tom_pads = "3xCloth-Head" |
CREATE TABLE table_2639433_4 (market_share__target_group_14_49_ VARCHAR, viewers__in_millions_target_group_14_49_ VARCHAR) | How many times was the viewer target group 0.63? | SELECT COUNT(market_share__target_group_14_49_) FROM table_2639433_4 WHERE viewers__in_millions_target_group_14_49_ = "0.63" |
CREATE TABLE table_name_82 (receptions VARCHAR, avg_g VARCHAR) | How many times is avg/g 2? | SELECT COUNT(receptions) FROM table_name_82 WHERE avg_g = 2 |
CREATE TABLE table_28925058_1 (date VARCHAR, grand_prix VARCHAR, race_winner VARCHAR) | How many dates did Daniel Ruiz win the Spanish Grand Prix? | SELECT COUNT(date) FROM table_28925058_1 WHERE grand_prix = "Spanish grand_prix" AND race_winner = "Daniel Ruiz" |
CREATE TABLE table_26427332_17 (place VARCHAR, contestant VARCHAR) | How many entries are in the ranking for jacqueline kohl? | SELECT COUNT(place) FROM table_26427332_17 WHERE contestant = "Jacqueline Kohl" |
CREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) | Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama? | SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = "modern drama" |
CREATE TABLE table_26429658_1 (written_by VARCHAR, directed_by VARCHAR) | How many episodes were directed by Arlene Sanford? | SELECT COUNT(written_by) FROM table_26429658_1 WHERE directed_by = "Arlene Sanford" |
CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR) | who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos? | SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = "jonathan loh, peterson poon, nathan santos" |
CREATE TABLE table_2897457_3 (college_junior_club_team VARCHAR, pick__number VARCHAR, position VARCHAR, nationality VARCHAR) | Which college/junior/team has defence as the position with canada as the nationality and the pick # is less than 61.0? | SELECT college_junior_club_team FROM table_2897457_3 WHERE position = "Defence" AND nationality = "Canada" AND pick__number < 61.0 |
CREATE TABLE table_name_81 (l_100km_combined INTEGER, mpg_uk_extra_urban VARCHAR, l_100km_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR) | What's the average L/km combines when the L/100km Urban is 13.9, the mpg-UK combined is more than 28.5 and the mpg-UK extra urban is less than 38.7? | SELECT AVG(l_100km_combined) FROM table_name_81 WHERE l_100km_urban__cold_ = 13.9 AND mpg_uk_combined > 28.5 AND mpg_uk_extra_urban < 38.7 |
CREATE TABLE table_name_42 (mpg_uk_combined INTEGER, l_100km_urban__cold_ VARCHAR, mpg_uk_urban__cold_ VARCHAR, l_100km_extra_urban VARCHAR) | What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1? | SELECT MIN(mpg_uk_combined) FROM table_name_42 WHERE mpg_uk_urban__cold_ = 25.4 AND l_100km_extra_urban < 6.9 AND l_100km_urban__cold_ > 11.1 |
CREATE TABLE table_name_20 (co_2_g_km VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, fuel_type VARCHAR, manufacturer VARCHAR) | What's the CO2 g/km of a Fiat running on diesel with the L/100km urban more than 6.3 and an mpg-UK combined of 43.5? | SELECT COUNT(co_2_g_km) FROM table_name_20 WHERE fuel_type = "diesel" AND manufacturer = "fiat" AND l_100km_urban__cold_ > 6.3 AND mpg_uk_combined = 43.5 |
CREATE TABLE table_name_52 (l_100km_extra_urban VARCHAR, mpg_us_combined VARCHAR, fuel_type VARCHAR, mpg_uk_combined VARCHAR, l_100km_combined VARCHAR) | What's the total L/100km extra urban fueled by diesel, when the mpg-UK combines is more than 19.2, mpg-US is less than 50 and the L/100m combined is less than 5.7? | SELECT COUNT(l_100km_extra_urban) FROM table_name_52 WHERE mpg_uk_combined > 19.2 AND l_100km_combined < 5.7 AND fuel_type = "diesel" AND mpg_us_combined < 50 |
CREATE TABLE table_name_53 (engine_capacity INTEGER, mpg_us_urban VARCHAR, mpg_uk_urban__cold_ VARCHAR, mpg_uk_extra_urban VARCHAR) | What's the engine capacity when the mpg-UK urban is less than 12.2, the mpg-UK extra urban is less than 18.8 and the mpg-US turban is less than 7.2? | SELECT SUM(engine_capacity) FROM table_name_53 WHERE mpg_uk_urban__cold_ < 12.2 AND mpg_uk_extra_urban < 18.8 AND mpg_us_urban < 7.2 |
CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR) | What pick number was the Boston Bruins selection for defence? | SELECT pick__number FROM table_2897457_8 WHERE position = "Defence" AND nhl_team = "Boston Bruins" |
CREATE TABLE table_2897457_4 (player VARCHAR, position VARCHAR, nhl_team VARCHAR) | Which player is the centre for the Detroit Red Wings? | SELECT player FROM table_2897457_4 WHERE position = "Centre" AND nhl_team = "Detroit Red Wings" |
CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR) | How many first elected years are provided for Thomas P. Moore? | SELECT COUNT(first_elected) FROM table_2668243_8 WHERE incumbent = "Thomas P. Moore" |
CREATE TABLE table_name_44 (goals_for VARCHAR, lost VARCHAR) | What are the goals for a lost of Involuntary suspension of Season (hurricane Rita)? | SELECT goals_for FROM table_name_44 WHERE lost = "involuntary suspension of season (hurricane rita)" |
CREATE TABLE table_2668264_22 (first_elected VARCHAR, incumbent VARCHAR) | What was the first elected year that featured incumbent andrew r. govan? | SELECT first_elected FROM table_2668264_22 WHERE incumbent = "Andrew R. Govan" |
CREATE TABLE table_name_38 (location VARCHAR, silver VARCHAR, gold VARCHAR) | What location did david mccann receive a siver and morgan fox win the gold? | SELECT location FROM table_name_38 WHERE silver = "david mccann" AND gold = "morgan fox" |
CREATE TABLE table_2668336_17 (result VARCHAR, candidates VARCHAR) | Candiates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% had what result? | SELECT result FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.