context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_7 WHERE opponent = "new york jets" | What was the date of the game against the New York Jets? | <s>[INST]What was the date of the game against the New York Jets? Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE opponent = "new york jets"</s> |
CREATE TABLE table_1940012_2 (winning_score VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_1940012_2 WHERE tournament = "Sybase Classic" | What was the winning score in the Sybase Classic tournament? | <s>[INST]What was the winning score in the Sybase Classic tournament? Context: CREATE TABLE table_1940012_2 (winning_score VARCHAR, tournament VARCHAR)[/INST]SELECT winning_score FROM table_1940012_2 WHERE tournament = "Sybase Classic"</s> |
CREATE TABLE table_12379297_1 (coverage__transmitter_site_ VARCHAR, callsign VARCHAR, station_type VARCHAR, power__kw_ VARCHAR) | SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND power__kw_ = "5kW" AND callsign = "DYFJ-TV" | What is the coverage of relay 5kw of dyfj-tv? | <s>[INST]What is the coverage of relay 5kw of dyfj-tv? Context: CREATE TABLE table_12379297_1 (coverage__transmitter_site_ VARCHAR, callsign VARCHAR, station_type VARCHAR, power__kw_ VARCHAR)[/INST]SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND power__kw_ = "5kW" AND callsign ... |
CREATE TABLE table_name_19 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003" | What is the lowest week that has November 30, 2003 as the date? | <s>[INST]What is the lowest week that has November 30, 2003 as the date? Context: CREATE TABLE table_name_19 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003"</s> |
CREATE TABLE table_name_93 (power VARCHAR, city_of_license VARCHAR) | SELECT power FROM table_name_93 WHERE city_of_license = "sioux lookout" | What is Power, when City of License is Sioux Lookout? | <s>[INST]What is Power, when City of License is Sioux Lookout? Context: CREATE TABLE table_name_93 (power VARCHAR, city_of_license VARCHAR)[/INST]SELECT power FROM table_name_93 WHERE city_of_license = "sioux lookout"</s> |
CREATE TABLE table_1341472_49 (first_elected INTEGER, district VARCHAR) | SELECT MIN(first_elected) FROM table_1341472_49 WHERE district = "Washington 7" | what being the minimum first elected with district being washington 7 | <s>[INST]what being the minimum first elected with district being washington 7 Context: CREATE TABLE table_1341472_49 (first_elected INTEGER, district VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341472_49 WHERE district = "Washington 7"</s> |
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR, home VARCHAR, decision VARCHAR) | SELECT date FROM table_name_93 WHERE home = "tampa bay" AND decision = "ramo" AND record = "24–27–6" | What was the date of the 24–27–6 Lightning home game against Tampa Bay that had a decision of Ramo? | <s>[INST]What was the date of the 24–27–6 Lightning home game against Tampa Bay that had a decision of Ramo? Context: CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR, home VARCHAR, decision VARCHAR)[/INST]SELECT date FROM table_name_93 WHERE home = "tampa bay" AND decision = "ramo" AND record = "24–27–6"</s> |
CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_76 WHERE goal = 34 | What day has 34 goals? | <s>[INST]What day has 34 goals? Context: CREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE goal = 34</s> |
CREATE TABLE table_name_67 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT player FROM table_name_67 WHERE money___$__ = "450" AND score = 76 - 74 - 74 - 72 = 296 | Which player has $450 and a score of 76-74-74-72=296? | <s>[INST]Which player has $450 and a score of 76-74-74-72=296? Context: CREATE TABLE table_name_67 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE money___$__ = "450" AND score = 76 - 74 - 74 - 72 = 296</s> |
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, salary VARCHAR, department_id VARCHAR) | SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%' ORDER BY department_id | display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M and make the result set in ascending order by department number. | <s>[INST]display the full name (first and last), hire date, salary, and department number for those employees whose first name does not containing the letter M and make the result set in ascending order by department number. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, sala... |
CREATE TABLE table_name_83 (rank INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(rank) FROM table_name_83 WHERE bronze < 1 AND total < 1 | what is the highest rank when the bronze is less than 1 and the total is less than 1? | <s>[INST]what is the highest rank when the bronze is less than 1 and the total is less than 1? Context: CREATE TABLE table_name_83 (rank INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_83 WHERE bronze < 1 AND total < 1</s> |
CREATE TABLE table_name_44 (game INTEGER, opponent VARCHAR, november VARCHAR) | SELECT MAX(game) FROM table_name_44 WHERE opponent = "chicago black hawks" AND november < 16 | What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16? | <s>[INST]What is the highest Game, when Opponent is "Chicago Black Hawks", and when November is less than 16? Context: CREATE TABLE table_name_44 (game INTEGER, opponent VARCHAR, november VARCHAR)[/INST]SELECT MAX(game) FROM table_name_44 WHERE opponent = "chicago black hawks" AND november < 16</s> |
CREATE TABLE table_name_98 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_98 WHERE competition = "venice marathon" | Which Venue has a Competition of venice marathon? | <s>[INST]Which Venue has a Competition of venice marathon? Context: CREATE TABLE table_name_98 (venue VARCHAR, competition VARCHAR)[/INST]SELECT venue FROM table_name_98 WHERE competition = "venice marathon"</s> |
CREATE TABLE table_name_22 (area__hectare_ VARCHAR, parish VARCHAR) | SELECT area__hectare_ FROM table_name_22 WHERE parish = "worth" | What is the area for Worth Parish? | <s>[INST]What is the area for Worth Parish? Context: CREATE TABLE table_name_22 (area__hectare_ VARCHAR, parish VARCHAR)[/INST]SELECT area__hectare_ FROM table_name_22 WHERE parish = "worth"</s> |
CREATE TABLE table_name_9 (writer VARCHAR, actual_title VARCHAR, artist VARCHAR, issue VARCHAR) | SELECT writer FROM table_name_9 WHERE artist = "mort drucker" AND issue > 470 AND actual_title = "law & order: svu" | What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title? | <s>[INST]What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title? Context: CREATE TABLE table_name_9 (writer VARCHAR, actual_title VARCHAR, artist VARCHAR, issue VARCHAR)[/INST]SELECT writer FROM table_name_9 WHERE artist = "mort drucker" AND issue > 470 AND actual... |
CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR) | SELECT MIN(touchdowns) FROM table_25711913_2 WHERE position = "Fullback" | What was the minimum touchdowns of the Fullback player? | <s>[INST]What was the minimum touchdowns of the Fullback player? Context: CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)[/INST]SELECT MIN(touchdowns) FROM table_25711913_2 WHERE position = "Fullback"</s> |
CREATE TABLE table_name_93 (pos INTEGER, h_a_n VARCHAR, inn VARCHAR) | SELECT AVG(pos) FROM table_name_93 WHERE h_a_n = "neutral" AND inn > 2 | What is the position with a neutral H/A/N and more than 2 innings? | <s>[INST]What is the position with a neutral H/A/N and more than 2 innings? Context: CREATE TABLE table_name_93 (pos INTEGER, h_a_n VARCHAR, inn VARCHAR)[/INST]SELECT AVG(pos) FROM table_name_93 WHERE h_a_n = "neutral" AND inn > 2</s> |
CREATE TABLE table_22705586_1 (number INTEGER) | SELECT MIN(number) FROM table_22705586_1 | Name the least number | <s>[INST]Name the least number Context: CREATE TABLE table_22705586_1 (number INTEGER)[/INST]SELECT MIN(number) FROM table_22705586_1</s> |
CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR) | SELECT date FROM table_name_44 WHERE course = "rome to florence" | What is the date of the Rome to Florence course? | <s>[INST]What is the date of the Rome to Florence course? Context: CREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)[/INST]SELECT date FROM table_name_44 WHERE course = "rome to florence"</s> |
CREATE TABLE table_name_45 (streak VARCHAR, attendance VARCHAR) | SELECT streak FROM table_name_45 WHERE attendance = "33,013" | Which streak had an attendance of 33,013? | <s>[INST]Which streak had an attendance of 33,013? Context: CREATE TABLE table_name_45 (streak VARCHAR, attendance VARCHAR)[/INST]SELECT streak FROM table_name_45 WHERE attendance = "33,013"</s> |
CREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR) | SELECT mintage FROM table_name_93 WHERE artist = "suzanne duranceau" | How many coins by Suzanne Duranceau were minted? | <s>[INST]How many coins by Suzanne Duranceau were minted? Context: CREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR)[/INST]SELECT mintage FROM table_name_93 WHERE artist = "suzanne duranceau"</s> |
CREATE TABLE table_27218002_1 (directed_by VARCHAR, originalairdate VARCHAR) | SELECT directed_by FROM table_27218002_1 WHERE originalairdate = "12 July 2010" | Name who directed the air date of 12 july 2010 | <s>[INST]Name who directed the air date of 12 july 2010 Context: CREATE TABLE table_27218002_1 (directed_by VARCHAR, originalairdate VARCHAR)[/INST]SELECT directed_by FROM table_27218002_1 WHERE originalairdate = "12 July 2010"</s> |
CREATE TABLE table_name_33 (production_company VARCHAR, rank VARCHAR, film VARCHAR) | SELECT production_company FROM table_name_33 WHERE rank = "nominated" AND film = "badmouth" | What was the production company for the nominated film, Badmouth? | <s>[INST]What was the production company for the nominated film, Badmouth? Context: CREATE TABLE table_name_33 (production_company VARCHAR, rank VARCHAR, film VARCHAR)[/INST]SELECT production_company FROM table_name_33 WHERE rank = "nominated" AND film = "badmouth"</s> |
CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_43 WHERE date = "february 25" | What is the home team that played on February 25? | <s>[INST]What is the home team that played on February 25? Context: CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_43 WHERE date = "february 25"</s> |
CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_99 WHERE country = "trinidad and tobago" | Where did Trinidad and Tobago play? | <s>[INST]Where did Trinidad and Tobago play? Context: CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_99 WHERE country = "trinidad and tobago"</s> |
CREATE TABLE table_14058433_4 (drawn VARCHAR, lost VARCHAR) | SELECT drawn FROM table_14058433_4 WHERE lost = "4" | what's the drawn with lost being 4 | <s>[INST]what's the drawn with lost being 4 Context: CREATE TABLE table_14058433_4 (drawn VARCHAR, lost VARCHAR)[/INST]SELECT drawn FROM table_14058433_4 WHERE lost = "4"</s> |
CREATE TABLE table_name_79 (closed VARCHAR, name VARCHAR) | SELECT closed FROM table_name_79 WHERE name = "caphouse colliery" | What year did the Caphouse Colliery railway close? | <s>[INST]What year did the Caphouse Colliery railway close? Context: CREATE TABLE table_name_79 (closed VARCHAR, name VARCHAR)[/INST]SELECT closed FROM table_name_79 WHERE name = "caphouse colliery"</s> |
CREATE TABLE table_name_48 (_percentage__1960_ INTEGER, county VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) | SELECT SUM(_percentage__1960_) FROM table_name_48 WHERE _percentage__2040_ < 100 AND _percentage__2000_ < 4.7 AND county = "troms" | What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7? | <s>[INST]What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7? Context: CREATE TABLE table_name_48 (_percentage__1960_ INTEGER, county VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR)[/INST]SELECT SUM(_percentage__1960_) FROM table_name_48 WHERE _percentag... |
CREATE TABLE table_name_27 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR) | SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_27 WHERE club = "cruz azul" | What is the highest Number of seasons in Liga MX for Club cruz azul? | <s>[INST]What is the highest Number of seasons in Liga MX for Club cruz azul? Context: CREATE TABLE table_name_27 (number_of_seasons_in_liga_mx INTEGER, club VARCHAR)[/INST]SELECT MAX(number_of_seasons_in_liga_mx) FROM table_name_27 WHERE club = "cruz azul"</s> |
CREATE TABLE table_name_68 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_68 WHERE player = "mike souchak" | What is Place, when Player is "Mike Souchak"? | <s>[INST]What is Place, when Player is "Mike Souchak"? Context: CREATE TABLE table_name_68 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_68 WHERE player = "mike souchak"</s> |
CREATE TABLE table_27755603_10 (team VARCHAR, date VARCHAR) | SELECT team FROM table_27755603_10 WHERE date = "March 18" | Who was the team on March 18? | <s>[INST]Who was the team on March 18? Context: CREATE TABLE table_27755603_10 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_27755603_10 WHERE date = "March 18"</s> |
CREATE TABLE products (product_price INTEGER) | SELECT MIN(product_price), MAX(product_price), AVG(product_price) FROM products | Show the minimum, maximum, average price for all products. | <s>[INST]Show the minimum, maximum, average price for all products. Context: CREATE TABLE products (product_price INTEGER)[/INST]SELECT MIN(product_price), MAX(product_price), AVG(product_price) FROM products</s> |
CREATE TABLE table_1912276_2 (__750m VARCHAR, __250m VARCHAR) | SELECT __750m FROM table_1912276_2 WHERE __250m = "18.852" | If the -250m is 18.852, what is the | <s>[INST]If the -250m is 18.852, what is the Context: CREATE TABLE table_1912276_2 (__750m VARCHAR, __250m VARCHAR)[/INST]SELECT __750m FROM table_1912276_2 WHERE __250m = "18.852"</s> |
CREATE TABLE table_name_34 (site VARCHAR, result VARCHAR) | SELECT site FROM table_name_34 WHERE result = "l7-33" | What is the site of the game with a Result of l7-33? | <s>[INST]What is the site of the game with a Result of l7-33? Context: CREATE TABLE table_name_34 (site VARCHAR, result VARCHAR)[/INST]SELECT site FROM table_name_34 WHERE result = "l7-33"</s> |
CREATE TABLE table_name_52 (drawn INTEGER, played VARCHAR, position VARCHAR) | SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 2 | What is the lowest drawn that has a played greater than 19, with a position less than 2? | <s>[INST]What is the lowest drawn that has a played greater than 19, with a position less than 2? Context: CREATE TABLE table_name_52 (drawn INTEGER, played VARCHAR, position VARCHAR)[/INST]SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 2</s> |
CREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_38 WHERE record = "47–63" | How many people attended when the record was broken with 47–63? | <s>[INST]How many people attended when the record was broken with 47–63? Context: CREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_38 WHERE record = "47–63"</s> |
CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_26 WHERE date = "february 25" | Name the record for february 25 | <s>[INST]Name the record for february 25 Context: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_26 WHERE date = "february 25"</s> |
CREATE TABLE table_name_16 (young_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) | SELECT young_rider_classification FROM table_name_16 WHERE general_classification = "giuseppe saronni" AND stage = "6" | Name the young rider classification for giuseppe saronni at stage 6 | <s>[INST]Name the young rider classification for giuseppe saronni at stage 6 Context: CREATE TABLE table_name_16 (young_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)[/INST]SELECT young_rider_classification FROM table_name_16 WHERE general_classification = "giuseppe saronni" AND stage = "6... |
CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_39 WHERE home = "cavaliers" AND visitor = "warriors" | What date was the game played with the Cavaliers at home and the Warriors visiting? | <s>[INST]What date was the game played with the Cavaliers at home and the Warriors visiting? Context: CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE home = "cavaliers" AND visitor = "warriors"</s> |
CREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR) | SELECT COUNT(barony) FROM table_30121075_1 WHERE townland = "Derrigra" | How many entries are in barony when the townland is derrigra? | <s>[INST]How many entries are in barony when the townland is derrigra? Context: CREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR)[/INST]SELECT COUNT(barony) FROM table_30121075_1 WHERE townland = "Derrigra"</s> |
CREATE TABLE table_29997112_3 (description VARCHAR, meaning VARCHAR) | SELECT COUNT(description) FROM table_29997112_3 WHERE meaning = "Decimal Digit 2" | How many different descriptions are there for the flag that means decimal digit 2? | <s>[INST]How many different descriptions are there for the flag that means decimal digit 2? Context: CREATE TABLE table_29997112_3 (description VARCHAR, meaning VARCHAR)[/INST]SELECT COUNT(description) FROM table_29997112_3 WHERE meaning = "Decimal Digit 2"</s> |
CREATE TABLE table_1831309_1 (length_of_mandatory_secondary_school INTEGER) | SELECT MAX(length_of_mandatory_secondary_school) FROM table_1831309_1 | What is the longest length of mandatory secondary school? | <s>[INST]What is the longest length of mandatory secondary school? Context: CREATE TABLE table_1831309_1 (length_of_mandatory_secondary_school INTEGER)[/INST]SELECT MAX(length_of_mandatory_secondary_school) FROM table_1831309_1</s> |
CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) | SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–3" | Name the total number of opponent in the final for 6–2, 6–1, 6–3 | <s>[INST]Name the total number of opponent in the final for 6–2, 6–1, 6–3 Context: CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–3"</s> |
CREATE TABLE table_1008653_9 (country___exonym__ VARCHAR, country___endonym__ VARCHAR) | SELECT country___exonym__ FROM table_1008653_9 WHERE country___endonym__ = "Isle of Man Ellan Vannin" | Which country (exonym) is the country (endonym) isle of man ellan vannin? | <s>[INST]Which country (exonym) is the country (endonym) isle of man ellan vannin? Context: CREATE TABLE table_1008653_9 (country___exonym__ VARCHAR, country___endonym__ VARCHAR)[/INST]SELECT country___exonym__ FROM table_1008653_9 WHERE country___endonym__ = "Isle of Man Ellan Vannin"</s> |
CREATE TABLE table_1341453_45 (results VARCHAR, incumbent VARCHAR) | SELECT COUNT(results) FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa" | How many times did incumbent ruben hinojosa get elected? | <s>[INST]How many times did incumbent ruben hinojosa get elected? Context: CREATE TABLE table_1341453_45 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(results) FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa"</s> |
CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_72 WHERE attendance = "4,516" | When the Attendance was 4,516, what was the Record? | <s>[INST]When the Attendance was 4,516, what was the Record? Context: CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_72 WHERE attendance = "4,516"</s> |
CREATE TABLE table_1342315_4 (first_elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller" | How many first elections have Claude Fuller as incumbent? | <s>[INST]How many first elections have Claude Fuller as incumbent? Context: CREATE TABLE table_1342315_4 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"</s> |
CREATE TABLE table_name_63 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_63 WHERE iata = "ath" | Which ICAO's IATA is ath? | <s>[INST]Which ICAO's IATA is ath? Context: CREATE TABLE table_name_63 (icao VARCHAR, iata VARCHAR)[/INST]SELECT icao FROM table_name_63 WHERE iata = "ath"</s> |
CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR) | SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio" | What does Polyphenyl Ether of 3- and 4-ring oxythio look like? | <s>[INST]What does Polyphenyl Ether of 3- and 4-ring oxythio look like? Context: CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR)[/INST]SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio"</s> |
CREATE TABLE table_name_27 (matches VARCHAR, goals INTEGER) | SELECT SUM(goals) / matches FROM table_name_27 WHERE goals = 153 AND matches > 352 | How many goals/matches have 153 as the goals with matches greater than 352? | <s>[INST]How many goals/matches have 153 as the goals with matches greater than 352? Context: CREATE TABLE table_name_27 (matches VARCHAR, goals INTEGER)[/INST]SELECT SUM(goals) / matches FROM table_name_27 WHERE goals = 153 AND matches > 352</s> |
CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_79 WHERE week = 16 | What was the date of the week 16 game? | <s>[INST]What was the date of the week 16 game? Context: CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE week = 16</s> |
CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_37 WHERE date = "january 19" | What is the record for January 19? | <s>[INST]What is the record for January 19? Context: CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE date = "january 19"</s> |
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway" | What is every CFL team with the player Mark Farraway? | <s>[INST]What is every CFL team with the player Mark Farraway? Context: CREATE TABLE table_28059992_1 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway"</s> |
CREATE TABLE table_17355628_10 (location_attendance VARCHAR, high_assists VARCHAR) | SELECT location_attendance FROM table_17355628_10 WHERE high_assists = "Chucky Atkins , Russell Westbrook (4)" | Name the location attendance for chucky atkins , russell westbrook (4) | <s>[INST]Name the location attendance for chucky atkins , russell westbrook (4) Context: CREATE TABLE table_17355628_10 (location_attendance VARCHAR, high_assists VARCHAR)[/INST]SELECT location_attendance FROM table_17355628_10 WHERE high_assists = "Chucky Atkins , Russell Westbrook (4)"</s> |
CREATE TABLE table_225094_4 (reason_for_change VARCHAR, successor VARCHAR) | SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor = "Jonathan Jennings" | Name the reason for change for jonathan jennings | <s>[INST]Name the reason for change for jonathan jennings Context: CREATE TABLE table_225094_4 (reason_for_change VARCHAR, successor VARCHAR)[/INST]SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor = "Jonathan Jennings"</s> |
CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR) | SELECT team FROM table_name_55 WHERE winner = "dick johnson" | What is the team of winner Dick Johnson? | <s>[INST]What is the team of winner Dick Johnson? Context: CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR)[/INST]SELECT team FROM table_name_55 WHERE winner = "dick johnson"</s> |
CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341663_33 WHERE incumbent = "S. William Green" | What district did S. William Green belong to? | <s>[INST]What district did S. William Green belong to? Context: CREATE TABLE table_1341663_33 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341663_33 WHERE incumbent = "S. William Green"</s> |
CREATE TABLE table_name_39 (internet_explorer VARCHAR, firefox VARCHAR) | SELECT internet_explorer FROM table_name_39 WHERE firefox = "27.85%" | What percentage of browsers were using Internet Explorer during the period in which 27.85% were using Firefox? | <s>[INST]What percentage of browsers were using Internet Explorer during the period in which 27.85% were using Firefox? Context: CREATE TABLE table_name_39 (internet_explorer VARCHAR, firefox VARCHAR)[/INST]SELECT internet_explorer FROM table_name_39 WHERE firefox = "27.85%"</s> |
CREATE TABLE table_name_22 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR) | SELECT status FROM table_name_22 WHERE area_km_2 > 10.9 AND census_ranking = "4,674 of 5,008" | What status has an area km 2 greater than 10.9, with 4,674 of 5,008 as the census ranking | <s>[INST]What status has an area km 2 greater than 10.9, with 4,674 of 5,008 as the census ranking Context: CREATE TABLE table_name_22 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR)[/INST]SELECT status FROM table_name_22 WHERE area_km_2 > 10.9 AND census_ranking = "4,674 of 5,008"</s> |
CREATE TABLE table_name_61 (cuts_made INTEGER, wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR) | SELECT MAX(cuts_made) FROM table_name_61 WHERE top_25 > 4 AND top_5 = 1 AND wins > 0 | Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0 | <s>[INST]Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0 Context: CREATE TABLE table_name_61 (cuts_made INTEGER, wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR)[/INST]SELECT MAX(cuts_made) FROM table_name_61 WHERE top_25 > 4 AND top_5 = 1 AND wins > 0</s> |
CREATE TABLE table_name_13 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_13 WHERE record = "30-22" | How many people were in attendance on the day there was a 30-22 victory? | <s>[INST]How many people were in attendance on the day there was a 30-22 victory? Context: CREATE TABLE table_name_13 (attendance VARCHAR, record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_13 WHERE record = "30-22"</s> |
CREATE TABLE table_name_83 (mark VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT mark FROM table_name_83 WHERE lane < 2 AND heat < 5 | What is the mark for the runner in lanes under 2 and heats under 5? | <s>[INST]What is the mark for the runner in lanes under 2 and heats under 5? Context: CREATE TABLE table_name_83 (mark VARCHAR, lane VARCHAR, heat VARCHAR)[/INST]SELECT mark FROM table_name_83 WHERE lane < 2 AND heat < 5</s> |
CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR) | SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Beirut" | what is the arabic capital name where the english capital name is beirut? | <s>[INST]what is the arabic capital name where the english capital name is beirut? Context: CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)[/INST]SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Beirut"</s> |
CREATE TABLE table_name_34 (away VARCHAR, round VARCHAR) | SELECT away FROM table_name_34 WHERE round = "semifinals" | Who was the away team in the semifinals? | <s>[INST]Who was the away team in the semifinals? Context: CREATE TABLE table_name_34 (away VARCHAR, round VARCHAR)[/INST]SELECT away FROM table_name_34 WHERE round = "semifinals"</s> |
CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR) | SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Prohibition" | Name the comptroller for office of prohibition | <s>[INST]Name the comptroller for office of prohibition Context: CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR)[/INST]SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Prohibition"</s> |
CREATE TABLE table_name_18 (film VARCHAR, award VARCHAR) | SELECT film FROM table_name_18 WHERE award = "£5,380" | What is the name of the film with an award of £5,380? | <s>[INST]What is the name of the film with an award of £5,380? Context: CREATE TABLE table_name_18 (film VARCHAR, award VARCHAR)[/INST]SELECT film FROM table_name_18 WHERE award = "£5,380"</s> |
CREATE TABLE table_106367_2 (_number_of_candidates INTEGER, _number_of_seats_won VARCHAR) | SELECT MIN(_number_of_candidates) FROM table_106367_2 WHERE _number_of_seats_won = 80 | What is the least number of candidates running were there when 80 seats were won? | <s>[INST]What is the least number of candidates running were there when 80 seats were won? Context: CREATE TABLE table_106367_2 (_number_of_candidates INTEGER, _number_of_seats_won VARCHAR)[/INST]SELECT MIN(_number_of_candidates) FROM table_106367_2 WHERE _number_of_seats_won = 80</s> |
CREATE TABLE table_name_75 (bronze INTEGER, total INTEGER) | SELECT MAX(bronze) FROM table_name_75 WHERE total > 11 | What nation has the most bronze medals with over 11 total medals? | <s>[INST]What nation has the most bronze medals with over 11 total medals? Context: CREATE TABLE table_name_75 (bronze INTEGER, total INTEGER)[/INST]SELECT MAX(bronze) FROM table_name_75 WHERE total > 11</s> |
CREATE TABLE table_name_70 (state VARCHAR, interview VARCHAR, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR) | SELECT state FROM table_name_70 WHERE average < 8.67 AND swimsuit = 8.27 AND evening_gown = 8.78 AND interview = 8.52 | Which state had an average of less than 8.67, a swimsuit score of 8.27, an evening gown score of 8.78, and an interview number of 8.52? | <s>[INST]Which state had an average of less than 8.67, a swimsuit score of 8.27, an evening gown score of 8.78, and an interview number of 8.52? Context: CREATE TABLE table_name_70 (state VARCHAR, interview VARCHAR, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR)[/INST]SELECT state FROM table_name_70 WHERE ave... |
CREATE TABLE table_name_35 (debut VARCHAR, country VARCHAR, name VARCHAR) | SELECT debut FROM table_name_35 WHERE country = "england" AND name = "sydney barnes" | When did Sydney Barnes debut in England? | <s>[INST]When did Sydney Barnes debut in England? Context: CREATE TABLE table_name_35 (debut VARCHAR, country VARCHAR, name VARCHAR)[/INST]SELECT debut FROM table_name_35 WHERE country = "england" AND name = "sydney barnes"</s> |
CREATE TABLE table_26166836_1 (country VARCHAR, road_race VARCHAR) | SELECT country FROM table_26166836_1 WHERE road_race = "Xiamen International Marathon" | In which country was the xiamen international marathon? | <s>[INST]In which country was the xiamen international marathon? Context: CREATE TABLE table_26166836_1 (country VARCHAR, road_race VARCHAR)[/INST]SELECT country FROM table_26166836_1 WHERE road_race = "Xiamen International Marathon"</s> |
CREATE TABLE table_name_74 (post_position INTEGER, lengths_behind VARCHAR) | SELECT AVG(post_position) FROM table_name_74 WHERE lengths_behind = "0" | What's the post position when the lengths behind is 0? | <s>[INST]What's the post position when the lengths behind is 0? Context: CREATE TABLE table_name_74 (post_position INTEGER, lengths_behind VARCHAR)[/INST]SELECT AVG(post_position) FROM table_name_74 WHERE lengths_behind = "0"</s> |
CREATE TABLE table_name_95 (roll VARCHAR, area VARCHAR) | SELECT COUNT(roll) FROM table_name_95 WHERE area = "aranga" | Can you tell me the total number of Roll that has the Area of aranga? | <s>[INST]Can you tell me the total number of Roll that has the Area of aranga? Context: CREATE TABLE table_name_95 (roll VARCHAR, area VARCHAR)[/INST]SELECT COUNT(roll) FROM table_name_95 WHERE area = "aranga"</s> |
CREATE TABLE table_name_35 (poles INTEGER, podiums VARCHAR, races VARCHAR) | SELECT SUM(poles) FROM table_name_35 WHERE podiums = 0 AND races = 17 | What is the sum of Poles, when Podiums is 0, and when Races is 17? | <s>[INST]What is the sum of Poles, when Podiums is 0, and when Races is 17? Context: CREATE TABLE table_name_35 (poles INTEGER, podiums VARCHAR, races VARCHAR)[/INST]SELECT SUM(poles) FROM table_name_35 WHERE podiums = 0 AND races = 17</s> |
CREATE TABLE table_1969577_3 (enrollment INTEGER) | SELECT MIN(enrollment) FROM table_1969577_3 | What's the minimal enrollment of any of the schools? | <s>[INST]What's the minimal enrollment of any of the schools? Context: CREATE TABLE table_1969577_3 (enrollment INTEGER)[/INST]SELECT MIN(enrollment) FROM table_1969577_3</s> |
CREATE TABLE table_14966537_1 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_14966537_1 WHERE date = "October 25, 1970" | Who was the team's opponent of October 25, 1970? | <s>[INST]Who was the team's opponent of October 25, 1970? Context: CREATE TABLE table_14966537_1 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_14966537_1 WHERE date = "October 25, 1970"</s> |
CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_89 WHERE venue = "mcg" | On what date was a game played at MCG? | <s>[INST]On what date was a game played at MCG? Context: CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_89 WHERE venue = "mcg"</s> |
CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR) | SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final" | How many wins did the player have in the Formula BMW World Final? | <s>[INST]How many wins did the player have in the Formula BMW World Final? Context: CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)[/INST]SELECT wins FROM table_17246160_1 WHERE series = "Formula BMW World Final"</s> |
CREATE TABLE table_name_68 (money___£__ VARCHAR, score VARCHAR) | SELECT money___£__ FROM table_name_68 WHERE score = 76 - 70 - 75 - 72 = 293 | What is the money with a Score of 76-70-75-72=293? | <s>[INST]What is the money with a Score of 76-70-75-72=293? Context: CREATE TABLE table_name_68 (money___£__ VARCHAR, score VARCHAR)[/INST]SELECT money___£__ FROM table_name_68 WHERE score = 76 - 70 - 75 - 72 = 293</s> |
CREATE TABLE table_name_20 (position VARCHAR, overall VARCHAR) | SELECT position FROM table_name_20 WHERE overall = 133 | What position did the draft pick number play that was overall pick number 133? | <s>[INST]What position did the draft pick number play that was overall pick number 133? Context: CREATE TABLE table_name_20 (position VARCHAR, overall VARCHAR)[/INST]SELECT position FROM table_name_20 WHERE overall = 133</s> |
CREATE TABLE table_22834834_2 (score_in_the_final VARCHAR, year VARCHAR) | SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994 | What is the score in the final in the year 1994? | <s>[INST]What is the score in the final in the year 1994? Context: CREATE TABLE table_22834834_2 (score_in_the_final VARCHAR, year VARCHAR)[/INST]SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994</s> |
CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) | SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1 | What is the ERP W number where the frequency is smaller than 91.1? | <s>[INST]What is the ERP W number where the frequency is smaller than 91.1? Context: CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER)[/INST]SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1</s> |
CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_72 WHERE date = "may 1" | What was the final score for the game on May 1? | <s>[INST]What was the final score for the game on May 1? Context: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE date = "may 1"</s> |
CREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR) | SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933 | what's the airport with total passengers 2009 being 157933 | <s>[INST]what's the airport with total passengers 2009 being 157933 Context: CREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR)[/INST]SELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933</s> |
CREATE TABLE table_name_26 (season INTEGER, score VARCHAR) | SELECT MAX(season) FROM table_name_26 WHERE score = "39-27" | Which Season has a Score of 39-27? | <s>[INST]Which Season has a Score of 39-27? Context: CREATE TABLE table_name_26 (season INTEGER, score VARCHAR)[/INST]SELECT MAX(season) FROM table_name_26 WHERE score = "39-27"</s> |
CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR) | SELECT set_3 FROM table_name_24 WHERE total = "45–31" | What is the score of set 3 when the total is 45–31? | <s>[INST]What is the score of set 3 when the total is 45–31? Context: CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)[/INST]SELECT set_3 FROM table_name_24 WHERE total = "45–31"</s> |
CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_86 WHERE record = "46-29" | When was the game played in which the record was 46-29? | <s>[INST]When was the game played in which the record was 46-29? Context: CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_86 WHERE record = "46-29"</s> |
CREATE TABLE table_160510_5 (country VARCHAR, area VARCHAR) | SELECT country FROM table_160510_5 WHERE area = "11,891" | Name the country for 11,891 area | <s>[INST]Name the country for 11,891 area Context: CREATE TABLE table_160510_5 (country VARCHAR, area VARCHAR)[/INST]SELECT country FROM table_160510_5 WHERE area = "11,891"</s> |
CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR) | SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND transcription__based_on_pinyin_ = "bei hui feng" | What is the simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng? | <s>[INST]What is the simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng? Context: CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR)[/INST]SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND t... |
CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) | SELECT island FROM table_name_73 WHERE age___ma__ = "1.0" | Name the island with age ma of 1.0 | <s>[INST]Name the island with age ma of 1.0 Context: CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR)[/INST]SELECT island FROM table_name_73 WHERE age___ma__ = "1.0"</s> |
CREATE TABLE table_23718905_6 (television VARCHAR, date VARCHAR) | SELECT television FROM table_23718905_6 WHERE date = "December 28, 2009" | What was the television that was dated December 28, 2009? | <s>[INST]What was the television that was dated December 28, 2009? Context: CREATE TABLE table_23718905_6 (television VARCHAR, date VARCHAR)[/INST]SELECT television FROM table_23718905_6 WHERE date = "December 28, 2009"</s> |
CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium" | Who won the gold when Jules van Dyk Belgium won bronze? | <s>[INST]Who won the gold when Jules van Dyk Belgium won bronze? Context: CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium"</s> |
CREATE TABLE table_name_85 (year INTEGER, points INTEGER) | SELECT MIN(year) FROM table_name_85 WHERE points < 1 | What was the earliest year that had less than 1 point? | <s>[INST]What was the earliest year that had less than 1 point? Context: CREATE TABLE table_name_85 (year INTEGER, points INTEGER)[/INST]SELECT MIN(year) FROM table_name_85 WHERE points < 1</s> |
CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR) | SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland" | What was the grid for rider Russell Holland, riding a Honda CBR1000rr? | <s>[INST]What was the grid for rider Russell Holland, riding a Honda CBR1000rr? Context: CREATE TABLE table_name_75 (grid VARCHAR, bike VARCHAR, rider VARCHAR)[/INST]SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"</s> |
CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_31 WHERE round = 5 | What is the nationality of the player from round 5? | <s>[INST]What is the nationality of the player from round 5? Context: CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_31 WHERE round = 5</s> |
CREATE TABLE table_name_46 (units_sold INTEGER, publisher VARCHAR) | SELECT AVG(units_sold) FROM table_name_46 WHERE publisher = "square enix" | Tell me the average units sold for square enix | <s>[INST]Tell me the average units sold for square enix Context: CREATE TABLE table_name_46 (units_sold INTEGER, publisher VARCHAR)[/INST]SELECT AVG(units_sold) FROM table_name_46 WHERE publisher = "square enix"</s> |
CREATE TABLE table_27075510_1 (original_artist VARCHAR, week__number VARCHAR) | SELECT COUNT(original_artist) FROM table_27075510_1 WHERE week__number = "Audition" | how many times is the week # is audition? | <s>[INST]how many times is the week # is audition? Context: CREATE TABLE table_27075510_1 (original_artist VARCHAR, week__number VARCHAR)[/INST]SELECT COUNT(original_artist) FROM table_27075510_1 WHERE week__number = "Audition"</s> |
CREATE TABLE film_actor (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR, description VARCHAR) | SELECT T2.title, T2.film_id, T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T2.film_id ORDER BY COUNT(*) DESC LIMIT 1 | Which film has the most number of actors or actresses? List the film name, film id and description. | <s>[INST]Which film has the most number of actors or actresses? List the film name, film id and description. Context: CREATE TABLE film_actor (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR, description VARCHAR)[/INST]SELECT T2.title, T2.film_id, T2.description FROM film_actor AS T1 JOIN film AS T2... |
CREATE TABLE table_name_16 (year VARCHAR, time VARCHAR) | SELECT COUNT(year) FROM table_name_16 WHERE time = "55:29:20" | What year has the time of 55:29:20? | <s>[INST]What year has the time of 55:29:20? Context: CREATE TABLE table_name_16 (year VARCHAR, time VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_16 WHERE time = "55:29:20"</s> |
CREATE TABLE table_name_5 (name VARCHAR, roll VARCHAR, area VARCHAR) | SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield" | Which school has a roll larger than 26 and is located in Fairfield? | <s>[INST]Which school has a roll larger than 26 and is located in Fairfield? Context: CREATE TABLE table_name_5 (name VARCHAR, roll VARCHAR, area VARCHAR)[/INST]SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.