text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR)
<</SYS>>
SELECT ihsaa_class FROM table_name_56 WHERE location = "monon"[/INST] What is the IHSAA class in monon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (constellation VARCHAR, designation_hd VARCHAR)
<</SYS>>
SELECT constellation FROM table_name_38 WHERE designation_hd = "hd 75732"[/INST] Which constellation has hd 75732 as a destignation HD?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (_number_of_phones_as__percentage_of_population INTEGER, country_or_region VARCHAR)
<</SYS>>
SELECT AVG(_number_of_phones_as__percentage_of_population) FROM table_name_15 WHERE country_or_region = "russia"[/INST] What percent of the population has phone in Russia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (rank INTEGER, total VARCHAR)
<</SYS>>
SELECT AVG(rank) FROM table_name_72 WHERE total = 12[/INST] Which Rank has a Total of 12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (home VARCHAR, record VARCHAR)
<</SYS>>
SELECT home FROM table_name_77 WHERE record = "24–16–6"[/INST] What team was home, when the record was 24–16–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (time VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT time FROM table_name_17 WHERE home_team = "hkssf"[/INST] What was the time for the match that had a a home team of HKSSF?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (feb_2013 INTEGER, feb_2010 VARCHAR, nov_2012 VARCHAR)
<</SYS>>
SELECT AVG(feb_2013) FROM table_name_31 WHERE feb_2010 = "37" AND nov_2012 < 32[/INST] What is the average Feb 2013 with a Feb 2010 with 37, and a Nov 2012 less than 32?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (record VARCHAR, week VARCHAR, result VARCHAR)
<</SYS>>
SELECT record FROM table_name_10 WHERE week > 4 AND result = "w 13-12"[/INST] What was the record at the game with a result of W 13-12 after week 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11677100_17 (school VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(school) FROM table_11677100_17 WHERE player = "Bubba Starling"[/INST] How many schools did Bubba Starling attend?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth"[/INST] What was the nationality of five-eighth player Darren Lockyer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR)
<</SYS>>
SELECT COUNT(stage) FROM table_22713796_14 WHERE mountains_classification = "Lloyd Mondory"[/INST] Name the total number of stage for lloyd mondory</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR)
<</SYS>>
SELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = "Tom Niehaus"[/INST] What is the term limit for Senator Tom Niehaus? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR)
<</SYS>>
SELECT language FROM table_1930857_1 WHERE year_founded = "1874"[/INST] What's the language of classes in the school founded in 1874?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR)
<</SYS>>
SELECT result FROM table_1342013_34 WHERE district = "Ohio 2"[/INST] what's the result for district ohio 2</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR)
<</SYS>>
SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart"[/INST] What is the barony for the Ballintaggart townland?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE volume (Song VARCHAR)
<</SYS>>
SELECT Song FROM volume ORDER BY Song[/INST] Please list all songs in volumes in ascending alphabetical order.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR)
<</SYS>>
SELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = "340"[/INST] What shows for miles [One Way] when the fans took 340?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (Id VARCHAR)
<</SYS>>
SELECT 2007 FROM table_name_12 WHERE 2010 = "wta premier 5 tournaments"[/INST] What is the 2007 value for the 2010 wta premier 5 tournaments?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
<</SYS>>
SELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1[/INST] What is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE election (Delegate VARCHAR, Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
<</SYS>>
SELECT T1.Delegate, T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID[/INST] Show the delegates and the names of the party they belong to.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(tournament) FROM table_11622562_1 WHERE score = "204 (-12)"[/INST] How many tournaments ended with a score of 204 (-12)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (home VARCHAR, season VARCHAR)
<</SYS>>
SELECT home FROM table_name_79 WHERE season = "1949-50"[/INST] What was the home for season 1949-50?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2602958_4 (prod_code VARCHAR, no VARCHAR)
<</SYS>>
SELECT COUNT(prod_code) FROM table_2602958_4 WHERE no = 45[/INST] How many production codes are there for episode number 45?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (game INTEGER, opponent VARCHAR, points VARCHAR)
<</SYS>>
SELECT MAX(game) FROM table_name_16 WHERE opponent = "new york rangers" AND points > 55[/INST] What's the highest game against the New York Rangers with more than 55 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
<</SYS>>
SELECT SUM(T2.balance), T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid GROUP BY T1.name[/INST] Find the total saving balance for each account name.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18335117_2 (original_air_date VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_18335117_2 WHERE production_code = 102[/INST] When did the episode first air that had a production code of 102?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (total INTEGER, rank VARCHAR, county VARCHAR)
<</SYS>>
SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = "cork"[/INST] Which Total has a Rank smaller than 3, and a County of cork?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR)
<</SYS>>
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott"[/INST] How many times did Charles Jarrott report?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, record VARCHAR)
<</SYS>>
SELECT score FROM table_name_45 WHERE visitor = "chicago black hawks" AND record = "3-1"[/INST] What is the score of the game with the chicago black hawks as the visitor and a 3-1 record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1404984_1 (virtual_channel VARCHAR, network VARCHAR)
<</SYS>>
SELECT virtual_channel FROM table_1404984_1 WHERE network = "HSN"[/INST] What is HSN's official virtual channel in Minneapolis-St. Paul?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)
<</SYS>>
SELECT score_in_the_final FROM table_26202788_7 WHERE championship = "Miami , United States"[/INST] In the championship Miami , United States, what is the score in the final?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR)
<</SYS>>
SELECT date FROM table_name_46 WHERE serial = "10b"[/INST] What is the date for the 10b serial?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR)
<</SYS>>
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro"[/INST] How many weeks was K.Maro at #1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (games INTEGER, position VARCHAR)
<</SYS>>
SELECT MIN(games) AS ↑ FROM table_name_88 WHERE position = "wlb"[/INST] Which Games↑ is the lowest one that has a Position of wlb?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)
<</SYS>>
SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = "1.7" AND episode = "the game of life"[/INST] What Viewers (m) has a Rating of 1.7, and an Episode of the game of life?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_31 WHERE date = "june 7"[/INST] On the date of june 7 what was the score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (attendance VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_34 WHERE opponent = "clemson"[/INST] How many people attended the game against Clemson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE institution (institution_id VARCHAR, building_id VARCHAR); CREATE TABLE building (building_id VARCHAR, floors VARCHAR); CREATE TABLE protein (institution_id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id JOIN building AS T3 ON T3.building_id = T1.building_id WHERE T3.floors >= 20[/INST] How many proteins are associated with an institution in a building with at least 20 floors?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)
<</SYS>>
SELECT date FROM table_name_25 WHERE region = "united states"[/INST] What date was the United States the region?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, wins VARCHAR)
<</SYS>>
SELECT MIN(events) FROM table_name_77 WHERE top_10 > 1 AND wins > 0[/INST] What is the lowest number of events a tournament with more than 1 top-10 and more than 0 wins has?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (years VARCHAR, role VARCHAR)
<</SYS>>
SELECT years FROM table_name_21 WHERE role = "steve rhoades"[/INST] How many years did the role of Steve Rhoades last?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR)
<</SYS>>
SELECT AVG(route) FROM table_name_12 WHERE elevation = "12,183 feet 3713 m"[/INST] Elevation of 12,183 feet 3713 m is what average route?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (country VARCHAR, place VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_4 WHERE place = "t1" AND score = 71 - 68 = 139[/INST] Which country is in T1 place with a score of 71-68=139?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13759592_1 (founded VARCHAR, high_school VARCHAR)
<</SYS>>
SELECT COUNT(founded) FROM table_13759592_1 WHERE high_school = "Skyline"[/INST] What year was Skyline High School founded?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_181892_4 WHERE chassis = "Lotus-Ford 38/7"[/INST] How many years was the chassis a lotus-ford 38/7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (tonnage_grt INTEGER, nationality VARCHAR, ship VARCHAR)
<</SYS>>
SELECT MIN(tonnage_grt) FROM table_name_84 WHERE nationality = "british" AND ship = "kidalton"[/INST] what is the least tonnage grt when the nationality is british and the ship is kidalton?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_1341453_37 WHERE incumbent = "Marcia C. Kaptur"[/INST] In which district is the incumbent Marcia C. Kaptur? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR)
<</SYS>>
SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = "0-6-0 ST" AND builder = "Hudswell Clarke"[/INST] On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (player VARCHAR, rank INTEGER)
<</SYS>>
SELECT player FROM table_name_11 WHERE rank > 9[/INST] Which player ranks higher than 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (pick__number VARCHAR, round VARCHAR, college VARCHAR)
<</SYS>>
SELECT COUNT(pick__number) FROM table_name_4 WHERE round > 8 AND college = "fresno state"[/INST] How many Picks have a Round larger than 8, and a College of fresno state?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (games INTEGER, term_ VARCHAR, c_ VARCHAR)
<</SYS>>
SELECT SUM(games) FROM table_name_24 WHERE term_[c_] = "1969 – 1973"[/INST] What is the of games when for the term [c] of 1969 – 1973?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR)
<</SYS>>
SELECT party FROM table_name_44 WHERE representative = "peter a. quinn"[/INST] Which party has Peter A. Quinn as a representative?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (start VARCHAR, stage VARCHAR)
<</SYS>>
SELECT start FROM table_name_8 WHERE stage = 11[/INST] What is the start of stage 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR)
<</SYS>>
SELECT status FROM table_name_32 WHERE artist = "freddie jackson"[/INST] What Status does Freddie Jackson have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR)
<</SYS>>
SELECT rowers FROM table_name_66 WHERE country = "poland"[/INST] Who are the Rowers from Poland?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR)
<</SYS>>
SELECT MAX(roll) FROM table_name_98 WHERE decile < 8 AND authority = "state" AND name = "orere school"[/INST] What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11621915_1 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_11621915_1 WHERE date = "Oct 1"[/INST] what's the score with date oct 1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (tournament VARCHAR)
<</SYS>>
SELECT 2011 FROM table_name_62 WHERE tournament = "tokyo"[/INST] Name the 2011 for tokyo tournament</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR)
<</SYS>>
SELECT date FROM table_name_25 WHERE label = "grilled cheese"[/INST] What Date has a Label of grilled cheese?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (region VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT region FROM table_name_57 WHERE catalog = "512335"[/INST] Which region is associated with the catalog value of 512335?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (japanese_voice_actor VARCHAR, eagle_riders VARCHAR)
<</SYS>>
SELECT japanese_voice_actor FROM table_name_25 WHERE eagle_riders = "ollie keeawani"[/INST] Who is the Japanese voice actor of Eagle Rider Ollie Keeawani?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (pages INTEGER, title VARCHAR)
<</SYS>>
SELECT MIN(pages) FROM table_name_39 WHERE title = "al-jiniral fi matahatihi"[/INST] What's the fewest number of pages for the title al-jiniral fi matahatihi?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19249824_1 (language VARCHAR, english_translation VARCHAR)
<</SYS>>
SELECT language FROM table_19249824_1 WHERE english_translation = "Hello girl"[/INST] If the English translation is hello girl, what was the language?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (name VARCHAR, winning_constructor VARCHAR)
<</SYS>>
SELECT name FROM table_name_56 WHERE winning_constructor = "ansaldo"[/INST] What Name has a Winning constructor of ansaldo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27700530_9 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_27700530_9 WHERE date = "November 10"[/INST] What was the team's record on november 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR)
<</SYS>>
SELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 63[/INST] How many regions had an incarceration rate for females of 63?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = "18"[/INST] What nation has 0 as the silver, 1 as the bronze, with 18 as the rank?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (away_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_97 WHERE away_team = "south melbourne"[/INST] What is the away team score for South Melbourne?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)
<</SYS>>
SELECT gold FROM table_name_38 WHERE rank = "7"[/INST] What is Gold, when Rank is 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_42 WHERE to_par = "+3" AND score = 74 - 71 - 68 = 213[/INST] Who is the player with a +3 to par and a 74-71-68=213 score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (Id VARCHAR)
<</SYS>>
SELECT 2009 FROM table_name_72 WHERE 2010 = "wta premier 5 tournaments"[/INST] Which 2009's 2010 featured the wta premier 5 tournaments?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)
<</SYS>>
SELECT total FROM table_name_70 WHERE rank_by_average = "74" AND place = "8th"[/INST] What is the total with a 74 rank by average for 8th place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (livery VARCHAR, description VARCHAR, date VARCHAR)
<</SYS>>
SELECT livery FROM table_name_32 WHERE description = "20t tanker" AND date > 1941[/INST] Which Livery has a Description of 20t tanker, with a date later than 1941?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR)
<</SYS>>
SELECT COUNT(pick__number) FROM table_name_88 WHERE name = "jaimie thomas" AND round < 7[/INST] Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)
<</SYS>>
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12"[/INST] Which chassis has an Alfa Romeo flat-12 engine.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR)
<</SYS>>
SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34[/INST] How many chassis used number 34?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (population__2008_ INTEGER, created VARCHAR, county VARCHAR)
<</SYS>>
SELECT MAX(population__2008_) FROM table_name_69 WHERE created < 1857 AND county = "sinoe"[/INST] What is the highest population (2008) created earlier than 1857, and the county was Sinoe?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR)
<</SYS>>
SELECT Store_Name FROM Drama_Workshop_Groups[/INST] Show all the Store_Name of drama workshop groups.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2850912_7 (position VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT position FROM table_2850912_7 WHERE nhl_team = "Los Angeles Kings"[/INST] What is the postion when the nhl team is los angeles kings?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (driver VARCHAR, team VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT driver FROM table_name_43 WHERE team = "newman-haas racing" AND time_retired = "1:51:47.260"[/INST] Who drives for Newman-Haas Racing with a time of 1:51:47.260?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (no_8 VARCHAR, no_4 VARCHAR, no_7 VARCHAR)
<</SYS>>
SELECT no_8 FROM table_name_29 WHERE no_4 = "matthew" AND no_7 = "anthony"[/INST] What is the No. 8 of the person with a No. 4 of Matthew and a No. 7 of Anthony?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (place INTEGER, televote_sms VARCHAR)
<</SYS>>
SELECT SUM(place) FROM table_name_47 WHERE televote_sms = "2.39%"[/INST] what is the place when the televote/sms is 2.39%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (losses INTEGER, wins VARCHAR, against VARCHAR)
<</SYS>>
SELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND against > 1919[/INST] How many losses for the team with 3 wins and more than 1919 against?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (placement_in_miss_universe VARCHAR, delegate VARCHAR)
<</SYS>>
SELECT placement_in_miss_universe FROM table_name_3 WHERE delegate = "armi barbara quiray crespo"[/INST] Which Placement in Miss Universe is armi barbara quiray crespo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)
<</SYS>>
SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%"[/INST] Investment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)
<</SYS>>
SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"[/INST] What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)
<</SYS>>
SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7"[/INST] What is Player, when Country is "England", and when Place is "T7"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (frequency VARCHAR, area_served VARCHAR)
<</SYS>>
SELECT frequency FROM table_name_99 WHERE area_served = "katherine"[/INST] What is the frequency for katherine?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, location VARCHAR)
<</SYS>>
SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo"[/INST] What is the score from the game where Algeria is the opponent at Porto-Novo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (birth VARCHAR, marriage VARCHAR)
<</SYS>>
SELECT birth FROM table_name_12 WHERE marriage = "11 july 1643"[/INST] When was the duchess, who was married on 11 july 1643, born?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR)
<</SYS>>
SELECT college FROM table_25017530_5 WHERE player = "Nate Binder"[/INST] Name the college for nate binder</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)
<</SYS>>
SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–73"[/INST] What was time of the game against the Royals with a record of 81–73?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (compression_ratio VARCHAR, engine VARCHAR)
<</SYS>>
SELECT compression_ratio FROM table_name_41 WHERE engine = "302-2v windsor v8"[/INST] What is the compression ratio for the 302-2v Windsor v8 engine?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (race_2 VARCHAR, race_4 VARCHAR)
<</SYS>>
SELECT race_2 FROM table_name_40 WHERE race_4 = "28"[/INST] What is Race 2, when Race 4 is 28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (outcome VARCHAR, date VARCHAR)
<</SYS>>
SELECT outcome FROM table_name_29 WHERE date = "august 20, 2007"[/INST] What was the outcome of the August 20, 2007 match?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR)
<</SYS>>
SELECT format FROM table_name_50 WHERE region = "united states" AND date = "january 12, 2010" AND label = "mightier than sword"[/INST] What is the format for the label Mightier than Sword on January 12, 2010 in the United States?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)
<</SYS>>
SELECT original_air_date FROM table_26261072_1 WHERE series__number = 15[/INST] Name the original air date for series number 15</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (time___mt__ VARCHAR, opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT time___mt__ FROM table_name_13 WHERE opponent = "kansas city chiefs" AND date = "nov 11"[/INST] What is the (MT) time which has kansas city chiefs as an opponent on nov 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_20 WHERE college_junior_club_team__league_ = "ohio state university (ncaa)"[/INST] What is the nationality of the player from the Ohio State University (NCAA) Team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR)
<</SYS>>
SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2[/INST] What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.