answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204 | What is the rank associated with the team that has more than 2 wins and has greater than 204 points? | CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR) |
SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55" | What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55? | CREATE TABLE table_25042332_22 (preschool__0_5_years_ VARCHAR, tertiary__18_24_years_ VARCHAR) |
SELECT tv_station FROM table_name_45 WHERE episodes > 10 AND romaji_title = "tantei gakuen q" | Which TV station, has romaji title of tantei gakuen q and episodes larger than 10? | CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR) |
SELECT class FROM table_name_48 WHERE qual_pos = 30 | Which class has a Qual position of 30? | CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR) |
SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-3" | Which Score has a Visitor of buffalo sabres and a Record of 1-3? | CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR) |
SELECT game FROM table_name_76 WHERE road_team = "seattle" AND date = "may 24" | What is the Game on May 24 with Road Team Seattle? | CREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR) |
SELECT interview_subject FROM table_name_42 WHERE date = "11-92" | What Interview subject was on a Date that is 11-92? | CREATE TABLE table_name_42 (interview_subject VARCHAR, date VARCHAR) |
SELECT COUNT(*) FROM gymnast | How many gymnasts are there? | CREATE TABLE gymnast (Id VARCHAR) |
SELECT location_attendance FROM table_27902171_6 WHERE team = "Utah Jazz" | What location with it's corresponding attendance was the game against Utah Jazz? | CREATE TABLE table_27902171_6 (location_attendance VARCHAR, team VARCHAR) |
SELECT date FROM table_name_40 WHERE constructor = "ferrari" | What dates did Ferrari win races? | CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR) |
SELECT COUNT(grid) FROM table_name_71 WHERE driver = "peter collins" | How many grids for peter collins? | CREATE TABLE table_name_71 (grid VARCHAR, driver VARCHAR) |
SELECT position FROM table_2897457_7 WHERE college_junior_club_team = "Roseau High School (USHS-MN)" | What position did Roseau High School (USHS-MN) play? | CREATE TABLE table_2897457_7 (position VARCHAR, college_junior_club_team VARCHAR) |
SELECT MAX(year) FROM table_name_9 WHERE name = "190 south lasalle street" | What year was the 190 South Lasalle Street? | CREATE TABLE table_name_9 (year INTEGER, name VARCHAR) |
SELECT result FROM table_name_81 WHERE score = "70-73" | WHAT IS THE RESULT WITH A SCORE OF 70-73? | CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR) |
SELECT emma_bunton FROM table_28352386_1 WHERE total = "22" | What was Emma Bunton's score for the performance with a total score of 22? | CREATE TABLE table_28352386_1 (emma_bunton VARCHAR, total VARCHAR) |
SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir" | When the city is agadir what is the change (12/11)? | CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR) |
SELECT score FROM table_name_47 WHERE time = "2:22" | what is the score when the time is 2:22? | CREATE TABLE table_name_47 (score VARCHAR, time VARCHAR) |
SELECT T1.activity_name FROM Activity AS T1 JOIN Participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the activity with the most students? | CREATE TABLE Participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR) |
SELECT frequency_mhz FROM table_name_6 WHERE city_of_license = "trinidad, colorado" | What is the Frequency MHz of Trinidad, Colorado? | CREATE TABLE table_name_6 (frequency_mhz VARCHAR, city_of_license VARCHAR) |
SELECT COUNT(gold) FROM table_name_82 WHERE bronze < 1 AND silver < 1 | How many golds have a bronze less than 1, and a silver less than 1? | CREATE TABLE table_name_82 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) |
SELECT translator_call_letters FROM table_name_94 WHERE station_call_letters = "kcop-dt" | What are the translator call letters for station call letters of KCOP-DT? | CREATE TABLE table_name_94 (translator_call_letters VARCHAR, station_call_letters VARCHAR) |
SELECT prince_xml FROM table_name_63 WHERE gecko = "no" AND webkit = "nightly build" | What is the Prince XML value for the engine that has a Gecko value of 'no' and webkit value of 'nightly build'? | CREATE TABLE table_name_63 (prince_xml VARCHAR, gecko VARCHAR, webkit VARCHAR) |
SELECT event FROM table_name_72 WHERE winner = "will fry" | What event did Will Fry win? | CREATE TABLE table_name_72 (event VARCHAR, winner VARCHAR) |
SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59 | How many race 1's have 5 as the race 3, with points less than 59? | CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR) |
SELECT school FROM table_name_6 WHERE player = "donte greene" | Which school has a Player of donte greene? | CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR) |
SELECT image FROM table_name_86 WHERE husband = "william iv" | Which image is of the woman married to william iv? | CREATE TABLE table_name_86 (image VARCHAR, husband VARCHAR) |
SELECT COUNT(extra_points) FROM table_25730209_2 WHERE player = "Stanfield Wells" | How many extra points did Stanfield Wells make? | CREATE TABLE table_25730209_2 (extra_points VARCHAR, player VARCHAR) |
SELECT MAX(draws) FROM table_name_35 WHERE club = "real valladolid" AND played < 38 | How many draws has a Club of real valladolid that was played less than 38? | CREATE TABLE table_name_35 (draws INTEGER, club VARCHAR, played VARCHAR) |
SELECT MIN(drop_goals) FROM table_20505342_1 | Lowest number of drop goals? | CREATE TABLE table_20505342_1 (drop_goals INTEGER) |
SELECT score FROM table_16864968_9 WHERE opponent = "Philadelphia Flyers" | Name the score for philadelphia flyers | CREATE TABLE table_16864968_9 (score VARCHAR, opponent VARCHAR) |
SELECT venue FROM table_name_49 WHERE competition = "wcq5" | What is the Venue of the WCQ5 Competition? | CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR) |
SELECT COUNT(*), classroom FROM list GROUP BY classroom | Find the number of students in one classroom. | CREATE TABLE list (classroom VARCHAR) |
SELECT country FROM table_name_68 WHERE to_par = "+5" | What was the country of the player at +5? | CREATE TABLE table_name_68 (country VARCHAR, to_par VARCHAR) |
SELECT COUNT(rank) FROM table_name_54 WHERE team = "348cc petty manx" | Name the total number of rank for 348cc petty manx | CREATE TABLE table_name_54 (rank VARCHAR, team VARCHAR) |
SELECT SUM(round) FROM table_name_92 WHERE position = "ol" AND player = "richard zulys" | In what Round was OL Player Richard Zulys picked? | CREATE TABLE table_name_92 (round INTEGER, position VARCHAR, player VARCHAR) |
SELECT MAX(attendance) FROM table_name_25 WHERE week = 9 | What was the Attendance on Week 9? | CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR) |
SELECT opponent FROM table_20745685_1 WHERE attendance = 16642 | Who was the opponent when the attendance was exactly 16642? | CREATE TABLE table_20745685_1 (opponent VARCHAR, attendance VARCHAR) |
SELECT COUNT(*) FROM Student_Tests_Taken WHERE test_result = "Fail" | How many tests have result "Fail"? | CREATE TABLE Student_Tests_Taken (test_result VARCHAR) |
SELECT basikal FROM table_name_53 WHERE mana = "mano" AND pergi = "gi" AND ikut = "turuk" | what is basikal when mana is mano, pergi is gi and Ikut is turuk? | CREATE TABLE table_name_53 (basikal VARCHAR, ikut VARCHAR, mana VARCHAR, pergi VARCHAR) |
SELECT driver FROM table_name_77 WHERE position = "2nd" AND season = 2001 | What is Driver, when Position is 2nd, and when Season is 2001? | CREATE TABLE table_name_77 (driver VARCHAR, position VARCHAR, season VARCHAR) |
SELECT to_par FROM table_name_92 WHERE score = 69 - 72 = 141 AND player = "tim herron" | What was the to par score for Tim Herron, who had a score of 69-72=141? | CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR, score VARCHAR) |
SELECT COUNT(goals) FROM table_name_63 WHERE date = "1950-05-30" | What is the number of Goals on 1950-05-30? | CREATE TABLE table_name_63 (goals VARCHAR, date VARCHAR) |
SELECT total_tackles FROM table_name_9 WHERE games = "16" AND solo = "88" | what is the total tackles when the games is 16 and solo is 88? | CREATE TABLE table_name_9 (total_tackles VARCHAR, games VARCHAR, solo VARCHAR) |
SELECT location FROM table_name_84 WHERE name = "zhongornis" | Where has a Name of zhongornis? | CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR) |
SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs" | What is the highest number of rebounds of the san antonio spurs? | CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR) |
SELECT SUM(Population) FROM city WHERE District = "Gelderland" | How many people live in Gelderland district? | CREATE TABLE city (Population INTEGER, District VARCHAR) |
SELECT tickets_sold___available FROM table_name_44 WHERE venue = "hippodrome" | What is the amount of Tickets Sold/ Available at the Venue of hippodrome? | CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, venue VARCHAR) |
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Jeremy" AND t1.lname = "Gibbons" | What are the titles of papers published by "Jeremy Gibbons"? | CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR) |
SELECT MAX(game) FROM table_17325580_10 WHERE high_assists = "LeBron James (7)" AND high_points = "LeBron James (21)" | What number game had a high assist of lebron james (7) and high point of lebron james (21)? | CREATE TABLE table_17325580_10 (game INTEGER, high_assists VARCHAR, high_points VARCHAR) |
SELECT tournament_or_series FROM table_name_15 WHERE played_in = "england" AND games_played___tests__ = "4" AND points_for___tests__ = "121" | What tournament or series was played in England, when games played was 4, points for were 121? | CREATE TABLE table_name_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ VARCHAR) |
SELECT AVG(rank) FROM table_name_78 WHERE total = 16 | Which average rank has a total of 16? | CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR) |
SELECT date FROM table_name_27 WHERE class = "non-championship f2" AND driver = "josé froilán gonzález" AND position > 2 | what date has the class of non-championship f2 as well as a driver name josé froilán gonzález that has a position larger than 2? | CREATE TABLE table_name_27 (date VARCHAR, position VARCHAR, class VARCHAR, driver VARCHAR) |
SELECT COUNT(apps) FROM table_name_69 WHERE national_team = "brazil" AND club = "internazionale" | What is the number of Apps for Internazionale Club of Brazil? | CREATE TABLE table_name_69 (apps VARCHAR, national_team VARCHAR, club VARCHAR) |
SELECT AVG(total_g) FROM table_name_98 WHERE l_apps = 29 AND player = "bartolo" AND c_apps > 5 | What is Bartolo's Total G when his L Apps is 29 and his C Apps are larger than 5? | CREATE TABLE table_name_98 (total_g INTEGER, c_apps VARCHAR, l_apps VARCHAR, player VARCHAR) |
SELECT away_team FROM table_name_41 WHERE venue = "junction oval" | who is the away team when played at junction oval? | CREATE TABLE table_name_41 (away_team VARCHAR, venue VARCHAR) |
SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 16 | Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)? | CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR) |
SELECT COUNT(losses) FROM table_name_50 WHERE goals_for > 29 AND team = "montreal" | What is the total number of losses for the Team of Montreal with Goals For larger than 29? | CREATE TABLE table_name_50 (losses VARCHAR, goals_for VARCHAR, team VARCHAR) |
SELECT position FROM table_12962773_2 WHERE player = "Yotam Halperin" | What's Yotam Halperin's position? | CREATE TABLE table_12962773_2 (position VARCHAR, player VARCHAR) |
SELECT 1994 FROM table_name_38 WHERE tournament = "atp masters series" | In 1994 what tournament held a ATP masters series | CREATE TABLE table_name_38 (tournament VARCHAR) |
SELECT player FROM table_name_79 WHERE pick > 20 | Which Player has a Pick larger than 20? | CREATE TABLE table_name_79 (player VARCHAR, pick INTEGER) |
SELECT * FROM employees WHERE first_name LIKE '%D%' OR first_name LIKE '%S%' ORDER BY salary DESC | display all the information for all employees who have the letters D or S in their first name and also arrange the result in descending order by salary. | CREATE TABLE employees (salary VARCHAR, first_name VARCHAR) |
SELECT chart_peak FROM table_name_64 WHERE recorded = "2/19/69" | Which Chart peak was Recorded on 2/19/69? | CREATE TABLE table_name_64 (chart_peak VARCHAR, recorded VARCHAR) |
SELECT AVG(round) FROM table_name_57 WHERE college = "stanford" AND overall < 8 | Which Round has a College of stanford, and an Overall smaller than 8? | CREATE TABLE table_name_57 (round INTEGER, college VARCHAR, overall VARCHAR) |
SELECT location FROM table_name_89 WHERE record = "12-5" | Where was the location when the record was 12-5? | CREATE TABLE table_name_89 (location VARCHAR, record VARCHAR) |
SELECT F.goals FROM table_name_31 WHERE games = "22 22" AND points = "012 12" | Name the F. Goals for games of 22 22 and points of 012 12 | CREATE TABLE table_name_31 (games VARCHAR, points VARCHAR) |
SELECT writer_s FROM table_18305523_2 WHERE cover_date = "19 October 1985" | Who wrote the story that is cover date 19 October 1985? | CREATE TABLE table_18305523_2 (writer_s VARCHAR, cover_date VARCHAR) |
SELECT average_ratings FROM table_name_32 WHERE episodes = "11" AND tv_station = "fuji tv" AND japanese_title = "プロポーズ大作戦" | What are the Ratings of Japanese Title プロポーズ大作戦 episode 11 on Fuji TV station? | CREATE TABLE table_name_32 (average_ratings VARCHAR, japanese_title VARCHAR, episodes VARCHAR, tv_station VARCHAR) |
SELECT event FROM table_name_23 WHERE name = "ye shiwen" | Which event was Ye Shiwen in? | CREATE TABLE table_name_23 (event VARCHAR, name VARCHAR) |
SELECT prize FROM table_name_53 WHERE country_region = "belgium" | Tell me the prize for belgium | CREATE TABLE table_name_53 (prize VARCHAR, country_region VARCHAR) |
SELECT SUM(crowd) FROM table_name_32 WHERE venue = "mcg" | How many people were present in a total of every crowd at the MCG venue? | CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR) |
SELECT years_at_club FROM table_name_63 WHERE goals = 2 AND date_of_birth = "23 july 1910" | What is the years at the club of the player with 2 goals and was born on 23 July 1910? | CREATE TABLE table_name_63 (years_at_club VARCHAR, goals VARCHAR, date_of_birth VARCHAR) |
SELECT method FROM table_name_37 WHERE record = "15-11" | How did the match end when his record was 15-11? | CREATE TABLE table_name_37 (method VARCHAR, record VARCHAR) |
SELECT MAX(losses) FROM table_name_28 WHERE draws > 0 | Which Losses have Draws larger than 0? | CREATE TABLE table_name_28 (losses INTEGER, draws INTEGER) |
SELECT filename_extension FROM table_name_26 WHERE word_wrap_support = "yes" AND open_standard = "no" AND interactivity_support = "yes" | Which Filename extension has a Word wrap support of yes, an Open standard of no, and an Interactivity support of yes? | CREATE TABLE table_name_26 (filename_extension VARCHAR, interactivity_support VARCHAR, word_wrap_support VARCHAR, open_standard VARCHAR) |
SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1 | What is the money rank of the poker player with the highest earnings? | CREATE TABLE poker_player (Money_Rank VARCHAR, Earnings VARCHAR) |
SELECT MAX(top_10) FROM table_name_62 WHERE top_25 = 4 AND top_5 > 1 | What is the highest Top-10, when Top-25 is 4, and when Top-5 is greater than 1? | CREATE TABLE table_name_62 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR) |
SELECT MIN(floors) FROM table_name_59 WHERE name = "joyus housing" AND rank < 2 | What is the lowest number of floors for the number 2 ranked Joyus Housing? | CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR, rank VARCHAR) |
SELECT venue FROM table_name_68 WHERE position = "1st" AND year = 2011 | What was the venue of the competition that held the 1st position in 2011? | CREATE TABLE table_name_68 (venue VARCHAR, position VARCHAR, year VARCHAR) |
SELECT COUNT(no) FROM table_11545282_5 WHERE player = "Howard Eisley" | How many players were names Howard Eisley? | CREATE TABLE table_11545282_5 (no VARCHAR, player VARCHAR) |
SELECT MAX(week) FROM table_23685152_2 WHERE attendance = 20114 | During what week was the game attended by 20114 people? | CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR) |
SELECT MAX(new_membership_total) FROM table_27671835_3 WHERE members_lost > 1.0 | What is the new membership total if the members lost is bigger than 1.0? | CREATE TABLE table_27671835_3 (new_membership_total INTEGER, members_lost INTEGER) |
SELECT skip FROM table_name_80 WHERE lead = "lisa weagle" | Who has the lead on Lisa Weagle? | CREATE TABLE table_name_80 (skip VARCHAR, lead VARCHAR) |
SELECT MIN(league) FROM table_17505751_5 WHERE total = 8 AND copa_del_rey = 0 | when the total is 8 and copa del rey is 0 what is the minimum league | CREATE TABLE table_17505751_5 (league INTEGER, total VARCHAR, copa_del_rey VARCHAR) |
SELECT tonnes FROM table_18047346_5 WHERE airport_name = "Louisville International Airport" | Louisville International Airport had how many tonnes of cargo in 2011? | CREATE TABLE table_18047346_5 (tonnes VARCHAR, airport_name VARCHAR) |
SELECT COUNT(top_5) FROM table_name_38 WHERE year < 2009 AND wins > 0 | Can you tell me the total number of Top 5 that has the Year smaller than 2009, and the Wins larger than 0? | CREATE TABLE table_name_38 (top_5 VARCHAR, year VARCHAR, wins VARCHAR) |
SELECT home_captain FROM table_name_93 WHERE result = "aus by 245 runs" | Who is the home captain that won AUS by 245 runs? | CREATE TABLE table_name_93 (home_captain VARCHAR, result VARCHAR) |
SELECT to_par FROM table_name_25 WHERE score = 66 AND player = "brad faxon" | What is To Par, when Score is "66", and when Player is "Brad Faxon"? | CREATE TABLE table_name_25 (to_par VARCHAR, score VARCHAR, player VARCHAR) |
SELECT catch_up_period FROM table_name_30 WHERE owner = "utv" | What is the Catch-up period for UTV? | CREATE TABLE table_name_30 (catch_up_period VARCHAR, owner VARCHAR) |
SELECT AVG(3620) FROM table_name_66 WHERE 5432 = 1277 AND 15122 < 1540 | What is the average 3620 value that has a 5432 of 1277 and a 15122 less than 1540? | CREATE TABLE table_name_66 (Id VARCHAR) |
SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "no data" | List the possible children per donor levels for countries where the allowed recipients is no data. | CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR) |
SELECT race_winner FROM table_28925058_1 WHERE date = "June 26" | Who won the race on June 26? | CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR) |
SELECT pr_avg FROM table_16912000_13 WHERE kr_lg = 49 | What is the pr avg, when kr lg is 49? | CREATE TABLE table_16912000_13 (pr_avg VARCHAR, kr_lg VARCHAR) |
SELECT SUM(against) FROM table_name_8 WHERE losses = 5 AND draws < 0 | What is the sum of Against values for teams with 5 losses and 0 draws? | CREATE TABLE table_name_8 (against INTEGER, losses VARCHAR, draws VARCHAR) |
SELECT MAX(poles) FROM table_3005915_3 | What is the maximum number of poles? | CREATE TABLE table_3005915_3 (poles INTEGER) |
SELECT player FROM table_name_40 WHERE college = "concordia" | What p;layer attended Concordia College? | CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR) |
SELECT original_air_date FROM table_2409041_2 WHERE no_in_series = 21 | When 21 is the number in series what is the air date? | CREATE TABLE table_2409041_2 (original_air_date VARCHAR, no_in_series VARCHAR) |
SELECT winning_driver FROM table_name_70 WHERE name = "avusrennen" | Tell me the winning driver for avusrennen | CREATE TABLE table_name_70 (winning_driver VARCHAR, name VARCHAR) |
SELECT player FROM table_name_15 WHERE draft = 1971 AND pick > 7 | Who is the player from the 1971 draft with a pick greater than 7? | CREATE TABLE table_name_15 (player VARCHAR, draft VARCHAR, pick VARCHAR) |
SELECT years_for_jazz FROM table_name_29 WHERE player = "troy hudson" | What years did Troy Hudson play for the Jazz? | CREATE TABLE table_name_29 (years_for_jazz VARCHAR, player VARCHAR) |
SELECT median_family_income FROM table_1356555_2 WHERE county = "Riverside" | Name the median family income for riverside | CREATE TABLE table_1356555_2 (median_family_income VARCHAR, county VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.