context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_28 WHERE venue = "as-salt" | What was the result of the game held at the As-Salt venue? | <s>[INST]What was the result of the game held at the As-Salt venue? Context: CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_28 WHERE venue = "as-salt"</s> |
CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR) | SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542 | What is the score of the United States, which has more than $24,542? | <s>[INST]What is the score of the United States, which has more than $24,542? Context: CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR)[/INST]SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542</s> |
CREATE TABLE table_name_31 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_31 WHERE away_team = "carlton" | How many people were in the crowd for a game than had carlton as the visiting team? | <s>[INST]How many people were in the crowd for a game than had carlton as the visiting team? Context: CREATE TABLE table_name_31 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_31 WHERE away_team = "carlton"</s> |
CREATE TABLE table_27790959_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | SELECT original_air_date FROM table_27790959_1 WHERE us_viewers__million_ = "5.42" | What was the original air date of the episode that had 5.42 million viewers? | <s>[INST]What was the original air date of the episode that had 5.42 million viewers? Context: CREATE TABLE table_27790959_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT original_air_date FROM table_27790959_1 WHERE us_viewers__million_ = "5.42"</s> |
CREATE TABLE table_name_64 (member VARCHAR, party VARCHAR, state VARCHAR, first_elected VARCHAR) | SELECT member FROM table_name_64 WHERE state = "nsw" AND first_elected = "1952" AND party = "alp" | Which memeber has nsw as the state, a first elected of 1952, and alp as the party? | <s>[INST]Which memeber has nsw as the state, a first elected of 1952, and alp as the party? Context: CREATE TABLE table_name_64 (member VARCHAR, party VARCHAR, state VARCHAR, first_elected VARCHAR)[/INST]SELECT member FROM table_name_64 WHERE state = "nsw" AND first_elected = "1952" AND party = "alp"</s> |
CREATE TABLE table_name_82 (loss VARCHAR, att VARCHAR) | SELECT loss FROM table_name_82 WHERE att = "16,458" | What loss has 16,458 as an Att.? | <s>[INST]What loss has 16,458 as an Att.? Context: CREATE TABLE table_name_82 (loss VARCHAR, att VARCHAR)[/INST]SELECT loss FROM table_name_82 WHERE att = "16,458"</s> |
CREATE TABLE table_name_98 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_98 WHERE pick__number = "40" | Which player was Pick #40? | <s>[INST]Which player was Pick #40? Context: CREATE TABLE table_name_98 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_name_98 WHERE pick__number = "40"</s> |
CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) | SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 32 | What was the date administered from a source of Rasmussen Reports and a lead margin over 32? | <s>[INST]What was the date administered from a source of Rasmussen Reports and a lead margin over 32? Context: CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)[/INST]SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 32... |
CREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR) | SELECT longitude FROM table_name_61 WHERE name = "raskova paterae" | What is Longitude, when Name is Raskova Paterae? | <s>[INST]What is Longitude, when Name is Raskova Paterae? Context: CREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR)[/INST]SELECT longitude FROM table_name_61 WHERE name = "raskova paterae"</s> |
CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_55 WHERE time = 13.21 | What is the nationality with a 13.21 time? | <s>[INST]What is the nationality with a 13.21 time? Context: CREATE TABLE table_name_55 (nationality VARCHAR, time VARCHAR)[/INST]SELECT nationality FROM table_name_55 WHERE time = 13.21</s> |
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_75 WHERE away_team = "essendon" | Name the home team when the away team was essendon | <s>[INST]Name the home team when the away team was essendon Context: CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_75 WHERE away_team = "essendon"</s> |
CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_58 WHERE date = "january 1" | What is the Visitor on January 1? | <s>[INST]What is the Visitor on January 1? Context: CREATE TABLE table_name_58 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_58 WHERE date = "january 1"</s> |
CREATE TABLE table_name_41 (record VARCHAR, high_assists VARCHAR, game VARCHAR) | SELECT record FROM table_name_41 WHERE high_assists = "beno udrih (4)" AND game = 26 | What is the record of game 26 with beno udrih (4) as the highest assists? | <s>[INST]What is the record of game 26 with beno udrih (4) as the highest assists? Context: CREATE TABLE table_name_41 (record VARCHAR, high_assists VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_41 WHERE high_assists = "beno udrih (4)" AND game = 26</s> |
CREATE TABLE table_name_9 (opponent VARCHAR, week INTEGER) | SELECT opponent FROM table_name_9 WHERE week > 16 | What's the Opponent with a Week that's larger than 16? | <s>[INST]What's the Opponent with a Week that's larger than 16? Context: CREATE TABLE table_name_9 (opponent VARCHAR, week INTEGER)[/INST]SELECT opponent FROM table_name_9 WHERE week > 16</s> |
CREATE TABLE table_name_61 (surface VARCHAR, championship VARCHAR) | SELECT surface FROM table_name_61 WHERE championship = "palermo, italy" | What is the surface of the palermo, italy championship? | <s>[INST]What is the surface of the palermo, italy championship? Context: CREATE TABLE table_name_61 (surface VARCHAR, championship VARCHAR)[/INST]SELECT surface FROM table_name_61 WHERE championship = "palermo, italy"</s> |
CREATE TABLE table_11404452_1 (director VARCHAR, us_viewers__millions_ VARCHAR) | SELECT director FROM table_11404452_1 WHERE us_viewers__millions_ = "13.66" | Who was the director when there were 13.66 million u.s viewers? | <s>[INST]Who was the director when there were 13.66 million u.s viewers? Context: CREATE TABLE table_11404452_1 (director VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT director FROM table_11404452_1 WHERE us_viewers__millions_ = "13.66"</s> |
CREATE TABLE table_name_33 (tournament VARCHAR) | SELECT 2010 FROM table_name_33 WHERE 2008 = "1r" AND 2011 = "1r" AND tournament = "us open" | Name the 2010 for 2008 of 1r and tournament of us open | <s>[INST]Name the 2010 for 2008 of 1r and tournament of us open Context: CREATE TABLE table_name_33 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_33 WHERE 2008 = "1r" AND 2011 = "1r" AND tournament = "us open"</s> |
CREATE TABLE table_name_77 (right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR) | SELECT right_ascension___j2000__ FROM table_name_77 WHERE apparent_magnitude = 13 | what is the right ascension (j2000) when the apparent magnitude is 13? | <s>[INST]what is the right ascension (j2000) when the apparent magnitude is 13? Context: CREATE TABLE table_name_77 (right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR)[/INST]SELECT right_ascension___j2000__ FROM table_name_77 WHERE apparent_magnitude = 13</s> |
CREATE TABLE table_name_65 (week_2 VARCHAR, week_3 VARCHAR) | SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes" | Who is week 2 if week 3 is Sara Stokes? | <s>[INST]Who is week 2 if week 3 is Sara Stokes? Context: CREATE TABLE table_name_65 (week_2 VARCHAR, week_3 VARCHAR)[/INST]SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes"</s> |
CREATE TABLE table_name_27 (final_score VARCHAR, visiting_team VARCHAR) | SELECT final_score FROM table_name_27 WHERE visiting_team = "denver broncos" | What was the final score when the Denver Broncos were the visiting team? | <s>[INST]What was the final score when the Denver Broncos were the visiting team? Context: CREATE TABLE table_name_27 (final_score VARCHAR, visiting_team VARCHAR)[/INST]SELECT final_score FROM table_name_27 WHERE visiting_team = "denver broncos"</s> |
CREATE TABLE table_name_87 (name VARCHAR, pada_3 VARCHAR) | SELECT name FROM table_name_87 WHERE pada_3 = "ङ ng/na" | What is the Name of ङ ng/na? | <s>[INST]What is the Name of ङ ng/na? Context: CREATE TABLE table_name_87 (name VARCHAR, pada_3 VARCHAR)[/INST]SELECT name FROM table_name_87 WHERE pada_3 = "ङ ng/na"</s> |
CREATE TABLE table_21607058_1 (wed_3_june VARCHAR, rank VARCHAR) | SELECT wed_3_june FROM table_21607058_1 WHERE rank = 12 | What were the time and speed for the rider ranked in 12 on Wed, June 3? | <s>[INST]What were the time and speed for the rider ranked in 12 on Wed, June 3? Context: CREATE TABLE table_21607058_1 (wed_3_june VARCHAR, rank VARCHAR)[/INST]SELECT wed_3_june FROM table_21607058_1 WHERE rank = 12</s> |
CREATE TABLE table_name_80 (game VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT game FROM table_name_80 WHERE home_team = "san francisco" AND date = "april 22" | Which Game has a Home Team of san francisco, and a Date of april 22? | <s>[INST]Which Game has a Home Team of san francisco, and a Date of april 22? Context: CREATE TABLE table_name_80 (game VARCHAR, home_team VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_80 WHERE home_team = "san francisco" AND date = "april 22"</s> |
CREATE TABLE table_name_30 (status VARCHAR, against VARCHAR, date VARCHAR) | SELECT status FROM table_name_30 WHERE against > 6 AND date = "01/02/1975" | WHat status had an against larger than 6 and a date of 01/02/1975? | <s>[INST]WHat status had an against larger than 6 and a date of 01/02/1975? Context: CREATE TABLE table_name_30 (status VARCHAR, against VARCHAR, date VARCHAR)[/INST]SELECT status FROM table_name_30 WHERE against > 6 AND date = "01/02/1975"</s> |
CREATE TABLE table_191105_2 (performed_by VARCHAR, music_by VARCHAR, episode_title VARCHAR) | SELECT performed_by FROM table_191105_2 WHERE music_by = "Bob Dorough" AND episode_title = "Conjunction Junction" | When conjunction junction is the episode title and the music is by bob dorough who is the performer? | <s>[INST]When conjunction junction is the episode title and the music is by bob dorough who is the performer? Context: CREATE TABLE table_191105_2 (performed_by VARCHAR, music_by VARCHAR, episode_title VARCHAR)[/INST]SELECT performed_by FROM table_191105_2 WHERE music_by = "Bob Dorough" AND episode_title = "Conjunction... |
CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID | Show the names of companies and of employees. | <s>[INST]Show the names of companies and of employees. Context: CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.Peop... |
CREATE TABLE table_name_80 (drawn INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(drawn) FROM table_name_80 WHERE lost > 8 AND points < 7 | Which Drawn has a Lost larger than 8, and Points smaller than 7? | <s>[INST]Which Drawn has a Lost larger than 8, and Points smaller than 7? Context: CREATE TABLE table_name_80 (drawn INTEGER, lost VARCHAR, points VARCHAR)[/INST]SELECT SUM(drawn) FROM table_name_80 WHERE lost > 8 AND points < 7</s> |
CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR) | SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans" | Who was the player that was picked at a number less than 205 from the Michigan State Spartans? | <s>[INST]Who was the player that was picked at a number less than 205 from the Michigan State Spartans? Context: CREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR)[/INST]SELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = "michigan state spartans"</s> |
CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR, class_code VARCHAR); CREATE TABLE student (stu_lname VARCHAR, stu_num VARCHAR) | SELECT T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'A' AND T2.class_code = 10018 | What is the last name of the student who got a grade A in the class with code 10018. | <s>[INST]What is the last name of the student who got a grade A in the class with code 10018. Context: CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR, class_code VARCHAR); CREATE TABLE student (stu_lname VARCHAR, stu_num VARCHAR)[/INST]SELECT T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num =... |
CREATE TABLE table_name_49 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT MAX(top_10) FROM table_name_49 WHERE tournament = "u.s. open" AND top_25 > 12 | What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12? | <s>[INST]What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12? Context: CREATE TABLE table_name_49 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(top_10) FROM table_name_49 WHERE tournament = "u.s. open" AND top_25 > 12</s> |
CREATE TABLE table_name_98 (fourth_district VARCHAR, first_district VARCHAR) | SELECT fourth_district FROM table_name_98 WHERE first_district = "beverly bodem" | Who's the Fourth District with a First District of beverly bodem? | <s>[INST]Who's the Fourth District with a First District of beverly bodem? Context: CREATE TABLE table_name_98 (fourth_district VARCHAR, first_district VARCHAR)[/INST]SELECT fourth_district FROM table_name_98 WHERE first_district = "beverly bodem"</s> |
CREATE TABLE table_name_45 (agg VARCHAR, team__number2 VARCHAR) | SELECT agg FROM table_name_45 WHERE team__number2 = "okk beograd" | What was the aggregate for a team #2 of Okk Beograd? | <s>[INST]What was the aggregate for a team #2 of Okk Beograd? Context: CREATE TABLE table_name_45 (agg VARCHAR, team__number2 VARCHAR)[/INST]SELECT agg FROM table_name_45 WHERE team__number2 = "okk beograd"</s> |
CREATE TABLE table_name_46 (year INTEGER, chassis VARCHAR) | SELECT SUM(year) FROM table_name_46 WHERE chassis = "kurtis kraft 500f" | What is the year when kurtis kraft 500f was the chassis? | <s>[INST]What is the year when kurtis kraft 500f was the chassis? Context: CREATE TABLE table_name_46 (year INTEGER, chassis VARCHAR)[/INST]SELECT SUM(year) FROM table_name_46 WHERE chassis = "kurtis kraft 500f"</s> |
CREATE TABLE table_name_48 (construction_completed VARCHAR, name VARCHAR, listed VARCHAR, deleted VARCHAR) | SELECT construction_completed FROM table_name_48 WHERE listed = "09/08/1983" AND deleted = "–" AND name = "mid-south wood products" | What construction has a Listed 09/08/1983, and a Deleted of –, and a Name of mid-south wood products? | <s>[INST]What construction has a Listed 09/08/1983, and a Deleted of –, and a Name of mid-south wood products? Context: CREATE TABLE table_name_48 (construction_completed VARCHAR, name VARCHAR, listed VARCHAR, deleted VARCHAR)[/INST]SELECT construction_completed FROM table_name_48 WHERE listed = "09/08/1983" AND delete... |
CREATE TABLE table_25527255_2 (captain VARCHAR, kit_manufacturer VARCHAR) | SELECT captain FROM table_25527255_2 WHERE kit_manufacturer = "Nike" | Who is the captain of the team whose kit manufacturer is Nike? | <s>[INST]Who is the captain of the team whose kit manufacturer is Nike? Context: CREATE TABLE table_25527255_2 (captain VARCHAR, kit_manufacturer VARCHAR)[/INST]SELECT captain FROM table_25527255_2 WHERE kit_manufacturer = "Nike"</s> |
CREATE TABLE table_2840500_3 (pick VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_2840500_3 WHERE player = "Scott Parker" | what is the overall number of chosen ideas where the person is scott parker | <s>[INST]what is the overall number of chosen ideas where the person is scott parker Context: CREATE TABLE table_2840500_3 (pick VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick) FROM table_2840500_3 WHERE player = "Scott Parker"</s> |
CREATE TABLE table_name_17 (events INTEGER, top_10 INTEGER) | SELECT AVG(events) FROM table_name_17 WHERE top_10 < 4 | I want the average events for top 10 less than 4 | <s>[INST]I want the average events for top 10 less than 4 Context: CREATE TABLE table_name_17 (events INTEGER, top_10 INTEGER)[/INST]SELECT AVG(events) FROM table_name_17 WHERE top_10 < 4</s> |
CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR) | SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone" | What is the companion for the author Dave Stone? | <s>[INST]What is the companion for the author Dave Stone? Context: CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)[/INST]SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone"</s> |
CREATE TABLE table_name_97 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng" | What is the date that has yani tseng as the runner (s)-up? | <s>[INST]What is the date that has yani tseng as the runner (s)-up? Context: CREATE TABLE table_name_97 (date VARCHAR, runner_s__up VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng"</s> |
CREATE TABLE table_name_26 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_26 WHERE home = "ny islanders" | Can you tell me the Record that has the Home of ny islanders? | <s>[INST]Can you tell me the Record that has the Home of ny islanders? Context: CREATE TABLE table_name_26 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_26 WHERE home = "ny islanders"</s> |
CREATE TABLE table_name_41 (region VARCHAR, format VARCHAR, date VARCHAR) | SELECT region FROM table_name_41 WHERE format = "digital" AND date = "19 july 2008" | In what region was Degeneration released in digital format on 19 July 2008? | <s>[INST]In what region was Degeneration released in digital format on 19 July 2008? Context: CREATE TABLE table_name_41 (region VARCHAR, format VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_41 WHERE format = "digital" AND date = "19 july 2008"</s> |
CREATE TABLE table_name_82 (career_w_l VARCHAR) | SELECT career_w_l FROM table_name_82 WHERE 1976 = "a" | What is theW-L of the tournament listed as A for 1976? | <s>[INST]What is theW-L of the tournament listed as A for 1976? Context: CREATE TABLE table_name_82 (career_w_l VARCHAR)[/INST]SELECT career_w_l FROM table_name_82 WHERE 1976 = "a"</s> |
CREATE TABLE table_name_55 (overall INTEGER, position VARCHAR, pick VARCHAR) | SELECT MAX(overall) FROM table_name_55 WHERE position = "k" AND pick < 28 | If the pick is under 28 and the position is k, what's the highest Overall pick? | <s>[INST]If the pick is under 28 and the position is k, what's the highest Overall pick? Context: CREATE TABLE table_name_55 (overall INTEGER, position VARCHAR, pick VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_55 WHERE position = "k" AND pick < 28</s> |
CREATE TABLE table_name_12 (loss INTEGER, avg_g VARCHAR, long VARCHAR) | SELECT AVG(loss) FROM table_name_12 WHERE avg_g = 0 AND long < 0 | What is the average Loss, when Avg/g is 0, and when Long is less than 0? | <s>[INST]What is the average Loss, when Avg/g is 0, and when Long is less than 0? Context: CREATE TABLE table_name_12 (loss INTEGER, avg_g VARCHAR, long VARCHAR)[/INST]SELECT AVG(loss) FROM table_name_12 WHERE avg_g = 0 AND long < 0</s> |
CREATE TABLE table_19359427_6 (date_of_appointment VARCHAR, position_in_table VARCHAR) | SELECT date_of_appointment FROM table_19359427_6 WHERE position_in_table = "21st" | When was the new manager of the team on 21st position appointed? | <s>[INST]When was the new manager of the team on 21st position appointed? Context: CREATE TABLE table_19359427_6 (date_of_appointment VARCHAR, position_in_table VARCHAR)[/INST]SELECT date_of_appointment FROM table_19359427_6 WHERE position_in_table = "21st"</s> |
CREATE TABLE table_2849652_2 (sport VARCHAR) | SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE sport = "Bowling" | How many first tournaments are associated with bowling? | <s>[INST]How many first tournaments are associated with bowling? Context: CREATE TABLE table_2849652_2 (sport VARCHAR)[/INST]SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE sport = "Bowling"</s> |
CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR) | SELECT year FROM table_name_15 WHERE qual = "147.481" | The 147.481 Qual, happened in what year? | <s>[INST]The 147.481 Qual, happened in what year? Context: CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR)[/INST]SELECT year FROM table_name_15 WHERE qual = "147.481"</s> |
CREATE TABLE table_name_9 (time VARCHAR, city VARCHAR) | SELECT time FROM table_name_9 WHERE city = "baltimore" | What is the time in Baltimore? | <s>[INST]What is the time in Baltimore? Context: CREATE TABLE table_name_9 (time VARCHAR, city VARCHAR)[/INST]SELECT time FROM table_name_9 WHERE city = "baltimore"</s> |
CREATE TABLE table_name_60 (title VARCHAR, termination_of_mission VARCHAR) | SELECT title FROM table_name_60 WHERE termination_of_mission = "november 4, 1861" | What Title has a Termination of Mission of November 4, 1861? | <s>[INST]What Title has a Termination of Mission of November 4, 1861? Context: CREATE TABLE table_name_60 (title VARCHAR, termination_of_mission VARCHAR)[/INST]SELECT title FROM table_name_60 WHERE termination_of_mission = "november 4, 1861"</s> |
CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR) | SELECT customer_name FROM customers WHERE payment_method = (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1) | What are the names of customers using the most popular payment method? | <s>[INST]What are the names of customers using the most popular payment method? Context: CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR)[/INST]SELECT customer_name FROM customers WHERE payment_method = (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1)</... |
CREATE TABLE table_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR) | SELECT player FROM table_23670057_5 WHERE year_born = 1983 AND position = "Forward" | Which players were born in 1983 and play as forward position? | <s>[INST]Which players were born in 1983 and play as forward position? Context: CREATE TABLE table_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_23670057_5 WHERE year_born = 1983 AND position = "Forward"</s> |
CREATE TABLE table_name_85 (rank INTEGER, lane VARCHAR, name VARCHAR) | SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie" | What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? | <s>[INST]What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? Context: CREATE TABLE table_name_85 (rank INTEGER, lane VARCHAR, name VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_85 WHERE lane > 5 AND name = "elizabeth van welie"</s> |
CREATE TABLE table_name_30 (lost VARCHAR, losing_bonus VARCHAR) | SELECT lost FROM table_name_30 WHERE losing_bonus = "4" | What is the Lost with a Losing Bonus that is 4? | <s>[INST]What is the Lost with a Losing Bonus that is 4? Context: CREATE TABLE table_name_30 (lost VARCHAR, losing_bonus VARCHAR)[/INST]SELECT lost FROM table_name_30 WHERE losing_bonus = "4"</s> |
CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR) | SELECT COUNT(points) FROM table_name_7 WHERE date = "march 19, 2009" | How many Points have a Date of march 19, 2009? | <s>[INST]How many Points have a Date of march 19, 2009? Context: CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_7 WHERE date = "march 19, 2009"</s> |
CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR) | SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing" | What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing? | <s>[INST]What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing? Context: CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing"</s> |
CREATE TABLE table_name_51 (laps VARCHAR, driver VARCHAR) | SELECT laps FROM table_name_51 WHERE driver = "roberto moreno" | How many laps does roberto moreno have? | <s>[INST]How many laps does roberto moreno have? Context: CREATE TABLE table_name_51 (laps VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_51 WHERE driver = "roberto moreno"</s> |
CREATE TABLE table_28132970_5 (length VARCHAR, propulsion VARCHAR) | SELECT length FROM table_28132970_5 WHERE propulsion = "Controllable pitch propeller" | What is the length when the propulsion is controllable pitch propeller? | <s>[INST]What is the length when the propulsion is controllable pitch propeller? Context: CREATE TABLE table_28132970_5 (length VARCHAR, propulsion VARCHAR)[/INST]SELECT length FROM table_28132970_5 WHERE propulsion = "Controllable pitch propeller"</s> |
CREATE TABLE table_222448_1 (long_term_c_pk VARCHAR, short_term_c_pk VARCHAR) | SELECT long_term_c_pk FROM table_222448_1 WHERE short_term_c_pk = "2.00" | What is long-term C PK when the short-term C PK is 2.00? | <s>[INST]What is long-term C PK when the short-term C PK is 2.00? Context: CREATE TABLE table_222448_1 (long_term_c_pk VARCHAR, short_term_c_pk VARCHAR)[/INST]SELECT long_term_c_pk FROM table_222448_1 WHERE short_term_c_pk = "2.00"</s> |
CREATE TABLE church (name VARCHAR); CREATE TABLE wedding (church_id VARCHAR, year VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR) | SELECT name FROM church EXCEPT SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id WHERE T2.year = 2015 | Show all church names except for those that had a wedding in year 2015. | <s>[INST]Show all church names except for those that had a wedding in year 2015. Context: CREATE TABLE church (name VARCHAR); CREATE TABLE wedding (church_id VARCHAR, year VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR)[/INST]SELECT name FROM church EXCEPT SELECT T1.name FROM church AS T1 JOIN wedding A... |
CREATE TABLE table_name_40 (attendance VARCHAR, opponents VARCHAR, result VARCHAR, venue VARCHAR) | SELECT attendance FROM table_name_40 WHERE result = "d" AND venue = "h" AND opponents = "arsenal" | How many were in attendance for a result of D, at H venue, and Arsenal as an opponent? | <s>[INST]How many were in attendance for a result of D, at H venue, and Arsenal as an opponent? Context: CREATE TABLE table_name_40 (attendance VARCHAR, opponents VARCHAR, result VARCHAR, venue VARCHAR)[/INST]SELECT attendance FROM table_name_40 WHERE result = "d" AND venue = "h" AND opponents = "arsenal"</s> |
CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR) | SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65 | How much Played has Goals Against of 45, and Goals For smaller than 65? | <s>[INST]How much Played has Goals Against of 45, and Goals For smaller than 65? Context: CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR)[/INST]SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65</s> |
CREATE TABLE table_16331025_2 (sellout___percentage_ VARCHAR, gross_sales VARCHAR) | SELECT sellout___percentage_ FROM table_16331025_2 WHERE gross_sales = "$1,727,400" | What is the sellout % when the gross sales is $1,727,400? | <s>[INST]What is the sellout % when the gross sales is $1,727,400? Context: CREATE TABLE table_16331025_2 (sellout___percentage_ VARCHAR, gross_sales VARCHAR)[/INST]SELECT sellout___percentage_ FROM table_16331025_2 WHERE gross_sales = "$1,727,400"</s> |
CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR) | SELECT points_against FROM table_15607589_2 WHERE date = "November 7" | Name the points against for november 7 | <s>[INST]Name the points against for november 7 Context: CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR)[/INST]SELECT points_against FROM table_15607589_2 WHERE date = "November 7"</s> |
CREATE TABLE table_name_91 (second VARCHAR, third VARCHAR) | SELECT second FROM table_name_91 WHERE third = "jean-michel arsenault" | Which second's third is Jean-Michel Arsenault? | <s>[INST]Which second's third is Jean-Michel Arsenault? Context: CREATE TABLE table_name_91 (second VARCHAR, third VARCHAR)[/INST]SELECT second FROM table_name_91 WHERE third = "jean-michel arsenault"</s> |
CREATE TABLE table_173103_1 (bullet_weight VARCHAR, max_pressure VARCHAR) | SELECT bullet_weight FROM table_173103_1 WHERE max_pressure = "12,000 CUP" | What is the bullet weight when the max pressure is 12,000 cup? | <s>[INST]What is the bullet weight when the max pressure is 12,000 cup? Context: CREATE TABLE table_173103_1 (bullet_weight VARCHAR, max_pressure VARCHAR)[/INST]SELECT bullet_weight FROM table_173103_1 WHERE max_pressure = "12,000 CUP"</s> |
CREATE TABLE table_2509202_2 (sorata_municipality VARCHAR, quiabaya_municipality VARCHAR) | SELECT sorata_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33" | How many people in the sorata municipality when the quiabaya municipality has 33? | <s>[INST]How many people in the sorata municipality when the quiabaya municipality has 33? Context: CREATE TABLE table_2509202_2 (sorata_municipality VARCHAR, quiabaya_municipality VARCHAR)[/INST]SELECT sorata_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33"</s> |
CREATE TABLE table_name_41 (deaths VARCHAR, natural_growth VARCHAR, total_fertility_rate VARCHAR) | SELECT deaths FROM table_name_41 WHERE natural_growth < 3.4 AND total_fertility_rate = "1.63" | What was the amount of deaths that had a natural growth smaller than 3.4, and a total fertility rate of 1.63? | <s>[INST]What was the amount of deaths that had a natural growth smaller than 3.4, and a total fertility rate of 1.63? Context: CREATE TABLE table_name_41 (deaths VARCHAR, natural_growth VARCHAR, total_fertility_rate VARCHAR)[/INST]SELECT deaths FROM table_name_41 WHERE natural_growth < 3.4 AND total_fertility_rate = "... |
CREATE TABLE table_name_50 (chinese VARCHAR, subject VARCHAR) | SELECT chinese FROM table_name_50 WHERE subject = "adjectives, adverbs, mostly with reduplication" | Name the chinese with subject of adjectives, adverbs, mostly with reduplication | <s>[INST]Name the chinese with subject of adjectives, adverbs, mostly with reduplication Context: CREATE TABLE table_name_50 (chinese VARCHAR, subject VARCHAR)[/INST]SELECT chinese FROM table_name_50 WHERE subject = "adjectives, adverbs, mostly with reduplication"</s> |
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR) | SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = "Dayana Robel" | What are all the policy types of the customer named "Dayana Robel"? | <s>[INST]What are all the policy types of the customer named "Dayana Robel"? Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR)[/INST]SELECT ... |
CREATE TABLE table_name_46 (against INTEGER, geelong_fl VARCHAR, wins VARCHAR) | SELECT AVG(against) FROM table_name_46 WHERE geelong_fl = "leopold" AND wins > 11 | What's the average against of Leopold with more than 11 wins? | <s>[INST]What's the average against of Leopold with more than 11 wins? Context: CREATE TABLE table_name_46 (against INTEGER, geelong_fl VARCHAR, wins VARCHAR)[/INST]SELECT AVG(against) FROM table_name_46 WHERE geelong_fl = "leopold" AND wins > 11</s> |
CREATE TABLE table_name_70 (release VARCHAR, title VARCHAR) | SELECT release FROM table_name_70 WHERE title = "gala" | When was Gala released? | <s>[INST]When was Gala released? Context: CREATE TABLE table_name_70 (release VARCHAR, title VARCHAR)[/INST]SELECT release FROM table_name_70 WHERE title = "gala"</s> |
CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684 | An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result? | <s>[INST]An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result? Context: CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_55 WHERE opponent = "hamilton academical" AND attendance > 33 OFFSET 684</s> |
CREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR) | SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = "ashton cobb" | What is Ashton Cobb's class in Game 2? | <s>[INST]What is Ashton Cobb's class in Game 2? Context: CREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR)[/INST]SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = "ashton cobb"</s> |
CREATE TABLE table_25391981_20 (weekly_rank VARCHAR, share VARCHAR, original_airdate VARCHAR) | SELECT weekly_rank FROM table_25391981_20 WHERE share = "14" AND original_airdate = "April 20, 2010" | What is the weekly rank of the episode with a 14 share whose original airdate was April 20, 2010? | <s>[INST]What is the weekly rank of the episode with a 14 share whose original airdate was April 20, 2010? Context: CREATE TABLE table_25391981_20 (weekly_rank VARCHAR, share VARCHAR, original_airdate VARCHAR)[/INST]SELECT weekly_rank FROM table_25391981_20 WHERE share = "14" AND original_airdate = "April 20, 2010"</s... |
CREATE TABLE table_name_68 (name VARCHAR, qual_2 VARCHAR, team VARCHAR) | SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia" | Who had a Qualifying 2 time over 58.669 for Team Australia? | <s>[INST]Who had a Qualifying 2 time over 58.669 for Team Australia? Context: CREATE TABLE table_name_68 (name VARCHAR, qual_2 VARCHAR, team VARCHAR)[/INST]SELECT name FROM table_name_68 WHERE qual_2 > 58.669 AND team = "team australia"</s> |
CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR) | SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca" | Which region has the format CD and label MCA? | <s>[INST]Which region has the format CD and label MCA? Context: CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)[/INST]SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca"</s> |
CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9 AND laps < 26 AND rider = "casey stoner" | What was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps? | <s>[INST]What was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps? Context: CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9... |
CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR) | SELECT first_season FROM table_1096793_1 WHERE last_title = "2012" | What was the first season of the club who last won a title in 2012? | <s>[INST]What was the first season of the club who last won a title in 2012? Context: CREATE TABLE table_1096793_1 (first_season VARCHAR, last_title VARCHAR)[/INST]SELECT first_season FROM table_1096793_1 WHERE last_title = "2012"</s> |
CREATE TABLE table_name_88 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_88 WHERE away_team = "manchester city" | What team was the home team when Manchester City was the away team? | <s>[INST]What team was the home team when Manchester City was the away team? Context: CREATE TABLE table_name_88 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_88 WHERE away_team = "manchester city"</s> |
CREATE TABLE table_2817196_1 (points INTEGER) | SELECT MAX(points) FROM table_2817196_1 | What is the largest number of points in a season? | <s>[INST]What is the largest number of points in a season? Context: CREATE TABLE table_2817196_1 (points INTEGER)[/INST]SELECT MAX(points) FROM table_2817196_1</s> |
CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR) | SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966 | How many rain figures are provided for sunlight hours in 1966? | <s>[INST]How many rain figures are provided for sunlight hours in 1966? Context: CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR)[/INST]SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966</s> |
CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR) | SELECT island FROM table_name_43 WHERE country = "united kingdom" | Which island is in the United Kingdom? | <s>[INST]Which island is in the United Kingdom? Context: CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR)[/INST]SELECT island FROM table_name_43 WHERE country = "united kingdom"</s> |
CREATE TABLE table_25220821_3 (tues_1_june VARCHAR, mon_31_may VARCHAR) | SELECT COUNT(tues_1_june) FROM table_25220821_3 WHERE mon_31_may = "20' 15.35 111.761mph" | What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph? | <s>[INST]What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph? Context: CREATE TABLE table_25220821_3 (tues_1_june VARCHAR, mon_31_may VARCHAR)[/INST]SELECT COUNT(tues_1_june) FROM table_25220821_3 WHERE mon_31_may = "20' 15.35 111.761mph"</s> |
CREATE TABLE table_23235679_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_23235679_1 WHERE directed_by = "Pam Cooke & Jansen Yee" | Name who wrote the episode directed by pam cooke & jansen yee | <s>[INST]Name who wrote the episode directed by pam cooke & jansen yee Context: CREATE TABLE table_23235679_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_23235679_1 WHERE directed_by = "Pam Cooke & Jansen Yee"</s> |
CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR) | SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oilers lead 3–2" | Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score? | <s>[INST]Opponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3–2 had what score? Context: CREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_name_30 WHERE opponent = "@ edmonton oilers" AND game > 1 AND series = "oile... |
CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn" | What is the zip code of staff with first name as Janessa and last name as Sawayn lived? | <s>[INST]What is the zip code of staff with first name as Janessa and last name as Sawayn lived? Context: CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Staff A... |
CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR) | SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022 | What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? | <s>[INST]What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? Context: CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR)[/INST]SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games ... |
CREATE TABLE table_name_17 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31" | What week has a result of L 17-31 first? | <s>[INST]What week has a result of L 17-31 first? Context: CREATE TABLE table_name_17 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31"</s> |
CREATE TABLE table_27882867_9 (location_attendance VARCHAR, high_points VARCHAR) | SELECT location_attendance FROM table_27882867_9 WHERE high_points = "D. Wilkins (29)" | What was the location and attendance when d. wilkins (29) had the high points? | <s>[INST]What was the location and attendance when d. wilkins (29) had the high points? Context: CREATE TABLE table_27882867_9 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_27882867_9 WHERE high_points = "D. Wilkins (29)"</s> |
CREATE TABLE table_name_68 (conceded INTEGER, position VARCHAR, wins VARCHAR) | SELECT AVG(conceded) FROM table_name_68 WHERE position > 8 AND wins > 2 | What is the average conceded number of the team with a position lower than 8 and more than 2 wins? | <s>[INST]What is the average conceded number of the team with a position lower than 8 and more than 2 wins? Context: CREATE TABLE table_name_68 (conceded INTEGER, position VARCHAR, wins VARCHAR)[/INST]SELECT AVG(conceded) FROM table_name_68 WHERE position > 8 AND wins > 2</s> |
CREATE TABLE table_1876825_5 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_1876825_5 WHERE production_code = "06-02-407" | What is title of episode 06-02-407? | <s>[INST]What is title of episode 06-02-407? Context: CREATE TABLE table_1876825_5 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_1876825_5 WHERE production_code = "06-02-407"</s> |
CREATE TABLE table_name_22 (goal_difference INTEGER, points VARCHAR, losses VARCHAR, draws VARCHAR) | SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40 | How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points? | <s>[INST]How much Goal Difference has less than 9 Losses, and 8 Draws, and more than 40 points? Context: CREATE TABLE table_name_22 (goal_difference INTEGER, points VARCHAR, losses VARCHAR, draws VARCHAR)[/INST]SELECT SUM(goal_difference) FROM table_name_22 WHERE losses < 9 AND draws = 8 AND points > 40</s> |
CREATE TABLE table_name_56 (stadium VARCHAR, opponent VARCHAR) | SELECT stadium FROM table_name_56 WHERE opponent = "cal state fullerton titans" | What stadium had an opponent of Cal State Fullerton Titans? | <s>[INST]What stadium had an opponent of Cal State Fullerton Titans? Context: CREATE TABLE table_name_56 (stadium VARCHAR, opponent VARCHAR)[/INST]SELECT stadium FROM table_name_56 WHERE opponent = "cal state fullerton titans"</s> |
CREATE TABLE table_name_32 (attendance VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_32 WHERE visitor = "san jose" AND date = "may 4" | What is the attendance at the game where San Jose was the visitor on May 4? | <s>[INST]What is the attendance at the game where San Jose was the visitor on May 4? Context: CREATE TABLE table_name_32 (attendance VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_32 WHERE visitor = "san jose" AND date = "may 4"</s> |
CREATE TABLE table_name_49 (seasons VARCHAR, total_seasons VARCHAR, city VARCHAR) | SELECT seasons FROM table_name_49 WHERE total_seasons < 5 AND city = "ottawa, ontario" | What is the season that has fewer than 5 total seasons and is in Ottawa, Ontario? | <s>[INST]What is the season that has fewer than 5 total seasons and is in Ottawa, Ontario? Context: CREATE TABLE table_name_49 (seasons VARCHAR, total_seasons VARCHAR, city VARCHAR)[/INST]SELECT seasons FROM table_name_49 WHERE total_seasons < 5 AND city = "ottawa, ontario"</s> |
CREATE TABLE Projects (project_details VARCHAR, organisation_id VARCHAR) | SELECT project_details FROM Projects WHERE organisation_id IN (SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY COUNT(*) DESC LIMIT 1) | List the project details of the projects launched by the organisation | <s>[INST]List the project details of the projects launched by the organisation Context: CREATE TABLE Projects (project_details VARCHAR, organisation_id VARCHAR)[/INST]SELECT project_details FROM Projects WHERE organisation_id IN (SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY COUNT(*) DESC LIMIT... |
CREATE TABLE table_12834315_4 (barrel_twist VARCHAR, colt_model_no VARCHAR) | SELECT barrel_twist FROM table_12834315_4 WHERE colt_model_no = "MT6400" | Name the barrel twist for colt model mt6400 | <s>[INST]Name the barrel twist for colt model mt6400 Context: CREATE TABLE table_12834315_4 (barrel_twist VARCHAR, colt_model_no VARCHAR)[/INST]SELECT barrel_twist FROM table_12834315_4 WHERE colt_model_no = "MT6400"</s> |
CREATE TABLE table_name_91 (year INTEGER, team VARCHAR) | SELECT MAX(year) FROM table_name_91 WHERE team = "gulf racing middle east" | What is the most recent year that Gulf Racing Middle East won? | <s>[INST]What is the most recent year that Gulf Racing Middle East won? Context: CREATE TABLE table_name_91 (year INTEGER, team VARCHAR)[/INST]SELECT MAX(year) FROM table_name_91 WHERE team = "gulf racing middle east"</s> |
CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i" | Who played as Team 1 against Lomé i? | <s>[INST]Who played as Team 1 against Lomé i? Context: CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i"</s> |
CREATE TABLE table_12834315_5 (hand_guards VARCHAR, name VARCHAR) | SELECT hand_guards FROM table_12834315_5 WHERE name = "Gas Piston Commando" | What hand guard system is used with a gas piston commando? | <s>[INST]What hand guard system is used with a gas piston commando? Context: CREATE TABLE table_12834315_5 (hand_guards VARCHAR, name VARCHAR)[/INST]SELECT hand_guards FROM table_12834315_5 WHERE name = "Gas Piston Commando"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.