answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT l2_cache FROM table_name_54 WHERE model_number = "pentium ii 350" | What is L2 Cache, when Model Number is Pentium II 350? | CREATE TABLE table_name_54 (l2_cache VARCHAR, model_number VARCHAR) |
SELECT COUNT(growth_rate) FROM table_231623_3 WHERE density_per_kilometer = 1087 | Name the growth rate for density of 1087 | CREATE TABLE table_231623_3 (growth_rate VARCHAR, density_per_kilometer VARCHAR) |
SELECT 2002 FROM table_name_79 WHERE 2008 = "3–3" | Which 2002 has a 2008 of 3–3? | CREATE TABLE table_name_79 (Id VARCHAR) |
SELECT round FROM table_name_85 WHERE overall = 246 | What is the Round when there is an overall of 246? | CREATE TABLE table_name_85 (round VARCHAR, overall VARCHAR) |
SELECT stages FROM table_name_42 WHERE year = 1981 | Tell me the stages for 1981 | CREATE TABLE table_name_42 (stages VARCHAR, year VARCHAR) |
SELECT MAX(field_goals__5_points_) FROM table_14342210_14 WHERE total_points = 100 | How many field goals were made by the person with 100 points in total? | CREATE TABLE table_14342210_14 (field_goals__5_points_ INTEGER, total_points VARCHAR) |
SELECT aspect_ratio FROM table_1180228_1 WHERE released = "12/10/2009" | What is the aspect ratio of the DVD released on 12/10/2009? | CREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR) |
SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm" | What city is 103.3 FM licensed in? | CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR) |
SELECT ___ave_on_prev_season FROM table_2970978_1 WHERE competition = "League Two" | What is every value for average on previous season if the competition is league two? | CREATE TABLE table_2970978_1 (___ave_on_prev_season VARCHAR, competition VARCHAR) |
SELECT title FROM table_10715317_2 WHERE directed_by = "Peter Markle" AND written_by = "Jerry Stahl" | What is the title of the episode directed by Peter Markle and written by Jerry Stahl? | CREATE TABLE table_10715317_2 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT team FROM table_name_68 WHERE driver = "jean alesi" AND engine_† = "acer 01a" | Jean Alesi, drives the Acer 01A engine for which team? | CREATE TABLE table_name_68 (team VARCHAR, driver VARCHAR, engine_† VARCHAR) |
SELECT high_points FROM table_27722408_6 WHERE record = "9–3" | Who scored the high points for the game with record 9–3? | CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR) |
SELECT COUNT(area_km_2) FROM table_name_58 WHERE population = 2 OFFSET 113 | What is the Area of the Parish with a Population of 2,113? | CREATE TABLE table_name_58 (area_km_2 VARCHAR, population VARCHAR) |
SELECT score FROM table_name_66 WHERE record = "48-55" | Which score has a Record of 48-55? | CREATE TABLE table_name_66 (score VARCHAR, record VARCHAR) |
SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki" | What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki? | CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR) |
SELECT score FROM table_name_48 WHERE home = "new york rangers" AND record = "8–27–5" | What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5? | CREATE TABLE table_name_48 (score VARCHAR, home VARCHAR, record VARCHAR) |
SELECT score FROM table_name_43 WHERE game = "48" | What was the score of Game 48? | CREATE TABLE table_name_43 (score VARCHAR, game VARCHAR) |
SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE population__2002_ = 29449 | What is the number of 2011 populations having a 2002 population of 29449? | CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, population__2002_ VARCHAR) |
SELECT COUNT(laps) FROM table_name_47 WHERE pos = "4th" AND year > 2013 | How many laps were driven by the racer who earned 4th place in 2013? | CREATE TABLE table_name_47 (laps VARCHAR, pos VARCHAR, year VARCHAR) |
SELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = "JaVale McGee (5)" | What's the maximum game in the javale mcgee (5) high rebounds? | CREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR) |
SELECT winning_driver FROM table_name_82 WHERE event = "200 miles of norisring" | Which Winning Driver has an Event of 200 miles of norisring? | CREATE TABLE table_name_82 (winning_driver VARCHAR, event VARCHAR) |
SELECT result FROM table_19753079_4 WHERE first_elected = 1992 | Name the result for first elected being 1992 | CREATE TABLE table_19753079_4 (result VARCHAR, first_elected VARCHAR) |
SELECT visiting_team FROM table_name_99 WHERE date = "december 20" | Who is the Visiting team on december 20? | CREATE TABLE table_name_99 (visiting_team VARCHAR, date VARCHAR) |
SELECT 1 AS st_runner_up FROM table_name_90 WHERE miss_earth_venezuela = "maría daniela torrealba" | who is the 1st runner-up when the miss earth Venezuela is maría daniela torrealba? | CREATE TABLE table_name_90 (miss_earth_venezuela VARCHAR) |
SELECT written_by FROM table_15584067_7 WHERE us_viewers__million_ = "1.81" | Name who wrote the episode when the viewers was 1.81 | CREATE TABLE table_15584067_7 (written_by VARCHAR, us_viewers__million_ VARCHAR) |
SELECT COUNT(population) FROM table_name_45 WHERE area__km²_ = 3 OFFSET 616 | What is the total population for the 3,616km area? | CREATE TABLE table_name_45 (population VARCHAR, area__km²_ VARCHAR) |
SELECT AVG(total_medals) FROM table_name_2 WHERE ensemble = "goshen hs" | Name the average total medals with ensemble of goshen hs | CREATE TABLE table_name_2 (total_medals INTEGER, ensemble VARCHAR) |
SELECT county FROM table_20424014_1 WHERE obama__percentage = "39.8%" | where did obama get 39.8% | CREATE TABLE table_20424014_1 (county VARCHAR, obama__percentage VARCHAR) |
SELECT venue FROM table_name_43 WHERE date = "july 17, 1999" | Where was the match held on July 17, 1999? | CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR) |
SELECT Earnings FROM poker_player ORDER BY Earnings DESC | List the earnings of poker players in descending order. | CREATE TABLE poker_player (Earnings VARCHAR) |
SELECT AVG(attendance) FROM table_name_38 WHERE h___a = "h" AND date = "7 november 2007" | What is the average attendance for the date of 7 November 2007 with an H/A of H? | CREATE TABLE table_name_38 (attendance INTEGER, h___a VARCHAR, date VARCHAR) |
SELECT season FROM table_name_95 WHERE away_result = "1-2" | Away result of 1-2 has what season? | CREATE TABLE table_name_95 (season VARCHAR, away_result VARCHAR) |
SELECT team FROM table_name_65 WHERE high_points = "west (20)" | What team had a high points of west (20)? | CREATE TABLE table_name_65 (team VARCHAR, high_points VARCHAR) |
SELECT home_city FROM driver WHERE age > 40 GROUP BY home_city HAVING COUNT(*) >= 2 | Show home city where at least two drivers older than 40 are from. | CREATE TABLE driver (home_city VARCHAR, age INTEGER) |
SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488 | What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? | CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR) |
SELECT home_team FROM table_name_61 WHERE away_team = "hawthorn" | Who was the home team when Hawthorn was the away team? | CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR) |
SELECT MIN(year_won) FROM table_name_81 WHERE total > 156 | What is the earliest year won with a total bigger than 156? | CREATE TABLE table_name_81 (year_won INTEGER, total INTEGER) |
SELECT income_poverty_f FROM table_13618358_1 WHERE services_ & _cons_truction_b = "72.5" | How low was the income where services is 72.5? | CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, services_ VARCHAR, _cons_truction_b VARCHAR) |
SELECT date FROM table_name_41 WHERE home_team = "south melbourne" | What is the date of the home team from South Melbourne? | CREATE TABLE table_name_41 (date VARCHAR, home_team VARCHAR) |
SELECT name FROM track EXCEPT SELECT T2.name FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id WHERE T1.class = 'GT' | What are the names for tracks without a race in class 'GT'. | CREATE TABLE race (track_id VARCHAR, class VARCHAR); CREATE TABLE track (name VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) |
SELECT COUNT(against) FROM table_name_3 WHERE difference = "10" AND played > 8 | What is the number of against when the difference is 10 and played is greater than 8? | CREATE TABLE table_name_3 (against VARCHAR, difference VARCHAR, played VARCHAR) |
SELECT artist FROM table_name_32 WHERE week = "top 6" | Which Artist is listed as having Top 6 in Week | CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR) |
SELECT MIN(elected) FROM table_13870048_3 WHERE incumbent = "Gregory W. Meeks" | what was the lowest numbers for the winner gregory w. meeks | CREATE TABLE table_13870048_3 (elected INTEGER, incumbent VARCHAR) |
SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans" | How many picks included Kenny Evans? | CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR) |
SELECT venue FROM table_name_73 WHERE result = "3-0" | What venue has a Result of 3-0? | CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR) |
SELECT week_7_oct_12 FROM table_name_79 WHERE week_9_oct_26 = "tulsa (7-0)" | Which Week 7 Oct 12 has a Week 9 Oct 26 of tulsa (7-0)? | CREATE TABLE table_name_79 (week_7_oct_12 VARCHAR, week_9_oct_26 VARCHAR) |
SELECT specimen_weight_size FROM table_26211058_1 WHERE calculated_activity___ci__ = "4.96×10 −11" | If the calculated activity (CI) is 4.96×10 −11, what is the specimen weight/size? | CREATE TABLE table_26211058_1 (specimen_weight_size VARCHAR, calculated_activity___ci__ VARCHAR) |
SELECT winning_driver FROM table_name_90 WHERE date = "5 may" | Who is the winning driver of the race on 5 May? | CREATE TABLE table_name_90 (winning_driver VARCHAR, date VARCHAR) |
SELECT driver FROM table_name_16 WHERE races > 16 | Name the Driver that has Races greater than 16? | CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER) |
SELECT SUM(money___) AS $__ FROM table_name_86 WHERE score = 76 - 70 - 68 - 73 = 287 | How much money has 76-70-68-73=287 as a score? | CREATE TABLE table_name_86 (money___ INTEGER, score VARCHAR) |
SELECT MAX(opened) FROM table_name_80 WHERE system = "c-train" AND daily_ridership < 269 OFFSET 600 | Which Opened has a System of c-train, and a Daily ridership smaller than 269,600? | CREATE TABLE table_name_80 (opened INTEGER, system VARCHAR, daily_ridership VARCHAR) |
SELECT first_elected FROM table_1341453_44 WHERE district = "Tennessee 4" | When was the incumbent in the Tennessee 4 district first elected? | CREATE TABLE table_1341453_44 (first_elected VARCHAR, district VARCHAR) |
SELECT socialist_ticket FROM table_name_2 WHERE republican_ticket = "john a. may" | Who's the Socialist ticket with a Republican ticket of john a. may? | CREATE TABLE table_name_2 (socialist_ticket VARCHAR, republican_ticket VARCHAR) |
SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur" | What is the area in km2 for the district whose original name was Kecamatan Bogor Timur? | CREATE TABLE table_1104312_5 (area_in_km² VARCHAR, original_name VARCHAR) |
SELECT gender FROM table_28523_2 WHERE school = "Cunningham Hill Infant school" | What is the gender of the cunningham hill infant school? | CREATE TABLE table_28523_2 (gender VARCHAR, school VARCHAR) |
SELECT MAX(district_wide) FROM table_2367847_2 WHERE other_programs_ & _adjustments = 1639 | Name the most district wide for 1639 other programs | CREATE TABLE table_2367847_2 (district_wide INTEGER, other_programs_ VARCHAR, _adjustments VARCHAR) |
SELECT COUNT(*) FROM Transcripts | How many transcripts are released? | CREATE TABLE Transcripts (Id VARCHAR) |
SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use" | How many outputs are there for solid state, battery operated for portable use listed in notes? | CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR) |
SELECT intercontinental_cup_1993 FROM table_name_23 WHERE supercopa_sudamericana_1993 = "round of 16" | What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16? | CREATE TABLE table_name_23 (intercontinental_cup_1993 VARCHAR, supercopa_sudamericana_1993 VARCHAR) |
SELECT event FROM table_name_56 WHERE winner = "john dibella" | What Event did John dibella win? | CREATE TABLE table_name_56 (event VARCHAR, winner VARCHAR) |
SELECT nation FROM table_name_84 WHERE bronze = 2 AND total < 5 AND rank = "6" | What nation has a bronze of 2 with a total less than 5 and rank of 6? | CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR) |
SELECT MIN(points) FROM table_27781212_1 WHERE driver = "Tommy Kendall" | what are the minimum points for tommy kendall? | CREATE TABLE table_27781212_1 (points INTEGER, driver VARCHAR) |
SELECT ties FROM table_name_74 WHERE drawn = "20" | How many ties drawed at 20? | CREATE TABLE table_name_74 (ties VARCHAR, drawn VARCHAR) |
SELECT position FROM table_name_75 WHERE years_for_rockets = "2004-05" | What is the position for the Rockets years of 2004-05? | CREATE TABLE table_name_75 (position VARCHAR, years_for_rockets VARCHAR) |
SELECT vote_id, phone_number, state FROM votes | List the vote ids, phone numbers and states of all votes. | CREATE TABLE votes (vote_id VARCHAR, phone_number VARCHAR, state VARCHAR) |
SELECT outgoing_manager FROM table_26593762_3 WHERE incoming_manager = "Dougie Freedman" | Who was the outgoing manager of the team whose incoming manager was Dougie Freedman? | CREATE TABLE table_26593762_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR) |
SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236" | What is the Rank of industrial and commercial bank of china 277,236? | CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR) |
SELECT area FROM table_name_33 WHERE decile = "2" AND roll = "222" | What is the area of the school with a decile of 2 and a roll number 222? | CREATE TABLE table_name_33 (area VARCHAR, decile VARCHAR, roll VARCHAR) |
SELECT cable_rank FROM table_24399615_3 WHERE episode_no = 4 | What is the cable rank for episode no. 4? | CREATE TABLE table_24399615_3 (cable_rank VARCHAR, episode_no VARCHAR) |
SELECT try_diff FROM table_name_18 WHERE points_diff = "+71" | What is Try Diff, when Points Diff is +71? | CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR) |
SELECT score FROM table_name_8 WHERE to_par = "e" | What is Score, when To Par is "E"? | CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR) |
SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 | What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races? | CREATE TABLE table_name_50 (win_average INTEGER, races_ridden VARCHAR, nationality VARCHAR, name VARCHAR) |
SELECT MAX(release_date) FROM table_1467951_4 | What is the most recent release date? | CREATE TABLE table_1467951_4 (release_date INTEGER) |
SELECT COUNT(title) FROM table_12451376_2 WHERE production_code = 211 | Please list the total number of title with the production code 211. | CREATE TABLE table_12451376_2 (title VARCHAR, production_code VARCHAR) |
SELECT T1.stu_fname, T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'C' OR T2.enroll_grade = 'A' | Find names of all students who took some course and got A or C. | CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR) |
SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin" | Who won the Men's Doubles when Guo Xin won the Women's Singles? | CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR) |
SELECT class FROM table_name_56 WHERE quantity_preserved = "0" AND quantity_made = "2" | What class has 0 preserved and 2 made? | CREATE TABLE table_name_56 (class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR) |
SELECT COUNT(music_director) FROM table_11827596_4 WHERE co_singer = "Suresh Wadkar" AND film_name = "Bhayanak" | What was the number of music directors where the suresh wadkar co singer of bhayanak? | CREATE TABLE table_11827596_4 (music_director VARCHAR, co_singer VARCHAR, film_name VARCHAR) |
SELECT first_broadcast FROM table_23292220_3 WHERE seans_team = "Peter Serafinowicz and Johnny Vegas" | What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? | CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, seans_team VARCHAR) |
SELECT school_club_team FROM table_15463188_1 WHERE position = "Guard" | Name the school/club for guard | CREATE TABLE table_15463188_1 (school_club_team VARCHAR, position VARCHAR) |
SELECT attendance FROM table_name_53 WHERE week > 7 AND opponent = "san diego chargers" | What was the attendance at the post-week 7 game against the San Diego Chargers? | CREATE TABLE table_name_53 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_20 WHERE loss = "farrell (6-13)" | What date is associated with the Loss of Farrell (6-13)? | CREATE TABLE table_name_20 (date VARCHAR, loss VARCHAR) |
SELECT date FROM table_name_32 WHERE surface = "clay" AND score_in_the_final = "6–2, 7–5" | On what Date is the match played on Clay Surface with a Score in the final of 6–2, 7–5? | CREATE TABLE table_name_32 (date VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) |
SELECT team FROM table_name_4 WHERE venue = "şükrü saracoğlu stadium" | What is Team, when Venue is "Şükrü Saracoğlu Stadium"? | CREATE TABLE table_name_4 (team VARCHAR, venue VARCHAR) |
SELECT incumbent FROM table_1342233_6 WHERE candidates = "Jack Z. Anderson (R) Unopposed" | who is the the incumbent with candidates being jack z. anderson (r) unopposed | CREATE TABLE table_1342233_6 (incumbent VARCHAR, candidates VARCHAR) |
SELECT played FROM table_name_76 WHERE try_bonus = "6" AND drawn = "0" | Name the played with try bonus of 6 and drawn of 0 | CREATE TABLE table_name_76 (played VARCHAR, try_bonus VARCHAR, drawn VARCHAR) |
SELECT opponent FROM table_name_35 WHERE save = "williams (9)" | Name the opponent for save of williams (9) | CREATE TABLE table_name_35 (opponent VARCHAR, save VARCHAR) |
SELECT d_47 FROM table_name_11 WHERE d_48 = "d 29" | Name the D 47 when it has D 48 of d 29 | CREATE TABLE table_name_11 (d_47 VARCHAR, d_48 VARCHAR) |
SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = "december 7, 2007" | What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007? | CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR) |
SELECT location_attendance FROM table_name_64 WHERE high_assists = "rafer alston (7)" AND high_rebounds = "yao ming (13)" | What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"? | CREATE TABLE table_name_64 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) |
SELECT time FROM table_name_98 WHERE event = "ifl: championship final" | What's the time of IFL: Championship Final? | CREATE TABLE table_name_98 (time VARCHAR, event VARCHAR) |
SELECT record FROM table_27723526_13 WHERE team = "Phoenix" | What is the record after the Phoenix game? | CREATE TABLE table_27723526_13 (record VARCHAR, team VARCHAR) |
SELECT points FROM table_name_64 WHERE draw > 7 AND artist = "sabahudin kurt" | How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7? | CREATE TABLE table_name_64 (points VARCHAR, draw VARCHAR, artist VARCHAR) |
SELECT latitude FROM table_name_79 WHERE year_named < 1997 AND name = "aino planitia" | Which Latitude has a Year named smaller than 1997, and a Name of aino planitia? | CREATE TABLE table_name_79 (latitude VARCHAR, year_named VARCHAR, name VARCHAR) |
SELECT city FROM table_name_87 WHERE venue = "mackey arena" | Where is the Mackey Arena located? | CREATE TABLE table_name_87 (city VARCHAR, venue VARCHAR) |
SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22 | What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays? | CREATE TABLE table_name_6 (goals_for INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR) |
SELECT COUNT(crowd) FROM table_name_8 WHERE away_team = "hawthorn" | How many games feature hawthorn as the away squad? | CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR) |
SELECT Name FROM People ORDER BY Name | What are the names of people in ascending alphabetical order? | CREATE TABLE People (Name VARCHAR) |
SELECT record FROM table_name_74 WHERE season = 1973 | What was the record during the 1973 season? | CREATE TABLE table_name_74 (record VARCHAR, season VARCHAR) |
SELECT directed_by FROM table_26982362_2 WHERE original_airdate = "October 8, 2010" | The episode with the original airdate October 8, 2010, is directed by who? | CREATE TABLE table_26982362_2 (directed_by VARCHAR, original_airdate VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.