answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT Non AS qatari_female FROM table_26214389_3 WHERE year = 2001 | If the year is 2001, what are the non qatari female? | CREATE TABLE table_26214389_3 (Non VARCHAR, year VARCHAR) |
SELECT date FROM table_name_9 WHERE catalog = 88697185162 AND region = "canada" | what is the date for catolog 88697185162 when the region is canada? | CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR, region VARCHAR) |
SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73" | how many remittances in 2010 where the remittances is 19.73? | CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR) |
SELECT COUNT(pick) FROM table_name_30 WHERE name = "steve hamilton" AND round > 2 | WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2? | CREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR) |
SELECT AVG(played) FROM table_name_37 WHERE points < 8 | What is the average played for less than 8 points? | CREATE TABLE table_name_37 (played INTEGER, points INTEGER) |
SELECT diameter__km_ FROM table_16799784_9 WHERE longitude = "293.0E" | At a longitude of 293.0e, what is the diameter, in km? | CREATE TABLE table_16799784_9 (diameter__km_ VARCHAR, longitude VARCHAR) |
SELECT _percentage_growth__2000_2008_ FROM table_10733530_3 WHERE nation = "Ethiopia" | What is the percentage of growth in 2000-2008 in ethiopia? | CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR) |
SELECT race_caller FROM table_22514845_4 WHERE s_host = "Jim McKay and Al Michaels" AND year = 1987 | Who is the race caller when jim mckay and al michaels were s hosts in the year 1987? | CREATE TABLE table_22514845_4 (race_caller VARCHAR, s_host VARCHAR, year VARCHAR) |
SELECT score FROM table_name_10 WHERE date = "29 january 1983" AND away_team = "chelsea" | What was the score of the game with away team chelsea on 29 january 1983? | CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR, away_team VARCHAR) |
SELECT laps FROM table_2175858_1 WHERE race_time = "3:03:50" | How many laps were completed in the race with time of 3:03:50? | CREATE TABLE table_2175858_1 (laps VARCHAR, race_time VARCHAR) |
SELECT chart FROM table_name_68 WHERE peak_position = 1 | Which Chart has a Peak Position of 1? | CREATE TABLE table_name_68 (chart VARCHAR, peak_position VARCHAR) |
SELECT league_goals FROM table_name_66 WHERE league_cup_goals = "0" AND scorer = "bill dearden" | What is the number of league goals when Bill Dearden was the scorer and there was 0 league cup goals? | CREATE TABLE table_name_66 (league_goals VARCHAR, league_cup_goals VARCHAR, scorer VARCHAR) |
SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer" | what is the score for the tournament cagnes-sur-mer? | CREATE TABLE table_name_38 (score VARCHAR, tournament VARCHAR) |
SELECT record FROM table_name_12 WHERE date = "september 28" | Date of september 28 had what record? | CREATE TABLE table_name_12 (record VARCHAR, date VARCHAR) |
SELECT location_attendance FROM table_22883210_7 WHERE record = "20-12" | What location had a record of 20-12, and how many people attended? | CREATE TABLE table_22883210_7 (location_attendance VARCHAR, record VARCHAR) |
SELECT format FROM table_name_10 WHERE catalog = "alca-9196" | What formated cataloged alca-9196? | CREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR) |
SELECT vehicle FROM table_name_20 WHERE class = "6c3g" | Which vehicle has a class 6c3g? | CREATE TABLE table_name_20 (vehicle VARCHAR, class VARCHAR) |
SELECT date FROM table_name_88 WHERE label = "village records" | What date is associated with the label Village Records? | CREATE TABLE table_name_88 (date VARCHAR, label VARCHAR) |
SELECT COUNT(written_by) FROM table_23255941_1 WHERE directed_by = "Charles Haid" | How many writers were there in the episode directed by Charles Haid? | CREATE TABLE table_23255941_1 (written_by VARCHAR, directed_by VARCHAR) |
SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot" | What role has the team of Troyes AC Grenoble Foot? | CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR) |
SELECT label FROM table_name_60 WHERE catalog = "b0011141-01" | What is the Label of the B0011141-01 Catalog? | CREATE TABLE table_name_60 (label VARCHAR, catalog VARCHAR) |
SELECT high_rebounds FROM table_27723228_8 WHERE record = "14–7" | Who had the high rebounds when the record was 14–7? | CREATE TABLE table_27723228_8 (high_rebounds VARCHAR, record VARCHAR) |
SELECT surface FROM table_name_59 WHERE opponent_in_the_final = "anna benzon" | What was the surface of the tournament where Anna Benzon was the opponent in the final? | CREATE TABLE table_name_59 (surface VARCHAR, opponent_in_the_final VARCHAR) |
SELECT 2012 AS _club FROM table_name_23 WHERE name = "norbert hosnyánszky category:articles with hcards" | Name the 012 club which has of norbert hosnyánszky category:articles with hcards? | CREATE TABLE table_name_23 (name VARCHAR) |
SELECT record FROM table_name_43 WHERE leading_scorer = "andrew bogut (21)" | What is the record of the game with Andrew Bogut (21) as the leading scorer? | CREATE TABLE table_name_43 (record VARCHAR, leading_scorer VARCHAR) |
SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006" | Who competed on may 6, 2006? | CREATE TABLE table_name_50 (opponents VARCHAR, date VARCHAR) |
SELECT try_bonus FROM table_13741576_4 WHERE tries_against = "70" | Name the try bonus for tries against is 70 | CREATE TABLE table_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR) |
SELECT result FROM table_name_75 WHERE venue = "bangkok" | What is the result of the match in Bangkok? | CREATE TABLE table_name_75 (result VARCHAR, venue VARCHAR) |
SELECT MIN(pick) FROM table_2781227_11 WHERE nhl_team = "Florida Panthers" | What was the minimum pick by the Florida Panthers? | CREATE TABLE table_2781227_11 (pick INTEGER, nhl_team VARCHAR) |
SELECT status FROM table_name_69 WHERE location = "russia" | What is Status, when Location is Russia? | CREATE TABLE table_name_69 (status VARCHAR, location VARCHAR) |
SELECT position FROM table_name_88 WHERE round > 2 AND pick < 183 AND player = "jim obradovich" | Jim Obradovich, picked after round 2, but before pick 183, plays what position? | CREATE TABLE table_name_88 (position VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) |
SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee" | Who was the bachelorette of the season where ian mckee was the winner? | CREATE TABLE table_name_20 (bachelorette VARCHAR, winner VARCHAR) |
SELECT winning_score FROM table_name_47 WHERE runner_s__up = "brian kamm" | What was the winning score of the event where Brian Kamm was the runner-up? | CREATE TABLE table_name_47 (winning_score VARCHAR, runner_s__up VARCHAR) |
SELECT type FROM table_name_39 WHERE course = "sestri levante to riomaggiore" | What's the type on Sestri Levante to Riomaggiore? | CREATE TABLE table_name_39 (type VARCHAR, course VARCHAR) |
SELECT city FROM table_name_84 WHERE july__avg_high_°f_ < 84 AND january__avg_low_°f_ = "34.3" | What city had a july high below 84, and a january low of 34.3? | CREATE TABLE table_name_84 (city VARCHAR, july__avg_high_°f_ VARCHAR, january__avg_low_°f_ VARCHAR) |
SELECT award FROM table_name_55 WHERE category = "best new artist" | Which award is for the category Best New Artist? | CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR) |
SELECT webcast FROM table_name_54 WHERE website = "ktrh.com" | The KTRH.com website includes which type of webcast? | CREATE TABLE table_name_54 (webcast VARCHAR, website VARCHAR) |
SELECT winning_score FROM table_name_90 WHERE runner_s__up = "phillip price" | What was Olazabal's winning score in the event in which Phillip Price finished 2nd? | CREATE TABLE table_name_90 (winning_score VARCHAR, runner_s__up VARCHAR) |
SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "melbourne" | What was the crowd size for the Home team of melbourne? | CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR) |
SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa" | Which co-singers appear in the movie Pyaasa? | CREATE TABLE table_2528382_2 (Co VARCHAR, singers VARCHAR, movie_album VARCHAR) |
SELECT total_points FROM table_20183474_1 WHERE draw = 3 | How many points did the song with a draw number 3 get? | CREATE TABLE table_20183474_1 (total_points VARCHAR, draw VARCHAR) |
SELECT COUNT(points) FROM table_10705060_1 WHERE season = "2005" | How many points for 2005? | CREATE TABLE table_10705060_1 (points VARCHAR, season VARCHAR) |
SELECT t2.department_name, t1.department_id FROM degree_programs AS t1 JOIN departments AS t2 ON t1.department_id = t2.department_id GROUP BY t1.department_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the name and id of the department with the most number of degrees ? | CREATE TABLE degree_programs (department_id VARCHAR); CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR) |
SELECT partner FROM table_name_3 WHERE outcome = "winner" AND opponents_in_the_final = "rick leach jim pugh" | WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh? | CREATE TABLE table_name_3 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR) |
SELECT grid FROM table_name_67 WHERE time = "+0.180" | What is the grid with a +0.180 time? | CREATE TABLE table_name_67 (grid VARCHAR, time VARCHAR) |
SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = "portugal" AND bronze > 0 | Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0? | CREATE TABLE table_name_85 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR) |
SELECT loss FROM table_name_87 WHERE record = "45-59" | Name the loss with record of 45-59 | CREATE TABLE table_name_87 (loss VARCHAR, record VARCHAR) |
SELECT venue FROM table_name_56 WHERE away_team = "north melbourne" | Where did North Melbourne play as the away team? | CREATE TABLE table_name_56 (venue VARCHAR, away_team VARCHAR) |
SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Charalambos Kazilas Stepan Partemian" | Name the womens doubles when mens doubles is charalambos kazilas stepan partemian | CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) |
SELECT decision FROM table_name_41 WHERE visitor = "philadelphia" | Who recorded the decision when philadelphia was away? | CREATE TABLE table_name_41 (decision VARCHAR, visitor VARCHAR) |
SELECT team FROM table_name_95 WHERE replaced_by = "mark mcghee" | I want the team for replaced by mark mcghee | CREATE TABLE table_name_95 (team VARCHAR, replaced_by VARCHAR) |
SELECT constituency_number FROM table_name_62 WHERE name = "pandhana" | What is the Constituency number for Pandhana? | CREATE TABLE table_name_62 (constituency_number VARCHAR, name VARCHAR) |
SELECT tournament FROM table_name_71 WHERE margin_of_victory = "1 stroke" AND winning_score = –16(67 - 66 - 70 - 69 = 272) | What Tournament had a Victory of 1 Stroke with a Winning score of –16 (67-66-70-69=272)? | CREATE TABLE table_name_71 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) |
SELECT tournament FROM table_name_6 WHERE 1992 = "a" | What's the tournament when 1992 is A? | CREATE TABLE table_name_6 (tournament VARCHAR) |
SELECT team FROM table_17326036_5 WHERE date = "November 21" | What team was the game on November 21 played against? | CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR) |
SELECT score FROM table_name_99 WHERE country = "spain" | Name the Score of spain? | CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR) |
SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm" | What is the compound name listed where marine organism α is worm | CREATE TABLE table_12715053_1 (compound_name VARCHAR, marine_organism_α VARCHAR) |
SELECT replaced_by FROM table_27374004_3 WHERE outgoing_manager = "Michel Preud'homme" | Who replaced Michel Preud'homme? | CREATE TABLE table_27374004_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) |
SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Ridings High 'A'" | What is the season total number if the primary (South) winners is Ridings High 'A'? | CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR) |
SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22 | What is the largest start for a player with 14 conv, 10 tries and more than 22 pens? | CREATE TABLE table_name_29 (start INTEGER, pens VARCHAR, conv VARCHAR, tries VARCHAR) |
SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july" | What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July? | CREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR) |
SELECT to_par FROM table_name_39 WHERE player = "gene kunes" | Name the to par for gene kunes | CREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR) |
SELECT date FROM table_name_9 WHERE record = "46-31" | What was the date of the game when the record was 46-31? | CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) |
SELECT competition FROM table_name_85 WHERE date = "10 august 2011" | What competition took place on 10 August 2011? | CREATE TABLE table_name_85 (competition VARCHAR, date VARCHAR) |
SELECT points FROM table_26794530_1 WHERE final_placing = "13th" AND races = 30 | When there were 30 races and the final placing was 13th, how many points were scored? | CREATE TABLE table_26794530_1 (points VARCHAR, final_placing VARCHAR, races VARCHAR) |
SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo" | Who is the lead of the nation with Juha Pekaristo as the alternate? | CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR) |
SELECT MAX(capacity) FROM table_25794138_1 WHERE stadium = "Larry Gomes stadium" | What was the maximum capacity of larry gomes stadium? | CREATE TABLE table_25794138_1 (capacity INTEGER, stadium VARCHAR) |
SELECT away FROM table_name_69 WHERE season = "2001–02" AND opponent = "dinaburg" | Which Away has a Season of 2001–02, and an Opponent of dinaburg? | CREATE TABLE table_name_69 (away VARCHAR, season VARCHAR, opponent VARCHAR) |
SELECT SUM(week) FROM table_name_87 WHERE attendance = "58,025" | What week had 58,025 in attendance? | CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR) |
SELECT conference FROM table_name_74 WHERE city = "boca raton" AND school = "florida atlantic university" | Which Conference has a City of boca raton, and a School of florida atlantic university? | CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR) |
SELECT SUM(wins) FROM table_name_76 WHERE points < 27 AND goals_against = 41 | What is the wins number when the points were smaller than 27, and goals against was 41? | CREATE TABLE table_name_76 (wins INTEGER, points VARCHAR, goals_against VARCHAR) |
SELECT played FROM table_name_21 WHERE try_bonus = "4" AND points_against = "391" | How many games did the Club that has a try bonus of 4 and 391 points against play ? | CREATE TABLE table_name_21 (played VARCHAR, try_bonus VARCHAR, points_against VARCHAR) |
SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond" | What school is in Richmond? | CREATE TABLE table_2076608_3 (school VARCHAR, location_s_ VARCHAR) |
SELECT team FROM table_name_51 WHERE engine = "chevrolet 6.0 v8" AND manufacturer = "opel" AND driver = "chris jackson" | What Team has the Engine of Chevrolet 6.0 V8, the Manufacturer of Opel, and the Driver Chris Jackson? | CREATE TABLE table_name_51 (team VARCHAR, driver VARCHAR, engine VARCHAR, manufacturer VARCHAR) |
SELECT date FROM table_name_2 WHERE against = "pohang steelers" | What date has an against of pohang steelers? | CREATE TABLE table_name_2 (date VARCHAR, against VARCHAR) |
SELECT score FROM table_name_91 WHERE home_team = "sunderland" | what is the score when the home team is sunderland? | CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) |
SELECT location FROM table_name_98 WHERE result = "loss" AND date = "20 jan" | At what location was there a loss on 20 jan? | CREATE TABLE table_name_98 (location VARCHAR, result VARCHAR, date VARCHAR) |
SELECT year FROM table_name_56 WHERE league = "usl a-league" AND playoffs = "conference finals" | when did the usl a-league have conference finals? | CREATE TABLE table_name_56 (year VARCHAR, league VARCHAR, playoffs VARCHAR) |
SELECT rank FROM table_name_72 WHERE qual = "134.288" | For the car with a qual of 134.288, what was the rank? | CREATE TABLE table_name_72 (rank VARCHAR, qual VARCHAR) |
SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)" | What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)? | CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR) |
SELECT loss FROM table_name_47 WHERE date = "october 1" | What loss has october 1 as the date? | CREATE TABLE table_name_47 (loss VARCHAR, date VARCHAR) |
SELECT mccain_percentage FROM table_20688030_1 WHERE obama_percentage = "36.47%" | What are McCain's Percent when Obama has 36.47%? | CREATE TABLE table_20688030_1 (mccain_percentage VARCHAR, obama_percentage VARCHAR) |
SELECT MIN(laps) FROM table_name_69 WHERE driver = "tarso marques" | What were the lowest laps of Tarso Marques? | CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) |
SELECT COUNT(rank) FROM table_name_44 WHERE points = 185.16 AND sp + fs > 5 | What is the total number for Rank with 185.16 points and a SP+FS value greater than 5? | CREATE TABLE table_name_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR) |
SELECT team FROM table_11959669_6 WHERE location_attendance = "US Airways Center 18,422" | What is the team when location attendance is us airways center 18,422? | CREATE TABLE table_11959669_6 (team VARCHAR, location_attendance VARCHAR) |
SELECT date FROM table_name_33 WHERE away_team = "crystal palace" | What is the Date of the Crystal Palace Away game? | CREATE TABLE table_name_33 (date VARCHAR, away_team VARCHAR) |
SELECT deductions FROM table_21995420_6 WHERE pyramids = "49" | What is every deduction for pyramids of 49? | CREATE TABLE table_21995420_6 (deductions VARCHAR, pyramids VARCHAR) |
SELECT position FROM table_name_78 WHERE dob = "3 june 1989" | Which Position has a D.O.B. of 3 june 1989? | CREATE TABLE table_name_78 (position VARCHAR, dob VARCHAR) |
SELECT max_altitude__miles_ FROM table_221315_3 WHERE pilot = "Neil Armstrong" | What was the maximum altitude for Neil Armstrong? | CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR) |
SELECT competition_or_tour FROM table_name_73 WHERE ground = "hr" AND opponent = "nordsjælland" | In which competition or tour was nordsjælland the opponent with a hr Ground? | CREATE TABLE table_name_73 (competition_or_tour VARCHAR, ground VARCHAR, opponent VARCHAR) |
SELECT MAX(established) FROM table_name_79 WHERE venue = "kuntz stadium" | What is the highest Established for the kuntz stadium? | CREATE TABLE table_name_79 (established INTEGER, venue VARCHAR) |
SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185" | What is the most laps with a qualification of 106.185? | CREATE TABLE table_name_38 (laps INTEGER, qual VARCHAR) |
SELECT player FROM table_name_65 WHERE placing = "20th place" | Who is the player in 20th place? | CREATE TABLE table_name_65 (player VARCHAR, placing VARCHAR) |
SELECT country FROM table_name_38 WHERE score = 72 - 72 - 67 = 211 | What was the nationality of the player with a score of 72-72-67=211? | CREATE TABLE table_name_38 (country VARCHAR, score VARCHAR) |
SELECT AVG(place) FROM table_name_13 WHERE lost > 12 | what is the average place when lost is more than 12? | CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) |
SELECT record FROM table_name_40 WHERE game = 48 | What is the record of game 48? | CREATE TABLE table_name_40 (record VARCHAR, game VARCHAR) |
SELECT COUNT(*) FROM BOOKINGS | How many bookings do we have? | CREATE TABLE BOOKINGS (Id VARCHAR) |
SELECT position FROM table_name_57 WHERE years = "1986 – 1991 1997 – 1999" | What position was played by the player during 1986 – 1991 1997 – 1999? | CREATE TABLE table_name_57 (position VARCHAR, years VARCHAR) |
SELECT ship_type FROM table_name_77 WHERE name = "shinano" | What type of ship was the Shinano? | CREATE TABLE table_name_77 (ship_type VARCHAR, name VARCHAR) |
SELECT adelaide FROM table_name_39 WHERE auckland = "yes" AND melbourne = "yes" AND perth = "yes" AND sydney = "cancelled" | Which Adelaide has an Auckland of yes, a Melbourne of yes, a Perth of yes, and a Sydney of cancelled? | CREATE TABLE table_name_39 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.