text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR)
<</SYS>>
SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18[/INST] If there are 18 villages, what is the minimum area ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR)
<</SYS>>
SELECT manufacturer FROM table_27821519_1 WHERE no = 50[/INST] who is the manufacturer is no.50?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR)
<</SYS>>
SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiya janta party" AND trailing_party = "indian national congress"[/INST] What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (name VARCHAR, wsu_year_s_ VARCHAR)
<</SYS>>
SELECT name FROM table_name_89 WHERE wsu_year_s_ = "1981-82"[/INST] What is Name, when WSU Year(s) is 1981-82?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (goal_difference VARCHAR, wins VARCHAR, draws VARCHAR, position VARCHAR)
<</SYS>>
SELECT goal_difference FROM table_name_97 WHERE draws > 6 AND position > 12 AND wins < 9[/INST] What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
<</SYS>>
SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 9[/INST] The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (frequency VARCHAR, socket VARCHAR, model_number VARCHAR)
<</SYS>>
SELECT frequency FROM table_name_15 WHERE socket = "socket 370" AND model_number = "c3 1.4a"[/INST] Which Frequency has a Socket of socket 370, and a Model Number of c3 1.4a?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (laps INTEGER, time_retired VARCHAR)
<</SYS>>
SELECT MAX(laps) FROM table_name_76 WHERE time_retired = "differential"[/INST] What is the highest number of laps when the Time/Retired is differential?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
<</SYS>>
SELECT COUNT(date_of_vacancy) FROM table_17115950_2 WHERE replaced_by = "Viorel Moldovan"[/INST] How many times did Viorel Moldovan replaced a manager?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (tenure VARCHAR, revenues VARCHAR)
<</SYS>>
SELECT tenure FROM table_name_90 WHERE revenues = "60,000-->58,000 koku"[/INST] What is the tenure of the person with revenues of 60,000-->58,000 koku?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (penalty VARCHAR, average VARCHAR, total VARCHAR)
<</SYS>>
SELECT penalty FROM table_name_13 WHERE average > 9.662 AND total > 9.706[/INST] What was the penalty for the gymnast with average above 9.662 and total is more than 9.706?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27329061_2 (default_desktop_environment VARCHAR, edition VARCHAR, compatible_repository VARCHAR)
<</SYS>>
SELECT default_desktop_environment FROM table_27329061_2 WHERE edition = "KDE" AND compatible_repository = "Ubuntu 13.04"[/INST] What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR)
<</SYS>>
SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925"[/INST] What was the score for the South American Championship dated December 13, 1925?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16201038_5 (at_columbia VARCHAR, overall_record VARCHAR)
<</SYS>>
SELECT at_columbia FROM table_16201038_5 WHERE overall_record = "MU, 3-1"[/INST] What is the record at Columbia for the team overall record of MU, 3-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (tournament VARCHAR, location VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_70 WHERE location = "arizona"[/INST] What tournament is in Arizona?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (evening_gown VARCHAR, preliminaries VARCHAR, state VARCHAR)
<</SYS>>
SELECT COUNT(evening_gown) FROM table_name_79 WHERE preliminaries < 8.647 AND state = "district of columbia"[/INST] What is the evening gown score of the contestant from the District of Columbia with preliminaries smaller than 8.647?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (city_of_license VARCHAR, age_watt VARCHAR)
<</SYS>>
SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts"[/INST] Name the city of license which has age Watt of 160 watts</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Faculty_participates_in (FacID VARCHAR)
<</SYS>>
SELECT COUNT(DISTINCT FacID) FROM Faculty_participates_in[/INST] How many faculty members participate in an activity?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)
<</SYS>>
SELECT bello FROM table_11447995_2 WHERE ben_tahir = "296"[/INST] What is the Bello when Ben-Tahir is 296?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_27 WHERE date = "29 march 2008"[/INST] What is the Record with a Date with 29 march 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR)
<</SYS>>
SELECT location FROM table_name_71 WHERE host = "robert morris university (illinois)" AND national_champion = "lindenwood"[/INST] At what Location did Robert Morris University (Illinois) Host the Lindenwood National Chamption?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE country (LifeExpectancy INTEGER, Continent VARCHAR, GovernmentForm VARCHAR)
<</SYS>>
SELECT AVG(LifeExpectancy) FROM country WHERE Continent = "Africa" AND GovernmentForm = "Republic"[/INST] What is the average life expectancy in African countries that are republics?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24989925_2 (week INTEGER)
<</SYS>>
SELECT MAX(week) FROM table_24989925_2[/INST] How many weeks total are there?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (original_air_date INTEGER, series_number VARCHAR)
<</SYS>>
SELECT AVG(original_air_date) FROM table_name_20 WHERE series_number = 10[/INST] What was the original air date of series number 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR)
<</SYS>>
SELECT place FROM table_name_89 WHERE player = "seve ballesteros"[/INST] What Place has a Player of seve ballesteros?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR)
<</SYS>>
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam"[/INST] What is Relax-Gam's average UCI Rating?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (hometown VARCHAR, height VARCHAR)
<</SYS>>
SELECT hometown FROM table_name_90 WHERE height = "6-10"[/INST] Which Hometown has a Height of 6-10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (position VARCHAR, years VARCHAR)
<</SYS>>
SELECT position FROM table_name_58 WHERE years = "1999"[/INST] What was the position in 1999?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24901152_2 (surface VARCHAR, championship VARCHAR)
<</SYS>>
SELECT surface FROM table_24901152_2 WHERE championship = "US Open (2)"[/INST] When us open (2) is the championship what is the surface?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18522916_5 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
<</SYS>>
SELECT manner_of_departure FROM table_18522916_5 WHERE date_of_vacancy = "25 August 2008"[/INST] Name the manner of departure for date of vacancy 25 august 2008</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (frequency INTEGER, callsign VARCHAR, webcast VARCHAR, city_of_license VARCHAR)
<</SYS>>
SELECT MIN(frequency) FROM table_name_2 WHERE webcast = "listen live" AND city_of_license = "monterrey" AND callsign = "xet"[/INST] Which long range AM station has the lowest frequency and includes a webcast of listen live, was licensed in the city of Monterrey, and uses the Callsign of xet?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR)
<</SYS>>
SELECT under_13 FROM table_26368963_1 WHERE under_11 = "Aly Abou El Einen"[/INST] When the under-11 was Aly Abou El Einen, who was the under-13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR)
<</SYS>>
SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh"[/INST] For a Team 1 of Al-Merrikh, what was the aggregate?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20036882_2 (country VARCHAR, winning_pilot VARCHAR)
<</SYS>>
SELECT country FROM table_20036882_2 WHERE winning_pilot = "Hannes Arch"[/INST] Name the country for hannes arch</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_87 WHERE player = "hunter mahan"[/INST] What is the to par of player hunter mahan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR)
<</SYS>>
SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0"[/INST] In which league would you find the player with a comp percentage of 54.0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)
<</SYS>>
SELECT points FROM table_10160447_1 WHERE driver = "Rusty Wallace"[/INST] what's the points with driver rusty wallace</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_43 WHERE score = 69 - 70 - 67 = 206 AND player = "sergio garcía"[/INST] What is the country sergio garcía, who has a score of 69-70-67=206, is from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (estd INTEGER, college_or_campus_name VARCHAR)
<</SYS>>
SELECT SUM(estd) FROM table_name_14 WHERE college_or_campus_name = "anna university - panruti campus"[/INST] In what year was anna university - panruti campus established?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)
<</SYS>>
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17[/INST] What is the grid total for cars that went 17 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)
<</SYS>>
SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv"[/INST] What are the notes for the Mandarin Chinese program on CTV earlier than 2013?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)
<</SYS>>
SELECT project_management FROM table_name_9 WHERE blogs = "no" AND xml_forms_management_and_workflow = "no" AND enterprise_search = "no" AND social_software = "no"[/INST] WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2263152_1 (version VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)
<</SYS>>
SELECT version FROM table_2263152_1 WHERE security_issues = "98-004" AND distribution_mechanism = "Microsoft website"[/INST] With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25997153_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
<</SYS>>
SELECT MAX(no_in_series) FROM table_25997153_1 WHERE us_viewers__million_ = "16.17"[/INST] what is the latest episode in the series that had 16.17 million u.s. viewers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (opponents_in_the_final VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003"[/INST] Who were the opponents of the final on June 23, 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR)
<</SYS>>
SELECT number FROM table_name_41 WHERE males = "11"[/INST] Which number has 11 males?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (draw INTEGER, place VARCHAR, votes VARCHAR)
<</SYS>>
SELECT SUM(draw) FROM table_name_49 WHERE place > 6 AND votes > 38[/INST] What is the draw number of the song with a place lower than 6 and more than 38 votes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
<</SYS>>
SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan"[/INST] How many fast laps have 0 points in the World Series by Nissan?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (championship_game VARCHAR, win__percentage VARCHAR)
<</SYS>>
SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429"[/INST] If a team had a percentage of games won recorded as .429, what Championship Game was played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR)
<</SYS>>
SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung"[/INST] Which song has a ending theme, and is sung by miriam yeung?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (game VARCHAR, record VARCHAR)
<</SYS>>
SELECT game FROM table_name_65 WHERE record = "6-12-8"[/INST] What game has a 6-12-8 record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105"[/INST] Name the location attendance for l 93-105</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (isbn_us VARCHAR, title VARCHAR)
<</SYS>>
SELECT isbn_us FROM table_name_55 WHERE title = "mission to venus"[/INST] What is ISBN US, when Title is "Mission To Venus"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668367_13 (result VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT result FROM table_2668367_13 WHERE incumbent = "Thomas R. Gold"[/INST] What was the result in the district represented by Thomas R. Gold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond"[/INST] What is the home team score with Away team Richmond?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)
<</SYS>>
SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston"[/INST] What TV channel had a license from Boston?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (position VARCHAR, name VARCHAR)
<</SYS>>
SELECT position FROM table_name_83 WHERE name = "francis harris"[/INST] What's Francis Harris' position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR)
<</SYS>>
SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 2"[/INST] When did the elections take place in district Maryland 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (Id VARCHAR)
<</SYS>>
SELECT 2012 FROM table_name_18 WHERE 2007 = "2r" AND 2009 = "1r"[/INST] What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (qual INTEGER, grid VARCHAR)
<</SYS>>
SELECT SUM(qual) FROM table_name_57 WHERE grid = 24[/INST] What is the total qual where the grid number is 24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR, name VARCHAR)
<</SYS>>
SELECT date FROM table_name_78 WHERE venue = "taunton" AND name = "sc ganguly"[/INST] What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (position VARCHAR, round VARCHAR, overall VARCHAR)
<</SYS>>
SELECT position FROM table_name_81 WHERE round < 8 AND overall = 48[/INST] What is the position of the player with a round less than 8 and an overall of 48?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (season VARCHAR, round VARCHAR, club VARCHAR)
<</SYS>>
SELECT season FROM table_name_78 WHERE round = "1. round" AND club = "sporting cp"[/INST] In what season did the Sporting CP Club have a 1. round?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR)
<</SYS>>
SELECT label FROM table_name_20 WHERE format = "cd single"[/INST] What label has cd single as the format?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
<</SYS>>
SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged"[/INST] Is prothrombin time long when thromboplastin is prolonged?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (vietnamese VARCHAR, chinese VARCHAR)
<</SYS>>
SELECT vietnamese FROM table_name_35 WHERE chinese = "婆須密 / póxūmì"[/INST] Which VIETNAMESE has a CHINESE of 婆須密 / póxūmì?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR)
<</SYS>>
SELECT city FROM table_name_89 WHERE track = "manzanita speedway"[/INST] What is the city the track of manzanita speedway is in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR)
<</SYS>>
SELECT written_by FROM table_2226817_2 WHERE original_air_date = "April 5, 1987"[/INST] Who wrote when the original airdate is April 5, 1987?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (total INTEGER, rank VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MAX(total) FROM table_name_37 WHERE rank = 9 AND silver < 2[/INST] Which Total has a Rank of 9, and a Silver smaller than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR)
<</SYS>>
SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas"[/INST] what is the institution located in north newton, kansas?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR)
<</SYS>>
SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = "Amersham"[/INST] Give me the maximum low temperature and average precipitation at the Amersham station.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR, customer_address VARCHAR, payment_method_code VARCHAR)
<</SYS>>
SELECT customer_id, customer_name FROM customers WHERE customer_address LIKE "%WY%" AND payment_method_code <> "Credit Card"[/INST] Find the id and name of customers whose address contains WY state and do not use credit card for payment.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509"[/INST] Who had high assists in the game played at Oklahoma city arena 17,509?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR)
<</SYS>>
SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1[/INST] What is the oldest log id and its corresponding problem id?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (sort_restore VARCHAR, births VARCHAR)
<</SYS>>
SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389"[/INST] What is the number of sort values associated with 389 births?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR)
<</SYS>>
SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir"[/INST] For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28194879_1 (directed_by VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT directed_by FROM table_28194879_1 WHERE production_code = "PABF05"[/INST] Who directed the episode whose production code is pabf05?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (against VARCHAR, drawn VARCHAR)
<</SYS>>
SELECT against FROM table_name_21 WHERE drawn = 5[/INST] What is the Against when the drawn is 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde"[/INST] What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_255205_1 (joined VARCHAR, institution VARCHAR)
<</SYS>>
SELECT joined FROM table_255205_1 WHERE institution = "Manchester University"[/INST] How many joined Manchester University?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR)
<</SYS>>
SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%"[/INST] What internet explorer has 29.07% for the chrome?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER)
<</SYS>>
SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12[/INST] What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
<</SYS>>
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED"[/INST] How many subsidiaries of Postermobile Limited?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12828723_3 (won VARCHAR, points_for VARCHAR)
<</SYS>>
SELECT won FROM table_12828723_3 WHERE points_for = "376"[/INST] what's the win with points for being 376</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT SUM(game) FROM table_name_60 WHERE opponent = "at kansas city chiefs" AND attendance < 40 OFFSET 213[/INST] Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR)
<</SYS>>
SELECT max_speed FROM table_28132970_5 WHERE vessel = "Gallion"[/INST] What is the max speed when the vessel is gallion?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_name_99 WHERE player = "todd hammel"[/INST] What position is todd hammel?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield"[/INST] Where was the Singapore Charity Shield tournament played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
<</SYS>>
SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia" AND duration = "13 days, 19 hours, 30 minutes, 4 seconds"[/INST] how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (sets_lost INTEGER, loss VARCHAR, rank VARCHAR)
<</SYS>>
SELECT SUM(sets_lost) FROM table_name_26 WHERE loss < 3 AND rank > 1[/INST] How many sets lost have a loss smaller than 3 and a rank larger than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (championships INTEGER, league VARCHAR)
<</SYS>>
SELECT MAX(championships) FROM table_name_48 WHERE league = "evergreen premier league"[/INST] How many championships does Evergreen Premier League have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (score VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_73 WHERE record = "50-85"[/INST] What was the score of the game when the record was 50-85?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_92 WHERE result = "4.50"[/INST] What was the nationality of the athlete with a final result of 4.50?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT COUNT(laps) FROM table_name_98 WHERE grid > 14 AND time_retired = "accident" AND driver = "emerson fittipaldi"[/INST] How many laps did Emerson Fittipaldi do on a grid larger than 14, and when was the Time/Retired of accident?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12[/INST] What is Player, when Total is greater than 148, and when To Par is "12"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE STUDENT (Fname VARCHAR)
<</SYS>>
SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%'[/INST] Find the first names of students whose first names contain letter "a".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (competition VARCHAR, final_position VARCHAR, final_round VARCHAR)
<</SYS>>
SELECT competition FROM table_name_66 WHERE final_position = "winners" AND final_round = "finals"[/INST] What competition had a final round in the finals and the final position winners?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (Id VARCHAR)
<</SYS>>
SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"[/INST] Which tournament in 2012 had a 2007 and 2011 finishes of "A"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR)
<</SYS>>
SELECT name FROM table_name_50 WHERE block < 342 AND weight < 87 AND height > 187[/INST] What is the Name of the player with less than 342 Block, less than 87 Weight and Height more than 187?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR)
<</SYS>>
SELECT losingteam FROM table_11236195_2 WHERE season = 1993[/INST] What was the losing team in the 1993 season?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.