context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
---|---|---|---|
CREATE TABLE table_name_29 (tries_against VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_name_29 WHERE points_against = "961" | How many tries against were there when there was 961 points against? | <s>[INST]How many tries against were there when there was 961 points against? Context: CREATE TABLE table_name_29 (tries_against VARCHAR, points_against VARCHAR)[/INST]SELECT tries_against FROM table_name_29 WHERE points_against = "961"</s> |
CREATE TABLE table_name_40 (rank INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MIN(rank) FROM table_name_40 WHERE nation = "great britain" AND bronze < 1 | What is the lowest Rank, when Nation is Great Britain, and when Bronze is less than 1? | <s>[INST]What is the lowest Rank, when Nation is Great Britain, and when Bronze is less than 1? Context: CREATE TABLE table_name_40 (rank INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_40 WHERE nation = "great britain" AND bronze < 1</s> |
CREATE TABLE Faculty (building VARCHAR) | SELECT building FROM Faculty GROUP BY building ORDER BY COUNT(*) DESC LIMIT 1 | Which building has most faculty members? | <s>[INST]Which building has most faculty members? Context: CREATE TABLE Faculty (building VARCHAR)[/INST]SELECT building FROM Faculty GROUP BY building ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR) | SELECT production_code FROM table_2226817_4 WHERE original_air_date = "November 27, 1988" | Name the production code for november 27, 1988 | <s>[INST]Name the production code for november 27, 1988 Context: CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR)[/INST]SELECT production_code FROM table_2226817_4 WHERE original_air_date = "November 27, 1988"</s> |
CREATE TABLE table_name_96 (purpose VARCHAR, location VARCHAR, name VARCHAR) | SELECT purpose FROM table_name_96 WHERE location = "enewetak, runit (yvonne)" AND name = "cactus" | Which Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus? | <s>[INST]Which Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus? Context: CREATE TABLE table_name_96 (purpose VARCHAR, location VARCHAR, name VARCHAR)[/INST]SELECT purpose FROM table_name_96 WHERE location = "enewetak, runit (yvonne)" AND name = "cactus"</s> |
CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR) | SELECT engine FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR" | When shinya nakano's kawasaki ninja zx-rr is the example what is the engine type? | <s>[INST]When shinya nakano's kawasaki ninja zx-rr is the example what is the engine type? Context: CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR)[/INST]SELECT engine FROM table_22915134_2 WHERE example = "Shinya Nakano's Kawasaki Ninja ZX-RR"</s> |
CREATE TABLE table_name_11 (name VARCHAR, length VARCHAR, time VARCHAR) | SELECT name FROM table_name_11 WHERE length = "16.62km" AND time = "15:10" | What is the Name of the stage with a Length of 16.62km and Time of 15:10? | <s>[INST]What is the Name of the stage with a Length of 16.62km and Time of 15:10? Context: CREATE TABLE table_name_11 (name VARCHAR, length VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_11 WHERE length = "16.62km" AND time = "15:10"</s> |
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion" | Who was the away team when Brighton & Hove Albion was home? | <s>[INST]Who was the away team when Brighton & Hove Albion was home? Context: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion"</s> |
CREATE TABLE table_name_10 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_10 WHERE away_team = "richmond" | Where did Richmond play? | <s>[INST]Where did Richmond play? Context: CREATE TABLE table_name_10 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_10 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_88 (type VARCHAR, release_date VARCHAR) | SELECT type FROM table_name_88 WHERE release_date = "november 30, 1997" | Which Type has a Release date of november 30, 1997? | <s>[INST]Which Type has a Release date of november 30, 1997? Context: CREATE TABLE table_name_88 (type VARCHAR, release_date VARCHAR)[/INST]SELECT type FROM table_name_88 WHERE release_date = "november 30, 1997"</s> |
CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR) | SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6 | What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds? | <s>[INST]What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds? Context: CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR)[/INST]SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6</s> |
CREATE TABLE table_name_46 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_46 WHERE away_team = "west ham united" | What score has west ham united as the away team? | <s>[INST]What score has west ham united as the away team? Context: CREATE TABLE table_name_46 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE away_team = "west ham united"</s> |
CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_43 WHERE date = "september 14" | what was the score on september 14 | <s>[INST]what was the score on september 14 Context: CREATE TABLE table_name_43 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE date = "september 14"</s> |
CREATE TABLE table_11694832_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_11694832_1 WHERE us_viewers__millions_ = "2.06" | Who directed the show that was viewed by 2.06 million U.S. people? | <s>[INST]Who directed the show that was viewed by 2.06 million U.S. people? Context: CREATE TABLE table_11694832_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_11694832_1 WHERE us_viewers__millions_ = "2.06"</s> |
CREATE TABLE table_name_61 (name VARCHAR, location VARCHAR) | SELECT name FROM table_name_61 WHERE location = "jewellery quarter" | What is the name of the building at the Jewellery quarter? | <s>[INST]What is the name of the building at the Jewellery quarter? Context: CREATE TABLE table_name_61 (name VARCHAR, location VARCHAR)[/INST]SELECT name FROM table_name_61 WHERE location = "jewellery quarter"</s> |
CREATE TABLE table_255188_1 (founded INTEGER, institution VARCHAR) | SELECT MAX(founded) FROM table_255188_1 WHERE institution = "Piedmont College" | When was Piedmont College founded? | <s>[INST]When was Piedmont College founded? Context: CREATE TABLE table_255188_1 (founded INTEGER, institution VARCHAR)[/INST]SELECT MAX(founded) FROM table_255188_1 WHERE institution = "Piedmont College"</s> |
CREATE TABLE table_name_3 (Id VARCHAR) | SELECT 2012 FROM table_name_3 WHERE 2009 = "mini" | What is the 2012 with a mini in 2009? | <s>[INST]What is the 2012 with a mini in 2009? Context: CREATE TABLE table_name_3 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_3 WHERE 2009 = "mini"</s> |
CREATE TABLE table_20996923_25 (round__number INTEGER, player VARCHAR) | SELECT MIN(round__number) FROM table_20996923_25 WHERE player = "Sherrick McManis" | What was Sherrick McManis's earliest round? | <s>[INST]What was Sherrick McManis's earliest round? Context: CREATE TABLE table_20996923_25 (round__number INTEGER, player VARCHAR)[/INST]SELECT MIN(round__number) FROM table_20996923_25 WHERE player = "Sherrick McManis"</s> |
CREATE TABLE table_name_98 (class VARCHAR, built_as VARCHAR) | SELECT class FROM table_name_98 WHERE built_as = "dlg-23" | Where the built as is DLG-23, what is the class? | <s>[INST]Where the built as is DLG-23, what is the class? Context: CREATE TABLE table_name_98 (class VARCHAR, built_as VARCHAR)[/INST]SELECT class FROM table_name_98 WHERE built_as = "dlg-23"</s> |
CREATE TABLE table_name_94 (Id VARCHAR) | SELECT 1984 FROM table_name_94 WHERE 1979 = "1r" | What is 1984, when 1979 is "1R"? | <s>[INST]What is 1984, when 1979 is "1R"? Context: CREATE TABLE table_name_94 (Id VARCHAR)[/INST]SELECT 1984 FROM table_name_94 WHERE 1979 = "1r"</s> |
CREATE TABLE table_16390576_3 (no_in_season INTEGER, directed_by VARCHAR) | SELECT MAX(no_in_season) FROM table_16390576_3 WHERE directed_by = "Jamie Babbit" | what is the latest episode in season 2 directed by jamie babbit? | <s>[INST]what is the latest episode in season 2 directed by jamie babbit? Context: CREATE TABLE table_16390576_3 (no_in_season INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_16390576_3 WHERE directed_by = "Jamie Babbit"</s> |
CREATE TABLE table_23248910_9 (score VARCHAR, record VARCHAR) | SELECT score FROM table_23248910_9 WHERE record = "46-25" | What is every score with a record of 46-25? | <s>[INST]What is every score with a record of 46-25? Context: CREATE TABLE table_23248910_9 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_23248910_9 WHERE record = "46-25"</s> |
CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, cyrillic_name VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE cyrillic_name = "Футог" | How many 2011 populations have a Cyrillic name of футог? | <s>[INST]How many 2011 populations have a Cyrillic name of футог? Context: CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, cyrillic_name VARCHAR)[/INST]SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE cyrillic_name = "Футог"</s> |
CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR) | SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha" | Who was the winner when Mateus Rocha finished in 3rd place? | <s>[INST]Who was the winner when Mateus Rocha finished in 3rd place? Context: CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR)[/INST]SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha"</s> |
CREATE TABLE table_name_37 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_37 WHERE home = "dallas" | Name the visitor for home of dallas | <s>[INST]Name the visitor for home of dallas Context: CREATE TABLE table_name_37 (visitor VARCHAR, home VARCHAR)[/INST]SELECT visitor FROM table_name_37 WHERE home = "dallas"</s> |
CREATE TABLE table_name_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR) | SELECT total FROM table_name_26 WHERE set_2 = "20–25" AND score = "1–3" | Which Total has a Set 2 of 20–25, and a Score of 1–3? | <s>[INST]Which Total has a Set 2 of 20–25, and a Score of 1–3? Context: CREATE TABLE table_name_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR)[/INST]SELECT total FROM table_name_26 WHERE set_2 = "20–25" AND score = "1–3"</s> |
CREATE TABLE table_225205_4 (successor VARCHAR, reason_for_change VARCHAR) | SELECT successor FROM table_225205_4 WHERE reason_for_change = "Died November 11, 1845" | Who is the successor when the reason for change is died November 11, 1845? | <s>[INST]Who is the successor when the reason for change is died November 11, 1845? Context: CREATE TABLE table_225205_4 (successor VARCHAR, reason_for_change VARCHAR)[/INST]SELECT successor FROM table_225205_4 WHERE reason_for_change = "Died November 11, 1845"</s> |
CREATE TABLE table_name_96 (record VARCHAR, method VARCHAR, time VARCHAR) | SELECT record FROM table_name_96 WHERE method = "submission (triangle choke)" AND time = "0:48" | What is Record, when Method is "submission (triangle choke)", and when Time is 0:48? | <s>[INST]What is Record, when Method is "submission (triangle choke)", and when Time is 0:48? Context: CREATE TABLE table_name_96 (record VARCHAR, method VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_96 WHERE method = "submission (triangle choke)" AND time = "0:48"</s> |
CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR) | SELECT venue FROM table_name_68 WHERE club = "dixie derby girls" | Which venue hosted the Dixie Derby Girls? | <s>[INST]Which venue hosted the Dixie Derby Girls? Context: CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR)[/INST]SELECT venue FROM table_name_68 WHERE club = "dixie derby girls"</s> |
CREATE TABLE table_name_47 (track VARCHAR, race_winner VARCHAR) | SELECT track FROM table_name_47 WHERE race_winner = "scott lagasse jr." | Tell me the track for scott lagasse jr. | <s>[INST]Tell me the track for scott lagasse jr. Context: CREATE TABLE table_name_47 (track VARCHAR, race_winner VARCHAR)[/INST]SELECT track FROM table_name_47 WHERE race_winner = "scott lagasse jr."</s> |
CREATE TABLE table_name_56 (time VARCHAR, country VARCHAR, lane VARCHAR) | SELECT COUNT(time) FROM table_name_56 WHERE country = "bolivia" AND lane > 6 | For how long did Bolivia have a lane greater than 6? | <s>[INST]For how long did Bolivia have a lane greater than 6? Context: CREATE TABLE table_name_56 (time VARCHAR, country VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(time) FROM table_name_56 WHERE country = "bolivia" AND lane > 6</s> |
CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, country VARCHAR) | SELECT score FROM table_name_20 WHERE place = "t6" AND country = "paraguay" | Which Score has a Place of t6, and a Country of paraguay? | <s>[INST]Which Score has a Place of t6, and a Country of paraguay? Context: CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_20 WHERE place = "t6" AND country = "paraguay"</s> |
CREATE TABLE table_name_58 (tries_for VARCHAR) | SELECT tries_for FROM table_name_58 WHERE "club" = "club" | What are the tries for a club of a club? | <s>[INST]What are the tries for a club of a club? Context: CREATE TABLE table_name_58 (tries_for VARCHAR)[/INST]SELECT tries_for FROM table_name_58 WHERE "club" = "club"</s> |
CREATE TABLE table_name_72 (water_park VARCHAR, rank VARCHAR) | SELECT water_park FROM table_name_72 WHERE rank = 20 | what is the water park with the rank 20? | <s>[INST]what is the water park with the rank 20? Context: CREATE TABLE table_name_72 (water_park VARCHAR, rank VARCHAR)[/INST]SELECT water_park FROM table_name_72 WHERE rank = 20</s> |
CREATE TABLE customers (customer_email VARCHAR, customer_name VARCHAR, payment_method VARCHAR) | SELECT customer_email, customer_name FROM customers WHERE payment_method = 'Visa' | List the names and emails of customers who payed by Visa card. | <s>[INST]List the names and emails of customers who payed by Visa card. Context: CREATE TABLE customers (customer_email VARCHAR, customer_name VARCHAR, payment_method VARCHAR)[/INST]SELECT customer_email, customer_name FROM customers WHERE payment_method = 'Visa'</s> |
CREATE TABLE table_2562572_7 (population__1991_ INTEGER, cyrillic_name VARCHAR) | SELECT MIN(population__1991_) FROM table_2562572_7 WHERE cyrillic_name = "Панчево" | What is the population (1991) when cyrillic name is панчево? | <s>[INST]What is the population (1991) when cyrillic name is панчево? Context: CREATE TABLE table_2562572_7 (population__1991_ INTEGER, cyrillic_name VARCHAR)[/INST]SELECT MIN(population__1991_) FROM table_2562572_7 WHERE cyrillic_name = "Панчево"</s> |
CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR) | SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana" | What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana? | <s>[INST]What is the total number of Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana? Context: CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR)[/INST]SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana"</s> |
CREATE TABLE table_name_63 (power__kw_ VARCHAR, coverage VARCHAR) | SELECT power__kw_ FROM table_name_63 WHERE coverage = "general santos" | What is the power in kW corresponding to the station that covers General Santos? | <s>[INST]What is the power in kW corresponding to the station that covers General Santos? Context: CREATE TABLE table_name_63 (power__kw_ VARCHAR, coverage VARCHAR)[/INST]SELECT power__kw_ FROM table_name_63 WHERE coverage = "general santos"</s> |
CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE postseason (wins INTEGER, team_id_winner VARCHAR) | SELECT MAX(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' | List the maximum scores of the team Boston Red Stockings when the team won in postseason? | <s>[INST]List the maximum scores of the team Boston Red Stockings when the team won in postseason? Context: CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE postseason (wins INTEGER, team_id_winner VARCHAR)[/INST]SELECT MAX(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'</s> |
CREATE TABLE table_name_11 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_11 WHERE date = "december 10, 1963" | What is the Location with a Date that is december 10, 1963? | <s>[INST]What is the Location with a Date that is december 10, 1963? Context: CREATE TABLE table_name_11 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_11 WHERE date = "december 10, 1963"</s> |
CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR) | SELECT podiums FROM table_10420426_1 WHERE points = 144 | What is the podium for 144 points? | <s>[INST]What is the podium for 144 points? Context: CREATE TABLE table_10420426_1 (podiums VARCHAR, points VARCHAR)[/INST]SELECT podiums FROM table_10420426_1 WHERE points = 144</s> |
CREATE TABLE table_name_55 (mississippi_st VARCHAR, alabama VARCHAR) | SELECT mississippi_st FROM table_name_55 WHERE alabama = "cornelius bennett" | Who was the Mississippi State player associated with Cornelius Bennett? | <s>[INST]Who was the Mississippi State player associated with Cornelius Bennett? Context: CREATE TABLE table_name_55 (mississippi_st VARCHAR, alabama VARCHAR)[/INST]SELECT mississippi_st FROM table_name_55 WHERE alabama = "cornelius bennett"</s> |
CREATE TABLE table_29301050_1 (train_name VARCHAR, train_number VARCHAR) | SELECT COUNT(train_name) FROM table_29301050_1 WHERE train_number = 99808 | how many trains have the number 99808 | <s>[INST]how many trains have the number 99808 Context: CREATE TABLE table_29301050_1 (train_name VARCHAR, train_number VARCHAR)[/INST]SELECT COUNT(train_name) FROM table_29301050_1 WHERE train_number = 99808</s> |
CREATE TABLE table_27615520_1 (form_factor VARCHAR, product_name VARCHAR) | SELECT form_factor FROM table_27615520_1 WHERE product_name = "RamSan-630" | List the range distroration for the ramsan-630 | <s>[INST]List the range distroration for the ramsan-630 Context: CREATE TABLE table_27615520_1 (form_factor VARCHAR, product_name VARCHAR)[/INST]SELECT form_factor FROM table_27615520_1 WHERE product_name = "RamSan-630"</s> |
CREATE TABLE table_name_50 (score VARCHAR, player VARCHAR, tries VARCHAR) | SELECT COUNT(score) FROM table_name_50 WHERE player = "jaco coetzee" AND tries > 6 | Player of jaco coetzee, and a Tries larger than 6 had what total number of score? | <s>[INST]Player of jaco coetzee, and a Tries larger than 6 had what total number of score? Context: CREATE TABLE table_name_50 (score VARCHAR, player VARCHAR, tries VARCHAR)[/INST]SELECT COUNT(score) FROM table_name_50 WHERE player = "jaco coetzee" AND tries > 6</s> |
CREATE TABLE table_1467951_4 (release_date INTEGER) | SELECT MAX(release_date) FROM table_1467951_4 | What is the most recent release date? | <s>[INST]What is the most recent release date? Context: CREATE TABLE table_1467951_4 (release_date INTEGER)[/INST]SELECT MAX(release_date) FROM table_1467951_4</s> |
CREATE TABLE table_name_67 (date VARCHAR, race VARCHAR) | SELECT date FROM table_name_67 WHERE race = "italian grand prix" | Name the date for the italian grand prix | <s>[INST]Name the date for the italian grand prix Context: CREATE TABLE table_name_67 (date VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE race = "italian grand prix"</s> |
CREATE TABLE table_name_69 (away VARCHAR, ground VARCHAR, time VARCHAR) | SELECT away FROM table_name_69 WHERE ground = "humber college north" AND time = "12:00" | With the Ground of Humber College North at 12:00, what was the Away? | <s>[INST]With the Ground of Humber College North at 12:00, what was the Away? Context: CREATE TABLE table_name_69 (away VARCHAR, ground VARCHAR, time VARCHAR)[/INST]SELECT away FROM table_name_69 WHERE ground = "humber college north" AND time = "12:00"</s> |
CREATE TABLE table_11447995_2 (ben_tahir VARCHAR, bello VARCHAR) | SELECT ben_tahir FROM table_11447995_2 WHERE bello = "51" | What is Ben-Tahir when Bello is 51? | <s>[INST]What is Ben-Tahir when Bello is 51? Context: CREATE TABLE table_11447995_2 (ben_tahir VARCHAR, bello VARCHAR)[/INST]SELECT ben_tahir FROM table_11447995_2 WHERE bello = "51"</s> |
CREATE TABLE exhibition (ticket_price INTEGER); CREATE TABLE exhibition (theme VARCHAR, artist_id VARCHAR, ticket_price INTEGER); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR) | SELECT T1.theme, T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.ticket_price > (SELECT AVG(ticket_price) FROM exhibition) | What is the theme and artist name for the exhibition with a ticket price higher than the average? | <s>[INST]What is the theme and artist name for the exhibition with a ticket price higher than the average? Context: CREATE TABLE exhibition (ticket_price INTEGER); CREATE TABLE exhibition (theme VARCHAR, artist_id VARCHAR, ticket_price INTEGER); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)[/INST]SELECT T1.theme, T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.ticket_price > (SELECT AVG(ticket_price) FROM exhibition)</s> |
CREATE TABLE table_20942925_1 (directed_by VARCHAR, _number VARCHAR) | SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15 | How many directors for #15? | <s>[INST]How many directors for #15? Context: CREATE TABLE table_20942925_1 (directed_by VARCHAR, _number VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15</s> |
CREATE TABLE table_name_28 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT rank FROM table_name_28 WHERE bronze < 17 AND silver > 1 AND gold < 1 | Tell me the rank for bronze less than 17 and gold less than 1 | <s>[INST]Tell me the rank for bronze less than 17 and gold less than 1 Context: CREATE TABLE table_name_28 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT rank FROM table_name_28 WHERE bronze < 17 AND silver > 1 AND gold < 1</s> |
CREATE TABLE table_name_56 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_56 WHERE record = "3–2" | What was the loss of the game when the record was 3–2? | <s>[INST]What was the loss of the game when the record was 3–2? Context: CREATE TABLE table_name_56 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_56 WHERE record = "3–2"</s> |
CREATE TABLE table_name_45 (Id VARCHAR) | SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r" | What is the 1999 for an A 1991, and a 1r 1997? | <s>[INST]What is the 1999 for an A 1991, and a 1r 1997? Context: CREATE TABLE table_name_45 (Id VARCHAR)[/INST]SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r"</s> |
CREATE TABLE table_name_7 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR) | SELECT shooter FROM table_name_7 WHERE event = "wc rio de janeiro" AND rank_points = "10" | Who is the shooter at the WC Rio De Janeiro event with 10 rank points? | <s>[INST]Who is the shooter at the WC Rio De Janeiro event with 10 rank points? Context: CREATE TABLE table_name_7 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)[/INST]SELECT shooter FROM table_name_7 WHERE event = "wc rio de janeiro" AND rank_points = "10"</s> |
CREATE TABLE table_name_41 (mls_team VARCHAR, player VARCHAR) | SELECT mls_team FROM table_name_41 WHERE player = "jimmy frazelle" | What team does Jimmy Frazelle play on? | <s>[INST]What team does Jimmy Frazelle play on? Context: CREATE TABLE table_name_41 (mls_team VARCHAR, player VARCHAR)[/INST]SELECT mls_team FROM table_name_41 WHERE player = "jimmy frazelle"</s> |
CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR) | SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3 | What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3? | <s>[INST]What are the highest number of games played that had game starts of 10, receptions of 6 and fumbles smaller than 3? Context: CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR)[/INST]SELECT MAX(games_played) FROM table_name_9 WHERE receptions = 6 AND games_started = 10 AND fumbles < 3</s> |
CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR) | SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran" | Which TV network has a country of origin of Iran? | <s>[INST]Which TV network has a country of origin of Iran? Context: CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR)[/INST]SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran"</s> |
CREATE TABLE table_name_71 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_71 WHERE record = "46-59" | What was the loss when the record was 46-59? | <s>[INST]What was the loss when the record was 46-59? Context: CREATE TABLE table_name_71 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_71 WHERE record = "46-59"</s> |
CREATE TABLE table_17058116_6 (date VARCHAR, team VARCHAR) | SELECT date FROM table_17058116_6 WHERE team = "Charlotte" | What day did the team play charlotte? | <s>[INST]What day did the team play charlotte? Context: CREATE TABLE table_17058116_6 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_17058116_6 WHERE team = "Charlotte"</s> |
CREATE TABLE table_26464364_1 (us_air_date VARCHAR, _number VARCHAR) | SELECT us_air_date FROM table_26464364_1 WHERE _number = 18 | On which date did episode # 18 air in the U.S.? | <s>[INST]On which date did episode # 18 air in the U.S.? Context: CREATE TABLE table_26464364_1 (us_air_date VARCHAR, _number VARCHAR)[/INST]SELECT us_air_date FROM table_26464364_1 WHERE _number = 18</s> |
CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_38 WHERE away_team = "melbourne" | Who played Melbourne as the home team? | <s>[INST]Who played Melbourne as the home team? Context: CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_38 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_21 (surface VARCHAR, support_category VARCHAR, round VARCHAR) | SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 5 | Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5? | <s>[INST]Which Surface has a Support Category of jwrc/pwrc, and a Round larger than 5? Context: CREATE TABLE table_name_21 (surface VARCHAR, support_category VARCHAR, round VARCHAR)[/INST]SELECT surface FROM table_name_21 WHERE support_category = "jwrc/pwrc" AND round > 5</s> |
CREATE TABLE table_name_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_30 WHERE college_junior_club_team = "university of wisconsin (wcha)" AND player = "bob lundeen" | What is the Nationality for the university of wisconsin (wcha), and a Player of bob lundeen? | <s>[INST]What is the Nationality for the university of wisconsin (wcha), and a Player of bob lundeen? Context: CREATE TABLE table_name_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_30 WHERE college_junior_club_team = "university of wisconsin (wcha)" AND player = "bob lundeen"</s> |
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_96 WHERE week > 8 AND attendance = "72,190" | Who was the opponent after week 8 that had 72,190 people in attendance? | <s>[INST]Who was the opponent after week 8 that had 72,190 people in attendance? Context: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_96 WHERE week > 8 AND attendance = "72,190"</s> |
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_75 WHERE opponent = "at seattle mariners" | When has an Opponent of at Seattle mariners? | <s>[INST]When has an Opponent of at Seattle mariners? Context: CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE opponent = "at seattle mariners"</s> |
CREATE TABLE table_name_13 (class VARCHAR, wins VARCHAR, points VARCHAR) | SELECT class FROM table_name_13 WHERE wins > 0 AND points = 42 | What class has over 0 wins and 42 points? | <s>[INST]What class has over 0 wins and 42 points? Context: CREATE TABLE table_name_13 (class VARCHAR, wins VARCHAR, points VARCHAR)[/INST]SELECT class FROM table_name_13 WHERE wins > 0 AND points = 42</s> |
CREATE TABLE table_1447085_1 (county VARCHAR, number_of_households VARCHAR) | SELECT county FROM table_1447085_1 WHERE number_of_households = 2053 | What county has 2053 households? | <s>[INST]What county has 2053 households? Context: CREATE TABLE table_1447085_1 (county VARCHAR, number_of_households VARCHAR)[/INST]SELECT county FROM table_1447085_1 WHERE number_of_households = 2053</s> |
CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR) | SELECT COUNT(bronze) FROM table_name_86 WHERE rank < 2 AND gold < 1 | What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1? | <s>[INST]What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1? Context: CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_86 WHERE rank < 2 AND gold < 1</s> |
CREATE TABLE table_name_37 (nation VARCHAR, record VARCHAR) | SELECT nation FROM table_name_37 WHERE record = "7.39" | What is the Nation with a Record that is 7.39? | <s>[INST]What is the Nation with a Record that is 7.39? Context: CREATE TABLE table_name_37 (nation VARCHAR, record VARCHAR)[/INST]SELECT nation FROM table_name_37 WHERE record = "7.39"</s> |
CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR) | SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100" | What is the interface of the product xerox travel scanner 100? | <s>[INST]What is the interface of the product xerox travel scanner 100? Context: CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR)[/INST]SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100"</s> |
CREATE TABLE table_15185133_1 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT no_in_season FROM table_15185133_1 WHERE written_by = "John O'Bryan" AND directed_by = "Ethan Spaulding" | What season has an episode written by john o'bryan and directed by ethan spaulding? | <s>[INST]What season has an episode written by john o'bryan and directed by ethan spaulding? Context: CREATE TABLE table_15185133_1 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT no_in_season FROM table_15185133_1 WHERE written_by = "John O'Bryan" AND directed_by = "Ethan Spaulding"</s> |
CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_39 WHERE venue = "mcg" | What did the home team score at MCG? | <s>[INST]What did the home team score at MCG? Context: CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_39 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_6 (Id VARCHAR) | SELECT 1997 FROM table_name_6 WHERE 1994 = "qf" AND 1999 = "1r" | What 1997, has qf as a 1994, and 1r as a 1999? | <s>[INST]What 1997, has qf as a 1994, and 1r as a 1999? Context: CREATE TABLE table_name_6 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_6 WHERE 1994 = "qf" AND 1999 = "1r"</s> |
CREATE TABLE table_name_82 (year INTEGER, best_finish VARCHAR) | SELECT MIN(year) FROM table_name_82 WHERE best_finish = "t-65" | what is the earliest year with the best finish t-65? | <s>[INST]what is the earliest year with the best finish t-65? Context: CREATE TABLE table_name_82 (year INTEGER, best_finish VARCHAR)[/INST]SELECT MIN(year) FROM table_name_82 WHERE best_finish = "t-65"</s> |
CREATE TABLE table_23184448_3 (date VARCHAR, location VARCHAR) | SELECT COUNT(date) FROM table_23184448_3 WHERE location = "Cedar Falls, Iowa" | On how many different dates did the team play a game in Cedar Falls, Iowa? | <s>[INST]On how many different dates did the team play a game in Cedar Falls, Iowa? Context: CREATE TABLE table_23184448_3 (date VARCHAR, location VARCHAR)[/INST]SELECT COUNT(date) FROM table_23184448_3 WHERE location = "Cedar Falls, Iowa"</s> |
CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR); CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR) | SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000 | What are the order dates of orders with price higher than 1000? | <s>[INST]What are the order dates of orders with price higher than 1000? Context: CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR); CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR)[/INST]SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000</s> |
CREATE TABLE table_name_75 (laps INTEGER, rider VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_75 WHERE rider = "olivier jacque" AND grid > 7 | How many Laps have Rider of olivier jacque, and a Grid larger than 7? | <s>[INST]How many Laps have Rider of olivier jacque, and a Grid larger than 7? Context: CREATE TABLE table_name_75 (laps INTEGER, rider VARCHAR, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_75 WHERE rider = "olivier jacque" AND grid > 7</s> |
CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR) | SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis" | What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"? | <s>[INST]What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"? Context: CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis"</s> |
CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR) | SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 1 | How many episodes have the season number of 1? | <s>[INST]How many episodes have the season number of 1? Context: CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR)[/INST]SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 1</s> |
CREATE TABLE table_name_61 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_61 WHERE constituency_number = "1" | Which Name has a Constituency number of 1? | <s>[INST]Which Name has a Constituency number of 1? Context: CREATE TABLE table_name_61 (name VARCHAR, constituency_number VARCHAR)[/INST]SELECT name FROM table_name_61 WHERE constituency_number = "1"</s> |
CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR) | SELECT city___state FROM table_name_85 WHERE race_title = "oran park" | What is the City/State of the Oran Park race? | <s>[INST]What is the City/State of the Oran Park race? Context: CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR)[/INST]SELECT city___state FROM table_name_85 WHERE race_title = "oran park"</s> |
CREATE TABLE table_name_64 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR) | SELECT COUNT(total_goals) FROM table_name_64 WHERE league_cup_apps = "2" AND fa_cup_goals < 0 | What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals? | <s>[INST]What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals? Context: CREATE TABLE table_name_64 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR)[/INST]SELECT COUNT(total_goals) FROM table_name_64 WHERE league_cup_apps = "2" AND fa_cup_goals < 0</s> |
CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR) | SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series" | What is the number of region 4 for the series of the complete seventh series? | <s>[INST]What is the number of region 4 for the series of the complete seventh series? Context: CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)[/INST]SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series"</s> |
CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR) | SELECT control FROM table_2076522_2 WHERE accreditation = "The Higher Learning Commission ( NCA ), CCNE" | What is the control for the school accredited by the higher learning commission ( nca ), ccne? | <s>[INST]What is the control for the school accredited by the higher learning commission ( nca ), ccne? Context: CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR)[/INST]SELECT control FROM table_2076522_2 WHERE accreditation = "The Higher Learning Commission ( NCA ), CCNE"</s> |
CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_12 WHERE date = "july 2" | What's the opponent for July 2? | <s>[INST]What's the opponent for July 2? Context: CREATE TABLE table_name_12 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_12 WHERE date = "july 2"</s> |
CREATE TABLE table_1963459_2 (year INTEGER, average_speed__mph_ VARCHAR) | SELECT MAX(year) FROM table_1963459_2 WHERE average_speed__mph_ = "145.24" | What year was the average speed 145.24 | <s>[INST]What year was the average speed 145.24 Context: CREATE TABLE table_1963459_2 (year INTEGER, average_speed__mph_ VARCHAR)[/INST]SELECT MAX(year) FROM table_1963459_2 WHERE average_speed__mph_ = "145.24"</s> |
CREATE TABLE table_name_76 (no_8 VARCHAR, no_10 VARCHAR) | SELECT no_8 FROM table_name_76 WHERE no_10 = "hunter" | What is No. 8, when No. 10 is Hunter? | <s>[INST]What is No. 8, when No. 10 is Hunter? Context: CREATE TABLE table_name_76 (no_8 VARCHAR, no_10 VARCHAR)[/INST]SELECT no_8 FROM table_name_76 WHERE no_10 = "hunter"</s> |
CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_76 WHERE venue = "arden street oval" | Which away team has a venue of Arden Street Oval? | <s>[INST]Which away team has a venue of Arden Street Oval? Context: CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_76 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_name_10 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_10 WHERE score = 72 - 73 - 67 - 72 = 284 | What is the name of the player when the Score was 72-73-67-72=284? | <s>[INST]What is the name of the player when the Score was 72-73-67-72=284? Context: CREATE TABLE table_name_10 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_10 WHERE score = 72 - 73 - 67 - 72 = 284</s> |
CREATE TABLE table_name_53 (vote__percentage INTEGER, election VARCHAR) | SELECT MAX(vote__percentage) FROM table_name_53 WHERE election = "1946" | Name the most vote % with election of 1946 | <s>[INST]Name the most vote % with election of 1946 Context: CREATE TABLE table_name_53 (vote__percentage INTEGER, election VARCHAR)[/INST]SELECT MAX(vote__percentage) FROM table_name_53 WHERE election = "1946"</s> |
CREATE TABLE table_name_72 (gold VARCHAR, bronze INTEGER) | SELECT COUNT(gold) FROM table_name_72 WHERE bronze > 16 | Hold many gold had more than 16 bronzes? | <s>[INST]Hold many gold had more than 16 bronzes? Context: CREATE TABLE table_name_72 (gold VARCHAR, bronze INTEGER)[/INST]SELECT COUNT(gold) FROM table_name_72 WHERE bronze > 16</s> |
CREATE TABLE table_12454156_1 (winner VARCHAR, losing_hand VARCHAR) | SELECT winner FROM table_12454156_1 WHERE losing_hand = "Ah 7s" | Who is the winner where the losing hand is Ah 7s? | <s>[INST]Who is the winner where the losing hand is Ah 7s? Context: CREATE TABLE table_12454156_1 (winner VARCHAR, losing_hand VARCHAR)[/INST]SELECT winner FROM table_12454156_1 WHERE losing_hand = "Ah 7s"</s> |
CREATE TABLE table_name_72 (oilers_points INTEGER, opponent VARCHAR, opponents VARCHAR) | SELECT MAX(oilers_points) FROM table_name_72 WHERE opponent = "san francisco 49ers" AND opponents > 19 | Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19? | <s>[INST]Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19? Context: CREATE TABLE table_name_72 (oilers_points INTEGER, opponent VARCHAR, opponents VARCHAR)[/INST]SELECT MAX(oilers_points) FROM table_name_72 WHERE opponent = "san francisco 49ers" AND opponents > 19</s> |
CREATE TABLE table_name_82 (edition_s_ VARCHAR, region VARCHAR) | SELECT edition_s_ FROM table_name_82 WHERE region = "germany" | What is the Edition of the release in Germany? | <s>[INST]What is the Edition of the release in Germany? Context: CREATE TABLE table_name_82 (edition_s_ VARCHAR, region VARCHAR)[/INST]SELECT edition_s_ FROM table_name_82 WHERE region = "germany"</s> |
CREATE TABLE table_name_84 (year VARCHAR, machine VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_84 WHERE machine = "rg500" AND points > 17 | In what Year did the RG500 Machine have more than 17 Points? | <s>[INST]In what Year did the RG500 Machine have more than 17 Points? Context: CREATE TABLE table_name_84 (year VARCHAR, machine VARCHAR, points VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_84 WHERE machine = "rg500" AND points > 17</s> |
CREATE TABLE table_name_84 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) | SELECT venue FROM table_name_84 WHERE against < 18 AND opposing_team = "north auckland" | Which venue had an against score smaller than 18 when the opposing team was North Auckland? | <s>[INST]Which venue had an against score smaller than 18 when the opposing team was North Auckland? Context: CREATE TABLE table_name_84 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR)[/INST]SELECT venue FROM table_name_84 WHERE against < 18 AND opposing_team = "north auckland"</s> |
CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR) | SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states" | Who is from the united states, has a rank less than 9, and heat more than 5? | <s>[INST]Who is from the united states, has a rank less than 9, and heat more than 5? Context: CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)[/INST]SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states"</s> |
CREATE TABLE table_name_2 (mixed_doubles VARCHAR, year INTEGER) | SELECT mixed_doubles FROM table_name_2 WHERE year > 2011 | Which mixed doubles happened later than 2011? | <s>[INST]Which mixed doubles happened later than 2011? Context: CREATE TABLE table_name_2 (mixed_doubles VARCHAR, year INTEGER)[/INST]SELECT mixed_doubles FROM table_name_2 WHERE year > 2011</s> |
CREATE TABLE table_name_11 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR) | SELECT MAX(top_25) FROM table_name_11 WHERE events < 22 AND top_10 > 1 | What is the highest top-25 of the tournament with less than 22 events and more than 1 top-10? | <s>[INST]What is the highest top-25 of the tournament with less than 22 events and more than 1 top-10? Context: CREATE TABLE table_name_11 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR)[/INST]SELECT MAX(top_25) FROM table_name_11 WHERE events < 22 AND top_10 > 1</s> |