question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the first round when team 1 was toulouse fc (d1)? | CREATE TABLE table_name_44 (team_1 VARCHAR) | SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = "toulouse fc (d1)" |
What's the format of the single, I Can't Stay? | CREATE TABLE table_name_6 (format VARCHAR, single VARCHAR) | SELECT format FROM table_name_6 WHERE single = "i can't stay" |
How many clubs were founded in belo horizonte? | CREATE TABLE table_26218124_1 (founded VARCHAR, city VARCHAR) | SELECT COUNT(founded) FROM table_26218124_1 WHERE city = "Belo Horizonte" |
What was the Result on October 27, 2002? | CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_66 WHERE date = "october 27, 2002" |
What is the score in Leicester? | CREATE TABLE table_name_42 (score VARCHAR, city VARCHAR) | SELECT score FROM table_name_42 WHERE city = "leicester" |
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan? | CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR) | SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan" |
Which Total has a Nation of united states, and a Bronze larger than 3? | CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(total) FROM table_name_4 WHERE nation = "united states" AND bronze > 3 |
What was the margin of victory when the winning score was −9 (72-68-64-67=271)? | CREATE TABLE table_name_84 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_84 WHERE winning_score = −9(72 - 68 - 64 - 67 = 271) |
What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'? | CREATE TABLE mountain (name VARCHAR, height VARCHAR, prominence VARCHAR, range VARCHAR) | SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range' |
Name the date of appointment for 26 may 2011 | CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) | SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011" |
Which # 100 has a Season of 1991, and an Against of surrey? | CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR) | SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey" |
What is Date, when Country is "China", and when Perpetrator is "Shi Yuejun , 35"? | CREATE TABLE table_name_59 (date VARCHAR, country VARCHAR, perpetrator VARCHAR) | SELECT date FROM table_name_59 WHERE country = "china" AND perpetrator = "shi yuejun , 35" |
Name the played with lost of 5 | CREATE TABLE table_name_65 (played VARCHAR, lost VARCHAR) | SELECT played FROM table_name_65 WHERE lost = "5" |
Which date has a Opponent of juan mónaco, and a Score of 6–2, 4–6, 7–6 (7–3)? | CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT date FROM table_name_60 WHERE opponent = "juan mónaco" AND score = "6–2, 4–6, 7–6 (7–3)" |
Name th margin of victory when date is 10 jul 2011 | CREATE TABLE table_1590652_4 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_1590652_4 WHERE date = "10 Jul 2011" |
Which game has an order larger than 975, Seasons of 2005 – 2007, and 46 goals? | CREATE TABLE table_name_5 (games VARCHAR, goals VARCHAR, order VARCHAR, seasons VARCHAR) | SELECT games FROM table_name_5 WHERE order > 975 AND seasons = "2005 – 2007" AND goals = 46 |
When hale irwin is the winner what is the margin of victory? | CREATE TABLE table_2417741_1 (margin_of_victory VARCHAR, winner VARCHAR) | SELECT margin_of_victory FROM table_2417741_1 WHERE winner = "Hale Irwin" |
What date did Toumani Diagouraga, who played position MF, start? | CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR) | SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga" |
Name the Best which has a Qual 2 of 58.700? | CREATE TABLE table_name_47 (best VARCHAR, qual_2 VARCHAR) | SELECT best FROM table_name_47 WHERE qual_2 = "58.700" |
What is the ICAO for the airport in Ningbo? | CREATE TABLE table_name_54 (icao VARCHAR, city VARCHAR) | SELECT icao FROM table_name_54 WHERE city = "ningbo" |
What Source has an Attack of 9,77%? | CREATE TABLE table_name_8 (source VARCHAR, attack VARCHAR) | SELECT source FROM table_name_8 WHERE attack = "9,77%" |
Name the D 45 O that has D 46 O of d 26 | CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR) | SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26" |
Who moved from Northampton Town? | CREATE TABLE table_22810095_8 (name VARCHAR, moving_from VARCHAR) | SELECT name FROM table_22810095_8 WHERE moving_from = "northampton Town" |
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET? | CREATE TABLE table_name_31 (yards VARCHAR, sack VARCHAR, p_ko_ret VARCHAR) | SELECT COUNT(yards) FROM table_name_31 WHERE sack = 0 AND p_ko_ret < 14 |
how many bush% with total# being 191269 | CREATE TABLE table_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR) | SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269 |
what is the date when the score is 115-93? | CREATE TABLE table_name_68 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_68 WHERE score = "115-93" |
Where did Richmond play as the home team? | CREATE TABLE table_name_43 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_43 WHERE home_team = "richmond" |
Name the most rank for population more than 93,378 | CREATE TABLE table_name_5 (rank INTEGER, population INTEGER) | SELECT MAX(rank) FROM table_name_5 WHERE population > 93 OFFSET 378 |
What was the highest attendance when the opponent was the Indians and the record was 13-4? | CREATE TABLE table_name_99 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | SELECT MAX(attendance) FROM table_name_99 WHERE opponent = "indians" AND record = "13-4" |
What is the firefox value with a 1.9% safari? | CREATE TABLE table_name_97 (firefox VARCHAR, safari VARCHAR) | SELECT firefox FROM table_name_97 WHERE safari = "1.9%" |
Which Year is the highest one that has a Venue of edmonton, canada? | CREATE TABLE table_name_50 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_50 WHERE venue = "edmonton, canada" |
What is the least number of poins for San Lorenzo? | CREATE TABLE table_18594107_1 (points INTEGER, team VARCHAR) | SELECT MIN(points) FROM table_18594107_1 WHERE team = "San Lorenzo" |
What is the lowest Attendance when the home team was slough town? | CREATE TABLE table_name_62 (attendance INTEGER, home_team VARCHAR) | SELECT MIN(attendance) FROM table_name_62 WHERE home_team = "slough town" |
what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16? | CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR) | SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 16 |
On what date was the ship with a Pennant number of Q144 commissioned? | CREATE TABLE table_name_8 (commissioned VARCHAR, pennant_number VARCHAR) | SELECT commissioned FROM table_name_8 WHERE pennant_number = "q144" |
What is the average gpa of the students enrolled in the course with code ACCT-211? | CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_gpa INTEGER, stu_num VARCHAR) | SELECT AVG(T2.stu_gpa) FROM enroll AS T1 JOIN student AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T1.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' |
How many lbs were lost at the reunion by the contestant whose finale weight was 151.4? | CREATE TABLE table_28654454_5 (lbs_lost_reunion VARCHAR, finale_weight VARCHAR) | SELECT lbs_lost_reunion FROM table_28654454_5 WHERE finale_weight = "151.4" |
Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)? | CREATE TABLE table_24706337_1 (ottoman_sultan VARCHAR, treaty_at_the_end_of_the_war VARCHAR) | SELECT ottoman_sultan FROM table_24706337_1 WHERE treaty_at_the_end_of_the_war = "Treaty of Constantinople (1590)" |
What score has hard (i) as the surface, and Columbus, Ohio as the tournament? | CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio" |
What was the score in the final on 14 august 1994? | CREATE TABLE table_name_36 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_36 WHERE date = "14 august 1994" |
What player has money of (£) 159,500, and france is the country? | CREATE TABLE table_name_99 (player VARCHAR, money___£__ VARCHAR, country VARCHAR) | SELECT player FROM table_name_99 WHERE money___£__ = "159,500" AND country = "france" |
Who is the pitcher from the 1994 season that had the Cleveland Indians as an opponent? | CREATE TABLE table_name_5 (pitcher VARCHAR, opponent VARCHAR, season VARCHAR) | SELECT pitcher FROM table_name_5 WHERE opponent = "cleveland indians" AND season = "1994" |
Which opponent has april 1 as the date? | CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_39 WHERE date = "april 1" |
In Tangier Zone, what is the PCT route availibility? | CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, country VARCHAR) | SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone" |
What is the location for a club of telecom? | CREATE TABLE table_name_61 (location VARCHAR, club VARCHAR) | SELECT location FROM table_name_61 WHERE club = "telecom" |
What was the score of the game for April 16? | CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_62 WHERE date = "april 16" |
When the Away team was south melbourne what was the home team? | CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_52 WHERE away_team = "south melbourne" |
What kind of Japanese has a Region of tōhoku? | CREATE TABLE table_name_71 (japanese VARCHAR, region VARCHAR) | SELECT japanese FROM table_name_71 WHERE region = "tōhoku" |
When the country is Cambodia and the total is smaller than 1 what's the lowest silver? | CREATE TABLE table_name_42 (silver INTEGER, country VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_42 WHERE country = "cambodia" AND total < 1 |
Which pick number had a round of less than 7, an overall of less than 127, and where the name was Robert Alford? | CREATE TABLE table_name_82 (pick__number VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR) | SELECT pick__number FROM table_name_82 WHERE round < 7 AND overall < 127 AND name = "robert alford" |
What is the name of the third who has Barbora Vojtusova as Skip? | CREATE TABLE table_name_47 (third VARCHAR, skip VARCHAR) | SELECT third FROM table_name_47 WHERE skip = "barbora vojtusova" |
In what Region is Catalog number 885 380-1? | CREATE TABLE table_name_63 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_63 WHERE catalog = "885 380-1" |
Which congress was held in 2010? | CREATE TABLE table_name_50 (con__gress VARCHAR, date VARCHAR) | SELECT con__gress FROM table_name_50 WHERE date = "2010" |
Which ride opened after the 2000 Peeking Heights? | CREATE TABLE table_name_32 (type VARCHAR, opened_in VARCHAR, ride_name VARCHAR) | SELECT type FROM table_name_32 WHERE opened_in > 2000 AND ride_name = "peeking heights" |
Which league is for baseball with Laredo Apaches? | CREATE TABLE table_name_31 (league VARCHAR, sport VARCHAR, club VARCHAR) | SELECT league FROM table_name_31 WHERE sport = "baseball" AND club = "laredo apaches" |
What is the Callsign in Brisbane with a Freq currently of 4rph? | CREATE TABLE table_name_52 (callsign VARCHAR, area_served VARCHAR, freq_currently VARCHAR) | SELECT callsign FROM table_name_52 WHERE area_served = "brisbane" AND freq_currently = "4rph" |
Wht did Mark O'Meara place when the to par was +2? | CREATE TABLE table_name_51 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_51 WHERE to_par = "+2" AND player = "mark o'meara" |
Who is the owner of the Raglan Road winner? | CREATE TABLE table_name_43 (owner VARCHAR, winner VARCHAR) | SELECT owner FROM table_name_43 WHERE winner = "raglan road" |
Which Assist/pass has a Result of 6-2? | CREATE TABLE table_name_73 (assist_pass VARCHAR, result VARCHAR) | SELECT assist_pass FROM table_name_73 WHERE result = "6-2" |
What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)? | CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR) | SELECT MIN(margin) FROM table_name_79 WHERE st_kilda_saints = "11.13 (79)" |
Club warrnambool has less than 9 wins and what average of draws? | CREATE TABLE table_name_63 (draws INTEGER, wins VARCHAR, club VARCHAR) | SELECT AVG(draws) FROM table_name_63 WHERE wins < 9 AND club = "warrnambool" |
What players attended missouri? | CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_16494599_3 WHERE school_club_team = "Missouri" |
Which Season has a Level of tier 2 and a Position of 1st? | CREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR) | SELECT COUNT(season) FROM table_name_82 WHERE level = "tier 2" AND position = "1st" |
What is the highest elevation for the highest point of Schnebelhorn? | CREATE TABLE table_name_7 (highest_elevation VARCHAR, highest_point VARCHAR) | SELECT highest_elevation FROM table_name_7 WHERE highest_point = "schnebelhorn" |
What is Country, when Event is Rip Curl Women's Pro? | CREATE TABLE table_name_67 (country VARCHAR, event VARCHAR) | SELECT country FROM table_name_67 WHERE event = "rip curl women's pro" |
What was the margin of victory when Brandt Snedeker was runner-up? | CREATE TABLE table_name_38 (margin_of_victory VARCHAR, runner_up VARCHAR) | SELECT margin_of_victory FROM table_name_38 WHERE runner_up = "brandt snedeker" |
what type of game has the resuts of 1:0? | CREATE TABLE table_name_78 (type_of_game VARCHAR, results¹ VARCHAR) | SELECT type_of_game FROM table_name_78 WHERE results¹ = "1:0" |
What team was the opponent on 1990-10-21? | CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_97 WHERE date = "1990-10-21" |
How many bronzes have west germany as the nation? | CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR) | SELECT SUM(bronze) FROM table_name_51 WHERE nation = "west germany" |
what is the country when the iata is gva? | CREATE TABLE table_name_7 (country VARCHAR, iata VARCHAR) | SELECT country FROM table_name_7 WHERE iata = "gva" |
Name the class with call sign of wmhn | CREATE TABLE table_name_74 (class VARCHAR, call_sign VARCHAR) | SELECT class FROM table_name_74 WHERE call_sign = "wmhn" |
What is the Rank of the Film with a Worldwide Gross of $914,691,118? | CREATE TABLE table_name_42 (rank VARCHAR, worldwide_gross VARCHAR) | SELECT rank FROM table_name_42 WHERE worldwide_gross = "$914,691,118" |
Who was the away team when 6 was the tie no? | CREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_69 WHERE tie_no = "6" |
What political party for burton e. sweet? | CREATE TABLE table_1342451_13 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet" |
HOW MANY POINTS DOES ALEX SPERAFICO HAVE WITH A GRID LARGER THAN 17? | CREATE TABLE table_name_43 (points INTEGER, driver VARCHAR, grid VARCHAR) | SELECT MIN(points) FROM table_name_43 WHERE driver = "alex sperafico" AND grid > 17 |
Who was the director for To Have and Have Not, earlier than 1945 with WB studio? | CREATE TABLE table_name_61 (director VARCHAR, title VARCHAR, studio VARCHAR, year VARCHAR) | SELECT director FROM table_name_61 WHERE studio = "wb" AND year < 1945 AND title = "to have and have not" |
What is the team when player is listed as Ronjay Buenafe? | CREATE TABLE table_28628309_8 (team VARCHAR, player VARCHAR) | SELECT team FROM table_28628309_8 WHERE player = "Ronjay Buenafe" |
What was the Venue of the North Melbourne Away Team? | CREATE TABLE table_name_33 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_33 WHERE away_team = "north melbourne" |
What is the High points with a Date that is january 20? | CREATE TABLE table_name_35 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_35 WHERE date = "january 20" |
Which score has a Home Team of saskatoon accelerators? | CREATE TABLE table_name_61 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_61 WHERE home_team = "saskatoon accelerators" |
When the 8th is Marcos Hernandez who was the 6th? | CREATE TABLE table_17111812_1 (sixth VARCHAR, eighth VARCHAR) | SELECT sixth FROM table_17111812_1 WHERE eighth = "Marcos Hernandez" |
How many students are enrolled in the class taught by some professor from the accounting department? | CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR) | SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting' |
Name the winners of the mens doubles in the season of 1963/64. | CREATE TABLE table_28211988_4 (mens_doubles VARCHAR, season VARCHAR) | SELECT mens_doubles FROM table_28211988_4 WHERE season = "1963/64" |
Tell me the timeslot of calls of wrko | CREATE TABLE table_name_21 (timeslot VARCHAR, calls VARCHAR) | SELECT timeslot FROM table_name_21 WHERE calls = "wrko" |
On the date of June 8 what was the record? | CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_32 WHERE date = "june 8" |
Which months have more than 2 happy hours? | CREATE TABLE happy_hour (MONTH VARCHAR) | SELECT MONTH FROM happy_hour GROUP BY MONTH HAVING COUNT(*) > 2 |
What was the score of the game that had an attendance of 32,036? | CREATE TABLE table_name_87 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_87 WHERE attendance = "32,036" |
How many laps were driven when the time/retired is +44.284? | CREATE TABLE table_name_93 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_93 WHERE time_retired = "+44.284" |
What is the height for shanghai x-1 financial building? | CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR) | SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building" |
Who was the runner-up when the margin was 1 stroke? | CREATE TABLE table_name_1 (runner_s__up VARCHAR, margin VARCHAR) | SELECT runner_s__up FROM table_name_1 WHERE margin = "1 stroke" |
What Player has a Country of west germany? | CREATE TABLE table_name_86 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_86 WHERE country = "west germany" |
Who are the major users from Australia? | CREATE TABLE table_29474407_11 (major_users VARCHAR, country_of_origin VARCHAR) | SELECT major_users FROM table_29474407_11 WHERE country_of_origin = "Australia" |
What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse? | CREATE TABLE table_298883_5 (dimensions VARCHAR, obverse VARCHAR, date_of_issue VARCHAR) | SELECT dimensions FROM table_298883_5 WHERE obverse = "Kim Il-sung" AND date_of_issue = "1992" |
What is the model of the engine d5244 t? | CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) | SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T" |
WHich Places have a score smaller than 69? | CREATE TABLE table_name_12 (place VARCHAR, score INTEGER) | SELECT place FROM table_name_12 WHERE score < 69 |
What is the total for the week in the game against the Chicago Bears | CREATE TABLE table_name_38 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_38 WHERE opponent = "chicago bears" |
What were the results against the game against Egypt? | CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR) | SELECT results¹ FROM table_name_84 WHERE opponent = "egypt" |
What is the lowest total when the Bronze metals are larger than 0 and the nation is France (fra)? | CREATE TABLE table_name_85 (total INTEGER, bronze VARCHAR, nation VARCHAR) | SELECT MIN(total) FROM table_name_85 WHERE bronze > 0 AND nation = "france (fra)" |
When the phillies 1:15 pm played on April 9, what was the attendance? | CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9" |
What is the ISO for South Sudan? | CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR) | SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.