question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the production code for the episode that originally aired on January 8, 1993? | CREATE TABLE table_2409041_5 (production_code INTEGER, original_air_date VARCHAR) | SELECT MAX(production_code) FROM table_2409041_5 WHERE original_air_date = "January 8, 1993" |
How many battles did not lose any ship with tonnage '225'? | CREATE TABLE ship (id VARCHAR, lost_in_battle VARCHAR, tonnage VARCHAR); CREATE TABLE battle (id VARCHAR, lost_in_battle VARCHAR, tonnage VARCHAR) | SELECT COUNT(*) FROM battle WHERE NOT id IN (SELECT lost_in_battle FROM ship WHERE tonnage = '225') |
What country is the show aired on TVNZ? | CREATE TABLE table_14523485_9 (country VARCHAR, channel VARCHAR) | SELECT country FROM table_14523485_9 WHERE channel = "TVNZ" |
What is the name of the episode that William M. Finkelstein wrote? | CREATE TABLE table_25604014_8 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_25604014_8 WHERE written_by = "William M. Finkelstein" |
What score has money ($) greater than 400, with gene sarazen as the player? | CREATE TABLE table_name_99 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT score FROM table_name_99 WHERE money___$__ > 400 AND player = "gene sarazen" |
Where is the college where Keith Hartwig plays? | CREATE TABLE table_10361625_1 (college VARCHAR, player_name VARCHAR) | SELECT college FROM table_10361625_1 WHERE player_name = "Keith Hartwig" |
Which Bolton Wanderers career has 293 Apps? | CREATE TABLE table_name_77 (bolton_wanderers_career VARCHAR, apps VARCHAR) | SELECT bolton_wanderers_career FROM table_name_77 WHERE apps = 293 |
What is the value of Ends Lost when Blank Ends is 9. | CREATE TABLE table_1505809_2 (Ends VARCHAR, blank_ends VARCHAR) | SELECT Ends AS lost FROM table_1505809_2 WHERE blank_ends = 9 |
How many people were in the crowd when Carlton was the away team? | CREATE TABLE table_name_43 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_43 WHERE away_team = "carlton" |
When was the game played that was at the Seattle Center Coliseum? | CREATE TABLE table_name_54 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_54 WHERE location_attendance = "seattle center coliseum" |
What is the date of game 59? | CREATE TABLE table_name_96 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_96 WHERE game = 59 |
Which rank had the Labour party winning in 2003, a swing to gain that was larger than 2.13, a lab hold as a result, and which took place in the Linlithgow constituency? | CREATE TABLE table_name_21 (rank VARCHAR, constituency VARCHAR, result VARCHAR, winning_party_2003 VARCHAR, swing_to_gain VARCHAR) | SELECT rank FROM table_name_21 WHERE winning_party_2003 = "labour" AND swing_to_gain > 2.13 AND result = "lab hold" AND constituency = "linlithgow" |
What is the highest Rank, when Location is Kinshasa, DR Congo, and when Current Seating Capacity is less than 80,000? | CREATE TABLE table_name_90 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR) | SELECT MAX(rank) FROM table_name_90 WHERE location = "kinshasa, dr congo" AND current_seating_capacity < 80 OFFSET 000 |
What episode came out in the year 2007? | CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR) | SELECT episodes FROM table_2639433_4 WHERE year = 2007 |
How many games were played in city Atlanta in 2000? | CREATE TABLE park (park_id VARCHAR, city VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR) | SELECT COUNT(*) FROM home_game AS T1 JOIN park AS T2 ON T1.park_id = T2.park_id WHERE T1.year = 2000 AND T2.city = 'Atlanta' |
What's the district that Otto Passman is the incumbent of? | CREATE TABLE table_1341843_19 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341843_19 WHERE incumbent = "Otto Passman" |
Who wrote the episode where the original air date is july20,2007? | CREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_25716399_1 WHERE original_air_date = "July20,2007" |
Who wrote the episode "The Dream Lover", which was viewed by 3.96 million viewers? | CREATE TABLE table_17467578_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_17467578_1 WHERE us_viewers__million_ = "3.96" |
What is Conference Titles, when Win % is .667? | CREATE TABLE table_name_23 (conference_titles VARCHAR, win__percentage VARCHAR) | SELECT conference_titles FROM table_name_23 WHERE win__percentage = ".667" |
The wildcats belong to what school? | CREATE TABLE table_name_38 (school VARCHAR, team VARCHAR) | SELECT school FROM table_name_38 WHERE team = "wildcats" |
Which team did the player have who had 27 total carries? | CREATE TABLE table_20938922_2 (team VARCHAR, carries VARCHAR) | SELECT team FROM table_20938922_2 WHERE carries = 27 |
Name the record for february 25 | CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_26 WHERE date = "february 25" |
WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE? | CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_name_17 WHERE game > 47 AND location_attendance = "rose garden 20,250" |
how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? | CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%" |
What is Fitzroy's smallest crowd size? | CREATE TABLE table_name_3 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_3 WHERE home_team = "fitzroy" |
What's the date when the score was 690.3? | CREATE TABLE table_name_77 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_77 WHERE score = "690.3" |
How many laps had a grid over 16 and a Time of +1:35.890? | CREATE TABLE table_name_79 (laps VARCHAR, grid VARCHAR, time VARCHAR) | SELECT laps FROM table_name_79 WHERE grid > 16 AND time = "+1:35.890" |
What is the lowest number of f/laps in the 5th position? | CREATE TABLE table_name_17 (f_laps INTEGER, position VARCHAR) | SELECT MIN(f_laps) FROM table_name_17 WHERE position = "5th" |
What's the total attendance of games against the New York Giants after week 13? | CREATE TABLE table_name_51 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_51 WHERE week > 13 AND opponent = "new york giants" |
Name the most withdrawn for 37 lstr no. | CREATE TABLE table_20391799_1 (withdrawn INTEGER, ltsr_no VARCHAR) | SELECT MAX(withdrawn) FROM table_20391799_1 WHERE ltsr_no = 37 |
Which circuit was in Great Britain with Ireland as the winner? | CREATE TABLE table_name_85 (circuit VARCHAR, feature_winner VARCHAR, country VARCHAR) | SELECT circuit FROM table_name_85 WHERE feature_winner = "ireland" AND country = "great britain" |
What country did Jonas Geirnaert direct a film in? | CREATE TABLE table_name_30 (country VARCHAR, director_s_ VARCHAR) | SELECT country FROM table_name_30 WHERE director_s_ = "jonas geirnaert" |
Which Overall is the average one that has a Name of vance walker? | CREATE TABLE table_name_95 (overall INTEGER, name VARCHAR) | SELECT AVG(overall) FROM table_name_95 WHERE name = "vance walker" |
Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct? | CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar VARCHAR, Jul VARCHAR, Oct VARCHAR) | SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Jul OR T2.Mar > T2.Oct |
Who directed the episodes that aired December 15, 1956? | CREATE TABLE table_25800134_1 (director VARCHAR, airdate VARCHAR) | SELECT director FROM table_25800134_1 WHERE airdate = "December 15, 1956" |
What was the Attendance in the game with a Result of won 5-2? | CREATE TABLE table_name_58 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_58 WHERE result = "won 5-2" |
Which streak before game 12 had a team points larger than 113 on November 16? | CREATE TABLE table_name_88 (streak VARCHAR, date VARCHAR, team_points VARCHAR, game VARCHAR) | SELECT streak FROM table_name_88 WHERE team_points > 113 AND game < 12 AND date = "november 16" |
What is the total when gold is 1, and rank is more than 4, and bronze is 0? | CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0 |
What is Score, when Country is "United States", and when To Par is "+4"? | CREATE TABLE table_name_56 (score VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT score FROM table_name_56 WHERE country = "united states" AND to_par = "+4" |
What is the total number of Round that has a Time of 6:04? | CREATE TABLE table_name_85 (round INTEGER, time VARCHAR) | SELECT SUM(round) FROM table_name_85 WHERE time = "6:04" |
Which Opponent has a Time of 4:51? | CREATE TABLE table_name_84 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_84 WHERE time = "4:51" |
What is the Week of the game against the Minnesota Vikings? | CREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR) | SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings" |
Find the dates of the tests taken with result "Pass". | CREATE TABLE Student_Tests_Taken (date_test_taken VARCHAR, test_result VARCHAR) | SELECT date_test_taken FROM Student_Tests_Taken WHERE test_result = "Pass" |
What circuit was on the date 4 May? | CREATE TABLE table_12186237_1 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_12186237_1 WHERE date = "4 May" |
What Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret? | CREATE TABLE table_name_20 (circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_20 WHERE winning_constructor = "bugatti" AND winning_driver = "edward bret" |
In which year was a linebacker pick 17? | CREATE TABLE table_name_4 (year VARCHAR, position VARCHAR, pick VARCHAR) | SELECT year FROM table_name_4 WHERE position = "linebacker" AND pick = "17" |
What year was ike skelton first elected? | CREATE TABLE table_1341604_26 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341604_26 WHERE incumbent = "Ike Skelton" |
How many average wins have USA as the team? | CREATE TABLE table_name_25 (wins INTEGER, team VARCHAR) | SELECT AVG(wins) FROM table_name_25 WHERE team = "usa" |
What is the tie number in the game on 5 January 1986 where Exeter City is the away team? | CREATE TABLE table_name_26 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_26 WHERE date = "5 january 1986" AND away_team = "exeter city" |
What is Jay Bruce's hometown? | CREATE TABLE table_11677100_11 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677100_11 WHERE player = "Jay Bruce" |
What is the Regionalliga Sud for 1995-96? | CREATE TABLE table_name_13 (regionalliga_süd VARCHAR, season VARCHAR) | SELECT regionalliga_süd FROM table_name_13 WHERE season = "1995-96" |
What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand? | CREATE TABLE table_name_98 (date VARCHAR, test_debut VARCHAR, position VARCHAR, year VARCHAR) | SELECT date FROM table_name_98 WHERE position = "back" AND year > 1964 AND test_debut = "1st rl test v new zealand" |
What is the height of the building built by architects Ross and Macfarlane? | CREATE TABLE table_name_27 (height_ VARCHAR, m VARCHAR, architect VARCHAR) | SELECT height_[m] FROM table_name_27 WHERE architect = "ross and macfarlane" |
Which Frequency MHz is the highest one that has a Call sign of k241an? | CREATE TABLE table_name_65 (frequency_mhz INTEGER, call_sign VARCHAR) | SELECT MAX(frequency_mhz) FROM table_name_65 WHERE call_sign = "k241an" |
What was the date of the premiere that had a 20.9 rating? | CREATE TABLE table_name_38 (premiere VARCHAR, rating VARCHAR) | SELECT premiere FROM table_name_38 WHERE rating = "20.9" |
What is the lowest money ($) that has t8 as the place, with a to par greater than 19? | CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_75 WHERE place = "t8" AND to_par > 19 |
What record has march 30 as the date? | CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_1 WHERE date = "march 30" |
What is every team in the location of Port Moresby? | CREATE TABLE table_2383498_4 (team VARCHAR, location VARCHAR) | SELECT team FROM table_2383498_4 WHERE location = "Port Moresby" |
What is the area of the province with a density of 533.59? | CREATE TABLE table_254234_1 (area³ INTEGER, density² VARCHAR) | SELECT MAX(area³) FROM table_254234_1 WHERE density² = "533.59" |
What was the score when the visitor was pittsburgh? | CREATE TABLE table_name_51 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_51 WHERE visitor = "pittsburgh" |
With a house edge of 3.53% and a Non-Suited Matched of 3:1, name the Double Non-Suited Match. | CREATE TABLE table_name_99 (Double VARCHAR, non_suited_match VARCHAR, house_edge VARCHAR) | SELECT Double AS non_suited_match FROM table_name_99 WHERE non_suited_match = "3:1" AND house_edge = "3.53%" |
Tell me the date for 2004 | CREATE TABLE table_name_35 (date VARCHAR, year VARCHAR) | SELECT date FROM table_name_35 WHERE year = "2004" |
Tell me the shigella and yscn | CREATE TABLE table_name_15 (shigella VARCHAR, yersinia VARCHAR) | SELECT shigella FROM table_name_15 WHERE yersinia = "yscn" |
Name the sum of points for 1992 | CREATE TABLE table_name_38 (points INTEGER, year VARCHAR) | SELECT SUM(points) FROM table_name_38 WHERE year = 1992 |
Who had the high rebounds when the record was 14–7? | CREATE TABLE table_27723228_8 (high_rebounds VARCHAR, record VARCHAR) | SELECT high_rebounds FROM table_27723228_8 WHERE record = "14–7" |
Who directed episode number 23 in the season? | CREATE TABLE table_27832075_2 (directed_by VARCHAR, episode__number VARCHAR) | SELECT directed_by FROM table_27832075_2 WHERE episode__number = "23" |
Which competition has a Date of 16/4/01? | CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_31 WHERE date = "16/4/01" |
what is the dadar xi b where the good shepherd is sea liner fc? | CREATE TABLE table_28759261_5 (dadar_xi_‘b’ VARCHAR, good_shepherd VARCHAR) | SELECT dadar_xi_‘b’ FROM table_28759261_5 WHERE good_shepherd = "Sea Liner FC" |
When did Scott Hoch (2) win? | CREATE TABLE table_name_78 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_78 WHERE winner = "scott hoch (2)" |
Which service has a hindi language, general genre and zee tv network? | CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR) | SELECT service FROM table_name_95 WHERE language = "hindi" AND genre = "general" AND network = "zee tv" |
What State/Country is Sean Langman the skipper? | CREATE TABLE table_25594888_1 (state_country VARCHAR, skipper VARCHAR) | SELECT state_country FROM table_25594888_1 WHERE skipper = "Sean Langman" |
Who is the Japanese voice actor of the Battle of the Planets of Keyop? | CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR) | SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = "keyop" |
How many no votes did North Dakota have? | CREATE TABLE table_name_48 (no_vote VARCHAR, state VARCHAR) | SELECT no_vote FROM table_name_48 WHERE state = "north dakota" |
What is the type when yes votes are 546255? | CREATE TABLE table_256286_61 (type VARCHAR, yes_votes VARCHAR) | SELECT type FROM table_256286_61 WHERE yes_votes = 546255 |
Which channel did Going for Gold air on? | CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR) | SELECT original_channel FROM table_name_19 WHERE programme = "going for gold" |
Name the transliteration for ചിങ്ങം | CREATE TABLE table_20354_7 (transliteration VARCHAR, malayalam_name VARCHAR) | SELECT transliteration FROM table_20354_7 WHERE malayalam_name = "ചിങ്ങം" |
How many areas of 375.06 km 2 have a census ranking? | CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR) | SELECT COUNT(census_ranking) FROM table_170969_2 WHERE area_km_2 = "375.06" |
Who was the incumbent from georgia's 8th district? | CREATE TABLE table_27487712_1 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_27487712_1 WHERE district = "Georgia's 8th" |
What is the name of the boat that was built by Chatham and Laid down of 25 april 1887? | CREATE TABLE table_name_75 (name VARCHAR, builder VARCHAR, laid_down VARCHAR) | SELECT name FROM table_name_75 WHERE builder = "chatham" AND laid_down = "25 april 1887" |
I want the sum of gold for silver being less than 0 | CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER) | SELECT SUM(gold) FROM table_name_87 WHERE silver < 0 |
what is the place for ireland? | CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_64 WHERE country = "ireland" |
What is the earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57? | CREATE TABLE table_name_67 (year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR) | SELECT MIN(year) FROM table_name_67 WHERE final_position___tour > 72 AND final_position___vuelta < 77 AND final_position___giro < 57 AND rider = "valdimir poelnikov" |
Name the visiting team for stadium of ralph wilson stadium | CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_67 WHERE stadium = "ralph wilson stadium" |
Which Score has a To par of –4, and a Player of duffy waldorf? | CREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf" |
What school has rebels as their mascot? | CREATE TABLE table_name_8 (school VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_8 WHERE mascot = "rebels" |
Which assets did not incur any fault log? List the asset model. | CREATE TABLE Fault_Log (asset_model VARCHAR, asset_id VARCHAR); CREATE TABLE Assets (asset_model VARCHAR, asset_id VARCHAR) | SELECT asset_model FROM Assets WHERE NOT asset_id IN (SELECT asset_id FROM Fault_Log) |
What is the processor speed (mhz) for part number a80486dx4-75? | CREATE TABLE table_15261_1 (processor_speed__mhz_ VARCHAR, part_number VARCHAR) | SELECT COUNT(processor_speed__mhz_) FROM table_15261_1 WHERE part_number = "A80486DX4-75" |
What team is from Lake Oval? | CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_93 WHERE venue = "lake oval" |
what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo? | CREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR) | SELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = "cxhristy ekpukhon ihunaegbo" |
Which Meet has a Club of centro de natacon carabobo? | CREATE TABLE table_name_67 (meet VARCHAR, club VARCHAR) | SELECT meet FROM table_name_67 WHERE club = "centro de natacon carabobo" |
Who are the players that placed t2? | CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_33 WHERE place = "t2" |
Name the total number of grid for 30 | CREATE TABLE table_17271495_1 (grid VARCHAR, points VARCHAR) | SELECT COUNT(grid) FROM table_17271495_1 WHERE points = "30" |
What was the loss of the game against with LA New Bears with a save of Mac Suzuki? | CREATE TABLE table_name_4 (loss VARCHAR, opponent VARCHAR, save VARCHAR) | SELECT loss FROM table_name_4 WHERE opponent = "la new bears" AND save = "mac suzuki" |
What is the score of the game on May 26? | CREATE TABLE table_name_14 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_14 WHERE date = "may 26" |
List all the services in the alphabetical order. | CREATE TABLE services (service_name VARCHAR) | SELECT service_name FROM services ORDER BY service_name |
What is the Locality of the Penarth Group School for Ages 8-16? | CREATE TABLE table_name_90 (locality VARCHAR, ages VARCHAR, school VARCHAR) | SELECT locality FROM table_name_90 WHERE ages = "8-16" AND school = "penarth group school" |
What team was he on when he had 10 f/laps? | CREATE TABLE table_24491017_1 (team VARCHAR, f_laps VARCHAR) | SELECT team FROM table_24491017_1 WHERE f_laps = 10 |
tell me the population in 1000(1931) that has car plates since 1937 of 35-39. | CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR) | SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39" |
What day is south melbourne the away side? | CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_21 WHERE away_team = "south melbourne" |
What rank was the team from Australia? | CREATE TABLE table_name_77 (rank VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_name_77 WHERE country = "australia" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.