answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT active_pixels FROM table_name_10 WHERE model = "cantare" | What are the active pixels of the cantare model? | CREATE TABLE table_name_10 (active_pixels VARCHAR, model VARCHAR) |
SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong" | What is geelong's aberage crowd as Away Team? | CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR) |
SELECT MAX(home_runs) FROM table_name_92 WHERE team = "cleveland indians" AND year < 1931 | Tell me the highest home runs for cleveland indians years before 1931 | CREATE TABLE table_name_92 (home_runs INTEGER, team VARCHAR, year VARCHAR) |
SELECT name FROM table_name_30 WHERE episode_number = "episode 34" | Which contestant was associated with episode 34? | CREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR) |
SELECT COUNT(*) FROM school | How many schools are there? | CREATE TABLE school (Id VARCHAR) |
SELECT local_letter FROM table_name_28 WHERE capital = "funadhoo" | The capital of funadhoo has what local letter? | CREATE TABLE table_name_28 (local_letter VARCHAR, capital VARCHAR) |
SELECT location FROM table_27361255_1 WHERE institution = "Robert Morris University-Illinois" | Where is Robert Morris University-Illinois held? | CREATE TABLE table_27361255_1 (location VARCHAR, institution VARCHAR) |
SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = "9" | If the night rank is 9, what is the total share number? | CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR) |
SELECT replaced_by FROM table_name_64 WHERE team = "racing santander" | Name the replaced by for racing santander | CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR) |
SELECT set_3 FROM table_name_27 WHERE total = "98 - 92" | What is the Set 3 when the Total was 98 - 92? | CREATE TABLE table_name_27 (set_3 VARCHAR, total VARCHAR) |
SELECT loa__metres_ FROM table_20854943_2 WHERE sail_number = "M10" | What are the LOA (metres) of boat with sail number M10? | CREATE TABLE table_20854943_2 (loa__metres_ VARCHAR, sail_number VARCHAR) |
SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner" | Who ran unsuccessfully against Bill Hefner? | CREATE TABLE table_1341522_36 (opponent VARCHAR, incumbent VARCHAR) |
SELECT successor FROM table_225099_3 WHERE state__class_ = "Maine (2)" | Who was the successor for the state of Maine (2) ? | CREATE TABLE table_225099_3 (successor VARCHAR, state__class_ VARCHAR) |
SELECT res FROM table_name_92 WHERE round > 2 AND event = "midwest cage championships 25: inferno" | What is Res., when Round is greater than 2, and when Event is "Midwest Cage Championships 25: Inferno"? | CREATE TABLE table_name_92 (res VARCHAR, round VARCHAR, event VARCHAR) |
SELECT position FROM table_name_78 WHERE player = "jani lajunen" | What is the position for Jani Lajunen? | CREATE TABLE table_name_78 (position VARCHAR, player VARCHAR) |
SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976" | Name the candidates for first elected being 1976 | CREATE TABLE table_25030512_24 (candidates VARCHAR, first_elected VARCHAR) |
SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041 | Which country has a reaction time of under 0.242 seconds and over 1041 points? | CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR) |
SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31" | What week has a result of L 17-31 first? | CREATE TABLE table_name_17 (week INTEGER, result VARCHAR) |
SELECT home_team FROM table_name_90 WHERE date = "june 9" | Who was the home team on June 9? | CREATE TABLE table_name_90 (home_team VARCHAR, date VARCHAR) |
SELECT pal_m FROM table_name_54 WHERE ntsc_m = "4.5mhz" | What is the PAL M for the NTSC M 4.5mhz? | CREATE TABLE table_name_54 (pal_m VARCHAR, ntsc_m VARCHAR) |
SELECT COUNT(rating) FROM table_name_78 WHERE player = "mark miller" AND comp > 1 | What is the sum rating with more than 1 comp for mark miller? | CREATE TABLE table_name_78 (rating VARCHAR, player VARCHAR, comp VARCHAR) |
SELECT score FROM table_name_35 WHERE team = "@ kansas city-omaha kings" | What is Score when Team is @ Kansas City-Omaha Kings? | CREATE TABLE table_name_35 (score VARCHAR, team VARCHAR) |
SELECT COUNT(DISTINCT dept_address) FROM department WHERE school_code = 'BUS' | How many different locations does the school with code BUS has? | CREATE TABLE department (dept_address VARCHAR, school_code VARCHAR) |
SELECT COUNT(attendance) FROM table_name_8 WHERE away = "real juventud" | What is the total number of Attendance(s), when Away is Real Juventud? | CREATE TABLE table_name_8 (attendance VARCHAR, away VARCHAR) |
SELECT seat_factor FROM table_105344_2 WHERE year = 2006 | What percentage of seats were filled in 2006? | CREATE TABLE table_105344_2 (seat_factor VARCHAR, year VARCHAR) |
SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17" | What is the lowest numbered game against Phoenix with a record of 29-17? | CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR) |
SELECT COUNT(position) FROM table_10812403_4 WHERE pick__number = 30 | How many people were pick #30? | CREATE TABLE table_10812403_4 (position VARCHAR, pick__number VARCHAR) |
SELECT known_for FROM table_name_34 WHERE entered = "day 1" AND celebrity = "freddie starr" | What was Freddie Starr, who entered on Day 1, known for? | CREATE TABLE table_name_34 (known_for VARCHAR, entered VARCHAR, celebrity VARCHAR) |
SELECT COUNT(cfl_team) FROM table_15817998_5 WHERE college = "Wilfrid Laurier" | What is the total number of CFL teams in the college Wilfrid Laurier | CREATE TABLE table_15817998_5 (cfl_team VARCHAR, college VARCHAR) |
SELECT registered_voters FROM table_27003223_4 WHERE d_r_spread = "+14.3%" | What is the percentage of registered voters in which the d-r spread is +14.3%? | CREATE TABLE table_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR) |
SELECT round FROM table_name_54 WHERE name = "greg huntington" | Round that greg huntington went in? | CREATE TABLE table_name_54 (round VARCHAR, name VARCHAR) |
SELECT season FROM table_name_60 WHERE location = "safeco field" AND decision = "l" AND opponent = "boston red sox" | What season was played at Safeco Field, against the Boston Red Sox, with a decision of L? | CREATE TABLE table_name_60 (season VARCHAR, opponent VARCHAR, location VARCHAR, decision VARCHAR) |
SELECT AVG(t1.access_count) FROM documents AS t1 JOIN document_functional_areas AS t2 ON t1.document_code = t2.document_code JOIN functional_areas AS t3 ON t2.functional_area_code = t3.functional_area_code WHERE t3.functional_area_description = "Acknowledgement" | Find the average access counts of documents with functional area "Acknowledgement". | CREATE TABLE document_functional_areas (document_code VARCHAR, functional_area_code VARCHAR); CREATE TABLE documents (access_count INTEGER, document_code VARCHAR); CREATE TABLE functional_areas (functional_area_code VARCHAR, functional_area_description VARCHAR) |
SELECT pick__number FROM table_2508633_5 WHERE nfl_team = "Buffalo Bills" | What pick number did the buffalo bills get? | CREATE TABLE table_2508633_5 (pick__number VARCHAR, nfl_team VARCHAR) |
SELECT score FROM table_name_8 WHERE player = "vijay singh" | Name the score for vijay singh | CREATE TABLE table_name_8 (score VARCHAR, player VARCHAR) |
SELECT trainer FROM table_name_5 WHERE winner = "skylighter" | Who is the trainer of the winner skylighter? | CREATE TABLE table_name_5 (trainer VARCHAR, winner VARCHAR) |
SELECT vacator FROM table_2147588_4 WHERE successor = "Nathaniel G. Taylor (U)" | When nathaniel g. taylor (u) is the successor what is the vacator? | CREATE TABLE table_2147588_4 (vacator VARCHAR, successor VARCHAR) |
SELECT location FROM table_2112260_1 WHERE nick = "BRU" | Where is every location where Nick is Bru? | CREATE TABLE table_2112260_1 (location VARCHAR, nick VARCHAR) |
SELECT construction FROM table_name_89 WHERE name__wade_giles_ = "fu-hsing" | Which Construction is named of fu-hsing? | CREATE TABLE table_name_89 (construction VARCHAR, name__wade_giles_ VARCHAR) |
SELECT attendance FROM table_name_8 WHERE score = "16–7" | What was the attendance at the game that had a score of 16–7? | CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) |
SELECT MIN(laps) FROM table_name_23 WHERE rider = "imre toth" | what is the smallest number of laps imre toth has? | CREATE TABLE table_name_23 (laps INTEGER, rider VARCHAR) |
SELECT ramtha FROM table_26173058_2 WHERE ahli = "1-1" | what is the score where the record is 1-1 | CREATE TABLE table_26173058_2 (ramtha VARCHAR, ahli VARCHAR) |
SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay" | What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition? | CREATE TABLE table_name_7 (waterford_score VARCHAR, year VARCHAR, competition VARCHAR) |
SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas" | What year is United States school/club team from Arkansas play in Toronto | CREATE TABLE table_name_87 (years_in_toronto VARCHAR, nationality VARCHAR, school_club_team VARCHAR) |
SELECT general_election FROM table_106367_2 WHERE result = "PQ majority" AND _percentage_of_popular_vote = "44.75%" | Which general election had a pq majority and a 44.75% of the popular vote? | CREATE TABLE table_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR) |
SELECT AVG(wins) FROM table_name_62 WHERE byes < 2 | What's the average number of wins for those with less than 2 byes? | CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER) |
SELECT icao FROM table_name_86 WHERE airport = "antalya airport" | What is the ICAO for Antalya Airport? | CREATE TABLE table_name_86 (icao VARCHAR, airport VARCHAR) |
SELECT location FROM table_name_61 WHERE leagues = "a1 women's - handball" | What is the location of a1 women's - handball? | CREATE TABLE table_name_61 (location VARCHAR, leagues VARCHAR) |
SELECT MIN(total) FROM table_name_23 WHERE rank < 2 AND silver < 15 | Which Total is the lowest one that has a Rank smaller than 2, and a Silver smaller than 15? | CREATE TABLE table_name_23 (total INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT COUNT(points) FROM table_name_49 WHERE year > 1991 | What are the Points after 1991? | CREATE TABLE table_name_49 (points VARCHAR, year INTEGER) |
SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven" | Who is the original west end performer for the character Neville Craven? | CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) |
SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku" | What is the tenure of the person with revenues of 60,000-->58,000 koku? | CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR) |
SELECT AVG(wins) FROM table_name_18 WHERE f_laps > 1 AND points = "80" | What is the average Wins, when F/Laps is greater than 1, and when Points is 80? | CREATE TABLE table_name_18 (wins INTEGER, f_laps VARCHAR, points VARCHAR) |
SELECT AVG(worst_score) FROM table_name_81 WHERE best_dancer = "mario lopez" AND dance = "tango" | What is the average Worst score for Mario Lopez as the Best dancer and Tango as the Dance? | CREATE TABLE table_name_81 (worst_score INTEGER, best_dancer VARCHAR, dance VARCHAR) |
SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong" | When are all years that the champion is Ji Min Jeong? | CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR) |
SELECT right_ascension___j2000__ FROM table_name_29 WHERE apparent_magnitude > 11.8 | For an apparent magnitude greater than 11.8 what Right ascension value is assigned? | CREATE TABLE table_name_29 (right_ascension___j2000__ VARCHAR, apparent_magnitude INTEGER) |
SELECT highest_score FROM table_28846752_12 WHERE average = "30.00" | What is the highest score for the player with average of 30.00? | CREATE TABLE table_28846752_12 (highest_score VARCHAR, average VARCHAR) |
SELECT MAX(points) FROM table_name_67 WHERE played < 30 | Can you tell me the highest Points that has the Played smaller than 30? | CREATE TABLE table_name_67 (points INTEGER, played INTEGER) |
SELECT completed FROM table_name_50 WHERE pennant_number = "h59" | When is the completed date of the destroyer with a pennant number h59? | CREATE TABLE table_name_50 (completed VARCHAR, pennant_number VARCHAR) |
SELECT result FROM table_name_89 WHERE score = "4-1" AND competition = "world cup qualifying" | Which Result has a Score of 4-1, and a Competition of world cup qualifying? | CREATE TABLE table_name_89 (result VARCHAR, score VARCHAR, competition VARCHAR) |
SELECT score FROM table_name_35 WHERE opponent = "indians" AND date = "september 15" | What is the score from September 15 that has the Indians as the opponent? | CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49 | Which Place is the highest one that has a Draw larger than 1, and 49 Points? | CREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR) |
SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7 | Tell me the highest opponents for record of 7-3 and vikings points more than 7 | CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR) |
SELECT all_bills_sponsored FROM table_name_57 WHERE bills_originally_cosponsored > 113 AND all_amendments_cosponsored < 47 | What is the number of bills sponsored associated with over 113 bills originally cosponsored and under 47 amendments cosponsored? | CREATE TABLE table_name_57 (all_bills_sponsored VARCHAR, bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR) |
SELECT status FROM table_27021001_1 WHERE district = "Georgia's 10th" | What is the status for district georgia's 10th? | CREATE TABLE table_27021001_1 (status VARCHAR, district VARCHAR) |
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 20 | which grid did less than 20 laps in a time of +58.353? | CREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR) |
SELECT MIN(attendance) FROM table_name_32 WHERE record = "18–15–6" | Record of 18–15–6 belongs to what lowest attendance? | CREATE TABLE table_name_32 (attendance INTEGER, record VARCHAR) |
SELECT written_by FROM table_27714573_1 WHERE production_code_s_ = 225560 | who are the writers of the episode whose production code(s) is 225560? | CREATE TABLE table_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR) |
SELECT MAX(weeks_in_top_10) FROM table_27813010_2 | How long has the longest song spent in the top 10? | CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER) |
SELECT date FROM table_name_57 WHERE away_team = "south melbourne" | If the Away team was south melbourne what Date did they play? | CREATE TABLE table_name_57 (date VARCHAR, away_team VARCHAR) |
SELECT MAX(top_10s) FROM table_name_53 WHERE starts = 14 | Which of the top-10s has a starts value of 14? | CREATE TABLE table_name_53 (top_10s INTEGER, starts VARCHAR) |
SELECT MIN(total) FROM table_name_48 WHERE country = "australia" AND to_par < 7 | Name the Total of australia and a To par smaller than 7? | CREATE TABLE table_name_48 (total INTEGER, country VARCHAR, to_par VARCHAR) |
SELECT MIN(gold) FROM table_name_45 WHERE silver < 23 AND rank > 5 AND bronze = 6 | What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes? | CREATE TABLE table_name_45 (gold INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) |
SELECT runs FROM table_name_2 WHERE venue = "bellerive oval , hobart" AND player = "travis birt" | Name the Runs that has a Venue of bellerive oval , hobart, and a Player of travis birt? | CREATE TABLE table_name_2 (runs VARCHAR, venue VARCHAR, player VARCHAR) |
SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON" | What percentage did McCain get in Hamilton county? | CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR) |
SELECT status FROM table_19061741_1 WHERE name = "Nel Rapiz" | When nel rapiz is the name what is the status? | CREATE TABLE table_19061741_1 (status VARCHAR, name VARCHAR) |
SELECT player FROM table_name_6 WHERE to_par = "e" AND country = "united states" | What player has E as the to par, and The United States as the country? | CREATE TABLE table_name_6 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen" | How many number of screenings have an opening film of the journey of vaan nguyen? | CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR) |
SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid WHERE T1.flno = 99 | What is the aircraft name for the flight with number 99 | CREATE TABLE Flight (aid VARCHAR, flno VARCHAR); CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR) |
SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner" | When winner is the status and 77 is the total days in pbb house what is the edition? | CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR) |
SELECT years FROM table_14962287_1 WHERE other_a = "8 (1)" | which years had other a of 8 (1)? | CREATE TABLE table_14962287_1 (years VARCHAR, other_a VARCHAR) |
SELECT competition FROM table_name_32 WHERE club = "aik" | Which competition has aik club? | CREATE TABLE table_name_32 (competition VARCHAR, club VARCHAR) |
SELECT team FROM table_name_31 WHERE location_attendance = "boston garden" AND series = "0-1" | what is the team when the location attendace is boston garden and the series is 0-1? | CREATE TABLE table_name_31 (team VARCHAR, location_attendance VARCHAR, series VARCHAR) |
SELECT COUNT(*) FROM Paragraphs | How many paragraphs in total? | CREATE TABLE Paragraphs (Id VARCHAR) |
SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 7 | What is the Pixie and Dixie skit in episode 7? | CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR) |
SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "bangla" GROUP BY T2.artist_name ORDER BY COUNT(*) DESC LIMIT 3 | Find the top 3 artists who have the largest number of songs works whose language is Bangla. | CREATE TABLE song (artist_name VARCHAR, languages VARCHAR); CREATE TABLE artist (artist_name VARCHAR) |
SELECT MAX(geo_id) FROM table_18600760_10 WHERE township = "Joliette" | What is the geo id for Joliette? | CREATE TABLE table_18600760_10 (geo_id INTEGER, township VARCHAR) |
SELECT winning_pitcher FROM table_13710464_1 WHERE losing_pitcher = "Ezequiel Astacio" | Who was the wenning witcher when ezequiel astacio was the losing pitcher? | CREATE TABLE table_13710464_1 (winning_pitcher VARCHAR, losing_pitcher VARCHAR) |
SELECT MIN(area_km_2) FROM table_name_61 WHERE official_name = "southampton" AND population > 1 OFFSET 601 | Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601? | CREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR) |
SELECT department FROM table_1331313_1 WHERE incumbent = "Enrique Ona" | what's the department with incumbent being enrique ona | CREATE TABLE table_1331313_1 (department VARCHAR, incumbent VARCHAR) |
SELECT episode FROM table_26250218_1 WHERE order__number = "4" | Which episode is #4? | CREATE TABLE table_26250218_1 (episode VARCHAR, order__number VARCHAR) |
SELECT group FROM table_name_66 WHERE formula = "rncs" | Which group has the RNCS formula? | CREATE TABLE table_name_66 (group VARCHAR, formula VARCHAR) |
SELECT AVG(population_estimate_2005) FROM table_name_89 WHERE area__km_2__ = 3 OFFSET 034.08 | what is the population estimate 2005 for the with the area (km2) 3,034.08? | CREATE TABLE table_name_89 (population_estimate_2005 INTEGER, area__km_2__ VARCHAR) |
SELECT l FROM table_29565858_2 WHERE stolen_ends = 1 | What is listed under L when the stolen ends is 1? | CREATE TABLE table_29565858_2 (l VARCHAR, stolen_ends VARCHAR) |
SELECT loss FROM table_name_96 WHERE record = "26-9" | What loss has 26-9 as a loss? | CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) |
SELECT tries_for FROM table_name_92 WHERE points_against = "583" | Name the tries for points against of 583 | CREATE TABLE table_name_92 (tries_for VARCHAR, points_against VARCHAR) |
SELECT home_team FROM table_name_89 WHERE away_team = "vitória" | Who played as the home team when Vitória was the away team? | CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) |
SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62" | What is the frequency of the Turion 64 X2 TL-62? | CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR) |
SELECT date FROM table_name_95 WHERE time = "2:59" | What date has 2:59 as the time? | CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR) |
SELECT AVG(position) FROM table_name_16 WHERE draws < 7 AND played > 22 | Which Position has Draws smaller than 7 and a Played larger than 22? | CREATE TABLE table_name_16 (position INTEGER, draws VARCHAR, played VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.