text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (Id VARCHAR)
<</SYS>>
SELECT 2007 FROM table_name_48 WHERE 2006 = "4r" AND 2004 = "1r" AND 2009 = "4r"[/INST] What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–6"[/INST] What Date has a Score in the final of 3–6, 2–6, 4–6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR)
<</SYS>>
SELECT voltage FROM table_name_64 WHERE frequency = "2000mhz" AND release_date = "q3 2008"[/INST] What kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)
<</SYS>>
SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = "80 g/mi (50 g/km)" AND southeast__atlanta_ = "250 g/mi (155 g/km)"[/INST] What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (points INTEGER, chassis VARCHAR, year VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_39 WHERE chassis = "maserati 250f" AND year > 1955[/INST] What is the most points that the Maserati 250F chassis scored in years after 1955?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (season VARCHAR, goals VARCHAR, points VARCHAR)
<</SYS>>
SELECT season FROM table_name_54 WHERE goals = "27" AND points = "58"[/INST] In what season were there 27 goals and 58 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (pick__number VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(pick__number) FROM table_name_84 WHERE position = "running back"[/INST] If the Position is Running Back what is the Total number of Pick #?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (total VARCHAR, to_par VARCHAR, year_won VARCHAR)
<</SYS>>
SELECT COUNT(total) FROM table_name_46 WHERE to_par < 4 AND year_won < 1983[/INST] What is the Total of the player who won before 1983 with a smaller than 4 To par?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24481478_1 (game_site VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT game_site FROM table_24481478_1 WHERE attendance = 29753[/INST] At which location did 29753 fans show up to watch the game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_16025095_1 WHERE date = "January 24, 1987"[/INST] What was the minimum crowd on January 24, 1987?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (score VARCHAR)
<</SYS>>
SELECT score FROM table_name_87 WHERE 2012 = "15.0%"[/INST] What score has 15.0% as the 2012?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (surface VARCHAR, date VARCHAR)
<</SYS>>
SELECT surface FROM table_name_18 WHERE date = "1 september 2008"[/INST] What Surface has a Date of 1 september 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (labour_panel INTEGER, university_of_dublin VARCHAR, agricultural_panel VARCHAR)
<</SYS>>
SELECT MAX(labour_panel) FROM table_name_46 WHERE university_of_dublin < 2 AND agricultural_panel > 5[/INST] What is the highest labour panel when the university of dublin is less than 2 and the agricultural panel is greater than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
<</SYS>>
SELECT location FROM table_25773116_2 WHERE pole_position = "Daniel Erickson" AND fastest_lap = "Cole Morgan"[/INST] Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (wins INTEGER, matches INTEGER)
<</SYS>>
SELECT SUM(wins) FROM table_name_82 WHERE matches > 5[/INST] How many wins had Matches greater than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18638067_1 (category VARCHAR, film_title_used_in_nomination VARCHAR)
<</SYS>>
SELECT category FROM table_18638067_1 WHERE film_title_used_in_nomination = "Working Girl"[/INST] What category was the movie Working Girl nominated?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR)
<</SYS>>
SELECT COUNT(location) FROM table_17822401_1 WHERE branding = "Radyo5 101.9 News FM"[/INST] How many stations are called radyo5 101.9 news fm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT engine FROM table_name_24 WHERE chassis = "lotus 44 f2"[/INST] Which engine has a Chassis of lotus 44 f2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR)
<</SYS>>
SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = "Ron Kind"[/INST] When was the first election in the district whose incumbent is Ron Kind?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR)
<</SYS>>
SELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = "nelson" AND lost > 16[/INST] What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)
<</SYS>>
SELECT style FROM table_name_59 WHERE choreographer = "luda and oliver"[/INST] What is the Style of the dance by Choreographer Luda and Oliver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (lost INTEGER, drawn VARCHAR, played VARCHAR)
<</SYS>>
SELECT SUM(lost) FROM table_name_78 WHERE drawn > 5 AND played > 18[/INST] How much Lost has a Drawn larger than 5, and a Played larger than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)
<</SYS>>
SELECT MAX(pos) FROM table_name_64 WHERE team = "circle bar racing" AND car__number < 14[/INST] Which Pos has a Team of circle bar racing, and a Car # smaller than 14?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_6 WHERE home = "detroit" AND date = "february 17"[/INST] What score has detroit as the home and february 17 as the date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (venue VARCHAR, opposing_teams VARCHAR)
<</SYS>>
SELECT venue FROM table_name_95 WHERE opposing_teams = "scotland"[/INST] What venue has Scotland as the opposing teams?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27733909_7 (team VARCHAR, date VARCHAR)
<</SYS>>
SELECT team FROM table_27733909_7 WHERE date = "January 17"[/INST] Name the team for january 17</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Accounts (other_account_details VARCHAR, account_name VARCHAR)
<</SYS>>
SELECT other_account_details FROM Accounts WHERE account_name = "338"[/INST] Show other account details for account with name 338.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)
<</SYS>>
SELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = "warkworth"[/INST] Name the highest Decile for roll more than 325 and area of warkworth</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR)
<</SYS>>
SELECT score FROM table_name_21 WHERE location_attendance = "groves high school" AND high_assists = "giovanni riley (9)"[/INST] What was the score for Groves High School when the high assist was Giovanni Riley (9)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (event VARCHAR, games VARCHAR, sport VARCHAR)
<</SYS>>
SELECT event FROM table_name_28 WHERE games = "2008 beijing" AND sport = "wrestling"[/INST] What wrestling event was participated in during the 2008 Beijing games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_46 WHERE week = 9[/INST] Which opponent was played on week 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)
<</SYS>>
SELECT team FROM table_name_18 WHERE location_attendance = "boston garden" AND score = "l 118-130"[/INST] Which team played in the Boston Garden when the final score was L 118-130?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (surface VARCHAR, score_in_final VARCHAR)
<</SYS>>
SELECT surface FROM table_name_1 WHERE score_in_final = "5–7, 6–4, [10–7]"[/INST] What was the surface of the match that ended in a score of 5–7, 6–4, [10–7]?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (loss VARCHAR, time VARCHAR)
<</SYS>>
SELECT loss FROM table_name_9 WHERE time = "2:42"[/INST] Who lost with a time of 2:42?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_84 WHERE date = "july 18"[/INST] What was the attendance for july 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR)
<</SYS>>
SELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204[/INST] What is the rank associated with the team that has more than 2 wins and has greater than 204 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"[/INST] what is the title of the episode daphne field wrote?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341865_37 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_1341865_37 WHERE incumbent = "Frank T. Bow"[/INST] To which party does Frank T. Bow belong?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR)
<</SYS>>
SELECT date FROM table_name_44 WHERE surface = "carpet (i)"[/INST] Which date has a Surface of carpet (i)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (_number_of_prefectural_votes VARCHAR, _percentage_of_prefectural_vote VARCHAR, _number_of_seats_won VARCHAR)
<</SYS>>
SELECT COUNT(_number_of_prefectural_votes) FROM table_name_37 WHERE _percentage_of_prefectural_vote = "48.4%" AND _number_of_seats_won > 61[/INST] What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR)
<</SYS>>
SELECT athlete FROM table_name_53 WHERE date = "11 july 2003"[/INST] On 11 July 2003, which athlete performed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (region VARCHAR, state VARCHAR)
<</SYS>>
SELECT region FROM table_name_8 WHERE state = "georgia"[/INST] Tell me the region for georgia</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (snatch VARCHAR)
<</SYS>>
SELECT 187 AS kg FROM table_name_79 WHERE snatch = "clean & jerk"[/INST] Who has 187kg and a Snatch of Clean & Jerk?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)
<</SYS>>
SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000[/INST] What is the average number of cities of markets with low film market estimate bigger than 10000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland"[/INST] Name the points for switzerland</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
<</SYS>>
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13[/INST] How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (name VARCHAR, style VARCHAR, status VARCHAR)
<</SYS>>
SELECT name FROM table_name_80 WHERE style = "ballet" AND status = "original cast"[/INST] Who had a ballet style with original cast?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR)
<</SYS>>
SELECT religion FROM table_name_43 WHERE scheduled_tribe = "0.90%"[/INST] WHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (imed_avicenna_listed VARCHAR, established VARCHAR, degree VARCHAR, regional_offshore VARCHAR, country_territory VARCHAR)
<</SYS>>
SELECT imed_avicenna_listed FROM table_name_31 WHERE regional_offshore = "offshore" AND country_territory = "saint kitts and nevis" AND degree = "md" AND established < 2000[/INST] What is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR)
<</SYS>>
SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469[/INST] How many vap values are associated with 140469 valid votes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR)
<</SYS>>
SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold"[/INST] in what year did the colors red and gold join?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (total VARCHAR, silver INTEGER)
<</SYS>>
SELECT COUNT(total) FROM table_name_14 WHERE silver < 0[/INST] What is the total number that 0 silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (winning_driver VARCHAR, race_name VARCHAR)
<</SYS>>
SELECT winning_driver FROM table_name_26 WHERE race_name = "vii rand grand prix"[/INST] What driver won the VII Rand Grand Prix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR)
<</SYS>>
SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00"[/INST] What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)
<</SYS>>
SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium"[/INST] When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (venue VARCHAR, position VARCHAR)
<</SYS>>
SELECT venue FROM table_name_39 WHERE position = "5th"[/INST] Name the Venue which has a Position of 5th?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (team VARCHAR, position VARCHAR)
<</SYS>>
SELECT team FROM table_name_94 WHERE position = "g"[/INST] What is the team with position G?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21666472_1 (no_in_series VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT COUNT(no_in_series) FROM table_21666472_1 WHERE written_by = "Greg Haddrick"[/INST] How many number in series's are written by Greg Haddrick?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_3 WHERE venue = "princes park"[/INST] What was the home team score for the game played at Princes Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (opponent VARCHAR, week VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_82 WHERE week = "7"[/INST] Who was the opponent on week 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)
<</SYS>>
SELECT score FROM table_name_83 WHERE player = "nick faldo"[/INST] What is the score for Nick Faldo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR)
<</SYS>>
SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University"[/INST] What's Fitchburg State University's LEC sport?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)
<</SYS>>
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"[/INST] When bmw activee is the vehicle type what is the u.s national average electric mix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)
<</SYS>>
SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18[/INST] What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (gold INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)
<</SYS>>
SELECT SUM(gold) FROM table_name_25 WHERE rank > 6 AND nation = "netherlands" AND bronze < 0[/INST] Which Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze smaller than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough"[/INST] What was the attendance when Nuneaton Borough was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = "Didit Juang Indrianto Yayu Rahayu"[/INST] When mixed doubles is didit juang indrianto yayu rahayu what is the most current year?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT date FROM table_27700375_11 WHERE location_attendance = "The Palace of Auburn Hills 14,554"[/INST] Name the date for the palace of auburn hills 14,554</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (agricultural_panel VARCHAR, national_university_of_ireland INTEGER)
<</SYS>>
SELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_ireland > 3[/INST] What is the total number of agriculatural panels of the composition with more than 3 National Universities of Ireland?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (hanyu_pinyin VARCHAR, hanzi VARCHAR)
<</SYS>>
SELECT hanyu_pinyin FROM table_name_53 WHERE hanzi = "依兰县"[/INST] What is the Pinyin for 依兰县?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12113818_1 (year VARCHAR, communications_and_corporate_affairs VARCHAR)
<</SYS>>
SELECT year FROM table_12113818_1 WHERE communications_and_corporate_affairs = "Jeff Rotman"[/INST] What year was communications and corporate affairs held by Jeff Rotman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1213511_2 (player VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT player FROM table_1213511_2 WHERE nhl_team = "New York Rangers"[/INST] Who's the player for the New York Rangers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)
<</SYS>>
SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = "Brett Conrad & Liz Sagal"[/INST] How many numbers in the season were written by Brett Conrad & Liz Sagal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_27 WHERE date = "april 6"[/INST] Who was the visiting team on April 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR)
<</SYS>>
SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 2008"[/INST] What is the Format(s) of the release on September 23, 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (miss_air__1st_runner_up_ VARCHAR, year VARCHAR, miss_water__2nd_runner_up_ VARCHAR)
<</SYS>>
SELECT miss_air__1st_runner_up_ FROM table_name_35 WHERE year < 2007 AND miss_water__2nd_runner_up_ = "catherine untalan"[/INST] Who won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = "James Shannon"[/INST] What is the number of results for james shannon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire"[/INST] How many different kickoffs happened when the oppenent was at Rhein Fire?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)
<</SYS>>
SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction"[/INST] Who is the operator to destination Dalston Junction?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (week VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_83 WHERE date = "december 5, 2005"[/INST] Tell me the number of weeks for december 5, 2005</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18442691_2 (no VARCHAR, released VARCHAR)
<</SYS>>
SELECT no FROM table_18442691_2 WHERE released = "Cannot handle non-empty timestamp argument! 2007"[/INST] When cannot handle non-empty timestamp argument! 2007 is released what is the no.? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18600760_10 (geo_id INTEGER, water__sqmi_ VARCHAR)
<</SYS>>
SELECT MAX(geo_id) FROM table_18600760_10 WHERE water__sqmi_ = "0.771"[/INST] What is the geo ID for the township with 0.771 square miles of water?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR)
<</SYS>>
SELECT points FROM table_name_88 WHERE drawn = "2" AND points_for = "577"[/INST] What is the number of points for the team with 2 matches drawn and 577 points for?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)
<</SYS>>
SELECT year FROM table_name_70 WHERE venue = "barcelona, spain"[/INST] In what year did Iljuštšenko compete in Barcelona, Spain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (laps INTEGER, grid VARCHAR, driver VARCHAR)
<</SYS>>
SELECT SUM(laps) FROM table_name_43 WHERE grid > 2 AND driver = "jos verstappen"[/INST] How many laps did Jos Verstappen do on Grid 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR)
<</SYS>>
SELECT marriage FROM table_name_84 WHERE became_queen = "30 october 1816 husband's accession"[/INST] How is the marriage of who became queen on 30 October 1816 husband's accession?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR)
<</SYS>>
SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827"[/INST] What municipality where the human development index in the year 2000 was 0.7827?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_245694_4 (season INTEGER, us_open_cup VARCHAR)
<</SYS>>
SELECT MIN(season) FROM table_245694_4 WHERE us_open_cup = "Round of 32"[/INST] Name the least season for round of 32</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
<</SYS>>
SELECT incumbent FROM table_name_18 WHERE party = "democratic" AND first_elected = 1998[/INST] Which Democratic incumbent was first elected in 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR)
<</SYS>>
SELECT title FROM table_20726262_2 WHERE directedby = "Paris Barclay"[/INST] What title episode did Paris Barclay direct?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (kickoff VARCHAR, game_site VARCHAR, nflcom_recap VARCHAR, week VARCHAR)
<</SYS>>
SELECT kickoff FROM table_name_53 WHERE nflcom_recap = "recap" AND week < 17 AND game_site = "arrowhead stadium"[/INST] What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR)
<</SYS>>
SELECT language FROM table_name_18 WHERE english_translation = "come to me"[/INST] what is the language when the english translation is come to me?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20884160_1 (report VARCHAR, race_title VARCHAR)
<</SYS>>
SELECT report FROM table_20884160_1 WHERE race_title = "Supercheap Auto Bathurst 1000"[/INST] Was the result of the supercheap auto bathurst 1000 reported?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_film VARCHAR)
<</SYS>>
SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_film = "Tingya"[/INST] Name the awardee for tingya</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)
<</SYS>>
SELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Customer reviews"[/INST] Show all paragraph texts for the document "Customer reviews".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (race VARCHAR, date VARCHAR)
<</SYS>>
SELECT race FROM table_name_74 WHERE date = "15 june"[/INST] What race occurred on the date of 15 June?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (team_1 VARCHAR)
<</SYS>>
SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = "atlético madrid"[/INST] The 2nd leg is what for the Atlético Madrid as Team 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR)
<</SYS>>
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea"[/INST] Who is from south korea and has a heat less than 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (player VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT player FROM table_name_63 WHERE pick__number = 7[/INST] Name the player with pick number of 7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28797906_3 (economy VARCHAR, wickets VARCHAR)
<</SYS>>
SELECT economy FROM table_28797906_3 WHERE wickets = 29[/INST] When the number of wickets is 29, what was the economy?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.