context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1140080_2 (report VARCHAR, race VARCHAR) | SELECT report FROM table_1140080_2 WHERE race = "Argentine Grand Prix" | what's the report with race argentine grand prix | <s>[INST]what's the report with race argentine grand prix Context: CREATE TABLE table_1140080_2 (report VARCHAR, race VARCHAR)[/INST]SELECT report FROM table_1140080_2 WHERE race = "Argentine Grand Prix"</s> |
CREATE TABLE table_name_53 (artist VARCHAR, mintage__proof_ VARCHAR, year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) | SELECT artist FROM table_name_53 WHERE issue_price__bu_[_clarification_needed_] = "n/a" AND year > 2004 AND mintage__proof_ = "25,000" | Who is the Artist with an Issue Price (BU) [Clarification Needed] of n/a along with a Year larger than 2004, and Mintage (Proof) of 25,000? | <s>[INST]Who is the Artist with an Issue Price (BU) [Clarification Needed] of n/a along with a Year larger than 2004, and Mintage (Proof) of 25,000? Context: CREATE TABLE table_name_53 (artist VARCHAR, mintage__proof_ VARCHAR, year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR)[/INST]SELECT artist FROM table_name_53 WHERE issue_price__bu_[_clarification_needed_] = "n/a" AND year > 2004 AND mintage__proof_ = "25,000"</s> |
CREATE TABLE user_profiles (name VARCHAR, partitionid VARCHAR, uid VARCHAR); CREATE TABLE tweets (uid VARCHAR) | SELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2 | Find the name and partition id for users who tweeted less than twice. | <s>[INST]Find the name and partition id for users who tweeted less than twice. Context: CREATE TABLE user_profiles (name VARCHAR, partitionid VARCHAR, uid VARCHAR); CREATE TABLE tweets (uid VARCHAR)[/INST]SELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2</s> |
CREATE TABLE table_24319661_5 (directed_by VARCHAR, no_in_series VARCHAR) | SELECT directed_by FROM table_24319661_5 WHERE no_in_series = 53 | Who directed episode 53 in the series? | <s>[INST]Who directed episode 53 in the series? Context: CREATE TABLE table_24319661_5 (directed_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT directed_by FROM table_24319661_5 WHERE no_in_series = 53</s> |
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR) | SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central" | In the North Central region, what are the regional page #'s? | <s>[INST]In the North Central region, what are the regional page #'s? Context: CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR)[/INST]SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central"</s> |
CREATE TABLE table_name_13 (time VARCHAR, country VARCHAR) | SELECT time FROM table_name_13 WHERE country = "kazakhstan" | What was the time for the country of kazakhstan? | <s>[INST]What was the time for the country of kazakhstan? Context: CREATE TABLE table_name_13 (time VARCHAR, country VARCHAR)[/INST]SELECT time FROM table_name_13 WHERE country = "kazakhstan"</s> |
CREATE TABLE table_name_75 (Id VARCHAR) | SELECT 1993 FROM table_name_75 WHERE 1991 = "1r" AND 1990 = "sf" | What is the 1993 value with a 1r in 1991 and sf in 1990? | <s>[INST]What is the 1993 value with a 1r in 1991 and sf in 1990? Context: CREATE TABLE table_name_75 (Id VARCHAR)[/INST]SELECT 1993 FROM table_name_75 WHERE 1991 = "1r" AND 1990 = "sf"</s> |
CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR) | SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya" | How many MotoGP winners were there when the circuit was Catalunya? | <s>[INST]How many MotoGP winners were there when the circuit was Catalunya? Context: CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya"</s> |
CREATE TABLE table_27491610_2 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_27491610_2 WHERE directed_by = "Alex Zakrzewski" | What was the original air date of the episode that was directed by Alex Zakrzewski? | <s>[INST]What was the original air date of the episode that was directed by Alex Zakrzewski? Context: CREATE TABLE table_27491610_2 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_27491610_2 WHERE directed_by = "Alex Zakrzewski"</s> |
CREATE TABLE table_name_88 (lose INTEGER, name VARCHAR, point VARCHAR) | SELECT MAX(lose) FROM table_name_88 WHERE name = "santos" AND point > 45 | What was the highest number of lose for a player named Santos with more than 45 points? | <s>[INST]What was the highest number of lose for a player named Santos with more than 45 points? Context: CREATE TABLE table_name_88 (lose INTEGER, name VARCHAR, point VARCHAR)[/INST]SELECT MAX(lose) FROM table_name_88 WHERE name = "santos" AND point > 45</s> |
CREATE TABLE table_1139835_3 (season_result VARCHAR, margin VARCHAR) | SELECT season_result FROM table_1139835_3 WHERE margin = 51 | who is the season result where margin is 51 | <s>[INST] who is the season result where margin is 51 Context: CREATE TABLE table_1139835_3 (season_result VARCHAR, margin VARCHAR)[/INST]SELECT season_result FROM table_1139835_3 WHERE margin = 51</s> |
CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR); CREATE TABLE Documents (template_id VARCHAR, document_name VARCHAR) | SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = "Data base" | What is the template type code of the template used by document with the name "Data base"? | <s>[INST]What is the template type code of the template used by document with the name "Data base"? Context: CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR); CREATE TABLE Documents (template_id VARCHAR, document_name VARCHAR)[/INST]SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = "Data base"</s> |
CREATE TABLE Students (date_of_latest_logon VARCHAR, family_name VARCHAR) | SELECT date_of_latest_logon FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh" | What are the dates of the latest logon of the students with family name "Jaskolski" or "Langosh"? | <s>[INST]What are the dates of the latest logon of the students with family name "Jaskolski" or "Langosh"? Context: CREATE TABLE Students (date_of_latest_logon VARCHAR, family_name VARCHAR)[/INST]SELECT date_of_latest_logon FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh"</s> |
CREATE TABLE table_name_3 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_3 WHERE score = "6–7 (0–7) , 6–2, 4–6" | Which tournament had a score of 6–7 (0–7) , 6–2, 4–6? | <s>[INST]Which tournament had a score of 6–7 (0–7) , 6–2, 4–6? Context: CREATE TABLE table_name_3 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_3 WHERE score = "6–7 (0–7) , 6–2, 4–6"</s> |
CREATE TABLE table_name_86 (time VARCHAR, wrestler VARCHAR) | SELECT time FROM table_name_86 WHERE wrestler = "natalya" | What is Natalya's Time? | <s>[INST]What is Natalya's Time? Context: CREATE TABLE table_name_86 (time VARCHAR, wrestler VARCHAR)[/INST]SELECT time FROM table_name_86 WHERE wrestler = "natalya"</s> |
CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR) | SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th" | Who is the successor for massachusetts 8th? | <s>[INST]Who is the successor for massachusetts 8th? Context: CREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)[/INST]SELECT successor FROM table_228439_4 WHERE district = "Massachusetts 8th"</s> |
CREATE TABLE table_name_69 (viewers__m_ INTEGER, share INTEGER) | SELECT MIN(viewers__m_) FROM table_name_69 WHERE share > 13 | what is the lowest viewers (m) when the share is more than 13? | <s>[INST]what is the lowest viewers (m) when the share is more than 13? Context: CREATE TABLE table_name_69 (viewers__m_ INTEGER, share INTEGER)[/INST]SELECT MIN(viewers__m_) FROM table_name_69 WHERE share > 13</s> |
CREATE TABLE countrylanguage (CountryCode VARCHAR, LANGUAGE VARCHAR) | SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE <> "English" | What are the country codes of countries where people use languages other than English? | <s>[INST]What are the country codes of countries where people use languages other than English? Context: CREATE TABLE countrylanguage (CountryCode VARCHAR, LANGUAGE VARCHAR)[/INST]SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE <> "English"</s> |
CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR) | SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8 | What is the total against with 1 draw and less than 8 played? | <s>[INST]What is the total against with 1 draw and less than 8 played? Context: CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)[/INST]SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8</s> |
CREATE TABLE table_name_28 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_28 WHERE place = "t4" AND score = 70 - 68 - 69 - 73 = 280 | Which player has a score of 70-68-69-73=280 and a place of t4? | <s>[INST]Which player has a score of 70-68-69-73=280 and a place of t4? Context: CREATE TABLE table_name_28 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_28 WHERE place = "t4" AND score = 70 - 68 - 69 - 73 = 280</s> |
CREATE TABLE table_name_70 (team VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT team FROM table_name_70 WHERE laps = 104 AND grid = 10 | What team has 104 laps and a grid of 10? | <s>[INST]What team has 104 laps and a grid of 10? Context: CREATE TABLE table_name_70 (team VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT team FROM table_name_70 WHERE laps = 104 AND grid = 10</s> |
CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT MAX(total) FROM table_name_87 WHERE bronze = 0 AND nation = "poland" AND gold < 0 | Which Total is the highest one that has a Bronze of 0, and a Nation of poland, and a Gold smaller than 0? | <s>[INST]Which Total is the highest one that has a Bronze of 0, and a Nation of poland, and a Gold smaller than 0? Context: CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)[/INST]SELECT MAX(total) FROM table_name_87 WHERE bronze = 0 AND nation = "poland" AND gold < 0</s> |
CREATE TABLE table_name_28 (longi__tude VARCHAR, date_³ VARCHAR) | SELECT longi__tude FROM table_name_28 WHERE date_³ = "jun 6" | Which Longi- tude is on jun 6? | <s>[INST]Which Longi- tude is on jun 6? Context: CREATE TABLE table_name_28 (longi__tude VARCHAR, date_³ VARCHAR)[/INST]SELECT longi__tude FROM table_name_28 WHERE date_³ = "jun 6"</s> |
CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_7 WHERE score = "4–6, 6–4, 6–3, 7–6 (7–2)" | What is the outcome of the 4–6, 6–4, 6–3, 7–6 (7–2) score? | <s>[INST]What is the outcome of the 4–6, 6–4, 6–3, 7–6 (7–2) score? Context: CREATE TABLE table_name_7 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_7 WHERE score = "4–6, 6–4, 6–3, 7–6 (7–2)"</s> |
CREATE TABLE table_name_51 (bronze INTEGER, silver VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_51 WHERE silver < 1 AND gold > 0 | What is the number of bronze that silver is smaller than 1 and gold bigger than 0? | <s>[INST]What is the number of bronze that silver is smaller than 1 and gold bigger than 0? Context: CREATE TABLE table_name_51 (bronze INTEGER, silver VARCHAR, gold VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_51 WHERE silver < 1 AND gold > 0</s> |
CREATE TABLE table_name_17 (date VARCHAR, set_2 VARCHAR) | SELECT date FROM table_name_17 WHERE set_2 = "21:12" | What is the date of the 21:12 Set 2? | <s>[INST]What is the date of the 21:12 Set 2? Context: CREATE TABLE table_name_17 (date VARCHAR, set_2 VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE set_2 = "21:12"</s> |
CREATE TABLE table_name_95 (draw INTEGER, percentage VARCHAR) | SELECT MIN(draw) FROM table_name_95 WHERE percentage = "5.02%" | What is the fewest draws for percentages of 5.02%? | <s>[INST]What is the fewest draws for percentages of 5.02%? Context: CREATE TABLE table_name_95 (draw INTEGER, percentage VARCHAR)[/INST]SELECT MIN(draw) FROM table_name_95 WHERE percentage = "5.02%"</s> |
CREATE TABLE table_name_66 (current_status VARCHAR, livery VARCHAR) | SELECT current_status FROM table_name_66 WHERE livery = "network south-east" | What's the Current Status of Livery of the Network South-East? | <s>[INST]What's the Current Status of Livery of the Network South-East? Context: CREATE TABLE table_name_66 (current_status VARCHAR, livery VARCHAR)[/INST]SELECT current_status FROM table_name_66 WHERE livery = "network south-east"</s> |
CREATE TABLE table_name_99 (points INTEGER, year INTEGER) | SELECT SUM(points) FROM table_name_99 WHERE year > 2003 | How many points total are there later than 2003? | <s>[INST]How many points total are there later than 2003? Context: CREATE TABLE table_name_99 (points INTEGER, year INTEGER)[/INST]SELECT SUM(points) FROM table_name_99 WHERE year > 2003</s> |
CREATE TABLE table_24938621_3 (production_code VARCHAR, us_viewers__million_ VARCHAR) | SELECT production_code FROM table_24938621_3 WHERE us_viewers__million_ = "5.43" | What is the production code of the episode that had 5.43 million viewers? | <s>[INST]What is the production code of the episode that had 5.43 million viewers? Context: CREATE TABLE table_24938621_3 (production_code VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT production_code FROM table_24938621_3 WHERE us_viewers__million_ = "5.43"</s> |
CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR) | SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "ch'ing-yüan … i-ma" | Name the simplified characters for wade giles is ch'ing-yüan … i-ma | <s>[INST]Name the simplified characters for wade giles is ch'ing-yüan … i-ma Context: CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)[/INST]SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "ch'ing-yüan … i-ma"</s> |
CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341395_33 WHERE district = "New York 16" | what are all the result for New York 16 district | <s>[INST]what are all the result for New York 16 district Context: CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1341395_33 WHERE district = "New York 16"</s> |
CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR) | SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22 | What is the largest heat with a time of 4:57.90, and a Rank larger than 22? | <s>[INST]What is the largest heat with a time of 4:57.90, and a Rank larger than 22? Context: CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR)[/INST]SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22</s> |
CREATE TABLE table_name_14 (tries_for VARCHAR, tries_against VARCHAR) | SELECT tries_for FROM table_name_14 WHERE tries_against = "140" | WHAT TRIES HAVE TRIES AGAINST AT 140? | <s>[INST]WHAT TRIES HAVE TRIES AGAINST AT 140? Context: CREATE TABLE table_name_14 (tries_for VARCHAR, tries_against VARCHAR)[/INST]SELECT tries_for FROM table_name_14 WHERE tries_against = "140"</s> |
CREATE TABLE table_name_56 (competition VARCHAR, season VARCHAR) | SELECT competition FROM table_name_56 WHERE season = "2010/11" | Which competition has a Season of 2010/11? | <s>[INST]Which competition has a Season of 2010/11? Context: CREATE TABLE table_name_56 (competition VARCHAR, season VARCHAR)[/INST]SELECT competition FROM table_name_56 WHERE season = "2010/11"</s> |
CREATE TABLE table_name_33 (round VARCHAR) | SELECT 1 AS st_leg FROM table_name_33 WHERE round = "2q" | What is the 1st leg of 2q round? | <s>[INST]What is the 1st leg of 2q round? Context: CREATE TABLE table_name_33 (round VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_33 WHERE round = "2q"</s> |
CREATE TABLE table_16388478_4 (home_team VARCHAR) | SELECT home_team AS score FROM table_16388478_4 WHERE home_team = "Fremantle" | What is the home team score where the home team is Fremantle? | <s>[INST]What is the home team score where the home team is Fremantle? Context: CREATE TABLE table_16388478_4 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_16388478_4 WHERE home_team = "Fremantle"</s> |
CREATE TABLE table_name_98 (rank INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT MAX(rank) FROM table_name_98 WHERE gold < 3 AND silver > 2 AND total < 5 | What is the highest rank a country with less than 3 gold, more than 2 silver, and less than 5 total medals has? | <s>[INST]What is the highest rank a country with less than 3 gold, more than 2 silver, and less than 5 total medals has? Context: CREATE TABLE table_name_98 (rank INTEGER, total VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_98 WHERE gold < 3 AND silver > 2 AND total < 5</s> |
CREATE TABLE table_name_36 (points INTEGER, lost VARCHAR, position VARCHAR) | SELECT AVG(points) FROM table_name_36 WHERE lost = 21 AND position = 22 | What's the Points average with a Lost of 21, and Position of 22? | <s>[INST]What's the Points average with a Lost of 21, and Position of 22? Context: CREATE TABLE table_name_36 (points INTEGER, lost VARCHAR, position VARCHAR)[/INST]SELECT AVG(points) FROM table_name_36 WHERE lost = 21 AND position = 22</s> |
CREATE TABLE table_name_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR) | SELECT builder FROM table_name_67 WHERE wheels = "4-4-0" AND railway = "gcr" | Who was the Builder when the wheels were 4-4-0 and the railway was GCR? | <s>[INST]Who was the Builder when the wheels were 4-4-0 and the railway was GCR? Context: CREATE TABLE table_name_67 (builder VARCHAR, wheels VARCHAR, railway VARCHAR)[/INST]SELECT builder FROM table_name_67 WHERE wheels = "4-4-0" AND railway = "gcr"</s> |
CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_47 WHERE country = "united states" AND place = "t3" AND player = "tim herron" | What is the to par of player Tim Herron from the United States with a t3 place? | <s>[INST]What is the to par of player Tim Herron from the United States with a t3 place? Context: CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_47 WHERE country = "united states" AND place = "t3" AND player = "tim herron"</s> |
CREATE TABLE table_17801022_1 (race_time VARCHAR, average_speed__mph_ VARCHAR) | SELECT race_time FROM table_17801022_1 WHERE average_speed__mph_ = "113.835" | For races with an average speed of 113.835 mph, what are the winning race times? | <s>[INST]For races with an average speed of 113.835 mph, what are the winning race times? Context: CREATE TABLE table_17801022_1 (race_time VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT race_time FROM table_17801022_1 WHERE average_speed__mph_ = "113.835"</s> |
CREATE TABLE table_name_78 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_78 WHERE opponent = "jason fairn" | How many rounds was the match against Jason Fairn? | <s>[INST]How many rounds was the match against Jason Fairn? Context: CREATE TABLE table_name_78 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_78 WHERE opponent = "jason fairn"</s> |
CREATE TABLE table_name_16 (wins INTEGER, against INTEGER) | SELECT SUM(wins) FROM table_name_16 WHERE against < 1067 | What is the sum of wins for teams with against under 1067? | <s>[INST]What is the sum of wins for teams with against under 1067? Context: CREATE TABLE table_name_16 (wins INTEGER, against INTEGER)[/INST]SELECT SUM(wins) FROM table_name_16 WHERE against < 1067</s> |
CREATE TABLE table_21995420_9 (total VARCHAR, rank VARCHAR) | SELECT total FROM table_21995420_9 WHERE rank = 11 | If the rank is 11, what is the total amount? | <s>[INST]If the rank is 11, what is the total amount? Context: CREATE TABLE table_21995420_9 (total VARCHAR, rank VARCHAR)[/INST]SELECT total FROM table_21995420_9 WHERE rank = 11</s> |
CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR) | SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095 | Which Prominence (m) has an Elevation (m) of 3,095? | <s>[INST]Which Prominence (m) has an Elevation (m) of 3,095? Context: CREATE TABLE table_name_67 (prominence__m_ INTEGER, elevation__m_ VARCHAR)[/INST]SELECT MIN(prominence__m_) FROM table_name_67 WHERE elevation__m_ = 3 OFFSET 095</s> |
CREATE TABLE table_name_89 (player VARCHAR, strike_rate VARCHAR) | SELECT player FROM table_name_89 WHERE strike_rate = "79.62" | Which player has 79.62 as the strike rate? | <s>[INST]Which player has 79.62 as the strike rate? Context: CREATE TABLE table_name_89 (player VARCHAR, strike_rate VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE strike_rate = "79.62"</s> |
CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park" | Who was the home team when the VFL played Kardinia Park? | <s>[INST]Who was the home team when the VFL played Kardinia Park? Context: CREATE TABLE table_name_27 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_27 WHERE venue = "kardinia park"</s> |
CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR) | SELECT team FROM table_name_43 WHERE rank = 6 | Which team has a rank of 6? | <s>[INST]Which team has a rank of 6? Context: CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR)[/INST]SELECT team FROM table_name_43 WHERE rank = 6</s> |
CREATE TABLE table_name_79 (manufacturer VARCHAR, time_retired VARCHAR) | SELECT manufacturer FROM table_name_79 WHERE time_retired = "+0.122" | Who was the manufacter of the car with a time/retired of +0.122? | <s>[INST]Who was the manufacter of the car with a time/retired of +0.122? Context: CREATE TABLE table_name_79 (manufacturer VARCHAR, time_retired VARCHAR)[/INST]SELECT manufacturer FROM table_name_79 WHERE time_retired = "+0.122"</s> |
CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) | SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Onda Madrid" | What is the total number of television channels when one of the radio stations is onda madrid? | <s>[INST]What is the total number of television channels when one of the radio stations is onda madrid? Context: CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR)[/INST]SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Onda Madrid"</s> |
CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR) | SELECT MAX(yards) FROM table_name_12 WHERE average = 9.5 | What is the highest amount of yards when the average is 9.5? | <s>[INST]What is the highest amount of yards when the average is 9.5? Context: CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR)[/INST]SELECT MAX(yards) FROM table_name_12 WHERE average = 9.5</s> |
CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR) | SELECT MAX(laps) FROM table_name_94 WHERE grid = 1 | what is the highest laps when the grid is 1? | <s>[INST]what is the highest laps when the grid is 1? Context: CREATE TABLE table_name_94 (laps INTEGER, grid VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_94 WHERE grid = 1</s> |
CREATE TABLE table_name_89 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_89 WHERE opponent = "devil rays" AND date = "september 14" | What was the score against the devil rays on september 14? | <s>[INST]What was the score against the devil rays on september 14? Context: CREATE TABLE table_name_89 (score VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_89 WHERE opponent = "devil rays" AND date = "september 14"</s> |
CREATE TABLE table_name_66 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_66 WHERE away_team = "fitzroy" | What venue features fitzroy as the away side? | <s>[INST]What venue features fitzroy as the away side? Context: CREATE TABLE table_name_66 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_66 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_52 (pick VARCHAR, college VARCHAR, pba_team VARCHAR) | SELECT COUNT(pick) FROM table_name_52 WHERE college = "perpetual help" AND pba_team = "coca-cola tigers" | What is the pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team? | <s>[INST]What is the pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team? Context: CREATE TABLE table_name_52 (pick VARCHAR, college VARCHAR, pba_team VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_52 WHERE college = "perpetual help" AND pba_team = "coca-cola tigers"</s> |
CREATE TABLE table_name_87 (method VARCHAR, record VARCHAR) | SELECT method FROM table_name_87 WHERE record = "12-2-3" | What method had a record 12-2-3? | <s>[INST]What method had a record 12-2-3? Context: CREATE TABLE table_name_87 (method VARCHAR, record VARCHAR)[/INST]SELECT method FROM table_name_87 WHERE record = "12-2-3"</s> |
CREATE TABLE table_name_46 (name VARCHAR, license VARCHAR, actual_version VARCHAR) | SELECT name FROM table_name_46 WHERE license = "gpl" AND actual_version = "0.8.29wip4" | What name has a License of gpl, and an Actual version of 0.8.29wip4? | <s>[INST]What name has a License of gpl, and an Actual version of 0.8.29wip4? Context: CREATE TABLE table_name_46 (name VARCHAR, license VARCHAR, actual_version VARCHAR)[/INST]SELECT name FROM table_name_46 WHERE license = "gpl" AND actual_version = "0.8.29wip4"</s> |
CREATE TABLE table_name_92 (total INTEGER, bronze VARCHAR, silver VARCHAR) | SELECT MAX(total) FROM table_name_92 WHERE bronze = 1 AND silver > 1 | What is the largest total for a nation with 1 bronze and more than 1 silver? | <s>[INST]What is the largest total for a nation with 1 bronze and more than 1 silver? Context: CREATE TABLE table_name_92 (total INTEGER, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MAX(total) FROM table_name_92 WHERE bronze = 1 AND silver > 1</s> |
CREATE TABLE table_17919342_1 (director VARCHAR, original_title VARCHAR) | SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story" | How many directors were there for the film with the original title of The Moises Padilla Story? | <s>[INST]How many directors were there for the film with the original title of The Moises Padilla Story? Context: CREATE TABLE table_17919342_1 (director VARCHAR, original_title VARCHAR)[/INST]SELECT COUNT(director) FROM table_17919342_1 WHERE original_title = "The Moises Padilla Story"</s> |
CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR) | SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0 | Which team has a Losses value larger than 1 and a Wins value smaller than 0? | <s>[INST]Which team has a Losses value larger than 1 and a Wins value smaller than 0? Context: CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR)[/INST]SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0</s> |
CREATE TABLE table_21469545_2 (no VARCHAR, margin_of_victory VARCHAR) | SELECT COUNT(no) FROM table_21469545_2 WHERE margin_of_victory = "3 strokes" | Name the number for margin of victory being 3 strokes | <s>[INST]Name the number for margin of victory being 3 strokes Context: CREATE TABLE table_21469545_2 (no VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT COUNT(no) FROM table_21469545_2 WHERE margin_of_victory = "3 strokes"</s> |
CREATE TABLE table_name_20 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_20 WHERE score = 72 - 67 - 68 - 71 = 278 | What is the To par when the score was 72-67-68-71=278? | <s>[INST]What is the To par when the score was 72-67-68-71=278? Context: CREATE TABLE table_name_20 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_20 WHERE score = 72 - 67 - 68 - 71 = 278</s> |
CREATE TABLE table_name_28 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) | SELECT opponent FROM table_name_28 WHERE city = "belgrade" AND results¹ = "0:2" | Who was the opponent at the game in Belgrade with a 0:2 result? | <s>[INST]Who was the opponent at the game in Belgrade with a 0:2 result? Context: CREATE TABLE table_name_28 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR)[/INST]SELECT opponent FROM table_name_28 WHERE city = "belgrade" AND results¹ = "0:2"</s> |
CREATE TABLE table_name_40 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_40 WHERE venue = "princes park" | What is the date of the game when the venue is Princes Park? | <s>[INST]What is the date of the game when the venue is Princes Park? Context: CREATE TABLE table_name_40 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_38 (name VARCHAR, tries VARCHAR, club VARCHAR) | SELECT name FROM table_name_38 WHERE tries = 1 AND club = "munster" | Who was part of Club Munster with 1 try? | <s>[INST]Who was part of Club Munster with 1 try? Context: CREATE TABLE table_name_38 (name VARCHAR, tries VARCHAR, club VARCHAR)[/INST]SELECT name FROM table_name_38 WHERE tries = 1 AND club = "munster"</s> |
CREATE TABLE table_19398910_4 (class VARCHAR, bout_6 VARCHAR) | SELECT class FROM table_19398910_4 WHERE bout_6 = "Sanchez ( ESP ) W 5-0" | when Sanchez ( esp ) w 5-0 were the bout 6, which were the class? | <s>[INST]when Sanchez ( esp ) w 5-0 were the bout 6, which were the class? Context: CREATE TABLE table_19398910_4 (class VARCHAR, bout_6 VARCHAR)[/INST]SELECT class FROM table_19398910_4 WHERE bout_6 = "Sanchez ( ESP ) W 5-0"</s> |
CREATE TABLE table_name_68 (gold INTEGER, silver INTEGER) | SELECT MIN(gold) FROM table_name_68 WHERE silver < 0 | Which team has the lowest gold and 0 silver? | <s>[INST]Which team has the lowest gold and 0 silver? Context: CREATE TABLE table_name_68 (gold INTEGER, silver INTEGER)[/INST]SELECT MIN(gold) FROM table_name_68 WHERE silver < 0</s> |
CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) | SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti" | Name the team for co-drivers of david brabham mario andretti | <s>[INST]Name the team for co-drivers of david brabham mario andretti Context: CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR)[/INST]SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti"</s> |
CREATE TABLE table_260938_1 (peletier VARCHAR, shortscale_comparison VARCHAR) | SELECT COUNT(peletier) FROM table_260938_1 WHERE shortscale_comparison = "Billion" | Name the total number of peletier for shortscale comparison billion | <s>[INST]Name the total number of peletier for shortscale comparison billion Context: CREATE TABLE table_260938_1 (peletier VARCHAR, shortscale_comparison VARCHAR)[/INST]SELECT COUNT(peletier) FROM table_260938_1 WHERE shortscale_comparison = "Billion"</s> |
CREATE TABLE manufacturers (founder VARCHAR) | SELECT COUNT(*) FROM manufacturers WHERE founder = 'Andy' | How many companies were created by Andy? | <s>[INST]How many companies were created by Andy? Context: CREATE TABLE manufacturers (founder VARCHAR)[/INST]SELECT COUNT(*) FROM manufacturers WHERE founder = 'Andy'</s> |
CREATE TABLE table_name_11 (name VARCHAR, presentation_of_credentials VARCHAR) | SELECT name FROM table_name_11 WHERE presentation_of_credentials = "unknown" | Who presented their credentials at an unknown date? | <s>[INST]Who presented their credentials at an unknown date? Context: CREATE TABLE table_name_11 (name VARCHAR, presentation_of_credentials VARCHAR)[/INST]SELECT name FROM table_name_11 WHERE presentation_of_credentials = "unknown"</s> |
CREATE TABLE table_name_33 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_33 WHERE home_team = "geelong" | Which venue's home team is geelong? | <s>[INST]Which venue's home team is geelong? Context: CREATE TABLE table_name_33 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_33 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_98 (name VARCHAR, nat VARCHAR, app_l_c_e_ VARCHAR) | SELECT name FROM table_name_98 WHERE nat = "gre" AND app_l_c_e_ = "49 (40/8/1)" | Who has a nationality of GRE and an App(L/C/E) of 49 (40/8/1)? | <s>[INST]Who has a nationality of GRE and an App(L/C/E) of 49 (40/8/1)? Context: CREATE TABLE table_name_98 (name VARCHAR, nat VARCHAR, app_l_c_e_ VARCHAR)[/INST]SELECT name FROM table_name_98 WHERE nat = "gre" AND app_l_c_e_ = "49 (40/8/1)"</s> |
CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_22 WHERE position = "forward" AND school_club_team = "georgia tech" | Which Player has a Position of forward, and a School/Club Team of georgia tech? | <s>[INST]Which Player has a Position of forward, and a School/Club Team of georgia tech? Context: CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_name_22 WHERE position = "forward" AND school_club_team = "georgia tech"</s> |
CREATE TABLE table_name_74 (soccer VARCHAR, cross_country VARCHAR, school_year VARCHAR) | SELECT soccer FROM table_name_74 WHERE cross_country = "lexington" AND school_year = "2011-12" | What is Soccer, when Cross Country is Lexington, and when School Year is 2011-12? | <s>[INST]What is Soccer, when Cross Country is Lexington, and when School Year is 2011-12? Context: CREATE TABLE table_name_74 (soccer VARCHAR, cross_country VARCHAR, school_year VARCHAR)[/INST]SELECT soccer FROM table_name_74 WHERE cross_country = "lexington" AND school_year = "2011-12"</s> |
CREATE TABLE table_name_66 (starting_point VARCHAR, operates VARCHAR, name VARCHAR) | SELECT starting_point FROM table_name_66 WHERE operates = "north/south" AND name = "palafox street" | What is the starting point of the north/south operating Palafox Street route? | <s>[INST]What is the starting point of the north/south operating Palafox Street route? Context: CREATE TABLE table_name_66 (starting_point VARCHAR, operates VARCHAR, name VARCHAR)[/INST]SELECT starting_point FROM table_name_66 WHERE operates = "north/south" AND name = "palafox street"</s> |
CREATE TABLE table_name_95 (tournament VARCHAR, opponents_in_the_final VARCHAR) | SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber" | What tournament had an opponent of Els Callens Nancy Feber? | <s>[INST]What tournament had an opponent of Els Callens Nancy Feber? Context: CREATE TABLE table_name_95 (tournament VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber"</s> |
CREATE TABLE table_15070195_1 (framed_size VARCHAR, date_completed VARCHAR) | SELECT framed_size FROM table_15070195_1 WHERE date_completed = "02/91" | the date complted is 02/91, what framed size was used | <s>[INST]the date complted is 02/91, what framed size was used Context: CREATE TABLE table_15070195_1 (framed_size VARCHAR, date_completed VARCHAR)[/INST]SELECT framed_size FROM table_15070195_1 WHERE date_completed = "02/91"</s> |
CREATE TABLE table_22014431_3 (rank INTEGER, tosses_pyramids VARCHAR) | SELECT MAX(rank) FROM table_22014431_3 WHERE tosses_pyramids = "64.5" | What is the rank when 64.5 is tosses/pyramids? | <s>[INST]What is the rank when 64.5 is tosses/pyramids? Context: CREATE TABLE table_22014431_3 (rank INTEGER, tosses_pyramids VARCHAR)[/INST]SELECT MAX(rank) FROM table_22014431_3 WHERE tosses_pyramids = "64.5"</s> |
CREATE TABLE table_name_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT COUNT(played) FROM table_name_74 WHERE drawn = 2 AND points < 16 AND position > 5 | How many games were played by the team with 2 draws, less than 16 points and a position higher than 5? | <s>[INST]How many games were played by the team with 2 draws, less than 16 points and a position higher than 5? Context: CREATE TABLE table_name_74 (played VARCHAR, position VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_74 WHERE drawn = 2 AND points < 16 AND position > 5</s> |
CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states" | WHo is Player that has a Place of t9 in united states? | <s>[INST]WHo is Player that has a Place of t9 in united states? Context: CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states"</s> |
CREATE TABLE table_name_30 (launch_date VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR) | SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000" | What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000? | <s>[INST]What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000? Context: CREATE TABLE table_name_30 (launch_date VARCHAR, odds_of_winning VARCHAR, top_prize VARCHAR)[/INST]SELECT launch_date FROM table_name_30 WHERE odds_of_winning = "1 in 4.23" AND top_prize = "$15,000"</s> |
CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR) | SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly" | If the assembly is the sixth assembly, what is the maximum election year? | <s>[INST]If the assembly is the sixth assembly, what is the maximum election year? Context: CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)[/INST]SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly"</s> |
CREATE TABLE actor (Name VARCHAR, Age VARCHAR) | SELECT Name FROM actor WHERE Age <> 20 | List the name of actors whose age is not 20. | <s>[INST]List the name of actors whose age is not 20. Context: CREATE TABLE actor (Name VARCHAR, Age VARCHAR)[/INST]SELECT Name FROM actor WHERE Age <> 20</s> |
CREATE TABLE table_21091162_1 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_21091162_1 WHERE opponent = "Air Force" | How many games have Air Force as the opponent? | <s>[INST]How many games have Air Force as the opponent? Context: CREATE TABLE table_21091162_1 (game INTEGER, opponent VARCHAR)[/INST]SELECT MAX(game) FROM table_21091162_1 WHERE opponent = "Air Force"</s> |
CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_11 WHERE to_par = "+3" | What Player has a +3 To par? | <s>[INST]What Player has a +3 To par? Context: CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_11 WHERE to_par = "+3"</s> |
CREATE TABLE table_24798489_2 (challenge VARCHAR, episode_number VARCHAR) | SELECT challenge FROM table_24798489_2 WHERE episode_number = 28 | What was the challenge for episode 28? | <s>[INST]What was the challenge for episode 28? Context: CREATE TABLE table_24798489_2 (challenge VARCHAR, episode_number VARCHAR)[/INST]SELECT challenge FROM table_24798489_2 WHERE episode_number = 28</s> |
CREATE TABLE table_name_21 (prize VARCHAR, winner VARCHAR) | SELECT prize FROM table_name_21 WHERE winner = "john shaw" | What is Prize, when Winner is "John Shaw"? | <s>[INST]What is Prize, when Winner is "John Shaw"? Context: CREATE TABLE table_name_21 (prize VARCHAR, winner VARCHAR)[/INST]SELECT prize FROM table_name_21 WHERE winner = "john shaw"</s> |
CREATE TABLE table_22834834_3 (championship VARCHAR, score_in_the_final VARCHAR) | SELECT championship FROM table_22834834_3 WHERE score_in_the_final = "6–7 (9–11) , 6–4, 7–5, 4–6, 4–6" | Which championship has a final score of 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6? | <s>[INST]Which championship has a final score of 6–7 (9–11) , 6–4, 7–5, 4–6, 4–6? Context: CREATE TABLE table_22834834_3 (championship VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT championship FROM table_22834834_3 WHERE score_in_the_final = "6–7 (9–11) , 6–4, 7–5, 4–6, 4–6"</s> |
CREATE TABLE Plays_games (StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR) | SELECT StuID FROM Sportsinfo INTERSECT SELECT StuID FROM Plays_games | Show ids of students who play video game and play sports. | <s>[INST]Show ids of students who play video game and play sports. Context: CREATE TABLE Plays_games (StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)[/INST]SELECT StuID FROM Sportsinfo INTERSECT SELECT StuID FROM Plays_games</s> |
CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR) | SELECT time FROM table_26842217_6 WHERE visiting_team = "#7 Oregon" | How many times was #7 Oregon a visiting team? | <s>[INST]How many times was #7 Oregon a visiting team? Context: CREATE TABLE table_26842217_6 (time VARCHAR, visiting_team VARCHAR)[/INST]SELECT time FROM table_26842217_6 WHERE visiting_team = "#7 Oregon"</s> |
CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE STAFF (Name VARCHAR, Tourist_Attraction_ID VARCHAR) | SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "US museum" | What is the name of the staff that is in charge of the attraction named "US museum"? | <s>[INST]What is the name of the staff that is in charge of the attraction named "US museum"? Context: CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE STAFF (Name VARCHAR, Tourist_Attraction_ID VARCHAR)[/INST]SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "US museum"</s> |
CREATE TABLE table_name_31 (lane INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(lane) FROM table_name_31 WHERE name = "kasey giteau" AND rank < 18 | Name the least lane for kasey giteau and rank less than 18 | <s>[INST]Name the least lane for kasey giteau and rank less than 18 Context: CREATE TABLE table_name_31 (lane INTEGER, name VARCHAR, rank VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_31 WHERE name = "kasey giteau" AND rank < 18</s> |
CREATE TABLE table_1644876_2 (skip VARCHAR, stolen_ends VARCHAR) | SELECT skip FROM table_1644876_2 WHERE stolen_ends = 14 | Who was the skip with 14 stolen ends? | <s>[INST]Who was the skip with 14 stolen ends? Context: CREATE TABLE table_1644876_2 (skip VARCHAR, stolen_ends VARCHAR)[/INST]SELECT skip FROM table_1644876_2 WHERE stolen_ends = 14</s> |
CREATE TABLE table_15637071_1 (fleet_size INTEGER, callsign VARCHAR) | SELECT MIN(fleet_size) FROM table_15637071_1 WHERE callsign = "COOL RED" | What is the fleet size of the airline which has a callsign of cool red? | <s>[INST]What is the fleet size of the airline which has a callsign of cool red? Context: CREATE TABLE table_15637071_1 (fleet_size INTEGER, callsign VARCHAR)[/INST]SELECT MIN(fleet_size) FROM table_15637071_1 WHERE callsign = "COOL RED"</s> |
CREATE TABLE table_name_5 (ceased_operation VARCHAR, launched VARCHAR) | SELECT ceased_operation FROM table_name_5 WHERE launched = "june 29, 1961" | What was the ceased operation that launched June 29, 1961? | <s>[INST]What was the ceased operation that launched June 29, 1961? Context: CREATE TABLE table_name_5 (ceased_operation VARCHAR, launched VARCHAR)[/INST]SELECT ceased_operation FROM table_name_5 WHERE launched = "june 29, 1961"</s> |
CREATE TABLE table_name_31 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR, player VARCHAR) | SELECT SUM(touchdowns) FROM table_name_31 WHERE field_goals = 0 AND player = "joe maddock" AND points < 5 | What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing? | <s>[INST]What's the number of touchdowns that there are 0 field goals, less than 5 points, and had Joe Maddock playing? Context: CREATE TABLE table_name_31 (touchdowns INTEGER, points VARCHAR, field_goals VARCHAR, player VARCHAR)[/INST]SELECT SUM(touchdowns) FROM table_name_31 WHERE field_goals = 0 AND player = "joe maddock" AND points < 5</s> |
CREATE TABLE table_name_1 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_1 WHERE home_team = "southend united" | What was the attendance when the Southend United was the home team? | <s>[INST]What was the attendance when the Southend United was the home team? Context: CREATE TABLE table_name_1 (attendance VARCHAR, home_team VARCHAR)[/INST]SELECT attendance FROM table_name_1 WHERE home_team = "southend united"</s> |
CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192" | What is the reserved for the constituency of 192? | <s>[INST]What is the reserved for the constituency of 192? Context: CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.