context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_75 (hr_no VARCHAR, built VARCHAR, lms_no VARCHAR) | SELECT hr_no FROM table_name_75 WHERE built = "9/1915" AND lms_no = 14757 | What's the HR Number when the LMS number is 14757 and has a built of 9/1915? | <s>[INST]What's the HR Number when the LMS number is 14757 and has a built of 9/1915? Context: CREATE TABLE table_name_75 (hr_no VARCHAR, built VARCHAR, lms_no VARCHAR)[/INST]SELECT hr_no FROM table_name_75 WHERE built = "9/1915" AND lms_no = 14757</s> |
CREATE TABLE table_name_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR) | SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st" | What's the number & name for the description peckett 0-4-0st? | <s>[INST]What's the number & name for the description peckett 0-4-0st? Context: CREATE TABLE table_name_72 (number_ VARCHAR, _name VARCHAR, description VARCHAR)[/INST]SELECT number_ & _name FROM table_name_72 WHERE description = "peckett 0-4-0st"</s> |
CREATE TABLE table_13301516_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_13301516_1 WHERE us_viewers__millions_ = "11.75" | Which episode was watched by 11.75 million U.S. viewers? | <s>[INST]Which episode was watched by 11.75 million U.S. viewers? Context: CREATE TABLE table_13301516_1 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_13301516_1 WHERE us_viewers__millions_ = "11.75"</s> |
CREATE TABLE table_name_17 (competition VARCHAR, opponents VARCHAR) | SELECT competition FROM table_name_17 WHERE opponents = "motherwell" | Name the competition for motherwell opponents | <s>[INST]Name the competition for motherwell opponents Context: CREATE TABLE table_name_17 (competition VARCHAR, opponents VARCHAR)[/INST]SELECT competition FROM table_name_17 WHERE opponents = "motherwell"</s> |
CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT score FROM table_name_18 WHERE competition = "ecqg5" AND venue = "hampden park , glasgow (h)" | What is Score, when Competition is "ECQG5", and when Venue is "Hampden Park , Glasgow (H)"? | <s>[INST]What is Score, when Competition is "ECQG5", and when Venue is "Hampden Park , Glasgow (H)"? Context: CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_18 WHERE competition = "ecqg5" AND venue = "hampden park , glasgow (h)"</s> |
CREATE TABLE table_name_57 (started_round VARCHAR, last_match VARCHAR) | SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008" | What was the started round for the competition that had the last match on January 16, 2008? | <s>[INST]What was the started round for the competition that had the last match on January 16, 2008? Context: CREATE TABLE table_name_57 (started_round VARCHAR, last_match VARCHAR)[/INST]SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008"</s> |
CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_36 WHERE record = "22–46" | What was the score of the game when the record was 22–46? | <s>[INST]What was the score of the game when the record was 22–46? Context: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_36 WHERE record = "22–46"</s> |
CREATE TABLE table_1579922_1 (episode VARCHAR, run_time VARCHAR) | SELECT episode FROM table_1579922_1 WHERE run_time = "24:25" | What episode had a run time of 24:25? | <s>[INST]What episode had a run time of 24:25? Context: CREATE TABLE table_1579922_1 (episode VARCHAR, run_time VARCHAR)[/INST]SELECT episode FROM table_1579922_1 WHERE run_time = "24:25"</s> |
CREATE TABLE table_name_49 (attendance INTEGER, venue VARCHAR, round VARCHAR) | SELECT AVG(attendance) FROM table_name_49 WHERE venue = "n" AND round = "f" | I want to know the average attendance for n venue and f round | <s>[INST]I want to know the average attendance for n venue and f round Context: CREATE TABLE table_name_49 (attendance INTEGER, venue VARCHAR, round VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_49 WHERE venue = "n" AND round = "f"</s> |
CREATE TABLE table_name_53 (react INTEGER, mark INTEGER) | SELECT AVG(react) FROM table_name_53 WHERE mark < 7.93 | What is the average React, when Mark is less than 7.93? | <s>[INST]What is the average React, when Mark is less than 7.93? Context: CREATE TABLE table_name_53 (react INTEGER, mark INTEGER)[/INST]SELECT AVG(react) FROM table_name_53 WHERE mark < 7.93</s> |
CREATE TABLE table_name_50 (overs INTEGER, team VARCHAR) | SELECT MIN(overs) FROM table_name_50 WHERE team = "royal challengers bangalore" | What is the lowest number of Overs for the Royal Challengers Bangalore? | <s>[INST]What is the lowest number of Overs for the Royal Challengers Bangalore? Context: CREATE TABLE table_name_50 (overs INTEGER, team VARCHAR)[/INST]SELECT MIN(overs) FROM table_name_50 WHERE team = "royal challengers bangalore"</s> |
CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR) | SELECT population FROM table_name_62 WHERE official_name = "saint-andré" | What is saint-andré's population? | <s>[INST]What is saint-andré's population? Context: CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR)[/INST]SELECT population FROM table_name_62 WHERE official_name = "saint-andré"</s> |
CREATE TABLE table_name_9 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_9 WHERE attendance = "22,713" | What was the record when the attendance was 22,713? | <s>[INST]What was the record when the attendance was 22,713? Context: CREATE TABLE table_name_9 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_9 WHERE attendance = "22,713"</s> |
CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR, organisation_details VARCHAR); CREATE TABLE Research_Staff (employer_organisation_id VARCHAR) | SELECT T1.organisation_id, T1.organisation_type, T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1 | Which organisation hired the most number of research staff? List the organisation id, type and detail. | <s>[INST]Which organisation hired the most number of research staff? List the organisation id, type and detail. Context: CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR, organisation_details VARCHAR); CREATE TABLE Research_Staff (employer_organisation_id VARCHAR)[/INST]SELECT T1.organisation_id, T1.organisation_type, T1.organisation_details FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_29 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_29 WHERE record = "30–19–9" | Who was the visiting team at the game when the Canadiens had a record of 30–19–9? | <s>[INST]Who was the visiting team at the game when the Canadiens had a record of 30–19–9? Context: CREATE TABLE table_name_29 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_29 WHERE record = "30–19–9"</s> |
CREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR) | SELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = "69.2" | Where are the headquarters of the company whose sales were 69.2 billion? | <s>[INST]Where are the headquarters of the company whose sales were 69.2 billion? Context: CREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR)[/INST]SELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = "69.2"</s> |
CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR) | SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school" | What is the average Decile with a state authority and a Name of mapiu school? | <s>[INST]What is the average Decile with a state authority and a Name of mapiu school? Context: CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR)[/INST]SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school"</s> |
CREATE TABLE table_name_46 (wins VARCHAR, class VARCHAR, year VARCHAR) | SELECT wins FROM table_name_46 WHERE class = "500cc" AND year < 1975 | Which Wins have a Class of 500cc, and a Year smaller than 1975? | <s>[INST]Which Wins have a Class of 500cc, and a Year smaller than 1975? Context: CREATE TABLE table_name_46 (wins VARCHAR, class VARCHAR, year VARCHAR)[/INST]SELECT wins FROM table_name_46 WHERE class = "500cc" AND year < 1975</s> |
CREATE TABLE table_name_89 (type VARCHAR, transfer_window VARCHAR, moving_from VARCHAR) | SELECT type FROM table_name_89 WHERE transfer_window = "summer" AND moving_from = "free agent" | What is the type if the transfer window is summer and the moving from category is free agent? | <s>[INST]What is the type if the transfer window is summer and the moving from category is free agent? Context: CREATE TABLE table_name_89 (type VARCHAR, transfer_window VARCHAR, moving_from VARCHAR)[/INST]SELECT type FROM table_name_89 WHERE transfer_window = "summer" AND moving_from = "free agent"</s> |
CREATE TABLE table_name_10 (year INTEGER, kentucky VARCHAR) | SELECT SUM(year) FROM table_name_10 WHERE kentucky = "jeff van note" | What is the total Year of jeff van note ( Kentucky) | <s>[INST]What is the total Year of jeff van note ( Kentucky) Context: CREATE TABLE table_name_10 (year INTEGER, kentucky VARCHAR)[/INST]SELECT SUM(year) FROM table_name_10 WHERE kentucky = "jeff van note"</s> |
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR) | SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE" | When bmw activee is the vehicle type what is the u.s national average electric mix? | <s>[INST]When bmw activee is the vehicle type what is the u.s national average electric mix? Context: CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)[/INST]SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"</s> |
CREATE TABLE table_name_45 (away_team VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT away_team FROM table_name_45 WHERE home_team = "everton" AND date = "30 january 1988" | Who was the away team on 30 January 1988, when the home team was Everton? | <s>[INST]Who was the away team on 30 January 1988, when the home team was Everton? Context: CREATE TABLE table_name_45 (away_team VARCHAR, home_team VARCHAR, date VARCHAR)[/INST]SELECT away_team FROM table_name_45 WHERE home_team = "everton" AND date = "30 january 1988"</s> |
CREATE TABLE table_name_52 (opponent VARCHAR, game VARCHAR, april VARCHAR) | SELECT opponent FROM table_name_52 WHERE game > 76 AND april = 6 | Who is the opponent in a game higher than 76 on April 6? | <s>[INST]Who is the opponent in a game higher than 76 on April 6? Context: CREATE TABLE table_name_52 (opponent VARCHAR, game VARCHAR, april VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE game > 76 AND april = 6</s> |
CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united" | How much Attendance has an Opponent of oxford united? | <s>[INST]How much Attendance has an Opponent of oxford united? Context: CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united"</s> |
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR) | SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 | What is the name of the entrepreneur with the greatest weight? | <s>[INST]What is the name of the entrepreneur with the greatest weight? Context: CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR)[/INST]SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1</s> |
CREATE TABLE table_name_66 (ship VARCHAR, class___type VARCHAR, location VARCHAR) | SELECT ship FROM table_name_66 WHERE class___type = "cargo ship" AND location = "birkenhead" | What is the Cargo Ship located at Birkenhead? | <s>[INST]What is the Cargo Ship located at Birkenhead? Context: CREATE TABLE table_name_66 (ship VARCHAR, class___type VARCHAR, location VARCHAR)[/INST]SELECT ship FROM table_name_66 WHERE class___type = "cargo ship" AND location = "birkenhead"</s> |
CREATE TABLE table_name_85 (county VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_85 WHERE mascot = "red ramblers" | What counties mascot are the Red Ramblers? | <s>[INST]What counties mascot are the Red Ramblers? Context: CREATE TABLE table_name_85 (county VARCHAR, mascot VARCHAR)[/INST]SELECT county FROM table_name_85 WHERE mascot = "red ramblers"</s> |
CREATE TABLE table_name_87 (date VARCHAR, loan_expires VARCHAR, position VARCHAR) | SELECT date FROM table_name_87 WHERE loan_expires = "end of the season" AND position = "mf" | What date has a loan expires date of end of the season, and a Position of mf? | <s>[INST]What date has a loan expires date of end of the season, and a Position of mf? Context: CREATE TABLE table_name_87 (date VARCHAR, loan_expires VARCHAR, position VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE loan_expires = "end of the season" AND position = "mf"</s> |
CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR) | SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976" | What was the Billboard peak for the album released on February 2, 1976 by MCA? | <s>[INST]What was the Billboard peak for the album released on February 2, 1976 by MCA? Context: CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)[/INST]SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976"</s> |
CREATE TABLE table_name_72 (college VARCHAR, round INTEGER) | SELECT college FROM table_name_72 WHERE round < 4 | The draft pick that was taken before round 4 went to what college? | <s>[INST]The draft pick that was taken before round 4 went to what college? Context: CREATE TABLE table_name_72 (college VARCHAR, round INTEGER)[/INST]SELECT college FROM table_name_72 WHERE round < 4</s> |
CREATE TABLE VISITS (Visit_Date VARCHAR) | SELECT DISTINCT Visit_Date FROM VISITS | What are the distinct visit dates? | <s>[INST]What are the distinct visit dates? Context: CREATE TABLE VISITS (Visit_Date VARCHAR)[/INST]SELECT DISTINCT Visit_Date FROM VISITS</s> |
CREATE TABLE table_name_83 (eliminated VARCHAR, week__number INTEGER) | SELECT eliminated FROM table_name_83 WHERE week__number > 4 | Tell me the eliminated for week # larger than 4 | <s>[INST]Tell me the eliminated for week # larger than 4 Context: CREATE TABLE table_name_83 (eliminated VARCHAR, week__number INTEGER)[/INST]SELECT eliminated FROM table_name_83 WHERE week__number > 4</s> |
CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR) | SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo" | Who won the III Coppa Acerbo title? | <s>[INST]Who won the III Coppa Acerbo title? Context: CREATE TABLE table_name_67 (driver_s VARCHAR, race_title VARCHAR)[/INST]SELECT driver_s FROM table_name_67 WHERE race_title = "iii coppa acerbo"</s> |
CREATE TABLE table_name_79 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_79 WHERE date = "23 january 2011" | Which Surface is on 23 january 2011? | <s>[INST]Which Surface is on 23 january 2011? Context: CREATE TABLE table_name_79 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_79 WHERE date = "23 january 2011"</s> |
CREATE TABLE table_name_30 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_30 WHERE home_team = "north melbourne" | What was North Melbourne's score as the home team? | <s>[INST]What was North Melbourne's score as the home team? Context: CREATE TABLE table_name_30 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_30 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_name_81 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_81 WHERE tie_no = "17" | What is Score, when Tie No is 17? | <s>[INST]What is Score, when Tie No is 17? Context: CREATE TABLE table_name_81 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_81 WHERE tie_no = "17"</s> |
CREATE TABLE table_name_14 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR) | SELECT MAX(administrative_panel) FROM table_name_14 WHERE cultural_and_educational_panel = 2 AND industrial_and_commercial_panel > 4 | What is the highest administrative panel with a cultural and educational panel of 2 plus an industrial and commercial panel larger than 4? | <s>[INST]What is the highest administrative panel with a cultural and educational panel of 2 plus an industrial and commercial panel larger than 4? Context: CREATE TABLE table_name_14 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)[/INST]SELECT MAX(administrative_panel) FROM table_name_14 WHERE cultural_and_educational_panel = 2 AND industrial_and_commercial_panel > 4</s> |
CREATE TABLE table_name_56 (Id VARCHAR) | SELECT 1989 FROM table_name_56 WHERE 1984 = "a" AND 1985 = "a" AND 1990 = "a" | What was the 1989 result for the tournament with 1984 of a, 1985 of a, and 1990 of a? | <s>[INST]What was the 1989 result for the tournament with 1984 of a, 1985 of a, and 1990 of a? Context: CREATE TABLE table_name_56 (Id VARCHAR)[/INST]SELECT 1989 FROM table_name_56 WHERE 1984 = "a" AND 1985 = "a" AND 1990 = "a"</s> |
CREATE TABLE table_name_90 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_90 WHERE entrant = "cooper car company" AND year > 1959 | How many points for the cooper car company after 1959? | <s>[INST]How many points for the cooper car company after 1959? Context: CREATE TABLE table_name_90 (points INTEGER, entrant VARCHAR, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_90 WHERE entrant = "cooper car company" AND year > 1959</s> |
CREATE TABLE table_name_59 (position VARCHAR, years_for_jazz VARCHAR) | SELECT position FROM table_name_59 WHERE years_for_jazz = "2002-03" | Which position was active in Jazz in 2002-03? | <s>[INST]Which position was active in Jazz in 2002-03? Context: CREATE TABLE table_name_59 (position VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT position FROM table_name_59 WHERE years_for_jazz = "2002-03"</s> |
CREATE TABLE table_name_23 (release_date VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR) | SELECT release_date FROM table_name_23 WHERE release_price___usd__ = "$346" AND turbo = "9/11" | What is the release date when the release price (usd) is $346 and the turbo is 9/11? | <s>[INST]What is the release date when the release price (usd) is $346 and the turbo is 9/11? Context: CREATE TABLE table_name_23 (release_date VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)[/INST]SELECT release_date FROM table_name_23 WHERE release_price___usd__ = "$346" AND turbo = "9/11"</s> |
CREATE TABLE table_1982739_2 (area VARCHAR, english_name VARCHAR) | SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = "Nanqiao District" | What is the total number of areas that are called Nanqiao District? | <s>[INST]What is the total number of areas that are called Nanqiao District? Context: CREATE TABLE table_1982739_2 (area VARCHAR, english_name VARCHAR)[/INST]SELECT COUNT(area) FROM table_1982739_2 WHERE english_name = "Nanqiao District"</s> |
CREATE TABLE table_name_56 (record VARCHAR, nationality VARCHAR, date VARCHAR) | SELECT record FROM table_name_56 WHERE nationality = "norway" AND date = "23 august 1981" | What is the record for Norway on 23 august 1981? | <s>[INST]What is the record for Norway on 23 august 1981? Context: CREATE TABLE table_name_56 (record VARCHAR, nationality VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_56 WHERE nationality = "norway" AND date = "23 august 1981"</s> |
CREATE TABLE table_name_17 (occupation VARCHAR, hometown VARCHAR) | SELECT occupation FROM table_name_17 WHERE hometown = "hampshire" | What is the occupation of the person with a hometown of Hampshire? | <s>[INST]What is the occupation of the person with a hometown of Hampshire? Context: CREATE TABLE table_name_17 (occupation VARCHAR, hometown VARCHAR)[/INST]SELECT occupation FROM table_name_17 WHERE hometown = "hampshire"</s> |
CREATE TABLE table_14288212_1 (played VARCHAR, first_played VARCHAR, points_for VARCHAR) | SELECT COUNT(played) FROM table_14288212_1 WHERE first_played = 2011 AND points_for = 36 | How many games did the team that began in 2011 and scored 36 points play? | <s>[INST]How many games did the team that began in 2011 and scored 36 points play? Context: CREATE TABLE table_14288212_1 (played VARCHAR, first_played VARCHAR, points_for VARCHAR)[/INST]SELECT COUNT(played) FROM table_14288212_1 WHERE first_played = 2011 AND points_for = 36</s> |
CREATE TABLE table_name_34 (earnings_per_share__ INTEGER, ebit__us_$m_ VARCHAR, year_to_april VARCHAR, revenue__us_$million_ VARCHAR) | SELECT SUM(earnings_per_share__) AS ¢_ FROM table_name_34 WHERE year_to_april < 2012 AND revenue__us_$million_ = 432.6 AND ebit__us_$m_ < 150.5 | Count the Earnings per share (¢) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5? | <s>[INST]Count the Earnings per share (¢) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5? Context: CREATE TABLE table_name_34 (earnings_per_share__ INTEGER, ebit__us_$m_ VARCHAR, year_to_april VARCHAR, revenue__us_$million_ VARCHAR)[/INST]SELECT SUM(earnings_per_share__) AS ¢_ FROM table_name_34 WHERE year_to_april < 2012 AND revenue__us_$million_ = 432.6 AND ebit__us_$m_ < 150.5</s> |
CREATE TABLE table_name_99 (tries_against VARCHAR, try_bonus VARCHAR) | SELECT tries_against FROM table_name_99 WHERE try_bonus = "5" | If the try bonus was 5 what was the try against score? | <s>[INST]If the try bonus was 5 what was the try against score? Context: CREATE TABLE table_name_99 (tries_against VARCHAR, try_bonus VARCHAR)[/INST]SELECT tries_against FROM table_name_99 WHERE try_bonus = "5"</s> |
CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_4 WHERE player = "payne stewart" | Name the To par of payne stewart? | <s>[INST]Name the To par of payne stewart? Context: CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_4 WHERE player = "payne stewart"</s> |
CREATE TABLE table_name_24 (commissioned VARCHAR, project VARCHAR, status VARCHAR) | SELECT commissioned FROM table_name_24 WHERE project = "636.3" AND status = "ordered" | What is the commissioned with a 636.3 project, and ordered status? | <s>[INST]What is the commissioned with a 636.3 project, and ordered status? Context: CREATE TABLE table_name_24 (commissioned VARCHAR, project VARCHAR, status VARCHAR)[/INST]SELECT commissioned FROM table_name_24 WHERE project = "636.3" AND status = "ordered"</s> |
CREATE TABLE table_27512025_1 (ab_ripper_x VARCHAR, exercise VARCHAR) | SELECT ab_ripper_x FROM table_27512025_1 WHERE exercise = "X Stretch" | What is the ab ripper x when exercise is x stretch? | <s>[INST]What is the ab ripper x when exercise is x stretch? Context: CREATE TABLE table_27512025_1 (ab_ripper_x VARCHAR, exercise VARCHAR)[/INST]SELECT ab_ripper_x FROM table_27512025_1 WHERE exercise = "X Stretch"</s> |
CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) | SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector = "bosone" | What is the cardinalatial order and title of bosone? | <s>[INST]What is the cardinalatial order and title of bosone? Context: CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR)[/INST]SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector = "bosone"</s> |
CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_44 WHERE date = "april 21, 2008" | Who was the opponent on April 21, 2008? | <s>[INST]Who was the opponent on April 21, 2008? Context: CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_44 WHERE date = "april 21, 2008"</s> |
CREATE TABLE table_name_5 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_5 WHERE silver > 2 AND bronze < 13 AND total > 24 | What is the average Gold award that has a Silver award greater than 2, and a Bronze award less than 13, and a Total greater than 24? | <s>[INST]What is the average Gold award that has a Silver award greater than 2, and a Bronze award less than 13, and a Total greater than 24? Context: CREATE TABLE table_name_5 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_5 WHERE silver > 2 AND bronze < 13 AND total > 24</s> |
CREATE TABLE table_name_11 (podiums VARCHAR, races VARCHAR, final_placing VARCHAR) | SELECT podiums FROM table_name_11 WHERE races = "1" AND final_placing = "5th" | Which Podium has 1 Race and a Final Place of 5th? | <s>[INST]Which Podium has 1 Race and a Final Place of 5th? Context: CREATE TABLE table_name_11 (podiums VARCHAR, races VARCHAR, final_placing VARCHAR)[/INST]SELECT podiums FROM table_name_11 WHERE races = "1" AND final_placing = "5th"</s> |
CREATE TABLE table_name_30 (country VARCHAR, points INTEGER) | SELECT country FROM table_name_30 WHERE points > 12 | What is Country, when Points are more than 12? | <s>[INST]What is Country, when Points are more than 12? Context: CREATE TABLE table_name_30 (country VARCHAR, points INTEGER)[/INST]SELECT country FROM table_name_30 WHERE points > 12</s> |
CREATE TABLE table_name_59 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_59 WHERE winning_score = 68 - 65 - 65 - 68 = 266 | When the Winning score is 68-65-65-68=266, what is the Margin of victory? | <s>[INST]When the Winning score is 68-65-65-68=266, what is the Margin of victory? Context: CREATE TABLE table_name_59 (margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_59 WHERE winning_score = 68 - 65 - 65 - 68 = 266</s> |
CREATE TABLE table_1342013_10 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_1342013_10 WHERE first_elected = 1914 | Which party had a person who has been in the seat since 1914? | <s>[INST]Which party had a person who has been in the seat since 1914? Context: CREATE TABLE table_1342013_10 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_1342013_10 WHERE first_elected = 1914</s> |
CREATE TABLE table_11964047_7 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_11964047_7 WHERE record = "25–18" | who are all the visitor with a record of 25–18 | <s>[INST]who are all the visitor with a record of 25–18 Context: CREATE TABLE table_11964047_7 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_11964047_7 WHERE record = "25–18"</s> |
CREATE TABLE table_name_53 (difference VARCHAR, position VARCHAR) | SELECT difference FROM table_name_53 WHERE position = 5 | What is the goal Difference at Position 5? | <s>[INST]What is the goal Difference at Position 5? Context: CREATE TABLE table_name_53 (difference VARCHAR, position VARCHAR)[/INST]SELECT difference FROM table_name_53 WHERE position = 5</s> |
CREATE TABLE settlements (settlement_amount INTEGER) | SELECT SUM(settlement_amount), AVG(settlement_amount) FROM settlements | Find the total and average amount of settlements. | <s>[INST]Find the total and average amount of settlements. Context: CREATE TABLE settlements (settlement_amount INTEGER)[/INST]SELECT SUM(settlement_amount), AVG(settlement_amount) FROM settlements</s> |
CREATE TABLE table_14903355_2 (men_doubles VARCHAR, year VARCHAR) | SELECT COUNT(men_doubles) FROM table_14903355_2 WHERE year = 2007 | Name the number of men doubles for 2007 | <s>[INST]Name the number of men doubles for 2007 Context: CREATE TABLE table_14903355_2 (men_doubles VARCHAR, year VARCHAR)[/INST]SELECT COUNT(men_doubles) FROM table_14903355_2 WHERE year = 2007</s> |
CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19" | What was the incumbent for texas 19? | <s>[INST]What was the incumbent for texas 19? Context: CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19"</s> |
CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars" | What is the Attendance of the game against Jacksonville Jaguars? | <s>[INST]What is the Attendance of the game against Jacksonville Jaguars? Context: CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_53 WHERE opponent = "jacksonville jaguars"</s> |
CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR) | SELECT branding FROM table_name_35 WHERE callsign = "dxre" | What is the brand of DXRE? | <s>[INST]What is the brand of DXRE? Context: CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR)[/INST]SELECT branding FROM table_name_35 WHERE callsign = "dxre"</s> |
CREATE TABLE table_name_38 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_38 WHERE opponent = "daniel gimeno-traver" | What is Score, when Opponent is "Daniel Gimeno-Traver"? | <s>[INST]What is Score, when Opponent is "Daniel Gimeno-Traver"? Context: CREATE TABLE table_name_38 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE opponent = "daniel gimeno-traver"</s> |
CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_51 WHERE score = 72 - 70 - 67 = 209 | What is the place of the player with a 72-70-67=209 score? | <s>[INST]What is the place of the player with a 72-70-67=209 score? Context: CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_51 WHERE score = 72 - 70 - 67 = 209</s> |
CREATE TABLE Aircraft (distance INTEGER) | SELECT MIN(distance), AVG(distance), MAX(distance) FROM Aircraft | What is the minimum, average, and maximum distance of all aircrafts. | <s>[INST]What is the minimum, average, and maximum distance of all aircrafts. Context: CREATE TABLE Aircraft (distance INTEGER)[/INST]SELECT MIN(distance), AVG(distance), MAX(distance) FROM Aircraft</s> |
CREATE TABLE table_name_1 (reversal_symmetry VARCHAR, clone_independence VARCHAR, non_dictatorship VARCHAR, consistency_ VARCHAR, _participation VARCHAR) | SELECT reversal_symmetry FROM table_name_1 WHERE non_dictatorship = "yes" AND consistency_ & _participation = "no" AND clone_independence = "yes" | what is the reversal symmetry when non-dictatorship is yes, consistency & participation is no, and clone independence is yes? | <s>[INST]what is the reversal symmetry when non-dictatorship is yes, consistency & participation is no, and clone independence is yes? Context: CREATE TABLE table_name_1 (reversal_symmetry VARCHAR, clone_independence VARCHAR, non_dictatorship VARCHAR, consistency_ VARCHAR, _participation VARCHAR)[/INST]SELECT reversal_symmetry FROM table_name_1 WHERE non_dictatorship = "yes" AND consistency_ & _participation = "no" AND clone_independence = "yes"</s> |
CREATE TABLE table_name_36 (record VARCHAR, game_site VARCHAR, date VARCHAR) | SELECT record FROM table_name_36 WHERE game_site = "candlestick park" AND date = "october 12, 2008" | What record has candlestick park as the game site, and october 12, 2008 as the date? | <s>[INST]What record has candlestick park as the game site, and october 12, 2008 as the date? Context: CREATE TABLE table_name_36 (record VARCHAR, game_site VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_36 WHERE game_site = "candlestick park" AND date = "october 12, 2008"</s> |
CREATE TABLE table_name_29 (start_date VARCHAR, party VARCHAR, end_date VARCHAR) | SELECT start_date FROM table_name_29 WHERE party = "lsap" AND end_date = "present day" | Name the start date with lsap and end date of present day | <s>[INST]Name the start date with lsap and end date of present day Context: CREATE TABLE table_name_29 (start_date VARCHAR, party VARCHAR, end_date VARCHAR)[/INST]SELECT start_date FROM table_name_29 WHERE party = "lsap" AND end_date = "present day"</s> |
CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 2007 FROM table_name_84 WHERE 2011 = "1r" AND 2010 = "1r" | What is the 2007 value with 1r in 2011 and 1r in 2010? | <s>[INST]What is the 2007 value with 1r in 2011 and 1r in 2010? Context: CREATE TABLE table_name_84 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_84 WHERE 2011 = "1r" AND 2010 = "1r"</s> |
CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR) | SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "Vince Carter (24)" | When vince carter (24) has the highest points how many teams are there? | <s>[INST]When vince carter (24) has the highest points how many teams are there? Context: CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)[/INST]SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "Vince Carter (24)"</s> |
CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-3" | Who was the opponent when the score was 6-3, 6-3? | <s>[INST]Who was the opponent when the score was 6-3, 6-3? Context: CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-3"</s> |
CREATE TABLE table_name_26 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_26 WHERE venue = "jinan" | What is the result of the game played at Jinan? | <s>[INST]What is the result of the game played at Jinan? Context: CREATE TABLE table_name_26 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_26 WHERE venue = "jinan"</s> |
CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_53 WHERE opponent = "new england patriots" | How many people attended the game played with the New England Patriots as opponents? | <s>[INST]How many people attended the game played with the New England Patriots as opponents? Context: CREATE TABLE table_name_53 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_53 WHERE opponent = "new england patriots"</s> |
CREATE TABLE song (f_id VARCHAR, genre_is VARCHAR, song_name VARCHAR); CREATE TABLE files (duration VARCHAR, file_size VARCHAR, formats VARCHAR, f_id VARCHAR) | SELECT T1.duration, T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.genre_is = "pop" ORDER BY T2.song_name | List the duration, file size and format of songs whose genre is pop, ordered by title? | <s>[INST]List the duration, file size and format of songs whose genre is pop, ordered by title? Context: CREATE TABLE song (f_id VARCHAR, genre_is VARCHAR, song_name VARCHAR); CREATE TABLE files (duration VARCHAR, file_size VARCHAR, formats VARCHAR, f_id VARCHAR)[/INST]SELECT T1.duration, T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.genre_is = "pop" ORDER BY T2.song_name</s> |
CREATE TABLE table_name_86 (election_date INTEGER, number_of_deputies VARCHAR, number_of_votes_received VARCHAR) | SELECT AVG(election_date) FROM table_name_86 WHERE number_of_deputies < 136 AND number_of_votes_received = "1,560,753" | What was the average election year that has less than 136 deputies, and 1,560,753 votes received? | <s>[INST]What was the average election year that has less than 136 deputies, and 1,560,753 votes received? Context: CREATE TABLE table_name_86 (election_date INTEGER, number_of_deputies VARCHAR, number_of_votes_received VARCHAR)[/INST]SELECT AVG(election_date) FROM table_name_86 WHERE number_of_deputies < 136 AND number_of_votes_received = "1,560,753"</s> |
CREATE TABLE table_name_96 (batting_partners VARCHAR, fielding_team VARCHAR, season VARCHAR) | SELECT batting_partners FROM table_name_96 WHERE fielding_team = "india" AND season = "1997" | Who were the batting partners that played for India in 1997? | <s>[INST]Who were the batting partners that played for India in 1997? Context: CREATE TABLE table_name_96 (batting_partners VARCHAR, fielding_team VARCHAR, season VARCHAR)[/INST]SELECT batting_partners FROM table_name_96 WHERE fielding_team = "india" AND season = "1997"</s> |
CREATE TABLE table_name_55 (download VARCHAR, catch_up_period VARCHAR) | SELECT download FROM table_name_55 WHERE catch_up_period = "varies" | What is the download of the varies catch-up period? | <s>[INST]What is the download of the varies catch-up period? Context: CREATE TABLE table_name_55 (download VARCHAR, catch_up_period VARCHAR)[/INST]SELECT download FROM table_name_55 WHERE catch_up_period = "varies"</s> |
CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER) | SELECT MAX(clock_rate__mhz_) FROM table_142573_1 | Name the maximum clock rate mhz | <s>[INST]Name the maximum clock rate mhz Context: CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER)[/INST]SELECT MAX(clock_rate__mhz_) FROM table_142573_1</s> |
CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" | What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? | <s>[INST]What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? Context: CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev"</s> |
CREATE TABLE table_name_82 (length VARCHAR, race VARCHAR) | SELECT length FROM table_name_82 WHERE race = "6 hours of talladega" | What is the length of the 6 Hours of Talladega? | <s>[INST]What is the length of the 6 Hours of Talladega? Context: CREATE TABLE table_name_82 (length VARCHAR, race VARCHAR)[/INST]SELECT length FROM table_name_82 WHERE race = "6 hours of talladega"</s> |
CREATE TABLE table_name_16 (manager VARCHAR, club VARCHAR) | SELECT manager FROM table_name_16 WHERE club = "stenhousemuir" | Who is the manager of the Stenhousemuir club? | <s>[INST]Who is the manager of the Stenhousemuir club? Context: CREATE TABLE table_name_16 (manager VARCHAR, club VARCHAR)[/INST]SELECT manager FROM table_name_16 WHERE club = "stenhousemuir"</s> |
CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR) | SELECT SUM(silver) FROM table_name_83 WHERE total = 11 | How many silvers are there with a total of 11? | <s>[INST]How many silvers are there with a total of 11? Context: CREATE TABLE table_name_83 (silver INTEGER, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_83 WHERE total = 11</s> |
CREATE TABLE table_29289372_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR) | SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74" | When 82.74 is the area in kilometers squared what is the pop.density (per km2)? | <s>[INST]When 82.74 is the area in kilometers squared what is the pop.density (per km2)? Context: CREATE TABLE table_29289372_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)[/INST]SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74"</s> |
CREATE TABLE table_17360840_6 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_17360840_6 WHERE date = "December 27" | Who was the opponent on December 27? | <s>[INST]Who was the opponent on December 27? Context: CREATE TABLE table_17360840_6 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_17360840_6 WHERE date = "December 27"</s> |
CREATE TABLE table_name_42 (format VARCHAR, location VARCHAR) | SELECT format FROM table_name_42 WHERE location = "taipei" | What event did he compete in at Taipei? | <s>[INST]What event did he compete in at Taipei? Context: CREATE TABLE table_name_42 (format VARCHAR, location VARCHAR)[/INST]SELECT format FROM table_name_42 WHERE location = "taipei"</s> |
CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR) | SELECT winners FROM table_name_34 WHERE runners_up = "np cooper av cooke" | Who won when np cooper av cooke was runner up? | <s>[INST]Who won when np cooper av cooke was runner up? Context: CREATE TABLE table_name_34 (winners VARCHAR, runners_up VARCHAR)[/INST]SELECT winners FROM table_name_34 WHERE runners_up = "np cooper av cooke"</s> |
CREATE TABLE table_181892_4 (year VARCHAR, race_status VARCHAR) | SELECT year FROM table_181892_4 WHERE race_status = "Piston" | What year(s) was the race status piston? | <s>[INST]What year(s) was the race status piston? Context: CREATE TABLE table_181892_4 (year VARCHAR, race_status VARCHAR)[/INST]SELECT year FROM table_181892_4 WHERE race_status = "Piston"</s> |
CREATE TABLE table_name_46 (highest_point VARCHAR, country VARCHAR) | SELECT highest_point FROM table_name_46 WHERE country = "south ossetia" | What is the most points for South Ossetia? | <s>[INST]What is the most points for South Ossetia? Context: CREATE TABLE table_name_46 (highest_point VARCHAR, country VARCHAR)[/INST]SELECT highest_point FROM table_name_46 WHERE country = "south ossetia"</s> |
CREATE TABLE table_256286_40 (type VARCHAR, yes_votes VARCHAR) | SELECT type FROM table_256286_40 WHERE yes_votes = 175932 | What was the type when there were 175932 yes votes? | <s>[INST]What was the type when there were 175932 yes votes? Context: CREATE TABLE table_256286_40 (type VARCHAR, yes_votes VARCHAR)[/INST]SELECT type FROM table_256286_40 WHERE yes_votes = 175932</s> |
CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR) | SELECT class FROM table_name_61 WHERE part_2 = "*hēt" | What was the class when part 2 was *hēt? | <s>[INST]What was the class when part 2 was *hēt? Context: CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR)[/INST]SELECT class FROM table_name_61 WHERE part_2 = "*hēt"</s> |
CREATE TABLE table_name_27 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_27 WHERE game_site = "jeppesen stadium" | Which Date has a Game site of jeppesen stadium? | <s>[INST]Which Date has a Game site of jeppesen stadium? Context: CREATE TABLE table_name_27 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE game_site = "jeppesen stadium"</s> |
CREATE TABLE table_24649082_1 (production_code VARCHAR, written_by VARCHAR) | SELECT production_code FROM table_24649082_1 WHERE written_by = "J. H. Wyman & Jeff Pinkner" | What is the production code for the episode written by J. H. Wyman & Jeff Pinkner? | <s>[INST]What is the production code for the episode written by J. H. Wyman & Jeff Pinkner? Context: CREATE TABLE table_24649082_1 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT production_code FROM table_24649082_1 WHERE written_by = "J. H. Wyman & Jeff Pinkner"</s> |
CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR) | SELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = "26 (ii) …63 (ii) , 188–193" | What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193? | <s>[INST]What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193? Context: CREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)[/INST]SELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = "26 (ii) …63 (ii) , 188–193"</s> |
CREATE TABLE table_name_1 (catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_1 WHERE label = "columbia" AND date = "december 11, 2007" AND region = "canada" | What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada? | <s>[INST]What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada? Context: CREATE TABLE table_name_1 (catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_1 WHERE label = "columbia" AND date = "december 11, 2007" AND region = "canada"</s> |
CREATE TABLE table_name_37 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_37 WHERE venue = "glenferrie oval" | Who was the home side at glenferrie oval? | <s>[INST]Who was the home side at glenferrie oval? Context: CREATE TABLE table_name_37 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_37 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_10748727_1 (season VARCHAR, team_name VARCHAR) | SELECT season FROM table_10748727_1 WHERE team_name = "ART Grand Prix" | What years did art grand prix compete? | <s>[INST]What years did art grand prix compete? Context: CREATE TABLE table_10748727_1 (season VARCHAR, team_name VARCHAR)[/INST]SELECT season FROM table_10748727_1 WHERE team_name = "ART Grand Prix"</s> |
CREATE TABLE table_name_15 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18 | What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18? | <s>[INST]What is the largest grid with a Driver of ralph firman, and a Lap smaller than 18? Context: CREATE TABLE table_name_15 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_15 WHERE driver = "ralph firman" AND laps < 18</s> |
CREATE TABLE member (address VARCHAR) | SELECT COUNT(*), address FROM member GROUP BY address | Find the number of members living in each address. | <s>[INST]Find the number of members living in each address. Context: CREATE TABLE member (address VARCHAR)[/INST]SELECT COUNT(*), address FROM member GROUP BY address</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.