context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) | What is the country with a 66-70-69=205 score? | SELECT country FROM table_name_21 WHERE score = 66 - 70 - 69 = 205 |
CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR) | What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill? | SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0" |
CREATE TABLE table_name_58 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) | How much Long has a Loss larger than 2, and a Gain of 157, and an Avg/G smaller than 129? | SELECT SUM(long) FROM table_name_58 WHERE loss > 2 AND gain = 157 AND avg_g < 129 |
CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR) | What is the country of player ian woosnam? | SELECT country FROM table_name_93 WHERE player = "ian woosnam" |
CREATE TABLE table_name_68 (team_nickname VARCHAR, team_website VARCHAR, joined_tschl VARCHAR, home_arena VARCHAR) | what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey? | SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = "kettering rec center" AND team_website = "dayton hockey" |
CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) | What was the result of the game after week 3 against the New York Giants? | SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants" |
CREATE TABLE table_name_74 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) | Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor? | SELECT driver FROM table_name_74 WHERE grid < 24 AND laps < 61 AND constructor = "ferrari" |
CREATE TABLE table_name_54 (year_built VARCHAR, current_status VARCHAR, boat_builder VARCHAR) | What year did J. Jones, trearddur bay build a boat with a current status of tbsc? | SELECT year_built FROM table_name_54 WHERE current_status = "tbsc" AND boat_builder = "j. jones, trearddur bay" |
CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR) | What date was the Monsanto open located in Florida? | SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open" |
CREATE TABLE table_name_42 (boat_builder VARCHAR, year_built VARCHAR, number VARCHAR) | What is the boat builder for a boat built in 1910/11 and a number of 39? | SELECT boat_builder FROM table_name_42 WHERE year_built = "1910/11" AND number = 39 |
CREATE TABLE table_name_64 (week VARCHAR, date VARCHAR, attendance VARCHAR) | What is the Week number on November 30, 1958 with more than 33,240 in Attendance? | SELECT COUNT(week) FROM table_name_64 WHERE date = "november 30, 1958" AND attendance > 33 OFFSET 240 |
CREATE TABLE table_name_50 (tatsuhito_takaiwa VARCHAR, ryusuke_taguchi VARCHAR) | Name for me the tatsuhito takaiwa for Ryusuke Taguchi of taguchi (14:31) | SELECT tatsuhito_takaiwa FROM table_name_50 WHERE ryusuke_taguchi = "taguchi (14:31)" |
CREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR) | What is the home team score for the team that has a home field of the Telstra Dome? | SELECT home_team AS score FROM table_name_98 WHERE ground = "telstra dome" |
CREATE TABLE table_name_53 (sensor VARCHAR, sensor_resolution VARCHAR, camera VARCHAR) | What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3? | SELECT sensor FROM table_name_53 WHERE sensor_resolution = "355x288" AND camera = "naturalpoint trackir 3" |
CREATE TABLE table_name_21 (sensor VARCHAR, camera VARCHAR, output VARCHAR, sensor_resolution VARCHAR, cpu_usage VARCHAR) | What sensor has a resolution of 640x480 with small CPU usage, jpeg compressed output and a camera of sony playstation eyetoy? | SELECT sensor FROM table_name_21 WHERE sensor_resolution = "640x480" AND cpu_usage = "small" AND output = "jpeg compressed" AND camera = "sony playstation eyetoy" |
CREATE TABLE table_name_96 (week INTEGER, result VARCHAR) | Result of w 21–7 had what average week? | SELECT AVG(week) FROM table_name_96 WHERE result = "w 21–7" |
CREATE TABLE table_name_60 (her_age INTEGER, name VARCHAR, year_of_marriage VARCHAR, _number_of_children VARCHAR) | What is the lowest figure for her age when the year of marriage is before 1853, the number of children is less than 8, and the bride was Eliza Maria Partridge? | SELECT MIN(her_age) FROM table_name_60 WHERE year_of_marriage < 1853 AND _number_of_children < 8 AND name = "eliza maria partridge" |
CREATE TABLE table_name_84 (her_age INTEGER, _number_of_children VARCHAR, his_age VARCHAR, name VARCHAR) | What is the total number of her age figures where his age is less than 33, the bride was diontha walker, and the number of children was less than 0? | SELECT SUM(her_age) FROM table_name_84 WHERE his_age < 33 AND name = "diontha walker" AND _number_of_children < 0 |
CREATE TABLE table_name_90 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) | Who took the loss against the California Angels when the attendance was 10,886? | SELECT loss FROM table_name_90 WHERE opponent = "california angels" AND attendance = "10,886" |
CREATE TABLE table_name_13 (opponent VARCHAR, october VARCHAR, points VARCHAR) | What opponent has october less than 20, and 8 for points? | SELECT opponent FROM table_name_13 WHERE october < 20 AND points = 8 |
CREATE TABLE table_name_56 (date VARCHAR, opponent VARCHAR) | What day did Yugoslavia play Luxembourg? | SELECT date FROM table_name_56 WHERE opponent = "luxembourg" |
CREATE TABLE table_name_38 (partner VARCHAR, score VARCHAR) | Which Partner has a Score of 7–6, 6–3? | SELECT partner FROM table_name_38 WHERE score = "7–6, 6–3" |
CREATE TABLE table_name_81 (uci_rating VARCHAR, location VARCHAR, team VARCHAR) | What is the UCI rating of the race in Italy with the progetto ciclismo alplast team? | SELECT uci_rating FROM table_name_81 WHERE location = "italy" AND team = "progetto ciclismo alplast" |
CREATE TABLE table_name_78 (points INTEGER, year VARCHAR, wins VARCHAR) | Which Points have a Year larger than 1966, and Wins larger than 1? | SELECT AVG(points) FROM table_name_78 WHERE year > 1966 AND wins > 1 |
CREATE TABLE table_name_37 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | Name the highest laps for time/retired of engine and grid of 5 | SELECT MAX(laps) FROM table_name_37 WHERE time_retired = "engine" AND grid = 5 |
CREATE TABLE table_name_33 (laps INTEGER, grid VARCHAR, constructor VARCHAR, time_retired VARCHAR) | Name the highest laps for maserati and +6 laps for grid more than 11 | SELECT MAX(laps) FROM table_name_33 WHERE constructor = "maserati" AND time_retired = "+6 laps" AND grid > 11 |
CREATE TABLE table_name_12 (themed_area VARCHAR, name VARCHAR) | Which Themed Area has a Name of troublesome trucks runaway coaster? | SELECT themed_area FROM table_name_12 WHERE name = "troublesome trucks runaway coaster" |
CREATE TABLE table_name_31 (manufacturer VARCHAR, style VARCHAR, opened VARCHAR) | Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008? | SELECT manufacturer FROM table_name_31 WHERE style = "steel sit down" AND opened > 2008 |
CREATE TABLE table_name_52 (original_broadway_production VARCHAR, first_us_national_tour VARCHAR) | Which Original Broadway production has a First US National Tour of roger bart? | SELECT original_broadway_production FROM table_name_52 WHERE first_us_national_tour = "roger bart" |
CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR) | What is the crowd with Away team of hawthorn? | SELECT AVG(crowd) FROM table_name_94 WHERE away_team = "hawthorn" |
CREATE TABLE table_name_72 (stadium VARCHAR, location VARCHAR) | What Gaelic Athletic Association stadium is located in Carrick-on-Shannon? | SELECT stadium FROM table_name_72 WHERE location = "carrick-on-shannon" |
CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR) | Which average Crowd has a Home team of south melbourne? | SELECT AVG(crowd) FROM table_name_72 WHERE home_team = "south melbourne" |
CREATE TABLE table_name_35 (gross_tonnage INTEGER, delivery_date VARCHAR) | with delivery date of 2001 2001 what is gross tonnage? | SELECT AVG(gross_tonnage) FROM table_name_35 WHERE delivery_date = "2001 2001" |
CREATE TABLE table_name_6 (venue VARCHAR, competition VARCHAR, result VARCHAR) | What is the location of the game that was friendly and resulted in 2-3? | SELECT venue FROM table_name_6 WHERE competition = "friendly" AND result = "2-3" |
CREATE TABLE table_name_25 (dob VARCHAR, first VARCHAR, throws VARCHAR, position VARCHAR) | Which DOB has Throws of r, and a Position of c, and a First of torey? | SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey" |
CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR) | Tell me the sum of the grid with alfa romeo and toulo de graffenried | SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried" |
CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR) | When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable? | SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange" |
CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR) | How many laps did Nick Heidfeld drive on grids larger than 4? | SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld" |
CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, player VARCHAR) | When was chuck morris, back, drafted? | SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "chuck morris" |
CREATE TABLE table_name_51 (council_area VARCHAR, urban_sub_area VARCHAR) | What is the council area for the Larkhall urban sub-area? | SELECT council_area FROM table_name_51 WHERE urban_sub_area = "larkhall" |
CREATE TABLE table_name_17 (round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | During the hungarian grand prix where the pole position was michael schumacher and the fastest lap was driven by damon hill, what's the total number of rounds of races matching these standards? | SELECT COUNT(round) FROM table_name_17 WHERE fastest_lap = "damon hill" AND pole_position = "michael schumacher" AND grand_prix = "hungarian grand prix" |
CREATE TABLE table_name_44 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | What nationality is Northwood School (N.Y.)? | SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)" |
CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, sport VARCHAR, total VARCHAR, bronze VARCHAR) | I want to know the average Gold for total smaller 12 and bronze less than 1 and wushu with silver more than 3 | SELECT AVG(gold) FROM table_name_2 WHERE total < 12 AND bronze < 1 AND sport = "wushu" AND silver > 3 |
CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, sport VARCHAR) | I want the lowest Gold for silver being 2 and electronic sports | SELECT MIN(gold) FROM table_name_98 WHERE silver = 2 AND sport = "electronic sports" |
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR) | When was republican incumbent Joseph McKenna first elected? | SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna" |
CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR) | Tell me the total number of total for vovinam and bronze less than 3 | SELECT COUNT(total) FROM table_name_16 WHERE sport = "vovinam" AND bronze < 3 |
CREATE TABLE table_name_81 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR) | What college, junior, or club team did defence player Rory Fitzpatrick play for? | SELECT college_junior_club_team FROM table_name_81 WHERE position = "defence" AND player = "rory fitzpatrick" |
CREATE TABLE table_name_11 (width__inches_ VARCHAR, length__feet_ VARCHAR, engine VARCHAR, retired VARCHAR) | For a vehicle below 25 feet, that was retired in 2005 and had a navistar t444e engine, what was the total width? | SELECT COUNT(width__inches_) FROM table_name_11 WHERE engine = "navistar t444e" AND retired = "2005" AND length__feet_ < 25 |
CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR) | What was the score of the game when the home was Atlanta? | SELECT score FROM table_name_99 WHERE home = "atlanta" |
CREATE TABLE table_name_61 (mintage INTEGER, artist VARCHAR) | What is the sum of all mintage created by Pierre Leduc? | SELECT SUM(mintage) FROM table_name_61 WHERE artist = "pierre leduc" |
CREATE TABLE table_name_3 (d_46_√ VARCHAR, d_44_√ VARCHAR) | What is the D 46 √ when the D 44 √ is ← majority? | SELECT d_46_√ FROM table_name_3 WHERE d_44_√ = "← majority" |
CREATE TABLE table_name_15 (Id VARCHAR) | Which 2006 Tournament has a 2004, and a 2002 of not tier i? | SELECT 2006 FROM table_name_15 WHERE 2004 = "a" AND 2002 = "not tier i" |
CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR) | Which hanzi's launch is before 2009, when the language was tibetan, and the name was qinghai tibetian general channel? | SELECT hanzi FROM table_name_71 WHERE launch < 2009 AND language = "tibetan" AND name = "qinghai tibetian general channel" |
CREATE TABLE table_name_56 (average INTEGER, evening_gown VARCHAR, state VARCHAR) | What is the highest average for a contestant with an evening gown larger than 9.449 from Kansas? | SELECT MAX(average) FROM table_name_56 WHERE evening_gown > 9.449 AND state = "kansas" |
CREATE TABLE table_name_60 (interview INTEGER, evening_gown VARCHAR, state VARCHAR, swimsuit VARCHAR, average VARCHAR) | What is the lowest interview for a contestant from North Carolina with a swimsuit larger than 9.021, an average smaller than 9.513, and an evening gown larger than 9.5? | SELECT MIN(interview) FROM table_name_60 WHERE swimsuit > 9.021 AND average < 9.513 AND state = "north carolina" AND evening_gown > 9.5 |
CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR) | Which Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013? | SELECT AVG(division) FROM table_name_36 WHERE reg_season = "1st, western" AND playoffs = "champions" AND year < 2013 |
CREATE TABLE table_name_59 (launch_vehicle VARCHAR, institutional_authority VARCHAR) | Name the launch vehicle with Institutional authority of ndc | SELECT launch_vehicle FROM table_name_59 WHERE institutional_authority = "ndc" |
CREATE TABLE table_name_31 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) | What was the date of the game against Norway with a 1:1 result? | SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1" |
CREATE TABLE table_name_86 (ngc_number VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) | Name the total number of NGC number for sagittarius and diffuse nebula with declination of °02′ | SELECT COUNT(ngc_number) FROM table_name_86 WHERE constellation = "sagittarius" AND object_type = "diffuse nebula" AND declination___j2000__ = "°02′" |
CREATE TABLE table_name_78 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, object_type VARCHAR, constellation VARCHAR, ngc_number VARCHAR) | Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′ | SELECT right_ascension___j2000__ FROM table_name_78 WHERE constellation = "sagittarius" AND ngc_number > 6522 AND object_type = "open cluster" AND declination___j2000__ = "°22′" |
CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | What attendance has astros as the opponent, and april 29 as the date? | SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29" |
CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR) | Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region? | SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)" |
CREATE TABLE table_name_71 (name VARCHAR, event VARCHAR, sport VARCHAR) | Tell me the name for men's featherweight and sport of weightlifting | SELECT name FROM table_name_71 WHERE event = "men's featherweight" AND sport = "weightlifting" |
CREATE TABLE table_name_63 (earnings__ INTEGER, rank INTEGER) | Tell me the sum of earnings for rank less than 1 | SELECT SUM(earnings__) AS $__ FROM table_name_63 WHERE rank < 1 |
CREATE TABLE table_name_37 (norwegian_title VARCHAR, pages VARCHAR, translated_title VARCHAR) | What Norwegian title has 218 pages and Translated Title of Breaking Dawn? | SELECT norwegian_title FROM table_name_37 WHERE pages = 218 AND translated_title = "breaking dawn" |
CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR) | Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham | SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND swing_to_gain < 7.11 AND constituency = "wrexham" |
CREATE TABLE table_name_81 (score VARCHAR, home VARCHAR, date VARCHAR) | What score has vancouver as the home, and february 16 as the date? | SELECT score FROM table_name_81 WHERE home = "vancouver" AND date = "february 16" |
CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR) | Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points? | SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38 |
CREATE TABLE table_name_49 (report VARCHAR, score VARCHAR, away_team VARCHAR) | What report has a score of 0-0 with Sydney FC? | SELECT report FROM table_name_49 WHERE score = "0-0" AND away_team = "sydney fc" |
CREATE TABLE table_name_91 (grid INTEGER, laps VARCHAR, driver VARCHAR) | What is the grid total for alain prost with over 14 laps? | SELECT SUM(grid) FROM table_name_91 WHERE laps > 14 AND driver = "alain prost" |
CREATE TABLE table_name_18 (chipset_based_on VARCHAR, retail_name VARCHAR, digital_analog_signal VARCHAR, available_interface VARCHAR) | What is the Chipset based on with a Digital/analog signal of analog, with an Available interface of agp, with Retail name with all-in-wonder 9800? | SELECT chipset_based_on FROM table_name_18 WHERE digital_analog_signal = "analog" AND available_interface = "agp" AND retail_name = "all-in-wonder 9800" |
CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR) | Orbital period of 89 to 128 min has what specific orbital energy? | SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min" |
CREATE TABLE table_name_69 (orbital_period VARCHAR, center_to_center_distance VARCHAR) | center-to-center distance of 6,900 to 46,300 km involves which orbital period? | SELECT orbital_period FROM table_name_69 WHERE center_to_center_distance = "6,900 to 46,300 km" |
CREATE TABLE table_name_74 (malaysia_cup INTEGER, player VARCHAR, fa_cup VARCHAR) | What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0? | SELECT MIN(malaysia_cup) FROM table_name_74 WHERE player = "zamri hassan" AND fa_cup < 0 |
CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | How many Bronze medals did Switzerland with less than 3 Silver medals receive? | SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3 |
CREATE TABLE table_name_48 (format VARCHAR, catalog_number VARCHAR, year VARCHAR, label VARCHAR) | Tell me the format with year more than 2000 and label of myuzyk with catalog number of mzykn08 | SELECT format FROM table_name_48 WHERE year > 2000 AND label = "myuzyk" AND catalog_number = "mzykn08" |
CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, date VARCHAR) | Name the sscore for world cup qualifying october 15, 2008 | SELECT score FROM table_name_49 WHERE competition = "world cup qualifying" AND date = "october 15, 2008" |
CREATE TABLE table_name_87 (date VARCHAR, h___a VARCHAR) | When did the game in whalley range take place? | SELECT date FROM table_name_87 WHERE h___a = "whalley range" |
CREATE TABLE table_name_82 (district VARCHAR, party VARCHAR, result VARCHAR) | Which District has a Party of republican and a Result of lost re-election democratic gain? | SELECT district FROM table_name_82 WHERE party = "republican" AND result = "lost re-election democratic gain" |
CREATE TABLE table_name_6 (floors INTEGER, name VARCHAR, rank VARCHAR, year VARCHAR) | What is the average amount of floors of the building that is ranked larger than 30, a year prior to 1977 and an address of 100 Van Ness Avenue? | SELECT AVG(floors) FROM table_name_6 WHERE rank > 30 AND year < 1977 AND name = "100 van ness avenue" |
CREATE TABLE table_name_34 (episode__number VARCHAR, original_airdate VARCHAR) | Name the episode number that aired on july 23, 2000 | SELECT episode__number FROM table_name_34 WHERE original_airdate = "july 23, 2000" |
CREATE TABLE table_name_95 (wheel_arrangement VARCHAR, number VARCHAR) | What is the wheel arrangement of the locomotive with number 6 or 4? | SELECT wheel_arrangement FROM table_name_95 WHERE number = "6 or 4" |
CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR) | Which Set 1 has a Date of 24 may, and a Total of 57–75? | SELECT set_1 FROM table_name_37 WHERE date = "24 may" AND total = "57–75" |
CREATE TABLE table_name_67 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) | What team had less than 291 total points whole having 76 bronze and over 21 gold? | SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291 |
CREATE TABLE table_name_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR) | When they were playing the detroit lions at tampa stadium, what was the score? | SELECT result FROM table_name_49 WHERE game_site = "tampa stadium" AND opponent = "detroit lions" |
CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR, total VARCHAR, nation VARCHAR) | How many times was the total more than 1, the nation was east germany and silver was more than 1? | SELECT COUNT(bronze) FROM table_name_25 WHERE total > 1 AND nation = "east germany" AND silver > 1 |
CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR) | What is the IHSAA class in Batesville? | SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville" |
CREATE TABLE table_name_57 (outgoing_manager VARCHAR, date_of_appointment VARCHAR) | I want the outgoing manager for 19 february | SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = "19 february" |
CREATE TABLE table_name_24 (team VARCHAR, replaced_by VARCHAR) | I want the team with replaced by being csaba lászló | SELECT team FROM table_name_24 WHERE replaced_by = "csaba lászló" |
CREATE TABLE table_name_28 (vertices INTEGER, dual_archimedean_solid VARCHAR) | Which Vertices have a Dual Archimedean solid of truncated dodecahedron? | SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = "truncated dodecahedron" |
CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR) | Which Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32? | SELECT AVG(faces) FROM table_name_39 WHERE dual_archimedean_solid = "truncated icosahedron" AND vertices > 32 |
CREATE TABLE table_name_86 (set_3 VARCHAR, time VARCHAR, score VARCHAR, set_2 VARCHAR) | Which Set 3 has a Score of 3–2, and a Set 2 of 25–23, and a Time of 19:00? | SELECT set_3 FROM table_name_86 WHERE score = "3–2" AND set_2 = "25–23" AND time = "19:00" |
CREATE TABLE table_name_87 (named VARCHAR, name VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR) | What is the namesake of Ayashe at a longitude less than 270.7, latitude more than -47.1, and a diameter less than 7.2? | SELECT named AS after FROM table_name_87 WHERE longitude < 270.7 AND latitude > -47.1 AND diameter__km_ < 7.2 AND name = "ayashe" |
CREATE TABLE table_name_6 (driver VARCHAR, rounds VARCHAR, entrant VARCHAR) | Which driver was in all rounds as an entrant of Motor Racing Developments? | SELECT driver FROM table_name_6 WHERE rounds = "all" AND entrant = "motor racing developments" |
CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) | What college or club did the round 9 draft pick from Canada come from? | SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada" |
CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR) | When in November were they 11-7-3 with over 21 games? | SELECT MAX(november) FROM table_name_80 WHERE record = "11-7-3" AND game > 21 |
CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR) | I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0 | SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 0 |
CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR) | Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28 | SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6 |
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR) | What was the away team score at Hawthorn's home game? | SELECT away_team AS score FROM table_name_28 WHERE home_team = "hawthorn" |
CREATE TABLE table_name_69 (game INTEGER, date VARCHAR) | What is the lowest game number on February 20? | SELECT MIN(game) FROM table_name_69 WHERE date = "february 20" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.