question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust? | CREATE TABLE table_name_30 (home VARCHAR, date VARCHAR, geust VARCHAR) | SELECT home FROM table_name_30 WHERE date = "21.10.07" AND geust = "bsc young boys (asl)" |
Name the most wickets for best is 4/22 | CREATE TABLE table_17900317_5 (wickets INTEGER, best VARCHAR) | SELECT MAX(wickets) FROM table_17900317_5 WHERE best = "4/22" |
When was Southern Vermont College founded? | CREATE TABLE table_2076595_1 (founded INTEGER, school VARCHAR) | SELECT MAX(founded) FROM table_2076595_1 WHERE school = "Southern Vermont College" |
What is the name and country of origin of the artist who released a song that has "love" in its title? | CREATE TABLE song (artist_name VARCHAR, song_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR) | SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.song_name LIKE "%love%" |
Name the project which has a missle of agni-iii | CREATE TABLE table_name_92 (project VARCHAR, missile VARCHAR) | SELECT project FROM table_name_92 WHERE missile = "agni-iii" |
What was the total attendance for the 3:1 game? | CREATE TABLE table_name_79 (attendance INTEGER, score VARCHAR) | SELECT SUM(attendance) FROM table_name_79 WHERE score = "3:1" |
Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)? | CREATE TABLE table_1139835_9 (runner_up VARCHAR, score VARCHAR) | SELECT runner_up FROM table_1139835_9 WHERE score = "9.12 (66) – 5.6 (36)" |
Which unite had the type wwer-440/213? | CREATE TABLE table_name_31 (unit VARCHAR, type VARCHAR) | SELECT unit FROM table_name_31 WHERE type = "wwer-440/213" |
What's the Hangul/Japanese that happened before 2014 having a role of Baek Seung-Jo? | CREATE TABLE table_name_55 (hangul___japanese VARCHAR, year VARCHAR, role VARCHAR) | SELECT hangul___japanese FROM table_name_55 WHERE year < 2014 AND role = "baek seung-jo" |
What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT? | CREATE TABLE table_name_81 (digital_psip INTEGER, call_sign VARCHAR, broadcast_channel VARCHAR) | SELECT MIN(digital_psip) FROM table_name_81 WHERE call_sign = "cftu-dt" AND broadcast_channel > 29 |
Who was the visiting team on May 7? | CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_55 WHERE date = "may 7" |
Which artist does the album "Balls to the Wall" belong to? | CREATE TABLE ALBUM (ArtistId VARCHAR, Title VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR) | SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall" |
How much is the average score for New York state? | CREATE TABLE table_12338595_1 (average VARCHAR, state VARCHAR) | SELECT average FROM table_12338595_1 WHERE state = "New York" |
Which Club has a Founded smaller than 1882, and a League of fa premier league? | CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR) | SELECT club FROM table_name_76 WHERE founded < 1882 AND league = "fa premier league" |
What city is the School, Highland, in that ranks less than 8 and had its first title before 1980 and its last title later than 1960? | CREATE TABLE table_name_55 (city VARCHAR, school VARCHAR, last VARCHAR, rank VARCHAR, first VARCHAR) | SELECT city FROM table_name_55 WHERE rank < 8 AND first < 1980 AND last > 1960 AND school = "highland" |
Which integrated has an allied-related of some shared? | CREATE TABLE table_name_40 (integrated VARCHAR, allied_related VARCHAR) | SELECT integrated FROM table_name_40 WHERE allied_related = "some shared" |
Who went to Geelong to play? | CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_61 WHERE home_team = "geelong" |
What is the region for the album with a catalog number of 7567-83061-2? | CREATE TABLE table_name_60 (region VARCHAR, catalog__number VARCHAR) | SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-2" |
What score did Jack Nicklaus have when he placed t6? | CREATE TABLE table_name_92 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_92 WHERE place = "t6" AND player = "jack nicklaus" |
Which director is from Italy? | CREATE TABLE table_name_41 (director VARCHAR, country VARCHAR) | SELECT director FROM table_name_41 WHERE country = "italy" |
Which Game has Points of 53, and an Opponent of @ minnesota north stars, and a December larger than 30? | CREATE TABLE table_name_6 (game INTEGER, december VARCHAR, points VARCHAR, opponent VARCHAR) | SELECT AVG(game) FROM table_name_6 WHERE points = 53 AND opponent = "@ minnesota north stars" AND december > 30 |
How many wins for team nsu and over 2 points? | CREATE TABLE table_name_54 (wins INTEGER, team VARCHAR, points VARCHAR) | SELECT AVG(wins) FROM table_name_54 WHERE team = "nsu" AND points > 2 |
What is the Nielsen ranking for Season 8? | CREATE TABLE table_name_99 (nielsen_ranking VARCHAR, season VARCHAR) | SELECT nielsen_ranking FROM table_name_99 WHERE season = "season 8" |
what is the max fs where the status is status and the method is method? | CREATE TABLE table_17157367_1 (max_fs VARCHAR) | SELECT max_fs FROM table_17157367_1 WHERE "status" = "status" AND "method" = "method" |
What is the oldest model Porsche v12 that has points less than or equal to 0. | CREATE TABLE table_name_98 (year INTEGER, engine VARCHAR, pts VARCHAR) | SELECT MIN(year) FROM table_name_98 WHERE engine = "porsche v12" AND pts < 0 |
Which opponent has a record of 52-52? | CREATE TABLE table_name_63 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_63 WHERE record = "52-52" |
What is the Margin of victory on 27 feb 2011? | CREATE TABLE table_name_43 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_name_43 WHERE date = "27 feb 2011" |
Of the series that first aired April 8, 2011, what is the total number of episodes? | CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR) | SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011" |
What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws? | CREATE TABLE table_name_29 (against INTEGER, draws VARCHAR, wins VARCHAR, club VARCHAR) | SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" AND draws < 0 |
What is the number of Gold medals for the Nation with a Total of 5 and Rank larger than 1? | CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, rank VARCHAR) | SELECT MIN(gold) FROM table_name_81 WHERE total = 5 AND rank > 1 |
What was the total attendance on 10/05/1974? | CREATE TABLE table_name_10 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_10 WHERE date = "10/05/1974" |
What is the RCM that has a density of 9.7? | CREATE TABLE table_214920_1 (regional_county_municipality__rcm_ VARCHAR, density__pop_per_km2_ VARCHAR) | SELECT regional_county_municipality__rcm_ FROM table_214920_1 WHERE density__pop_per_km2_ = "9.7" |
Which January has an Opponent of @ detroit red wings? | CREATE TABLE table_name_74 (january INTEGER, opponent VARCHAR) | SELECT AVG(january) FROM table_name_74 WHERE opponent = "@ detroit red wings" |
Show details of all visitors. | CREATE TABLE VISITORS (Tourist_Details VARCHAR) | SELECT Tourist_Details FROM VISITORS |
WHAT IS THE FRANCE WITH PEOPLE UNDER 18 OF SUB-SAHARAN AFRICA? | CREATE TABLE table_name_37 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR) | SELECT france FROM table_name_37 WHERE _percentage_people_under_18__2005_ = "sub-saharan africa" |
WHICH Outcome IS ON 18 july 1993? | CREATE TABLE table_name_70 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_70 WHERE date = "18 july 1993" |
How many goals did the player score who had 33 assists in 85 games? | CREATE TABLE table_name_84 (goals VARCHAR, assists VARCHAR, games VARCHAR) | SELECT goals FROM table_name_84 WHERE assists = "33" AND games = "85" |
In the race with a winning time of 4:17:18, how many laps were run? | CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR) | SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18" |
Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record? | CREATE TABLE table_name_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR) | SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34–14" |
When total goals is 11 what was the league apps (sub)? | CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR) | SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11 |
What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze? | CREATE TABLE table_name_3 (rank INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10 |
How many games for the player that has an over 2.7 assist average and over 598 total assists? | CREATE TABLE table_name_91 (games VARCHAR, ast_avg VARCHAR, total_assists VARCHAR) | SELECT COUNT(games) FROM table_name_91 WHERE ast_avg > 2.7 AND total_assists > 598 |
What is the team 1 with tikveš as team 2? | CREATE TABLE table_name_92 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš" |
Which format has a Station of klok? | CREATE TABLE table_name_28 (format VARCHAR, station VARCHAR) | SELECT format FROM table_name_28 WHERE station = "klok" |
What is the Equipment that has a Point bigger than 256, and a Position of 3? | CREATE TABLE table_name_46 (equipment VARCHAR, points VARCHAR, position VARCHAR) | SELECT equipment FROM table_name_46 WHERE points > 256 AND position = 3 |
What IHSAA football class do the Generals play in? | CREATE TABLE table_name_24 (ihsaa_class__football_ VARCHAR, mascot VARCHAR) | SELECT ihsaa_class__football_ FROM table_name_24 WHERE mascot = "generals" |
What was the weight of the jockey at Sandown Park? | CREATE TABLE table_24850630_4 (weight VARCHAR, venue VARCHAR) | SELECT weight FROM table_24850630_4 WHERE venue = "Sandown Park" |
What nominated work has seattle international film festival as the award? | CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR) | SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival" |
What was the model for PRR class of gf28a freight? | CREATE TABLE table_name_61 (builder’s_model VARCHAR, service VARCHAR, prr_class VARCHAR) | SELECT builder’s_model FROM table_name_61 WHERE service = "freight" AND prr_class = "gf28a" |
What league were they in in 2009? | CREATE TABLE table_15056103_1 (league VARCHAR, year VARCHAR) | SELECT league FROM table_15056103_1 WHERE year = 2009 |
What is the Club, when the value for Lost is 9, and when the value for Tries is 55? | CREATE TABLE table_name_8 (club VARCHAR, lost VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_8 WHERE lost = "9" AND tries_for = "55" |
What is the average Goals For for a team that has more Wins than 8? | CREATE TABLE table_name_94 (goals_for INTEGER, wins INTEGER) | SELECT AVG(goals_for) FROM table_name_94 WHERE wins > 8 |
What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin? | CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR) | SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin" |
Show the booking status code and the corresponding number of bookings. | CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR) | SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code |
What was Chris Hanburger's position? | CREATE TABLE table_name_93 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_93 WHERE name = "chris hanburger" |
Who is the championship for the year of 1993? | CREATE TABLE table_22834834_2 (championship VARCHAR, year VARCHAR) | SELECT championship FROM table_22834834_2 WHERE year = 1993 |
Which Home captain has a Venue of melbourne cricket ground? | CREATE TABLE table_name_53 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_53 WHERE venue = "melbourne cricket ground" |
Name the number air date for 14.20 us viewers | CREATE TABLE table_16617011_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(original_air_date) FROM table_16617011_1 WHERE us_viewers__millions_ = "14.20" |
What is the average wins when teams is lions and the percent is more than 0? | CREATE TABLE table_name_31 (wins INTEGER, teams VARCHAR, percent VARCHAR) | SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 0 |
What was the record after the game before Jan 7? | CREATE TABLE table_name_1 (record VARCHAR, january INTEGER) | SELECT record FROM table_name_1 WHERE january < 7 |
What is sun yang's lowest rank? | CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR) | SELECT MIN(rank) FROM table_name_20 WHERE name = "sun yang" |
For edition is 2011 europe/africa group iiib and surface where score is 6–4, 6–1 please specify all the surface | CREATE TABLE table_27877656_7 (surface VARCHAR, score VARCHAR, edition VARCHAR) | SELECT surface FROM table_27877656_7 WHERE score = "6–4, 6–1" AND edition = "2011 Europe/Africa Group IIIB" |
where was the location that had game 19? | CREATE TABLE table_27756314_7 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_27756314_7 WHERE game = 19 |
Who wrote the episode that had 5.93 million viewers? | CREATE TABLE table_27846651_1 (writer VARCHAR, viewers__millions_ VARCHAR) | SELECT writer FROM table_27846651_1 WHERE viewers__millions_ = "5.93" |
Which event has notes of women +60kg quarterfinal? | CREATE TABLE table_name_43 (event VARCHAR, notes VARCHAR) | SELECT event FROM table_name_43 WHERE notes = "women +60kg quarterfinal" |
Which Years in Orlando has a School/Club Team of kentucky? | CREATE TABLE table_name_96 (years_in_orlando VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_name_96 WHERE school_club_team = "kentucky" |
what is 2012 when the tournament is win %? | CREATE TABLE table_name_9 (tournament VARCHAR) | SELECT 2012 FROM table_name_9 WHERE tournament = "win %" |
When circuit ricardo tormo is the circuit who is the winning team? | CREATE TABLE table_21191496_1 (winning_team VARCHAR, circuit VARCHAR) | SELECT winning_team FROM table_21191496_1 WHERE circuit = "circuit Ricardo Tormo" |
List the names and buildings of all departments sorted by the budget from large to small. | CREATE TABLE department (dept_name VARCHAR, building VARCHAR, budget VARCHAR) | SELECT dept_name, building FROM department ORDER BY budget DESC |
Name the least number for production code for 3abc21 | CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR) | SELECT MIN(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC21" |
What record has @ ottawa senators as the opponent? | CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators" |
On what date was Patty Fendick an opponent? | CREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_95 WHERE opponent = "patty fendick" |
Which nationality does Florida Tech have? | CREATE TABLE table_name_1 (nationality VARCHAR, school VARCHAR) | SELECT nationality FROM table_name_1 WHERE school = "florida tech" |
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? | 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) | 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 |
Which competition had a result of 1-0? | CREATE TABLE table_name_44 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_44 WHERE result = "1-0" |
What is the winners name at the western open? | CREATE TABLE table_name_23 (winner VARCHAR, tournament VARCHAR) | SELECT winner FROM table_name_23 WHERE tournament = "western open" |
What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal? | CREATE TABLE table_name_49 (gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_49 WHERE bronze = 1 AND total < 1 |
What is the total number of Points with Wins larger than 0, a Position of 12th, and Poles larger than 0? | CREATE TABLE table_name_67 (points INTEGER, poles VARCHAR, wins VARCHAR, position VARCHAR) | SELECT SUM(points) FROM table_name_67 WHERE wins > 0 AND position = "12th" AND poles > 0 |
What is the lowest 2013 population estimate of the province with a 23.7 percentage? | CREATE TABLE table_name_57 (population_estimate__2013_ INTEGER, percentage VARCHAR) | SELECT MIN(population_estimate__2013_) FROM table_name_57 WHERE percentage = 23.7 |
What is the minimum gross tonnage of the Munich? | CREATE TABLE table_11662133_1 (gross_tonnage INTEGER, ships_name VARCHAR) | SELECT MIN(gross_tonnage) FROM table_11662133_1 WHERE ships_name = "Munich" |
Name the most three pointers for dewanna bonner | CREATE TABLE table_23183195_5 (three_pointers INTEGER, player VARCHAR) | SELECT MAX(three_pointers) FROM table_23183195_5 WHERE player = "DeWanna Bonner" |
What survey has the Ehsas Jdeed title? | CREATE TABLE table_name_57 (survey VARCHAR, title VARCHAR) | SELECT survey FROM table_name_57 WHERE title = "ehsas jdeed" |
Tell me the visiting team for october 4 | CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_59 WHERE date = "october 4" |
How many employees have certificate. | CREATE TABLE Certificate (eid VARCHAR) | SELECT COUNT(DISTINCT eid) FROM Certificate |
Tell me the nationality of pick of 153 | CREATE TABLE table_name_85 (nationality VARCHAR, pick VARCHAR) | SELECT nationality FROM table_name_85 WHERE pick = "153" |
Which player played on 07/06/1997? | CREATE TABLE table_name_41 (player VARCHAR, date VARCHAR) | SELECT player FROM table_name_41 WHERE date = "07/06/1997" |
what is the italian word for the french word 'mer' | CREATE TABLE table_name_37 (italian VARCHAR, french VARCHAR) | SELECT italian FROM table_name_37 WHERE french = "mer" |
Which fleet numbers has quanitity of 13? | CREATE TABLE table_name_35 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) | SELECT fleet_number_s_ FROM table_name_35 WHERE quantity_made = "13" |
What is the lowest wickets? | CREATE TABLE table_27268238_5 (wickets INTEGER) | SELECT MIN(wickets) FROM table_27268238_5 |
Name the percentage of votes for violinist | CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR) | SELECT percentage_of_votes FROM table_26267849_11 WHERE act = "Violinist" |
how many wins had series formula renault 2.0 nec and the position is 18th? | CREATE TABLE table_26178824_1 (wins VARCHAR, series VARCHAR, position VARCHAR) | SELECT wins FROM table_26178824_1 WHERE series = "Formula Renault 2.0 NEC" AND position = "18th" |
What was the score for 1911? | CREATE TABLE table_name_10 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_10 WHERE year = 1911 |
What is the result of round R3? | CREATE TABLE table_name_34 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_34 WHERE round = "r3" |
List the name of all projects that are operated longer than the average working hours of all projects. | CREATE TABLE projects (name VARCHAR, hours INTEGER) | SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects) |
Who was the producer for the film directed by 1998? | CREATE TABLE table_name_45 (producer VARCHAR, director VARCHAR) | SELECT producer FROM table_name_45 WHERE director = "1998" |
Who directed the episode with a production code of 4WAB04? | CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) | SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04" |
Which player attended school at Georgia Tech? | CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_74 WHERE school_club_team = "georgia tech" |
What is Kerry J. Donley's Party? | CREATE TABLE table_name_48 (party VARCHAR, name VARCHAR) | SELECT party FROM table_name_48 WHERE name = "kerry j. donley" |
How many times did kingfisher east bengal fc win? | CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR) | SELECT MIN(winners) FROM table_12303563_1 WHERE nation = "Kingfisher East Bengal FC" |
Which Player has a To par of –4? | CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_93 WHERE to_par = "–4" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.