question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What was the highest order amount in weeks prier to 15 and a major less than 1? | CREATE TABLE table_name_55 (order INTEGER, weeks VARCHAR, majors VARCHAR) | SELECT MAX(order) FROM table_name_55 WHERE weeks < 15 AND majors < 1 |
Show all student ids who are older than 20. | CREATE TABLE Student (StuID VARCHAR, age INTEGER) | SELECT StuID FROM Student WHERE age > 20 |
Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps? | CREATE TABLE table_name_25 (class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR) | SELECT class AS pos FROM table_name_25 WHERE year > 1997 AND team = "corvette racing" AND class = "gt1" AND laps = 327 |
What is the average of Fiji with t10 Finish? | CREATE TABLE table_name_96 (total INTEGER, finish VARCHAR, country VARCHAR) | SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji" |
What is the name of the track in Holland? | CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR) | SELECT track FROM table_name_2 WHERE city = "holland" |
What year was the match were xavier malisse was the runner-up against lleyton hewitt? | CREATE TABLE table_name_3 (year VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT year FROM table_name_3 WHERE outcome = "runner-up" AND opponent = "lleyton hewitt" |
Name the least age for cibao central and santo domingo | CREATE TABLE table_21346767_3 (age INTEGER, geographical_regions VARCHAR, hometown VARCHAR) | SELECT MIN(age) FROM table_21346767_3 WHERE geographical_regions = "Cibao Central" AND hometown = "Santo Domingo" |
What is the result when the competition is 1982 president's cup? | CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_5 WHERE competition = "1982 president's cup" |
What is the week of the game played on November 28, 1974? | CREATE TABLE table_name_94 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_94 WHERE date = "november 28, 1974" |
What was Olazabal's margin of victory int he Ebel European Masters Swiss Open? | CREATE TABLE table_name_6 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_6 WHERE tournament = "ebel european masters swiss open" |
What was the attendance when they played at Dallas Cowboys? | CREATE TABLE table_name_69 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_69 WHERE opponent = "at dallas cowboys" |
Who was the opponent when the record was 31-24? | CREATE TABLE table_name_40 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_40 WHERE record = "31-24" |
Name the mens singles for jeliazko valkov dobrinka peneva | CREATE TABLE table_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) | SELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = "Jeliazko Valkov Dobrinka Peneva" |
What was the percentage of others when the number for Bush was 3196? | CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR) | SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 3196 |
Who wrote the episode that aired February 4, 2010? | CREATE TABLE table_23483182_1 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_23483182_1 WHERE original_air_date = "February 4, 2010" |
What is the report status of the race with Ferrari as the constructor and a monza circuit? | CREATE TABLE table_name_92 (report VARCHAR, constructor VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_92 WHERE constructor = "ferrari" AND circuit = "monza" |
Name the least pick number for steven turner | CREATE TABLE table_25017530_5 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_25017530_5 WHERE player = "Steven Turner" |
How many odd of winning have 6th as the division? | CREATE TABLE table_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR) | SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions = "6th" |
Who creates the catalog with the number "cal03 / 0091037137333"? | CREATE TABLE table_11222744_3 (studio VARCHAR, catalog_number VARCHAR) | SELECT studio FROM table_11222744_3 WHERE catalog_number = "CAL03 / 0091037137333" |
What is the fleet number of Model Orion 01.507? | CREATE TABLE table_name_23 (fleet_number VARCHAR, model VARCHAR) | SELECT fleet_number FROM table_name_23 WHERE model = "orion 01.507" |
How many teams does Jeff Wyler own? | CREATE TABLE table_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR) | SELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = "Jeff Wyler" |
Who was the original artist for First Solo? | CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR) | SELECT original_artist FROM table_26250176_1 WHERE theme = "First Solo" |
What is the production number for episode 23? | CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR) | SELECT MIN(prod__number) FROM table_2370579_1 WHERE episode__number = 23 |
How many episodes are directed by Jamie Payne? | CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR) | SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = "Jamie Payne" |
Name the 2011 with 2010 of 2r | CREATE TABLE table_name_59 (Id VARCHAR) | SELECT 2011 FROM table_name_59 WHERE 2010 = "2r" |
WHAT IS THE PLAYER WITH 287? | CREATE TABLE table_name_26 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_26 WHERE total = 287 |
How many Malaysia Cups have a Total larger than 3, and a Player of ivan yusoff, and a League smaller than 2? | CREATE TABLE table_name_8 (malaysia_cup VARCHAR, league VARCHAR, total VARCHAR, player VARCHAR) | SELECT COUNT(malaysia_cup) FROM table_name_8 WHERE total > 3 AND player = "ivan yusoff" AND league < 2 |
Which call sign has a frequency of FM 105.3? | CREATE TABLE table_name_81 (call_sign VARCHAR, frequency VARCHAR) | SELECT call_sign FROM table_name_81 WHERE frequency = "fm 105.3" |
What date did NY Rangers play at home? | CREATE TABLE table_name_12 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_12 WHERE home = "ny rangers" |
What was the date of natural cause situation? | CREATE TABLE table_name_12 (date VARCHAR, circumstances VARCHAR) | SELECT date FROM table_name_12 WHERE circumstances = "natural cause" |
What is the position of the player from Glades Day School? | CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_59 WHERE school = "glades day school" |
List the names of people that are not entrepreneurs. | CREATE TABLE entrepreneur (Name VARCHAR, People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM entrepreneur) |
What institution joined in 1988? | CREATE TABLE table_255188_1 (institution VARCHAR, joined VARCHAR) | SELECT institution FROM table_255188_1 WHERE joined = 1988 |
What is the score of the tournament on 25 July 1994 with a clay surface and Patricia Tarabini as the partner? | CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT score FROM table_name_83 WHERE surface = "clay" AND partner = "patricia tarabini" AND date = "25 july 1994" |
Name for the high rebounds when score is w 105–91 (ot) | CREATE TABLE table_15780718_6 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_15780718_6 WHERE score = "W 105–91 (OT)" |
How many different isolation numbers does the Jack Mountain peak have? | CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR) | SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = "Jack Mountain" |
Who built james hunt's car that went 79 laps? | CREATE TABLE table_name_74 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_74 WHERE laps = 79 AND driver = "james hunt" |
What year was the Album/Song Speaking louder than before? | CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR) | SELECT SUM(year) FROM table_name_39 WHERE album___song = "speaking louder than before" |
How many byes for the team with more than 14 losses and more than 0 wins? | CREATE TABLE table_name_92 (byes INTEGER, losses VARCHAR, wins VARCHAR) | SELECT AVG(byes) FROM table_name_92 WHERE losses > 14 AND wins > 0 |
What was the record when the game was at the Rose Garden? | CREATE TABLE table_name_75 (record VARCHAR, location VARCHAR) | SELECT record FROM table_name_75 WHERE location = "rose garden" |
What was the average E score when the T score was less than 4? | CREATE TABLE table_name_69 (e_score INTEGER, t_score INTEGER) | SELECT AVG(e_score) FROM table_name_69 WHERE t_score < 4 |
Which winning song was sung by aku tetap milikmu? | CREATE TABLE table_name_65 (English VARCHAR, winning_song VARCHAR) | SELECT WINNING_SONG(English AS Title) FROM table_name_65 WHERE winning_song = "aku tetap milikmu" |
Name the FIPS code for county of wyoming and CDP name of pike | CREATE TABLE table_name_36 (fips_code VARCHAR, county VARCHAR, cdp_name VARCHAR) | SELECT fips_code FROM table_name_36 WHERE county = "wyoming" AND cdp_name = "pike" |
List the name of all customers sorted by their account balance in ascending order. | CREATE TABLE customer (cust_name VARCHAR, acc_bal VARCHAR) | SELECT cust_name FROM customer ORDER BY acc_bal |
If the year is 2010, what was the average score? | CREATE TABLE table_22081847_1 (scoring_average VARCHAR, year VARCHAR) | SELECT scoring_average FROM table_22081847_1 WHERE year = 2010 |
Name the sum of Long for yards less than 197 and players of matt nagy | CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR) | SELECT SUM(long) FROM table_name_12 WHERE yards < 197 AND player = "matt nagy" |
what is the notes when the time is 7:58.71? | CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_44 WHERE time = "7:58.71" |
Which Finish had a To par of +10? | CREATE TABLE table_name_89 (finish VARCHAR, to_par VARCHAR) | SELECT finish FROM table_name_89 WHERE to_par = "+10" |
What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque? | CREATE TABLE table_name_73 (engine VARCHAR, points VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_73 WHERE points > 62 AND entrant = "rebaque" |
What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against? | CREATE TABLE table_name_78 (byes VARCHAR, against VARCHAR, losses VARCHAR, sunrayia_fl VARCHAR) | SELECT COUNT(byes) FROM table_name_78 WHERE losses > 4 AND sunrayia_fl = "red cliffs" AND against > 2422 |
Which Yonguk has a Halang of ran¹? | CREATE TABLE table_name_35 (yonguk VARCHAR, halang VARCHAR) | SELECT yonguk FROM table_name_35 WHERE halang = "ran¹" |
B.P. of 0, and a Pts Agst smaller than 247 has how many total number of played? | CREATE TABLE table_name_25 (played VARCHAR, bp VARCHAR, pts_agst VARCHAR) | SELECT COUNT(played) FROM table_name_25 WHERE bp = 0 AND pts_agst < 247 |
Which player is attending college at Virginia? | CREATE TABLE table_name_43 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_43 WHERE college = "virginia" |
What is the total audience on may 28? | CREATE TABLE table_name_99 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_99 WHERE date = "may 28" |
What are the points against with a points difference? | CREATE TABLE table_name_34 (points_against VARCHAR, points_difference VARCHAR) | SELECT points_against FROM table_name_34 WHERE points_difference = "points difference" |
Name the 2008 with 2012 of 2r and 2006 of 2r | CREATE TABLE table_name_39 (Id VARCHAR) | SELECT 2008 FROM table_name_39 WHERE 2012 = "2r" AND 2006 = "2r" |
Where did st kilda play as the away team? | CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_95 WHERE away_team = "st kilda" |
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? | CREATE TABLE table_name_48 (swing_to_gain INTEGER, constituency VARCHAR) | SELECT SUM(swing_to_gain) FROM table_name_48 WHERE constituency = "caithness, sutherland and easter ross" |
Who is the opponent in the final of the match on 19 February 2006? | CREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_24 WHERE date = "19 february 2006" |
What was the try bonus for the team with 25 tries for? | CREATE TABLE table_name_56 (try_bonus VARCHAR, tries_for VARCHAR) | SELECT try_bonus FROM table_name_56 WHERE tries_for = "25" |
what date was giulia casoni the partner? | CREATE TABLE table_name_48 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_48 WHERE partner = "giulia casoni" |
What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961? | CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR) | SELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961 |
Which area served has a Callsign of 5ddn? | CREATE TABLE table_name_99 (area_served VARCHAR, callsign VARCHAR) | SELECT area_served FROM table_name_99 WHERE callsign = "5ddn" |
What shows for 2004 when 2005 is A, 2006 is A, tournament is US Open? | CREATE TABLE table_name_60 (tournament VARCHAR) | SELECT 2004 FROM table_name_60 WHERE 2005 = "a" AND 2006 = "a" AND tournament = "us open" |
Who was the runner-up at the Broadmoor Arena before 2008? | CREATE TABLE table_name_43 (runner_up VARCHAR, year VARCHAR, arena VARCHAR) | SELECT runner_up FROM table_name_43 WHERE year < 2008 AND arena = "broadmoor arena" |
Which series numbers were directed by Monte Young? | CREATE TABLE table_14724369_1 (no_in_series VARCHAR, directed_by VARCHAR) | SELECT no_in_series FROM table_14724369_1 WHERE directed_by = "Monte Young" |
What was the Proposed date of the entry that has a CERCLIS ID of al0001058056? | CREATE TABLE table_name_56 (proposed VARCHAR, cerclis_id VARCHAR) | SELECT proposed FROM table_name_56 WHERE cerclis_id = "al0001058056" |
What is Michael and Melanie's rank? | CREATE TABLE table_19744915_15 (rank VARCHAR, couple VARCHAR) | SELECT rank FROM table_19744915_15 WHERE couple = "Michael and Melanie" |
What are the percentage of hispanics in cities with the black percentage higher than 10? | CREATE TABLE city (Hispanic VARCHAR, Black INTEGER) | SELECT Hispanic FROM city WHERE Black > 10 |
What is the highest metal total when there are 2 Gold medals, 0 Bronze metals, and the rank is smaller than 2? | CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT MAX(total) FROM table_name_24 WHERE gold = 2 AND bronze = 0 AND rank < 2 |
What is the number of riders that had a Tues 31 May time of 18' 55.91 124.236mph? | CREATE TABLE table_29218221_2 (rider VARCHAR, tues_31_may VARCHAR) | SELECT COUNT(rider) FROM table_29218221_2 WHERE tues_31_may = "18' 55.91 124.236mph" |
What was the placing when the jockey was Damien Oliver? | CREATE TABLE table_24915874_1 (placing VARCHAR, jockey VARCHAR) | SELECT placing FROM table_24915874_1 WHERE jockey = "Damien Oliver" |
Find the name and age of the visitor who bought the most tickets at once. | CREATE TABLE visitor (name VARCHAR, age VARCHAR, id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, num_of_ticket VARCHAR) | SELECT t1.name, t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1 |
what's the party with incumbent being william e. evans | CREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342359_5 WHERE incumbent = "William E. Evans" |
Which Engine has a Model of s430? | CREATE TABLE table_name_71 (engine VARCHAR, model VARCHAR) | SELECT engine FROM table_name_71 WHERE model = "s430" |
Against what opponent did the game end 5-4? | CREATE TABLE table_27539535_5 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_27539535_5 WHERE score = "5-4" |
What is the Dutch waord for høvd / høvur? | CREATE TABLE table_name_68 (dutch VARCHAR, Groningen VARCHAR, høvd VARCHAR, høvur VARCHAR) | SELECT dutch FROM table_name_68 WHERE LOW_GERMAN(Groningen) = høvd / høvur |
Which college's overall number is more than 158 when Travian Robertson is the name? | CREATE TABLE table_name_87 (college VARCHAR, overall VARCHAR, name VARCHAR) | SELECT college FROM table_name_87 WHERE overall > 158 AND name = "travian robertson" |
Which Record has a Result of loss, and a Time of 3:54? | CREATE TABLE table_name_96 (record VARCHAR, res VARCHAR, time VARCHAR) | SELECT record FROM table_name_96 WHERE res = "loss" AND time = "3:54" |
what's the height with current club being dkv joventut | CREATE TABLE table_12962773_5 (height VARCHAR, current_club VARCHAR) | SELECT height FROM table_12962773_5 WHERE current_club = "DKV Joventut" |
How many values of total top 3 placements does Taiwan have? | CREATE TABLE table_2876467_3 (total_top_3_placements VARCHAR, region_represented VARCHAR) | SELECT COUNT(total_top_3_placements) FROM table_2876467_3 WHERE region_represented = "Taiwan" |
How many directors worked on the episode with 2.27m (5) is the ratings? | CREATE TABLE table_2430014_8 (directed_by VARCHAR, uk_ratings__bbc2_rank_ VARCHAR) | SELECT COUNT(directed_by) FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (5)" |
what is the location on november 23? | CREATE TABLE table_name_58 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_58 WHERE date = "november 23" |
Name the 2nd leg for boca juniors | CREATE TABLE table_23812628_1 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_23812628_1 WHERE team__number1 = "Boca Juniors" |
What was the attendance number for the Timberwolves game? | CREATE TABLE table_name_69 (location_attendance INTEGER, team VARCHAR) | SELECT SUM(location_attendance) FROM table_name_69 WHERE team = "timberwolves" |
In games where the opponent was the San Francisco 49ers what was the minimum amount of points scored? | CREATE TABLE table_16710971_2 (falcons_points INTEGER, opponent VARCHAR) | SELECT MIN(falcons_points) FROM table_16710971_2 WHERE opponent = "San Francisco 49ers" |
What is the round of the match with Emanuel Newton as the opponent? | CREATE TABLE table_name_70 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_70 WHERE opponent = "emanuel newton" |
Who was the director of the film that was not nominated and had the Spanish title of play? | CREATE TABLE table_20404716_1 (director VARCHAR, result VARCHAR, spanish_title VARCHAR) | SELECT director FROM table_20404716_1 WHERE result = "Not Nominated" AND spanish_title = "Play" |
What was the Home team in Tie no 16? | CREATE TABLE table_name_90 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_90 WHERE tie_no = "16" |
What females have males of 1 234? | CREATE TABLE table_name_21 (females VARCHAR, males VARCHAR) | SELECT females FROM table_name_21 WHERE males = "1 234" |
What was the result for Rank 2 on December 6, 1969? | CREATE TABLE table_name_23 (result VARCHAR, rank_number VARCHAR, date VARCHAR) | SELECT result FROM table_name_23 WHERE rank_number = "2" AND date = "december 6, 1969" |
What is the rank that when Serbia is the nation, and gold is larger than 0? | CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) | SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0 |
Which team drafted Ron Annear? | CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE player = "Ron Annear" |
What event has a time of 7:45.67? | CREATE TABLE table_name_62 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_62 WHERE time = "7:45.67" |
What's the name of the album from 2012 with a Hammer Music / Nail Records label? | CREATE TABLE table_name_50 (album VARCHAR, label VARCHAR, year VARCHAR) | SELECT album FROM table_name_50 WHERE label = "hammer music / nail records" AND year = 2012 |
what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2? | CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR) | SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 3-2" |
What are the played points difference? | CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR) | SELECT played FROM table_name_82 WHERE points_difference = "points difference" |
Name the number of location attendance for april 24 | CREATE TABLE table_17621978_11 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_17621978_11 WHERE date = "April 24" |
What country has a 5.5 mark for security? | CREATE TABLE table_13677808_1 (rank VARCHAR, security VARCHAR) | SELECT rank FROM table_13677808_1 WHERE security = "5.5" |
What is the number of males 977 948? | CREATE TABLE table_name_20 (number VARCHAR, males VARCHAR) | SELECT number FROM table_name_20 WHERE males = "977 948" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.