context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR) | SELECT division_record FROM table_name_26 WHERE team = "spartans" | What division record did the Spartans hold? | <s>[INST]What division record did the Spartans hold? Context: CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)[/INST]SELECT division_record FROM table_name_26 WHERE team = "spartans"</s> |
CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_78 WHERE place = "4" | Which Score has a Place of 4? | <s>[INST]Which Score has a Place of 4? Context: CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE place = "4"</s> |
CREATE TABLE table_25561038_1 (races VARCHAR, points VARCHAR) | SELECT COUNT(races) FROM table_25561038_1 WHERE points = "15" | How many series awarded 15 points? | <s>[INST]How many series awarded 15 points? Context: CREATE TABLE table_25561038_1 (races VARCHAR, points VARCHAR)[/INST]SELECT COUNT(races) FROM table_25561038_1 WHERE points = "15"</s> |
CREATE TABLE table_name_92 (matches VARCHAR, draws VARCHAR, wins VARCHAR) | SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "1" | How many matches were played when there was 1 draw and 1 win? | <s>[INST]How many matches were played when there was 1 draw and 1 win? Context: CREATE TABLE table_name_92 (matches VARCHAR, draws VARCHAR, wins VARCHAR)[/INST]SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "1"</s> |
CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR) | SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name LIKE '%Smith%' | Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to. | <s>[INST]Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to. Context: CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR); CREATE TABLE projects (name VARCHAR, code VARCHAR)[/INST]SELECT T2.name FROM assignedto AS T... |
CREATE TABLE table_name_91 (rank INTEGER, worldwide_gross VARCHAR) | SELECT SUM(rank) FROM table_name_91 WHERE worldwide_gross = "$1,084,439,099" | How many ranks have $1,084,439,099 as the worldwide gross? | <s>[INST]How many ranks have $1,084,439,099 as the worldwide gross? Context: CREATE TABLE table_name_91 (rank INTEGER, worldwide_gross VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_91 WHERE worldwide_gross = "$1,084,439,099"</s> |
CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR, total_w_l VARCHAR) | SELECT COUNT(singles_w_l) FROM table_10023387_1 WHERE doubles_w_l = "0–0" AND total_w_l = "3–1" | what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1 | <s>[INST]what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1 Context: CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR, total_w_l VARCHAR)[/INST]SELECT COUNT(singles_w_l) FROM table_10023387_1 WHERE doubles_w_l = "0–0" AND total_w_l = "3–1"</s> |
CREATE TABLE table_name_61 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_61 WHERE event = "ufc 123" | When has an Event of ufc 123? | <s>[INST]When has an Event of ufc 123? Context: CREATE TABLE table_name_61 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_61 WHERE event = "ufc 123"</s> |
CREATE TABLE table_name_33 (top_5 INTEGER, top_25 VARCHAR, cuts_made VARCHAR) | SELECT MIN(top_5) FROM table_name_33 WHERE top_25 < 4 AND cuts_made < 7 | What is the lowest Top-5, when Top-25 is less than 4, and when Cuts made is less than 7? | <s>[INST]What is the lowest Top-5, when Top-25 is less than 4, and when Cuts made is less than 7? Context: CREATE TABLE table_name_33 (top_5 INTEGER, top_25 VARCHAR, cuts_made VARCHAR)[/INST]SELECT MIN(top_5) FROM table_name_33 WHERE top_25 < 4 AND cuts_made < 7</s> |
CREATE TABLE table_name_9 (goals_for INTEGER, draws VARCHAR, losses VARCHAR) | SELECT AVG(goals_for) FROM table_name_9 WHERE draws < 6 AND losses < 7 | WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7? | <s>[INST]WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7? Context: CREATE TABLE table_name_9 (goals_for INTEGER, draws VARCHAR, losses VARCHAR)[/INST]SELECT AVG(goals_for) FROM table_name_9 WHERE draws < 6 AND losses < 7</s> |
CREATE TABLE table_name_80 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_80 WHERE icao = "vvts" | Which country is the ICAO vvts? | <s>[INST]Which country is the ICAO vvts? Context: CREATE TABLE table_name_80 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_80 WHERE icao = "vvts"</s> |
CREATE TABLE table_name_99 (owner VARCHAR, post_position VARCHAR, jockey VARCHAR) | SELECT owner FROM table_name_99 WHERE post_position < 4 AND jockey = "todd pletcher" | Who owns the horse with a post position of less than 4 with jockey todd pletcher? | <s>[INST]Who owns the horse with a post position of less than 4 with jockey todd pletcher? Context: CREATE TABLE table_name_99 (owner VARCHAR, post_position VARCHAR, jockey VARCHAR)[/INST]SELECT owner FROM table_name_99 WHERE post_position < 4 AND jockey = "todd pletcher"</s> |
CREATE TABLE visit (num_of_ticket INTEGER) | SELECT AVG(num_of_ticket), MAX(num_of_ticket) FROM visit | What are the average and maximum number of tickets bought in all visits? | <s>[INST]What are the average and maximum number of tickets bought in all visits? Context: CREATE TABLE visit (num_of_ticket INTEGER)[/INST]SELECT AVG(num_of_ticket), MAX(num_of_ticket) FROM visit</s> |
CREATE TABLE table_name_10 (frequency__inbound_outbound_ VARCHAR, train_name VARCHAR) | SELECT frequency__inbound_outbound_ FROM table_name_10 WHERE train_name = "garib nwaz exp" | What is the frequency of the train named Garib nwaz exp? | <s>[INST]What is the frequency of the train named Garib nwaz exp? Context: CREATE TABLE table_name_10 (frequency__inbound_outbound_ VARCHAR, train_name VARCHAR)[/INST]SELECT frequency__inbound_outbound_ FROM table_name_10 WHERE train_name = "garib nwaz exp"</s> |
CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR) | SELECT MAX(no) FROM table_18198579_2 WHERE tournament = "Evian Masters" | List the total numbers of Evian Masters tournaments. | <s>[INST]List the total numbers of Evian Masters tournaments. Context: CREATE TABLE table_18198579_2 (no INTEGER, tournament VARCHAR)[/INST]SELECT MAX(no) FROM table_18198579_2 WHERE tournament = "Evian Masters"</s> |
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_20 WHERE record = "74-84" | Name the date for record of 74-84 | <s>[INST]Name the date for record of 74-84 Context: CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE record = "74-84"</s> |
CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR) | SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 january 2005" AND entrepreneur_s_ = "tracey herrtage" | Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage? | <s>[INST]Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage? Context: CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR)[/INST]SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 ja... |
CREATE TABLE table_name_42 (player VARCHAR, average VARCHAR, goals VARCHAR, caps VARCHAR) | SELECT player FROM table_name_42 WHERE goals > 8 AND caps > 75 AND average = 0.432 | Who scored more than 8 goals, had more than 75 caps, and averaged 0.432? | <s>[INST]Who scored more than 8 goals, had more than 75 caps, and averaged 0.432? Context: CREATE TABLE table_name_42 (player VARCHAR, average VARCHAR, goals VARCHAR, caps VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE goals > 8 AND caps > 75 AND average = 0.432</s> |
CREATE TABLE table_name_27 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR) | SELECT COUNT(year_s__won) FROM table_name_27 WHERE player = "ed furgol" AND to_par > 12 | What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12? | <s>[INST]What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12? Context: CREATE TABLE table_name_27 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR)[/INST]SELECT COUNT(year_s__won) FROM table_name_27 WHERE player = "ed furgol" AND to_par > 12</s> |
CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR) | SELECT share_of_votes FROM table_name_95 WHERE electors > 56 AND year > 1950 | What was the share of votes when there were more than 56 electors and the year was more recent than 1950? | <s>[INST]What was the share of votes when there were more than 56 electors and the year was more recent than 1950? Context: CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR)[/INST]SELECT share_of_votes FROM table_name_95 WHERE electors > 56 AND year > 1950</s> |
CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_8 WHERE record = "7-7-1" | Can you tell me the Opponent that has the Record of 7-7-1? | <s>[INST]Can you tell me the Opponent that has the Record of 7-7-1? Context: CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_8 WHERE record = "7-7-1"</s> |
CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR) | SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch" | When karl ridderbusch is the la roche who is the olivier? | <s>[INST]When karl ridderbusch is the la roche who is the olivier? Context: CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR)[/INST]SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch"</s> |
CREATE TABLE table_name_43 (state VARCHAR, home_venue VARCHAR) | SELECT state FROM table_name_43 WHERE home_venue = "suwon sports complex" | What is the State with a home venue of suwon sports complex? | <s>[INST]What is the State with a home venue of suwon sports complex? Context: CREATE TABLE table_name_43 (state VARCHAR, home_venue VARCHAR)[/INST]SELECT state FROM table_name_43 WHERE home_venue = "suwon sports complex"</s> |
CREATE TABLE table_2866503_1 (us_air_date VARCHAR, us_viewers__million_ VARCHAR) | SELECT us_air_date FROM table_2866503_1 WHERE us_viewers__million_ = "7.5" | What is the U.S. air date when the U.S. viewers are 7.5 million? | <s>[INST]What is the U.S. air date when the U.S. viewers are 7.5 million? Context: CREATE TABLE table_2866503_1 (us_air_date VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT us_air_date FROM table_2866503_1 WHERE us_viewers__million_ = "7.5"</s> |
CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, team VARCHAR) | SELECT date_of_appointment FROM table_16075179_6 WHERE team = "St. Johnstone" | When was the date of appointment for St. Johnstone's manager? | <s>[INST]When was the date of appointment for St. Johnstone's manager? Context: CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, team VARCHAR)[/INST]SELECT date_of_appointment FROM table_16075179_6 WHERE team = "St. Johnstone"</s> |
CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR) | SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the id and detail of the vehicle used in lessons for most of the times? | <s>[INST]What is the id and detail of the vehicle used in lessons for most of the times? Context: CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR)[/INST]SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.veh... |
CREATE TABLE table_name_1 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_1 WHERE away_team = "geelong" | What is the away team's score of the game where the away team is Geelong? | <s>[INST]What is the away team's score of the game where the away team is Geelong? Context: CREATE TABLE table_name_1 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_1 WHERE away_team = "geelong"</s> |
CREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR) | SELECT COUNT(sp) FROM table_22265261_1 WHERE position = "2nd" | What was the Sp of the 2nd Position? | <s>[INST]What was the Sp of the 2nd Position? Context: CREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR)[/INST]SELECT COUNT(sp) FROM table_22265261_1 WHERE position = "2nd"</s> |
CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR) | SELECT winning_team FROM table_name_22 WHERE name = "south pacific trophy" | Who is the winning team of the South Pacific Trophy? | <s>[INST]Who is the winning team of the South Pacific Trophy? Context: CREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR)[/INST]SELECT winning_team FROM table_name_22 WHERE name = "south pacific trophy"</s> |
CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR) | SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66 | what is the rank when the total points is more than 194, round4 is less than 64, round3 is more than 51 and round 2 is less than 66? | <s>[INST]what is the rank when the total points is more than 194, round4 is less than 64, round3 is more than 51 and round 2 is less than 66? Context: CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_72 WHERE total_p... |
CREATE TABLE table_name_23 (player VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) | SELECT player FROM table_name_23 WHERE years_of_nba_experience_[a_] = 7 | Who is the player with 7 years of NBA experience? | <s>[INST]Who is the player with 7 years of NBA experience? Context: CREATE TABLE table_name_23 (player VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)[/INST]SELECT player FROM table_name_23 WHERE years_of_nba_experience_[a_] = 7</s> |
CREATE TABLE table_27003186_3 (other VARCHAR, no_party_preference VARCHAR) | SELECT other FROM table_27003186_3 WHERE no_party_preference = "19.1%" | What is other when no party preference is 19.1%? | <s>[INST]What is other when no party preference is 19.1%? Context: CREATE TABLE table_27003186_3 (other VARCHAR, no_party_preference VARCHAR)[/INST]SELECT other FROM table_27003186_3 WHERE no_party_preference = "19.1%"</s> |
CREATE TABLE table_name_84 (competition VARCHAR, score VARCHAR, date VARCHAR) | SELECT competition FROM table_name_84 WHERE score = "2-1" AND date = "october 22, 2008" | What is Competition, when Score is "2-1", and when Date is "October 22, 2008"? | <s>[INST]What is Competition, when Score is "2-1", and when Date is "October 22, 2008"? Context: CREATE TABLE table_name_84 (competition VARCHAR, score VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_84 WHERE score = "2-1" AND date = "october 22, 2008"</s> |
CREATE TABLE table_name_34 (Giant VARCHAR, overall VARCHAR) | SELECT Giant AS slalom FROM table_name_34 WHERE overall = 25 | Which giant slalom had an Overall number of 25? | <s>[INST]Which giant slalom had an Overall number of 25? Context: CREATE TABLE table_name_34 (Giant VARCHAR, overall VARCHAR)[/INST]SELECT Giant AS slalom FROM table_name_34 WHERE overall = 25</s> |
CREATE TABLE table_name_8 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_8 WHERE record = "86-71" | what game had a score of 86-71 | <s>[INST]what game had a score of 86-71 Context: CREATE TABLE table_name_8 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_8 WHERE record = "86-71"</s> |
CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR) | SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28" | Which Lead Pitch/mm has a Part Number of tsop24/28? | <s>[INST]Which Lead Pitch/mm has a Part Number of tsop24/28? Context: CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR)[/INST]SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28"</s> |
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR) | SELECT record FROM table_name_19 WHERE round = 2 AND event = "dream 9" | What record does the event of dream 9 with a round of 2 hold? | <s>[INST]What record does the event of dream 9 with a round of 2 hold? Context: CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_19 WHERE round = 2 AND event = "dream 9"</s> |
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR) | SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Atsushi" AND t1.lname = "Ohori" | How many papers have "Atsushi Ohori" published? | <s>[INST]How many papers have "Atsushi Ohori" published? Context: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR)[/INST]SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid ... |
CREATE TABLE table_name_49 (ground VARCHAR, match VARCHAR) | SELECT ground FROM table_name_49 WHERE match = 4 | Which ground is match 4 held on? | <s>[INST]Which ground is match 4 held on? Context: CREATE TABLE table_name_49 (ground VARCHAR, match VARCHAR)[/INST]SELECT ground FROM table_name_49 WHERE match = 4</s> |
CREATE TABLE table_24565004_2 (period VARCHAR, appearances¹ VARCHAR) | SELECT period FROM table_24565004_2 WHERE appearances¹ = 380 | Name the period for appearances being 380 | <s>[INST]Name the period for appearances being 380 Context: CREATE TABLE table_24565004_2 (period VARCHAR, appearances¹ VARCHAR)[/INST]SELECT period FROM table_24565004_2 WHERE appearances¹ = 380</s> |
CREATE TABLE table_name_18 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR) | SELECT AVG(rank) FROM table_name_18 WHERE nationality = "france" AND name = "alain bernard" AND lane < 6 | Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6? | <s>[INST]Which Rank has a Nationality of france, and a Name of alain bernard, and a Lane smaller than 6? Context: CREATE TABLE table_name_18 (rank INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_18 WHERE nationality = "france" AND name = "alain bernard" AND lane < 6</s> |
CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR) | SELECT score FROM table_name_60 WHERE home = "cavaliers" AND leading_scorer = "lebron james (46)" | What is the score of the home game for the Cavaliers where Lebron James (46) was the lead scorer? | <s>[INST]What is the score of the home game for the Cavaliers where Lebron James (46) was the lead scorer? Context: CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE home = "cavaliers" AND leading_scorer = "lebron james (46)"</s> |
CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR) | SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara" | Who won the XXIV Gran Premio di Pescara in the sports car class? | <s>[INST]Who won the XXIV Gran Premio di Pescara in the sports car class? Context: CREATE TABLE table_name_81 (driver_s VARCHAR, class VARCHAR, race_title VARCHAR)[/INST]SELECT driver_s FROM table_name_81 WHERE class = "sports car" AND race_title = "xxiv gran premio di pescara"</s> |
CREATE TABLE table_name_51 (segment_d VARCHAR, episode VARCHAR) | SELECT segment_d FROM table_name_51 WHERE episode = 60 | What was the D segment for episode 60? | <s>[INST]What was the D segment for episode 60? Context: CREATE TABLE table_name_51 (segment_d VARCHAR, episode VARCHAR)[/INST]SELECT segment_d FROM table_name_51 WHERE episode = 60</s> |
CREATE TABLE table_name_76 (points_for VARCHAR, points_against VARCHAR) | SELECT points_for FROM table_name_76 WHERE points_against = "571" | What is Points For, when Points Against is 571? | <s>[INST]What is Points For, when Points Against is 571? Context: CREATE TABLE table_name_76 (points_for VARCHAR, points_against VARCHAR)[/INST]SELECT points_for FROM table_name_76 WHERE points_against = "571"</s> |
CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR) | SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05" | What is the Height of the Player with a Date of Birth of 1982-07-05? | <s>[INST]What is the Height of the Player with a Date of Birth of 1982-07-05? Context: CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR)[/INST]SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"</s> |
CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341395_22 WHERE incumbent = "Ed Markey" | Who were the candidates when ed markey was the incumbent? | <s>[INST]Who were the candidates when ed markey was the incumbent? Context: CREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341395_22 WHERE incumbent = "Ed Markey"</s> |
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER) | SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > 5 GROUP BY T1.student_id HAVING COUNT(*) >= 2 | Show the names of students who have a grade higher than 5 and have at least 2 friends. | <s>[INST]Show the names of students who have a grade higher than 5 and have at least 2 friends. Context: CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR, grade INTEGER)[/INST]SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.grade > ... |
CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR) | SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs" | Which position was selected for by the Toronto Maple Leafs? | <s>[INST]Which position was selected for by the Toronto Maple Leafs? Context: CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR)[/INST]SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs"</s> |
CREATE TABLE table_28298471_14 (team_classification VARCHAR, winner VARCHAR) | SELECT team_classification FROM table_28298471_14 WHERE winner = "Hayden Roulston" | when hayden roulston is the winner what is the team classification? | <s>[INST]when hayden roulston is the winner what is the team classification? Context: CREATE TABLE table_28298471_14 (team_classification VARCHAR, winner VARCHAR)[/INST]SELECT team_classification FROM table_28298471_14 WHERE winner = "Hayden Roulston"</s> |
CREATE TABLE people (sex VARCHAR, weight INTEGER) | SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex | how many people are there whose weight is higher than 85 for each gender? | <s>[INST]how many people are there whose weight is higher than 85 for each gender? Context: CREATE TABLE people (sex VARCHAR, weight INTEGER)[/INST]SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex</s> |
CREATE TABLE table_name_8 (presidency INTEGER, left_office VARCHAR, took_office VARCHAR) | SELECT MAX(presidency) FROM table_name_8 WHERE left_office = "1998" AND took_office > 1974 | What is the highest Presidency that Took Office after 1974 and Left Office in 1998? | <s>[INST]What is the highest Presidency that Took Office after 1974 and Left Office in 1998? Context: CREATE TABLE table_name_8 (presidency INTEGER, left_office VARCHAR, took_office VARCHAR)[/INST]SELECT MAX(presidency) FROM table_name_8 WHERE left_office = "1998" AND took_office > 1974</s> |
CREATE TABLE table_name_51 (rating INTEGER, player VARCHAR, yards VARCHAR) | SELECT AVG(rating) FROM table_name_51 WHERE player = "john kidd" AND yards > 0 | What is the average rating for john kidd with more than 0 yards? | <s>[INST]What is the average rating for john kidd with more than 0 yards? Context: CREATE TABLE table_name_51 (rating INTEGER, player VARCHAR, yards VARCHAR)[/INST]SELECT AVG(rating) FROM table_name_51 WHERE player = "john kidd" AND yards > 0</s> |
CREATE TABLE table_name_78 (venue VARCHAR, year VARCHAR) | SELECT venue FROM table_name_78 WHERE year = 1965 | Which venue hosted a tournament in 1965? | <s>[INST]Which venue hosted a tournament in 1965? Context: CREATE TABLE table_name_78 (venue VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_78 WHERE year = 1965</s> |
CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR) | SELECT launched FROM table_name_70 WHERE kanji = "栗" | What is the launch date of 栗? | <s>[INST]What is the launch date of 栗? Context: CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR)[/INST]SELECT launched FROM table_name_70 WHERE kanji = "栗"</s> |
CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19" | Who directed an episode with 1.19 million? | <s>[INST]Who directed an episode with 1.19 million? Context: CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19"</s> |
CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER) | SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code | What is the total credit does each department offer? | <s>[INST]What is the total credit does each department offer? Context: CREATE TABLE course (dept_code VARCHAR, crs_credit INTEGER)[/INST]SELECT SUM(crs_credit), dept_code FROM course GROUP BY dept_code</s> |
CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR) | SELECT assists FROM table_name_36 WHERE total_points = "2" | How many assists were there when the total points was 2? | <s>[INST]How many assists were there when the total points was 2? Context: CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR)[/INST]SELECT assists FROM table_name_36 WHERE total_points = "2"</s> |
CREATE TABLE table_name_84 (against VARCHAR, wins INTEGER) | SELECT COUNT(against) FROM table_name_84 WHERE wins > 15 | How many Againsts have more than 15 wins? | <s>[INST]How many Againsts have more than 15 wins? Context: CREATE TABLE table_name_84 (against VARCHAR, wins INTEGER)[/INST]SELECT COUNT(against) FROM table_name_84 WHERE wins > 15</s> |
CREATE TABLE table_name_69 (tries_against VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_name_69 WHERE points_against = "520" | How many tries against were there with 520 points against? | <s>[INST]How many tries against were there with 520 points against? Context: CREATE TABLE table_name_69 (tries_against VARCHAR, points_against VARCHAR)[/INST]SELECT tries_against FROM table_name_69 WHERE points_against = "520"</s> |
CREATE TABLE table_26385848_1 (main_language_s_ VARCHAR, year__ceremony_ VARCHAR) | SELECT main_language_s_ FROM table_26385848_1 WHERE year__ceremony_ = "1998 (71st)" | In the year (ceremony) 1998 (71st), what are all the main languages? | <s>[INST]In the year (ceremony) 1998 (71st), what are all the main languages? Context: CREATE TABLE table_26385848_1 (main_language_s_ VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT main_language_s_ FROM table_26385848_1 WHERE year__ceremony_ = "1998 (71st)"</s> |
CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR) | SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)" | What is the format of catalog number 886973273913 (gowow012) in the United Kingdom? | <s>[INST]What is the format of catalog number 886973273913 (gowow012) in the United Kingdom? Context: CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR)[/INST]SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)"</s> |
CREATE TABLE manufacturers (headquarter VARCHAR) | SELECT DISTINCT headquarter FROM manufacturers | What are the different cities listed? | <s>[INST]What are the different cities listed? Context: CREATE TABLE manufacturers (headquarter VARCHAR)[/INST]SELECT DISTINCT headquarter FROM manufacturers</s> |
CREATE TABLE table_name_94 (celebrity VARCHAR, entered VARCHAR, exited VARCHAR) | SELECT celebrity FROM table_name_94 WHERE entered = "day 1" AND exited = "day 20" | Who entered on day 1 and exited on day 20? | <s>[INST]Who entered on day 1 and exited on day 20? Context: CREATE TABLE table_name_94 (celebrity VARCHAR, entered VARCHAR, exited VARCHAR)[/INST]SELECT celebrity FROM table_name_94 WHERE entered = "day 1" AND exited = "day 20"</s> |
CREATE TABLE table_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR) | SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323 | What is the common name of the animal whose length (AA) is 1323? | <s>[INST]What is the common name of the animal whose length (AA) is 1323? Context: CREATE TABLE table_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR)[/INST]SELECT common_name FROM table_26957063_3 WHERE length__aa_ = 1323</s> |
CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) | SELECT nhl_team FROM table_2850912_10 WHERE player = "Michael Orn" | Which team drafted Michael Orn? | <s>[INST]Which team drafted Michael Orn? Context: CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR)[/INST]SELECT nhl_team FROM table_2850912_10 WHERE player = "Michael Orn"</s> |
CREATE TABLE table_name_31 (matches VARCHAR, goals VARCHAR) | SELECT matches FROM table_name_31 WHERE goals = 360 | How many matches had 360 goals? | <s>[INST]How many matches had 360 goals? Context: CREATE TABLE table_name_31 (matches VARCHAR, goals VARCHAR)[/INST]SELECT matches FROM table_name_31 WHERE goals = 360</s> |
CREATE TABLE table_name_25 (round VARCHAR, event VARCHAR) | SELECT COUNT(round) FROM table_name_25 WHERE event = "200 miles of norisring" | Which Round has an Event of 200 miles of norisring? | <s>[INST]Which Round has an Event of 200 miles of norisring? Context: CREATE TABLE table_name_25 (round VARCHAR, event VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_25 WHERE event = "200 miles of norisring"</s> |
CREATE TABLE table_name_25 (original_canadian_air_date VARCHAR, director VARCHAR) | SELECT original_canadian_air_date FROM table_name_25 WHERE director = "mark rydell" | What was the Original Canadian air-date for the episode directed by mark rydell? | <s>[INST]What was the Original Canadian air-date for the episode directed by mark rydell? Context: CREATE TABLE table_name_25 (original_canadian_air_date VARCHAR, director VARCHAR)[/INST]SELECT original_canadian_air_date FROM table_name_25 WHERE director = "mark rydell"</s> |
CREATE TABLE table_29434211_1 (poles VARCHAR, series VARCHAR) | SELECT poles FROM table_29434211_1 WHERE series = "European F3 Open" | How many poles does the European F3 Open series have? | <s>[INST]How many poles does the European F3 Open series have? Context: CREATE TABLE table_29434211_1 (poles VARCHAR, series VARCHAR)[/INST]SELECT poles FROM table_29434211_1 WHERE series = "European F3 Open"</s> |
CREATE TABLE table_14465871_2 (provider VARCHAR, application VARCHAR) | SELECT provider FROM table_14465871_2 WHERE application = "Exchange Server" | Which providers use exchange server? | <s>[INST]Which providers use exchange server? Context: CREATE TABLE table_14465871_2 (provider VARCHAR, application VARCHAR)[/INST]SELECT provider FROM table_14465871_2 WHERE application = "Exchange Server"</s> |
CREATE TABLE table_11960407_5 (date VARCHAR, game VARCHAR) | SELECT date FROM table_11960407_5 WHERE game = 50 | What is the date of Game 50? | <s>[INST]What is the date of Game 50? Context: CREATE TABLE table_11960407_5 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_11960407_5 WHERE game = 50</s> |
CREATE TABLE table_name_58 (bronze INTEGER, rank VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_58 WHERE rank = "3" AND total < 2 | What is the fewest bronzes for ranks of 3 with totals under 2? | <s>[INST]What is the fewest bronzes for ranks of 3 with totals under 2? Context: CREATE TABLE table_name_58 (bronze INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_58 WHERE rank = "3" AND total < 2</s> |
CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_20 WHERE team_2 = "karabakh" | What is the team 1 in the match with a team 2 of Karabakh? | <s>[INST]What is the team 1 in the match with a team 2 of Karabakh? Context: CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_20 WHERE team_2 = "karabakh"</s> |
CREATE TABLE table_name_39 (air_date VARCHAR, winner VARCHAR, challenge VARCHAR) | SELECT air_date FROM table_name_39 WHERE winner = "red" AND challenge = "emergency braking" | What air date has a red winner and an emergency braking challenge? | <s>[INST]What air date has a red winner and an emergency braking challenge? Context: CREATE TABLE table_name_39 (air_date VARCHAR, winner VARCHAR, challenge VARCHAR)[/INST]SELECT air_date FROM table_name_39 WHERE winner = "red" AND challenge = "emergency braking"</s> |
CREATE TABLE table_name_1 (pos INTEGER, dutch_cup VARCHAR, tier VARCHAR) | SELECT AVG(pos) FROM table_name_1 WHERE dutch_cup = "winner" AND tier > 1 | Which Pos has a Dutch Cup of winner, and a Tier larger than 1? | <s>[INST]Which Pos has a Dutch Cup of winner, and a Tier larger than 1? Context: CREATE TABLE table_name_1 (pos INTEGER, dutch_cup VARCHAR, tier VARCHAR)[/INST]SELECT AVG(pos) FROM table_name_1 WHERE dutch_cup = "winner" AND tier > 1</s> |
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) | SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name, COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id | Show id, first name and last name for all customers and the number of accounts. | <s>[INST]Show id, first name and last name for all customers and the number of accounts. Context: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)[/INST]SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name,... |
CREATE TABLE table_name_32 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_32 WHERE player = "mark carnevale" | What place was Mark Carnevale in? | <s>[INST]What place was Mark Carnevale in? Context: CREATE TABLE table_name_32 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_32 WHERE player = "mark carnevale"</s> |
CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan" | What is the result for thomas s. mcmillan? | <s>[INST]What is the result for thomas s. mcmillan? Context: CREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342359_39 WHERE incumbent = "Thomas S. McMillan"</s> |
CREATE TABLE table_name_15 (rarotongan VARCHAR, tahitian VARCHAR) | SELECT rarotongan FROM table_name_15 WHERE tahitian = "/metua/" | What kind of Rarotongan has a Tahitian of /metua/? | <s>[INST]What kind of Rarotongan has a Tahitian of /metua/? Context: CREATE TABLE table_name_15 (rarotongan VARCHAR, tahitian VARCHAR)[/INST]SELECT rarotongan FROM table_name_15 WHERE tahitian = "/metua/"</s> |
CREATE TABLE document_sections (document_name VARCHAR, document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR) | SELECT document_name FROM documents WHERE NOT document_code IN (SELECT document_code FROM document_sections) | Find all the name of documents without any sections. | <s>[INST]Find all the name of documents without any sections. Context: CREATE TABLE document_sections (document_name VARCHAR, document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR)[/INST]SELECT document_name FROM documents WHERE NOT document_code IN (SELECT document_code FROM docu... |
CREATE TABLE table_name_23 (shts INTEGER, club VARCHAR, mins VARCHAR) | SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700 | What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700? | <s>[INST]What is the largest number for SHTS for the San Jose earthquakes with MINS larger than 2700? Context: CREATE TABLE table_name_23 (shts INTEGER, club VARCHAR, mins VARCHAR)[/INST]SELECT MAX(shts) FROM table_name_23 WHERE club = "san jose earthquakes" AND mins > 2700</s> |
CREATE TABLE table_name_22 (award VARCHAR, category VARCHAR) | SELECT award FROM table_name_22 WHERE category = "best supporting actress" | Which award show had the category of best supporting actress? | <s>[INST]Which award show had the category of best supporting actress? Context: CREATE TABLE table_name_22 (award VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_22 WHERE category = "best supporting actress"</s> |
CREATE TABLE table_name_25 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_25 WHERE grid > 9 AND driver = "rolf stommelen" | What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driver? | <s>[INST]What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driver? Context: CREATE TABLE table_name_25 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_25 WHERE grid > 9 AND driver = "rolf stommelen"</s> |
CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR) | SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009" | What was the Result F–A on 21 February 2009, when the league position was 1st? | <s>[INST]What was the Result F–A on 21 February 2009, when the league position was 1st? Context: CREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR)[/INST]SELECT result_f_a FROM table_name_55 WHERE league_position = "1st" AND date = "21 february 2009"</s> |
CREATE TABLE table_18600760_15 (township VARCHAR, land___sqmi__ VARCHAR) | SELECT township FROM table_18600760_15 WHERE land___sqmi__ = "35.766" | Which township is 35.766 sqmi? | <s>[INST]Which township is 35.766 sqmi? Context: CREATE TABLE table_18600760_15 (township VARCHAR, land___sqmi__ VARCHAR)[/INST]SELECT township FROM table_18600760_15 WHERE land___sqmi__ = "35.766"</s> |
CREATE TABLE table_name_96 (series VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT series FROM table_name_96 WHERE visitor = "st. louis" AND date = "april 18" | What was the series score when st. louis was away on april 18? | <s>[INST]What was the series score when st. louis was away on april 18? Context: CREATE TABLE table_name_96 (series VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_96 WHERE visitor = "st. louis" AND date = "april 18"</s> |
CREATE TABLE table_name_9 (score VARCHAR, money__$_ VARCHAR) | SELECT score FROM table_name_9 WHERE money__$_ = "5,000" | What was the score of the player who earned $5,000? | <s>[INST]What was the score of the player who earned $5,000? Context: CREATE TABLE table_name_9 (score VARCHAR, money__$_ VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE money__$_ = "5,000"</s> |
CREATE TABLE table_name_54 (film VARCHAR, role VARCHAR, leading_man VARCHAR, director VARCHAR, year VARCHAR) | SELECT film FROM table_name_54 WHERE director = "william a. wellman" AND year > 1931 AND leading_man = "george brent" AND role = "joan gordon, aka francine la rue" | What film was the director william a. wellman, later than 1931 with a leading man of george brent, and a Role of joan gordon, aka francine la rue? | <s>[INST]What film was the director william a. wellman, later than 1931 with a leading man of george brent, and a Role of joan gordon, aka francine la rue? Context: CREATE TABLE table_name_54 (film VARCHAR, role VARCHAR, leading_man VARCHAR, director VARCHAR, year VARCHAR)[/INST]SELECT film FROM table_name_54 WHERE dir... |
CREATE TABLE table_name_57 (dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR) | SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = "azumino" AND name = "toyoshina ic" | What is the distance from origin in Azumino including Toyoshina IC? | <s>[INST]What is the distance from origin in Azumino including Toyoshina IC? Context: CREATE TABLE table_name_57 (dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR)[/INST]SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = "azumino" AND name = "toyoshina ic"</s> |
CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%" | What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%? | <s>[INST]What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%? Context: CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"</s> |
CREATE TABLE table_name_54 (royal_house VARCHAR, state VARCHAR) | SELECT royal_house FROM table_name_54 WHERE state = "song" | What was the Royal House for the state of Song? | <s>[INST]What was the Royal House for the state of Song? Context: CREATE TABLE table_name_54 (royal_house VARCHAR, state VARCHAR)[/INST]SELECT royal_house FROM table_name_54 WHERE state = "song"</s> |
CREATE TABLE table_19930660_1 (winner VARCHAR, first_broadcast VARCHAR) | SELECT winner FROM table_19930660_1 WHERE first_broadcast = "26 January 2009" | Name the winner for 26 january 2009 | <s>[INST]Name the winner for 26 january 2009 Context: CREATE TABLE table_19930660_1 (winner VARCHAR, first_broadcast VARCHAR)[/INST]SELECT winner FROM table_19930660_1 WHERE first_broadcast = "26 January 2009"</s> |
CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_47 WHERE name = "alex figge" | What was Alex Figge's Best? | <s>[INST]What was Alex Figge's Best? Context: CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR)[/INST]SELECT best FROM table_name_47 WHERE name = "alex figge"</s> |
CREATE TABLE table_name_60 (home_team VARCHAR, score VARCHAR) | SELECT home_team FROM table_name_60 WHERE score = "102-87" | What home team scored 102-87? | <s>[INST]What home team scored 102-87? Context: CREATE TABLE table_name_60 (home_team VARCHAR, score VARCHAR)[/INST]SELECT home_team FROM table_name_60 WHERE score = "102-87"</s> |
CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_56 WHERE race_title = "sandown" | what day was the sandown | <s>[INST]what day was the sandown Context: CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE race_title = "sandown"</s> |
CREATE TABLE table_27932399_1 (release_date VARCHAR, release_title VARCHAR) | SELECT release_date FROM table_27932399_1 WHERE release_title = "New Worlds For Old" | What is the release date of "New Worlds for Old"? | <s>[INST]What is the release date of "New Worlds for Old"? Context: CREATE TABLE table_27932399_1 (release_date VARCHAR, release_title VARCHAR)[/INST]SELECT release_date FROM table_27932399_1 WHERE release_title = "New Worlds For Old"</s> |
CREATE TABLE table_name_39 (notes VARCHAR, position VARCHAR) | SELECT notes FROM table_name_39 WHERE position = "8th" | What notes have the 8th position? | <s>[INST]What notes have the 8th position? Context: CREATE TABLE table_name_39 (notes VARCHAR, position VARCHAR)[/INST]SELECT notes FROM table_name_39 WHERE position = "8th"</s> |
CREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_43 WHERE place = "t6" AND player = "raymond floyd" | Which Score has a Place of t6, and a Player of raymond floyd? | <s>[INST]Which Score has a Place of t6, and a Player of raymond floyd? Context: CREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE place = "t6" AND player = "raymond floyd"</s> |
CREATE TABLE table_name_39 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_39 WHERE date = "december 3, 1944" | What is the smallest attendance number for December 3, 1944? | <s>[INST]What is the smallest attendance number for December 3, 1944? Context: CREATE TABLE table_name_39 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_39 WHERE date = "december 3, 1944"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.