question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is Oxfordshire Area's Ensemble Name? | CREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR) | SELECT ensemble_name FROM table_name_29 WHERE area = "oxfordshire" |
Who wrote the episode having a US viewership of 3.74 million? | CREATE TABLE table_27905664_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_27905664_1 WHERE us_viewers__million_ = "3.74" |
How many editions have a most wins value of Franco Marvulli (4)? | CREATE TABLE table_1840433_2 (number_of_editions VARCHAR, most_wins_by VARCHAR) | SELECT COUNT(number_of_editions) FROM table_1840433_2 WHERE most_wins_by = "Franco Marvulli (4)" |
Which CFL team got pick 34? | CREATE TABLE table_30108930_6 (cfl_team VARCHAR, pick__number VARCHAR) | SELECT cfl_team FROM table_30108930_6 WHERE pick__number = 34 |
Which club was in Position 1 in 1959-1960? | CREATE TABLE table_name_59 (clubs VARCHAR, position_in_1959_1960 VARCHAR) | SELECT clubs FROM table_name_59 WHERE position_in_1959_1960 = "1" |
Who were the opponents that played on a hard surface on July 13, 2008? | CREATE TABLE table_name_85 (opponents VARCHAR, surface VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_85 WHERE surface = "hard" AND date = "july 13, 2008" |
What event had the 1500m freestyle? | CREATE TABLE table_name_4 (meet VARCHAR, event VARCHAR) | SELECT meet FROM table_name_4 WHERE event = "1500m freestyle" |
Who was the visiting team on weeks under 12 and at Sports Authority Field at Mile High? | CREATE TABLE table_name_24 (visiting_team VARCHAR, week VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_24 WHERE week < 12 AND stadium = "sports authority field at mile high" |
How many storms had death records? | CREATE TABLE storm (Number_Deaths INTEGER) | SELECT COUNT(*) FROM storm WHERE Number_Deaths > 0 |
Which memeber has nt as the state? | CREATE TABLE table_name_7 (member VARCHAR, state VARCHAR) | SELECT member FROM table_name_7 WHERE state = "nt" |
The player is Tim Regan and the pick # is position of d, what's the sum? | CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR) | SELECT SUM(pick__number) FROM table_name_37 WHERE position = "d" AND player = "tim regan" |
In which special stage named Tempo 2 was Sébastien Loeb the leader? | CREATE TABLE table_21326205_2 (stage VARCHAR, rally_leader VARCHAR, name VARCHAR) | SELECT stage FROM table_21326205_2 WHERE rally_leader = "Sébastien Loeb" AND name = "Tempo 2" |
What accreditation does Hollins University have? | CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR) | SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University" |
What is the average Heat for anjelika solovieva? | CREATE TABLE table_name_38 (heat INTEGER, name VARCHAR) | SELECT AVG(heat) FROM table_name_38 WHERE name = "anjelika solovieva" |
Name the least amount of tackles for danny clark | CREATE TABLE table_15581223_8 (tackles INTEGER, player VARCHAR) | SELECT MIN(tackles) FROM table_15581223_8 WHERE player = "Danny Clark" |
What is the social democrat released on October 10, 1999? | CREATE TABLE table_name_94 (social_democratic VARCHAR, date_released VARCHAR) | SELECT social_democratic FROM table_name_94 WHERE date_released = "october 10, 1999" |
Which Pos has a Team of roush fenway racing, and a Car # of 99? | CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR) | SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 |
How many dates do the dolphins have 6 points? | CREATE TABLE table_18847736_2 (date VARCHAR, dolphins_points VARCHAR) | SELECT date FROM table_18847736_2 WHERE dolphins_points = 6 |
What is the number played by the team in place greater than 16? | CREATE TABLE table_name_43 (played INTEGER, position INTEGER) | SELECT AVG(played) FROM table_name_43 WHERE position > 16 |
What is the rating/share for 18-49 for Week 6, Part 1? | CREATE TABLE table_25391981_20 (rating VARCHAR, episode VARCHAR) | SELECT rating / SHARE(18 AS –49) FROM table_25391981_20 WHERE episode = "Week 6, Part 1" |
Who was the candidate when the incumbent was Richard C. White? | CREATE TABLE table_1341843_44 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341843_44 WHERE incumbent = "Richard C. White" |
When was Lachlan Dale born? | CREATE TABLE table_name_47 (dob VARCHAR, surname VARCHAR, first VARCHAR) | SELECT dob FROM table_name_47 WHERE surname = "dale" AND first = "lachlan" |
Which Against is the highest one that has a Difference of 12? | CREATE TABLE table_name_14 (against INTEGER, difference VARCHAR) | SELECT MAX(against) FROM table_name_14 WHERE difference = "12" |
What is the location of the institution nicknamed Lions? | CREATE TABLE table_2562113_1 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_2562113_1 WHERE nickname = "Lions" |
What is the number for years 1985-88 | CREATE TABLE table_11545282_18 (no INTEGER, years_for_jazz VARCHAR) | SELECT MIN(no) FROM table_11545282_18 WHERE years_for_jazz = "1985-88" |
What is the average age of all artists? | CREATE TABLE artist (Age INTEGER) | SELECT AVG(Age) FROM artist |
What T20 Match has a total of 23? | CREATE TABLE table_name_18 (t20_matches VARCHAR, total VARCHAR) | SELECT t20_matches FROM table_name_18 WHERE total = "23" |
Who was the opponent at the game attended by 62,657? | CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_34 WHERE attendance = "62,657" |
What class is the verb wich its part 3 is heldu | CREATE TABLE table_1745843_10 (class VARCHAR, part_3 VARCHAR) | SELECT class FROM table_1745843_10 WHERE part_3 = "heldu" |
How many models does each car maker produce? List maker full name, id and the number. | CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR) | SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id |
When has a Record of 1–0? | CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_52 WHERE record = "1–0" |
what is the lowest overall when the pick is 20? | CREATE TABLE table_name_50 (overall INTEGER, pick VARCHAR) | SELECT MIN(overall) FROM table_name_50 WHERE pick = 20 |
Which player finished at +4? | CREATE TABLE table_name_31 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_31 WHERE to_par = "+4" |
What Round 32 had a # of bids smaller than 2? | CREATE TABLE table_name_31 (round_of_32 VARCHAR, _number_of_bids INTEGER) | SELECT round_of_32 FROM table_name_31 WHERE _number_of_bids < 2 |
Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers? | CREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_9 WHERE game > 15 AND opponent = "edmonton oilers" |
What is the score of the game with 39,592 attendance? | CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_19 WHERE attendance = "39,592" |
What's the score for a game over 56 with a record of 29-24-7 with a lundqvist decision? | CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR, game VARCHAR, decision VARCHAR) | SELECT score FROM table_name_18 WHERE game > 56 AND decision = "lundqvist" AND record = "29-24-7" |
Which tournament has an Outcome of winner, and a Opponent of dia evtimova? | CREATE TABLE table_name_53 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_53 WHERE outcome = "winner" AND opponent = "dia evtimova" |
Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147? | CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR) | SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147 |
Who is the owner with a frequency of 0 101.1 fm? | CREATE TABLE table_name_58 (owner VARCHAR, frequency VARCHAR) | SELECT owner FROM table_name_58 WHERE frequency = "0 101.1 fm" |
What party was achille variati afilliated with? | CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR) | SELECT party FROM table_name_28 WHERE mayor = "achille variati" |
Return the names of the contestants whose names contain the substring 'Al' . | CREATE TABLE contestants (contestant_name VARCHAR) | SELECT contestant_name FROM contestants WHERE contestant_name LIKE "%al%" |
During which loss was the record 48-50? | CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_45 WHERE record = "48-50" |
The candidate who received 133 votes in the Bronx won what percentage overall? | CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR) | SELECT _percentage FROM table_1108394_47 WHERE the_bronx = "133" |
What is the Partner during the Asian Games Year? | CREATE TABLE table_name_23 (partner VARCHAR, year VARCHAR) | SELECT partner FROM table_name_23 WHERE year = "asian games" |
Find the number of employees of each gender whose salary is lower than 50000. | CREATE TABLE employee (sex VARCHAR, salary INTEGER) | SELECT COUNT(*), sex FROM employee WHERE salary < 50000 GROUP BY sex |
What day does the team play at punt road oval? | CREATE TABLE table_name_51 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_51 WHERE venue = "punt road oval" |
What were the former schools of the player from East Brunswick, NJ? | CREATE TABLE table_25177625_1 (former_school VARCHAR, hometown VARCHAR) | SELECT former_school FROM table_25177625_1 WHERE hometown = "East Brunswick, NJ" |
who is the team 2 when the team 1 is sestese(e16)? | CREATE TABLE table_name_29 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_29 WHERE team_1 = "sestese(e16)" |
What's the average of the amount of laps for the driver patrick tambay? | CREATE TABLE table_name_64 (laps INTEGER, driver VARCHAR) | SELECT AVG(laps) FROM table_name_64 WHERE driver = "patrick tambay" |
How many people had high rebounds in game 14? | CREATE TABLE table_28220778_21 (high_rebounds VARCHAR, game VARCHAR) | SELECT COUNT(high_rebounds) FROM table_28220778_21 WHERE game = 14 |
What were the overall event results when Michael Demichele was runner-up? | CREATE TABLE table_name_78 (results VARCHAR, runner_up VARCHAR) | SELECT results FROM table_name_78 WHERE runner_up = "michael demichele" |
When 19th is the position what is the highest amount of poles? | CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR) | SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th" |
What is the lowest Game, when Date is March 21? | CREATE TABLE table_name_66 (game INTEGER, date VARCHAR) | SELECT MIN(game) FROM table_name_66 WHERE date = "march 21" |
What is the new hampshire in 2009? | CREATE TABLE table_13011547_1 (new_hampshire VARCHAR, year VARCHAR) | SELECT new_hampshire FROM table_13011547_1 WHERE year = 2009 |
How many years has 1 run? | CREATE TABLE table_name_53 (year VARCHAR, score VARCHAR) | SELECT COUNT(year) FROM table_name_53 WHERE score = "1 run" |
An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result? | CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684 |
Which Railway number(s) has a Year(s) of manufacture of 1899–1907? | CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR) | SELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = "1899–1907" |
What Secretary has an Internal CO of isabel voets? | CREATE TABLE table_name_90 (secretary VARCHAR, internal_co VARCHAR) | SELECT secretary FROM table_name_90 WHERE internal_co = "isabel voets" |
How many golden tickets for the georgia international convention center? | CREATE TABLE table_name_85 (golden_tickets INTEGER, callback_venue VARCHAR) | SELECT SUM(golden_tickets) FROM table_name_85 WHERE callback_venue = "georgia international convention center" |
How many County Kerry have 53% Irish speakers? | CREATE TABLE table_101196_1 (english_name VARCHAR, irish_speakers VARCHAR, county VARCHAR) | SELECT COUNT(english_name) FROM table_101196_1 WHERE irish_speakers = "53%" AND county = "county Kerry" |
What high school team did Doug Nolan play for? | CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Doug Nolan" |
What is the Location of the Frequency with a Callsign of DXBL? | CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR) | SELECT location FROM table_name_89 WHERE callsign = "dxbl" |
What is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position? | CREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | SELECT grand_prix FROM table_name_50 WHERE fastest_lap = "gerhard berger" AND pole_position = "michael schumacher" |
What episode had the last appearances of the late wife of mac taylor? | CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR) | SELECT last_appearance FROM table_11240028_3 WHERE relationship = "Late wife of Mac Taylor" |
If the college is Vanderbilt, what is the position? | CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR) | SELECT position FROM table_27132791_3 WHERE college = "Vanderbilt" |
WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? | CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) | SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 |
Which county team has jimmy finn as the player? | CREATE TABLE table_name_88 (county_team VARCHAR, player VARCHAR) | SELECT county_team FROM table_name_88 WHERE player = "jimmy finn" |
What percentage of the vote did McCain win in Waynesboro (city)? | CREATE TABLE table_20524090_1 (mccain_percentage VARCHAR, county VARCHAR) | SELECT mccain_percentage FROM table_20524090_1 WHERE county = "Waynesboro (city)" |
Which Height has a Player of mike bibby? | CREATE TABLE table_name_43 (height VARCHAR, player VARCHAR) | SELECT height FROM table_name_43 WHERE player = "mike bibby" |
What is Opponent, when High Rebounds is "Pierson (6)"? | CREATE TABLE table_name_67 (opponent VARCHAR, high_rebounds VARCHAR) | SELECT opponent FROM table_name_67 WHERE high_rebounds = "pierson (6)" |
What is the Player from Memphis? | CREATE TABLE table_name_70 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_70 WHERE school_club_team = "memphis" |
Which country had a total of 295? | CREATE TABLE table_name_46 (country VARCHAR, total VARCHAR) | SELECT country FROM table_name_46 WHERE total = 295 |
What is the total number of enrollment of schools that do not have any goalie player? | CREATE TABLE college (enr INTEGER, cName VARCHAR, pPos VARCHAR); CREATE TABLE tryout (enr INTEGER, cName VARCHAR, pPos VARCHAR) | SELECT SUM(enr) FROM college WHERE NOT cName IN (SELECT cName FROM tryout WHERE pPos = "goalie") |
For the game on 13 December 1975 with Halifax Town as the away team what was the score? | CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town" |
What engine does Galles Racing use? | CREATE TABLE table_15736385_1 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_15736385_1 WHERE team = "Galles Racing" |
Which Original title has a Year of 1983, and a Country of italy? | CREATE TABLE table_name_78 (original_title VARCHAR, year VARCHAR, country VARCHAR) | SELECT original_title FROM table_name_78 WHERE year = 1983 AND country = "italy" |
What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751? | CREATE TABLE table_name_88 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR, location VARCHAR, rna_segment__gene_ VARCHAR) | SELECT copies_per_particle FROM table_name_88 WHERE location = "nonstructural" AND rna_segment__gene_ > 5 AND size___s_base_pair__ < 751 |
What is the Focus that has a Year bigger than 1977? | CREATE TABLE table_name_1 (points VARCHAR, year INTEGER) | SELECT points FROM table_name_1 WHERE year > 1977 |
What dates did Ferrari win races? | CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR) | SELECT date FROM table_name_40 WHERE constructor = "ferrari" |
Which Location has a Time of time? | CREATE TABLE table_name_89 (location VARCHAR) | SELECT location FROM table_name_89 WHERE "time" = "time" |
WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181? | CREATE TABLE table_name_40 (pick INTEGER, position VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_40 WHERE position = "k" AND overall < 181 |
What is English Meaning, when Full Word is "Shens Gamo"? | CREATE TABLE table_name_22 (english_meaning VARCHAR, full_word VARCHAR) | SELECT english_meaning FROM table_name_22 WHERE full_word = "shens gamo" |
What was the archive for episode with 6.6 million viewers? | CREATE TABLE table_1601935_1 (archive VARCHAR, viewers__in_millions_ VARCHAR) | SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ = "6.6" |
Which Silver is the lowest one that has a Gold larger than 0, and a Rank of total, and a Bronze smaller than 32? | CREATE TABLE table_name_70 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT MIN(silver) FROM table_name_70 WHERE gold > 0 AND rank = "total" AND bronze < 32 |
How many poles had a moto2 class? | CREATE TABLE table_name_75 (pole VARCHAR, class VARCHAR) | SELECT pole FROM table_name_75 WHERE class = "moto2" |
What are the ids and names of the companies that operated more than one flight? | CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR, name VARCHAR) | SELECT T1.id, T1.name FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id GROUP BY T1.id HAVING COUNT(*) > 1 |
What is the status code, mobile phone number and email address of customer with last name as Kohler or first name as Marina? | CREATE TABLE Customers (customer_status_code VARCHAR, cell_mobile_phone_number VARCHAR, email_address VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT customer_status_code, cell_mobile_phone_number, email_address FROM Customers WHERE first_name = "Marina" OR last_name = "Kohler" |
Who is the partner facing the opponents florian Mayer & alexander waske in the final? | CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske" |
What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted? | CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR) | SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti" |
What is the least silvers where there are 39 bronzes and the total is less than 120? | CREATE TABLE table_name_55 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_55 WHERE bronze = 39 AND total < 120 |
What was the total for radio luxembourg? | CREATE TABLE table_19439864_2 (total VARCHAR, song VARCHAR) | SELECT total FROM table_19439864_2 WHERE song = "Radio Luxembourg" |
What is the production code for episode 96 in the series? | CREATE TABLE table_2818164_5 (production_code INTEGER, no_in_series VARCHAR) | SELECT MIN(production_code) FROM table_2818164_5 WHERE no_in_series = "96" |
What is the Deliblato village known as in Cyrillic? | CREATE TABLE table_2562572_41 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) | SELECT cyrillic_name_other_names FROM table_2562572_41 WHERE settlement = "Deliblato" |
What Film Festival had participants/recipients of Isao Tomita? | CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR) | SELECT film_festival FROM table_26282750_1 WHERE participants_recipients = "Isao Tomita" |
What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)? | CREATE TABLE table_14948647_1 (bhofen_number2__rk_ VARCHAR, ga_pa__rk_ VARCHAR) | SELECT bhofen_number2__rk_ FROM table_14948647_1 WHERE ga_pa__rk_ = "233.4 (16)" |
Which Race has a Runners of 7 and Odds of 1/3? | CREATE TABLE table_name_30 (race VARCHAR, runners VARCHAR, odds VARCHAR) | SELECT race FROM table_name_30 WHERE runners = 7 AND odds = "1/3" |
what is the college/junior/club team (league) when the position is (c) and the round is higher than 2? | CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_52 WHERE position = "(c)" AND round > 2 |
How many games had 2 goals scored? | CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR) | SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "2" |
What is the date of the 279 wheels? | CREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR) | SELECT date FROM table_15412381_5 WHERE wheels = 279 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.