context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_66 (enzyme VARCHAR, disorder VARCHAR) | SELECT enzyme FROM table_name_66 WHERE disorder = "ornithine transcarbamylase deficiency" | What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency? | <s>[INST]What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency? Context: CREATE TABLE table_name_66 (enzyme VARCHAR, disorder VARCHAR)[/INST]SELECT enzyme FROM table_name_66 WHERE disorder = "ornithine transcarbamylase deficiency"</s> |
CREATE TABLE table_12261714_2 (young_rider_classification VARCHAR, stage VARCHAR) | SELECT young_rider_classification FROM table_12261714_2 WHERE stage = "12" | Who's the leader in the young rider classification in stage 12? | <s>[INST]Who's the leader in the young rider classification in stage 12? Context: CREATE TABLE table_12261714_2 (young_rider_classification VARCHAR, stage VARCHAR)[/INST]SELECT young_rider_classification FROM table_12261714_2 WHERE stage = "12"</s> |
CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_20 WHERE opponent = "chicago cardinals" AND week > 10 | What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season? | <s>[INST]What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season? Context: CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_20 WHERE opponent = "chicago cardinals" AND week > 10</s> |
CREATE TABLE table_name_52 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_52 WHERE chassis = "porsche 718" | What engine did the porsche 718 chassis use? | <s>[INST]What engine did the porsche 718 chassis use? Context: CREATE TABLE table_name_52 (engine VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_52 WHERE chassis = "porsche 718"</s> |
CREATE TABLE table_name_45 (goals INTEGER, club VARCHAR, games VARCHAR) | SELECT AVG(goals) FROM table_name_45 WHERE club = "iserlohn roosters" AND games < 56 | What is the average Goals, when Club is Iserlohn Roosters, and when Games is less than 56? | <s>[INST]What is the average Goals, when Club is Iserlohn Roosters, and when Games is less than 56? Context: CREATE TABLE table_name_45 (goals INTEGER, club VARCHAR, games VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_45 WHERE club = "iserlohn roosters" AND games < 56</s> |
CREATE TABLE table_name_95 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | SELECT MAX(bronze) FROM table_name_95 WHERE rank > 11 AND gold < 0 | What is the most possible bronze medals when rank is more than 11 and there are fewer than 0 gold medals? | <s>[INST]What is the most possible bronze medals when rank is more than 11 and there are fewer than 0 gold medals? Context: CREATE TABLE table_name_95 (bronze INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_95 WHERE rank > 11 AND gold < 0</s> |
CREATE TABLE table_2562572_22 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT population__2011_ FROM table_2562572_22 WHERE cyrillic_name_other_names = "Бачки Моноштор (Croatian: Monoštor)" | Name the population for бачки моноштор (croatian: monoštor) | <s>[INST]Name the population for бачки моноштор (croatian: monoštor) Context: CREATE TABLE table_2562572_22 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT population__2011_ FROM table_2562572_22 WHERE cyrillic_name_other_names = "Бачки Моноштор (Croatian: Monoštor)"</s> |
CREATE TABLE table_27734286_1 (record VARCHAR, high_points VARCHAR) | SELECT record FROM table_27734286_1 WHERE high_points = "C. J. Miles (20)" | What record has c. j. miles (20) in the high points? | <s>[INST]What record has c. j. miles (20) in the high points? Context: CREATE TABLE table_27734286_1 (record VARCHAR, high_points VARCHAR)[/INST]SELECT record FROM table_27734286_1 WHERE high_points = "C. J. Miles (20)"</s> |
CREATE TABLE table_name_90 (category VARCHAR, year VARCHAR, score VARCHAR) | SELECT category FROM table_name_90 WHERE year > 1991 AND score = "7-5, 6-7, 6-2" | What was the Category after 1991 with a Score of 7-5, 6-7, 6-2? | <s>[INST]What was the Category after 1991 with a Score of 7-5, 6-7, 6-2? Context: CREATE TABLE table_name_90 (category VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT category FROM table_name_90 WHERE year > 1991 AND score = "7-5, 6-7, 6-2"</s> |
CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR) | SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes" | Which Image attachment has a Threaded of yes, and a Calendar of yes? | <s>[INST]Which Image attachment has a Threaded of yes, and a Calendar of yes? Context: CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)[/INST]SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes"</s> |
CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, reports_to VARCHAR) | SELECT T2.first_name, T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = "Nancy" AND T1.last_name = "Edwards" | find the full name of employees who report to Nancy Edwards? | <s>[INST]find the full name of employees who report to Nancy Edwards? Context: CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, reports_to VARCHAR)[/INST]SELECT T2.first_name, T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = "Nancy" AND T1.last_name = "Edwards"</s> |
CREATE TABLE table_name_1 (winning_team VARCHAR, round VARCHAR) | SELECT winning_team FROM table_name_1 WHERE round = "3" | Who was the winning team for round 3? | <s>[INST]Who was the winning team for round 3? Context: CREATE TABLE table_name_1 (winning_team VARCHAR, round VARCHAR)[/INST]SELECT winning_team FROM table_name_1 WHERE round = "3"</s> |
CREATE TABLE table_name_51 (equipment VARCHAR, position VARCHAR, points VARCHAR) | SELECT equipment FROM table_name_51 WHERE position > 28 AND points > 10 | What is Equipment, when Position is greater than 28, and when Points is greater than 10? | <s>[INST]What is Equipment, when Position is greater than 28, and when Points is greater than 10? Context: CREATE TABLE table_name_51 (equipment VARCHAR, position VARCHAR, points VARCHAR)[/INST]SELECT equipment FROM table_name_51 WHERE position > 28 AND points > 10</s> |
CREATE TABLE table_name_89 (height_metres___ft VARCHAR, floors VARCHAR) | SELECT height_metres___ft FROM table_name_89 WHERE floors = "05.0 n/a" | Name the Height metres / ft of Floors of 05.0 n/a? | <s>[INST]Name the Height metres / ft of Floors of 05.0 n/a? Context: CREATE TABLE table_name_89 (height_metres___ft VARCHAR, floors VARCHAR)[/INST]SELECT height_metres___ft FROM table_name_89 WHERE floors = "05.0 n/a"</s> |
CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64 | What's the average Grid for those who spun off after Lap 64? | <s>[INST]What's the average Grid for those who spun off after Lap 64? Context: CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64</s> |
CREATE TABLE table_2850912_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_2850912_7 WHERE nhl_team = "Edmonton Oilers" | How many college/junior/club teams are ther when nhl team is edmonton oilers? | <s>[INST]How many college/junior/club teams are ther when nhl team is edmonton oilers? Context: CREATE TABLE table_2850912_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT COUNT(college_junior_club_team) FROM table_2850912_7 WHERE nhl_team = "Edmonton Oilers"</s> |
CREATE TABLE CLASS (crs_code VARCHAR) | SELECT COUNT(*), crs_code FROM CLASS GROUP BY crs_code | How many sections does each course has? | <s>[INST]How many sections does each course has? Context: CREATE TABLE CLASS (crs_code VARCHAR)[/INST]SELECT COUNT(*), crs_code FROM CLASS GROUP BY crs_code</s> |
CREATE TABLE table_name_30 (model_number VARCHAR, sspec_number VARCHAR) | SELECT model_number FROM table_name_30 WHERE sspec_number = "slbjg(b1)" | What Model number has the sSpec numebr of SLBJG(B1)? | <s>[INST]What Model number has the sSpec numebr of SLBJG(B1)? Context: CREATE TABLE table_name_30 (model_number VARCHAR, sspec_number VARCHAR)[/INST]SELECT model_number FROM table_name_30 WHERE sspec_number = "slbjg(b1)"</s> |
CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR) | SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen" | What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? | <s>[INST]What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? Context: CREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)[/INST]SELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = "alaska milkmen"</s> |
CREATE TABLE table_name_24 (position VARCHAR, round VARCHAR, player VARCHAR) | SELECT position FROM table_name_24 WHERE round > 5 AND player = "matthew tassone" | Who position did matthew tassone who was drafted after round 5 play? | <s>[INST]Who position did matthew tassone who was drafted after round 5 play? Context: CREATE TABLE table_name_24 (position VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_24 WHERE round > 5 AND player = "matthew tassone"</s> |
CREATE TABLE table_name_14 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) | SELECT venue FROM table_name_14 WHERE against < 30 AND opposing_team = "new south wales" | What is Venue, when Against is less than 30, and when Opposing Team is New South Wales? | <s>[INST]What is Venue, when Against is less than 30, and when Opposing Team is New South Wales? Context: CREATE TABLE table_name_14 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR)[/INST]SELECT venue FROM table_name_14 WHERE against < 30 AND opposing_team = "new south wales"</s> |
CREATE TABLE table_name_81 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_81 WHERE venue = "brunswick street oval" | If the Venue is brunswick street oval, what date was the game played ? | <s>[INST]If the Venue is brunswick street oval, what date was the game played ? Context: CREATE TABLE table_name_81 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_81 WHERE venue = "brunswick street oval"</s> |
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR) | SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0 | Which college was the wide receiver whose pick was less than 130.0 picked from? | <s>[INST]Which college was the wide receiver whose pick was less than 130.0 picked from? Context: CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)[/INST]SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0</s> |
CREATE TABLE table_name_45 (edition VARCHAR, result VARCHAR) | SELECT edition FROM table_name_45 WHERE result = "6-3, 6-0, 6-2" | What Edition had a Result of 6-3, 6-0, 6-2? | <s>[INST]What Edition had a Result of 6-3, 6-0, 6-2? Context: CREATE TABLE table_name_45 (edition VARCHAR, result VARCHAR)[/INST]SELECT edition FROM table_name_45 WHERE result = "6-3, 6-0, 6-2"</s> |
CREATE TABLE table_name_65 (region VARCHAR, format VARCHAR) | SELECT region FROM table_name_65 WHERE format = "vinyl record" | What region has vinyl record listed as its format? | <s>[INST]What region has vinyl record listed as its format? Context: CREATE TABLE table_name_65 (region VARCHAR, format VARCHAR)[/INST]SELECT region FROM table_name_65 WHERE format = "vinyl record"</s> |
CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR, score VARCHAR, country VARCHAR) | SELECT place FROM table_name_2 WHERE score = 71 AND country = "united states" AND player = "jim thorpe" | When Jim Thorpe of United States has a score of 71, what is the place? | <s>[INST]When Jim Thorpe of United States has a score of 71, what is the place? Context: CREATE TABLE table_name_2 (place VARCHAR, player VARCHAR, score VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_2 WHERE score = 71 AND country = "united states" AND player = "jim thorpe"</s> |
CREATE TABLE table_name_75 (built INTEGER, name VARCHAR) | SELECT AVG(built) FROM table_name_75 WHERE name = "superb" | What is the average building year for Superb? | <s>[INST]What is the average building year for Superb? Context: CREATE TABLE table_name_75 (built INTEGER, name VARCHAR)[/INST]SELECT AVG(built) FROM table_name_75 WHERE name = "superb"</s> |
CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR) | SELECT league FROM table_name_18 WHERE year = "2010-11" | In 2010-11, what was the League name? | <s>[INST]In 2010-11, what was the League name? Context: CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_name_18 WHERE year = "2010-11"</s> |
CREATE TABLE table_name_97 (bahia VARCHAR, northeast_total VARCHAR) | SELECT bahia FROM table_name_97 WHERE northeast_total = "6747013" | What is the value for Bahia when the Northeast total was 6747013? | <s>[INST]What is the value for Bahia when the Northeast total was 6747013? Context: CREATE TABLE table_name_97 (bahia VARCHAR, northeast_total VARCHAR)[/INST]SELECT bahia FROM table_name_97 WHERE northeast_total = "6747013"</s> |
CREATE TABLE table_25374338_1 (theme VARCHAR, original_artist VARCHAR) | SELECT theme FROM table_25374338_1 WHERE original_artist = "AC/DC" | What is the theme where the original artist is AC/DC? | <s>[INST]What is the theme where the original artist is AC/DC? Context: CREATE TABLE table_25374338_1 (theme VARCHAR, original_artist VARCHAR)[/INST]SELECT theme FROM table_25374338_1 WHERE original_artist = "AC/DC"</s> |
CREATE TABLE table_name_12 (competition VARCHAR, score VARCHAR, result VARCHAR, location VARCHAR) | SELECT competition FROM table_name_12 WHERE result = "loss" AND location = "berlin" AND score = "0-3" | what is the competition when the result is loss in berlin with a score of 0-3? | <s>[INST]what is the competition when the result is loss in berlin with a score of 0-3? Context: CREATE TABLE table_name_12 (competition VARCHAR, score VARCHAR, result VARCHAR, location VARCHAR)[/INST]SELECT competition FROM table_name_12 WHERE result = "loss" AND location = "berlin" AND score = "0-3"</s> |
CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20 | What is the Total with the Event 2004 Athens and Gold less than 20? | <s>[INST]What is the Total with the Event 2004 Athens and Gold less than 20? Context: CREATE TABLE table_name_21 (total INTEGER, event VARCHAR, gold VARCHAR)[/INST]SELECT SUM(total) FROM table_name_21 WHERE event = "2004 athens" AND gold < 20</s> |
CREATE TABLE table_name_23 (block VARCHAR, cospar_id VARCHAR) | SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a" | What block has a COSPAR ID of 1995-060a? | <s>[INST]What block has a COSPAR ID of 1995-060a? Context: CREATE TABLE table_name_23 (block VARCHAR, cospar_id VARCHAR)[/INST]SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a"</s> |
CREATE TABLE table_name_67 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_67 WHERE home_team = "grimsby town" | What is the date when Grimsby Town is the home team? | <s>[INST]What is the date when Grimsby Town is the home team? Context: CREATE TABLE table_name_67 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE home_team = "grimsby town"</s> |
CREATE TABLE table_name_61 (rank INTEGER, total VARCHAR, bronze VARCHAR) | SELECT AVG(rank) FROM table_name_61 WHERE total > 30 AND bronze = 14 | Which Rank has a Total larger than 30, and a Bronze of 14? | <s>[INST]Which Rank has a Total larger than 30, and a Bronze of 14? Context: CREATE TABLE table_name_61 (rank INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_61 WHERE total > 30 AND bronze = 14</s> |
CREATE TABLE table_18254488_2 (league_cup INTEGER, player VARCHAR) | SELECT MIN(league_cup) FROM table_18254488_2 WHERE player = "Koki Mizuno" | When koki mizuno is the player what is the lowest league cup? | <s>[INST]When koki mizuno is the player what is the lowest league cup? Context: CREATE TABLE table_18254488_2 (league_cup INTEGER, player VARCHAR)[/INST]SELECT MIN(league_cup) FROM table_18254488_2 WHERE player = "Koki Mizuno"</s> |
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR) | SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 3196 | What was the percentage of others when the number for Bush was 3196? | <s>[INST]What was the percentage of others when the number for Bush was 3196? Context: CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)[/INST]SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 3196</s> |
CREATE TABLE school (type VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR) | SELECT T2.type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T2.type | Show the type of school and the number of buses for each type. | <s>[INST]Show the type of school and the number of buses for each type. Context: CREATE TABLE school (type VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR)[/INST]SELECT T2.type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T2.type</s> |
CREATE TABLE table_28081876_6 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ = "1.57" | When was originally aired the episode with an audience of 1.57 million us viewers? | <s>[INST]When was originally aired the episode with an audience of 1.57 million us viewers? Context: CREATE TABLE table_28081876_6 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ = "1.57"</s> |
CREATE TABLE table_name_42 (result VARCHAR, road_team VARCHAR, date VARCHAR) | SELECT result FROM table_name_42 WHERE road_team = "los angeles" AND date = "april 17" | What is the result of the game on April 17 against Los Angeles? | <s>[INST]What is the result of the game on April 17 against Los Angeles? Context: CREATE TABLE table_name_42 (result VARCHAR, road_team VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_42 WHERE road_team = "los angeles" AND date = "april 17"</s> |
CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_81 WHERE venue = "princes park" | What home team plays at princes park? | <s>[INST]What home team plays at princes park? Context: CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_81 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_29 (venue VARCHAR, week INTEGER) | SELECT venue FROM table_name_29 WHERE week < 2 | Which venue has a week smaller than 2? | <s>[INST]Which venue has a week smaller than 2? Context: CREATE TABLE table_name_29 (venue VARCHAR, week INTEGER)[/INST]SELECT venue FROM table_name_29 WHERE week < 2</s> |
CREATE TABLE pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR) | SELECT pettype, weight FROM pets ORDER BY pet_age LIMIT 1 | Find the type and weight of the youngest pet. | <s>[INST]Find the type and weight of the youngest pet. Context: CREATE TABLE pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR)[/INST]SELECT pettype, weight FROM pets ORDER BY pet_age LIMIT 1</s> |
CREATE TABLE table_name_52 (nationality VARCHAR, club_team VARCHAR) | SELECT nationality FROM table_name_52 WHERE club_team = "linköpings hc (se)" | What is the nationality of a player from linköpings hc (se)? | <s>[INST]What is the nationality of a player from linköpings hc (se)? Context: CREATE TABLE table_name_52 (nationality VARCHAR, club_team VARCHAR)[/INST]SELECT nationality FROM table_name_52 WHERE club_team = "linköpings hc (se)"</s> |
CREATE TABLE table_name_23 (city VARCHAR, series VARCHAR) | SELECT city FROM table_name_23 WHERE series = "tamra's oc wedding" | Which City has a Series of Tamra's oc wedding? | <s>[INST]Which City has a Series of Tamra's oc wedding? Context: CREATE TABLE table_name_23 (city VARCHAR, series VARCHAR)[/INST]SELECT city FROM table_name_23 WHERE series = "tamra's oc wedding"</s> |
CREATE TABLE table_name_36 (result VARCHAR, home_captain VARCHAR) | SELECT result FROM table_name_36 WHERE home_captain = "courtney walsh" | What is the result of Courtney Walsh ? | <s>[INST]What is the result of Courtney Walsh ? Context: CREATE TABLE table_name_36 (result VARCHAR, home_captain VARCHAR)[/INST]SELECT result FROM table_name_36 WHERE home_captain = "courtney walsh"</s> |
CREATE TABLE table_10121127_1 (un_operation_title VARCHAR, un_operation_name VARCHAR) | SELECT un_operation_title FROM table_10121127_1 WHERE un_operation_name = "UNCOK" | What is the UN operation title with the UN operation name, Uncok? | <s>[INST]What is the UN operation title with the UN operation name, Uncok? Context: CREATE TABLE table_10121127_1 (un_operation_title VARCHAR, un_operation_name VARCHAR)[/INST]SELECT un_operation_title FROM table_10121127_1 WHERE un_operation_name = "UNCOK"</s> |
CREATE TABLE table_name_36 (date VARCHAR, label VARCHAR, region VARCHAR) | SELECT date FROM table_name_36 WHERE label = "bertelsmann music group" AND region = "europe" | What's the Date for the Label of Bertelsmann Music group and has a Region of Europe? | <s>[INST]What's the Date for the Label of Bertelsmann Music group and has a Region of Europe? Context: CREATE TABLE table_name_36 (date VARCHAR, label VARCHAR, region VARCHAR)[/INST]SELECT date FROM table_name_36 WHERE label = "bertelsmann music group" AND region = "europe"</s> |
CREATE TABLE table_name_4 (position INTEGER, played INTEGER) | SELECT MIN(position) FROM table_name_4 WHERE played > 9 | What is the smallest positioned with more than 9 played? | <s>[INST]What is the smallest positioned with more than 9 played? Context: CREATE TABLE table_name_4 (position INTEGER, played INTEGER)[/INST]SELECT MIN(position) FROM table_name_4 WHERE played > 9</s> |
CREATE TABLE table_name_53 (week INTEGER, time__cst_ VARCHAR, game_site VARCHAR) | SELECT MIN(week) FROM table_name_53 WHERE time__cst_ = "7:15 p.m." AND game_site = "fedexfield" | What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site? | <s>[INST]What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site? Context: CREATE TABLE table_name_53 (week INTEGER, time__cst_ VARCHAR, game_site VARCHAR)[/INST]SELECT MIN(week) FROM table_name_53 WHERE time__cst_ = "7:15 p.m." AND game_site = "fedexfield"</s> |
CREATE TABLE table_19210115_1 (enrollment VARCHAR, founded VARCHAR) | SELECT COUNT(enrollment) FROM table_19210115_1 WHERE founded = 1863 | How many University founded in 1863? | <s>[INST]How many University founded in 1863? Context: CREATE TABLE table_19210115_1 (enrollment VARCHAR, founded VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_19210115_1 WHERE founded = 1863</s> |
CREATE TABLE table_name_9 (bronze INTEGER, sport VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 1 | What is the football Bronze with more than 1 Silver? | <s>[INST]What is the football Bronze with more than 1 Silver? Context: CREATE TABLE table_name_9 (bronze INTEGER, sport VARCHAR, silver VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 1</s> |
CREATE TABLE table_name_17 (player VARCHAR, round VARCHAR, nationality VARCHAR) | SELECT player FROM table_name_17 WHERE round = 3 AND nationality = "russia" | Who is the player from Round 3 from Russia? | <s>[INST]Who is the player from Round 3 from Russia? Context: CREATE TABLE table_name_17 (player VARCHAR, round VARCHAR, nationality VARCHAR)[/INST]SELECT player FROM table_name_17 WHERE round = 3 AND nationality = "russia"</s> |
CREATE TABLE table_name_46 (year INTEGER, animal VARCHAR) | SELECT SUM(year) FROM table_name_46 WHERE animal = "downy woodpecker" | What year was the downy woodpecker coin created? | <s>[INST]What year was the downy woodpecker coin created? Context: CREATE TABLE table_name_46 (year INTEGER, animal VARCHAR)[/INST]SELECT SUM(year) FROM table_name_46 WHERE animal = "downy woodpecker"</s> |
CREATE TABLE table_name_52 (rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT rank FROM table_name_52 WHERE bronze < 1 AND silver < 1 | what is the rank when bronze is less than 1 and silver is less than 1? | <s>[INST]what is the rank when bronze is less than 1 and silver is less than 1? Context: CREATE TABLE table_name_52 (rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT rank FROM table_name_52 WHERE bronze < 1 AND silver < 1</s> |
CREATE TABLE table_name_31 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_31 WHERE time = "1:52" | What was the method when the fight's time was 1:52? | <s>[INST]What was the method when the fight's time was 1:52? Context: CREATE TABLE table_name_31 (method VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_31 WHERE time = "1:52"</s> |
CREATE TABLE table_name_39 (silver INTEGER, bronze INTEGER) | SELECT MIN(silver) FROM table_name_39 WHERE bronze > 3 | What is the least amount of Silver medals that have more than 3 Bronze? | <s>[INST]What is the least amount of Silver medals that have more than 3 Bronze? Context: CREATE TABLE table_name_39 (silver INTEGER, bronze INTEGER)[/INST]SELECT MIN(silver) FROM table_name_39 WHERE bronze > 3</s> |
CREATE TABLE table_name_29 (yards INTEGER, player VARCHAR, long VARCHAR) | SELECT SUM(yards) FROM table_name_29 WHERE player = "jason campbell" AND long < 23 | Tell me the sum of yards for jason campbell and long less than 23 | <s>[INST]Tell me the sum of yards for jason campbell and long less than 23 Context: CREATE TABLE table_name_29 (yards INTEGER, player VARCHAR, long VARCHAR)[/INST]SELECT SUM(yards) FROM table_name_29 WHERE player = "jason campbell" AND long < 23</s> |
CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR) | SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02" | What is south in the 2001-02 season, which had germering wanderers east? | <s>[INST]What is south in the 2001-02 season, which had germering wanderers east? Context: CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)[/INST]SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02"</s> |
CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_5 WHERE competition = "1982 president's cup" | What is the result when the competition is 1982 president's cup? | <s>[INST]What is the result when the competition is 1982 president's cup? Context: CREATE TABLE table_name_5 (result VARCHAR, competition VARCHAR)[/INST]SELECT result FROM table_name_5 WHERE competition = "1982 president's cup"</s> |
CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR) | SELECT position FROM table_2781227_9 WHERE player = "Barrie Moore" | What position(s) does barrie moore play? | <s>[INST]What position(s) does barrie moore play? Context: CREATE TABLE table_2781227_9 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_2781227_9 WHERE player = "Barrie Moore"</s> |
CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR) | SELECT team FROM table_name_27 WHERE games = "7" | What is the name of the team with a Games listing of 7? | <s>[INST]What is the name of the team with a Games listing of 7? Context: CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR)[/INST]SELECT team FROM table_name_27 WHERE games = "7"</s> |
CREATE TABLE table_name_29 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_29 WHERE score = "2-0" | When did the score of 2-0 take place? | <s>[INST]When did the score of 2-0 take place? Context: CREATE TABLE table_name_29 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE score = "2-0"</s> |
CREATE TABLE table_name_90 (other VARCHAR, control VARCHAR, labour VARCHAR, green VARCHAR, independent VARCHAR) | SELECT other FROM table_name_90 WHERE green = 0 AND independent = 1 AND labour < 45 AND control = "labour lose to no overall control" | Which Other has a Green of 0, and an Independent of 1, and a Labour smaller than 45, and a Control of labour lose to no overall control? | <s>[INST]Which Other has a Green of 0, and an Independent of 1, and a Labour smaller than 45, and a Control of labour lose to no overall control? Context: CREATE TABLE table_name_90 (other VARCHAR, control VARCHAR, labour VARCHAR, green VARCHAR, independent VARCHAR)[/INST]SELECT other FROM table_name_90 WHERE green = 0 AND independent = 1 AND labour < 45 AND control = "labour lose to no overall control"</s> |
CREATE TABLE table_name_50 (tied VARCHAR, played VARCHAR) | SELECT tied FROM table_name_50 WHERE played = "15" | What was tied at 15 played? | <s>[INST]What was tied at 15 played? Context: CREATE TABLE table_name_50 (tied VARCHAR, played VARCHAR)[/INST]SELECT tied FROM table_name_50 WHERE played = "15"</s> |
CREATE TABLE table_name_24 (react VARCHAR, athlete VARCHAR, lane VARCHAR) | SELECT COUNT(react) FROM table_name_24 WHERE athlete = "alleyne francique" AND lane > 9 | How many reactions have an Athlete of alleyne francique, and a Lane larger than 9? | <s>[INST]How many reactions have an Athlete of alleyne francique, and a Lane larger than 9? Context: CREATE TABLE table_name_24 (react VARCHAR, athlete VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(react) FROM table_name_24 WHERE athlete = "alleyne francique" AND lane > 9</s> |
CREATE TABLE table_2468961_7 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_2468961_7 WHERE no_in_series = 137 | When 137 is the number in series what is the production code? | <s>[INST]When 137 is the number in series what is the production code? Context: CREATE TABLE table_2468961_7 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT production_code FROM table_2468961_7 WHERE no_in_series = 137</s> |
CREATE TABLE table_name_69 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT AVG(grid) FROM table_name_69 WHERE laps < 14 AND driver = "reine wisell" | What is the average grid when the laps are smaller than 14 and Reine Wisell is the driver? | <s>[INST]What is the average grid when the laps are smaller than 14 and Reine Wisell is the driver? Context: CREATE TABLE table_name_69 (grid INTEGER, laps VARCHAR, driver VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_69 WHERE laps < 14 AND driver = "reine wisell"</s> |
CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_56 WHERE home_team = "footscray" | Which away team played the home team of Footscray? | <s>[INST]Which away team played the home team of Footscray? Context: CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_56 WHERE home_team = "footscray"</s> |
CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR) | SELECT result_games FROM table_21436373_6 WHERE date_year = "Sun 11/28/10" | What is the result/games of Sun 11/28/10 as the date/year? | <s>[INST]What is the result/games of Sun 11/28/10 as the date/year? Context: CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR)[/INST]SELECT result_games FROM table_21436373_6 WHERE date_year = "Sun 11/28/10"</s> |
CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR) | SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "giuseppe farina" AND race = "british grand prix" | Who was the winning driver of the British Grand Prix where Giuseppe Farina had the fastest lap? | <s>[INST]Who was the winning driver of the British Grand Prix where Giuseppe Farina had the fastest lap? Context: CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR)[/INST]SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "giuseppe farina" AND race = "british grand prix"</s> |
CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR) | SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%" | What is the child sex ration for the population with 37.7% work participation? | <s>[INST]What is the child sex ration for the population with 37.7% work participation? Context: CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)[/INST]SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%"</s> |
CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR) | SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen" | Who is Partner Frederik Nielsen's Opponents in the final? | <s>[INST]Who is Partner Frederik Nielsen's Opponents in the final? Context: CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen"</s> |
CREATE TABLE trip (id VARCHAR, duration VARCHAR) | SELECT id, duration FROM trip ORDER BY duration DESC LIMIT 3 | What are the ids and durations of the trips with the top 3 durations? | <s>[INST]What are the ids and durations of the trips with the top 3 durations? Context: CREATE TABLE trip (id VARCHAR, duration VARCHAR)[/INST]SELECT id, duration FROM trip ORDER BY duration DESC LIMIT 3</s> |
CREATE TABLE table_name_76 (date VARCHAR, visitor VARCHAR, points VARCHAR, home VARCHAR) | SELECT date FROM table_name_76 WHERE points < 80 AND home = "los angeles" AND visitor = "pittsburgh" | What Date has Points smaller than 80, Home of Los Angeles, and a Visitor of Pittsburgh? | <s>[INST]What Date has Points smaller than 80, Home of Los Angeles, and a Visitor of Pittsburgh? Context: CREATE TABLE table_name_76 (date VARCHAR, visitor VARCHAR, points VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE points < 80 AND home = "los angeles" AND visitor = "pittsburgh"</s> |
CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR) | SELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2 | Show the ids and names of festivals that have at least two nominations for artworks. | <s>[INST]Show the ids and names of festivals that have at least two nominations for artworks. Context: CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR)[/INST]SELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2</s> |
CREATE TABLE table_name_89 (venue VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT venue FROM table_name_89 WHERE home_team = "san francisco 49ers" AND result = "30-10" | What was the Venue of the San Francisco 49ers Home game with a Result of 30-10? | <s>[INST]What was the Venue of the San Francisco 49ers Home game with a Result of 30-10? Context: CREATE TABLE table_name_89 (venue VARCHAR, home_team VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_89 WHERE home_team = "san francisco 49ers" AND result = "30-10"</s> |
CREATE TABLE table_11604804_5 (founded VARCHAR, color VARCHAR) | SELECT founded FROM table_11604804_5 WHERE color = "Navy Blue" | What was the founding of navy blue? | <s>[INST]What was the founding of navy blue? Context: CREATE TABLE table_11604804_5 (founded VARCHAR, color VARCHAR)[/INST]SELECT founded FROM table_11604804_5 WHERE color = "Navy Blue"</s> |
CREATE TABLE table_17505751_5 (Champions VARCHAR, league VARCHAR, position VARCHAR) | SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE league = 5 AND position = "Forward" | when the position is forward and the league is 5 what number is the Champion league | <s>[INST]when the position is forward and the league is 5 what number is the Champion league Context: CREATE TABLE table_17505751_5 (Champions VARCHAR, league VARCHAR, position VARCHAR)[/INST]SELECT COUNT(Champions) AS league FROM table_17505751_5 WHERE league = 5 AND position = "Forward"</s> |
CREATE TABLE table_1245148_1 (location VARCHAR, track_name VARCHAR) | SELECT location FROM table_1245148_1 WHERE track_name = "Daytona International Speedway" | What is the location of the daytona international speedway? | <s>[INST]What is the location of the daytona international speedway? Context: CREATE TABLE table_1245148_1 (location VARCHAR, track_name VARCHAR)[/INST]SELECT location FROM table_1245148_1 WHERE track_name = "Daytona International Speedway"</s> |
CREATE TABLE table_name_57 (date VARCHAR, venue VARCHAR, competition VARCHAR) | SELECT date FROM table_name_57 WHERE venue = "manama, bahrain" AND competition = "2006 fifa world cup qualification" | On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain? | <s>[INST]On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain? Context: CREATE TABLE table_name_57 (date VARCHAR, venue VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE venue = "manama, bahrain" AND competition = "2006 fifa world cup qualification"</s> |
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_24 WHERE date = "april 21" | Who was the opponent on April 21? | <s>[INST]Who was the opponent on April 21? Context: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_24 WHERE date = "april 21"</s> |
CREATE TABLE table_name_1 (capital VARCHAR, voivodeship_separate_city VARCHAR) | SELECT capital FROM table_name_1 WHERE voivodeship_separate_city = "białostockie" | what is the capital with the Voivodeship Separate city of białostockie? | <s>[INST]what is the capital with the Voivodeship Separate city of białostockie? Context: CREATE TABLE table_name_1 (capital VARCHAR, voivodeship_separate_city VARCHAR)[/INST]SELECT capital FROM table_name_1 WHERE voivodeship_separate_city = "białostockie"</s> |
CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_61 WHERE away_team = "scunthorpe & lindsey united" | What is the Tie number for the match that had away team of Scunthorpe & Lindsey United? | <s>[INST]What is the Tie number for the match that had away team of Scunthorpe & Lindsey United? Context: CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_61 WHERE away_team = "scunthorpe & lindsey united"</s> |
CREATE TABLE table_name_94 (yards INTEGER, long VARCHAR, avg VARCHAR) | SELECT AVG(yards) FROM table_name_94 WHERE long < 18 AND avg > 13 | How many yards were averaged by the player that had a higher than 13 average with less than 18 long? | <s>[INST]How many yards were averaged by the player that had a higher than 13 average with less than 18 long? Context: CREATE TABLE table_name_94 (yards INTEGER, long VARCHAR, avg VARCHAR)[/INST]SELECT AVG(yards) FROM table_name_94 WHERE long < 18 AND avg > 13</s> |
CREATE TABLE table_11680175_1 (year VARCHAR, eichstädt VARCHAR) | SELECT COUNT(year) FROM table_11680175_1 WHERE eichstädt = 939 | How many years where Eichstädt had a number of 939? | <s>[INST]How many years where Eichstädt had a number of 939? Context: CREATE TABLE table_11680175_1 (year VARCHAR, eichstädt VARCHAR)[/INST]SELECT COUNT(year) FROM table_11680175_1 WHERE eichstädt = 939</s> |
CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR) | SELECT departure FROM table_name_88 WHERE kilometers = 1676 | What's listed for Departure that has 1676 listed for the Kilometers? | <s>[INST]What's listed for Departure that has 1676 listed for the Kilometers? Context: CREATE TABLE table_name_88 (departure VARCHAR, kilometers VARCHAR)[/INST]SELECT departure FROM table_name_88 WHERE kilometers = 1676</s> |
CREATE TABLE table_30120566_1 (area__acres__ VARCHAR, townland VARCHAR) | SELECT COUNT(area__acres__) FROM table_30120566_1 WHERE townland = "Rathcoola East" | How many different sizes (in acres) are noted for Rathcoola East? | <s>[INST]How many different sizes (in acres) are noted for Rathcoola East? Context: CREATE TABLE table_30120566_1 (area__acres__ VARCHAR, townland VARCHAR)[/INST]SELECT COUNT(area__acres__) FROM table_30120566_1 WHERE townland = "Rathcoola East"</s> |
CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergy VARCHAR, allergytype VARCHAR) | SELECT COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food" | How many students have a food allergy? | <s>[INST]How many students have a food allergy? Context: CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergy VARCHAR, allergytype VARCHAR)[/INST]SELECT COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food"</s> |
CREATE TABLE table_name_47 (studio_host VARCHAR, play_by_play VARCHAR, year VARCHAR) | SELECT studio_host FROM table_name_47 WHERE play_by_play = "sean grande" AND year = "2004-05" | Play-by-play of sean grande, and a Year of 2004-05 had what studio host? | <s>[INST]Play-by-play of sean grande, and a Year of 2004-05 had what studio host? Context: CREATE TABLE table_name_47 (studio_host VARCHAR, play_by_play VARCHAR, year VARCHAR)[/INST]SELECT studio_host FROM table_name_47 WHERE play_by_play = "sean grande" AND year = "2004-05"</s> |
CREATE TABLE table_name_34 (Id VARCHAR) | SELECT 1991 FROM table_name_34 WHERE 1996 = "2r" | What is the 1991 with a 2r 1996? | <s>[INST]What is the 1991 with a 2r 1996? Context: CREATE TABLE table_name_34 (Id VARCHAR)[/INST]SELECT 1991 FROM table_name_34 WHERE 1996 = "2r"</s> |
CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon" | Name the result when the incumbent was george h. mahon | <s>[INST]Name the result when the incumbent was george h. mahon Context: CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon"</s> |
CREATE TABLE table_name_75 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_name_75 WHERE incumbent = "william elliott" | When the incumbent was William Elliott, what was the result? | <s>[INST]When the incumbent was William Elliott, what was the result? Context: CREATE TABLE table_name_75 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_name_75 WHERE incumbent = "william elliott"</s> |
CREATE TABLE table_2828803_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR) | SELECT us_viewers__millions_ FROM table_2828803_1 WHERE production_code = "2T7004" | How many million u.s. viewers watched the episode with a production code of 2t7004? | <s>[INST]How many million u.s. viewers watched the episode with a production code of 2t7004? Context: CREATE TABLE table_2828803_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_2828803_1 WHERE production_code = "2T7004"</s> |
CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR) | SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)" | What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull? | <s>[INST]What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull? Context: CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR)[/INST]SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)"</s> |
CREATE TABLE table_name_34 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_34 WHERE away_team = "grimsby town" | What date was Grimsby Town the away team? | <s>[INST]What date was Grimsby Town the away team? Context: CREATE TABLE table_name_34 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE away_team = "grimsby town"</s> |
CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER) | SELECT COUNT(gold) FROM table_name_62 WHERE total < 1 | Tell me the total number of gold for total less than 1 | <s>[INST]Tell me the total number of gold for total less than 1 Context: CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER)[/INST]SELECT COUNT(gold) FROM table_name_62 WHERE total < 1</s> |
CREATE TABLE table_name_94 (total_passengers INTEGER, rank VARCHAR) | SELECT MAX(total_passengers) FROM table_name_94 WHERE rank = 1 | what is the highest amount of passengers when there is a rank of 1? | <s>[INST]what is the highest amount of passengers when there is a rank of 1? Context: CREATE TABLE table_name_94 (total_passengers INTEGER, rank VARCHAR)[/INST]SELECT MAX(total_passengers) FROM table_name_94 WHERE rank = 1</s> |
CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR) | SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake" | What is Paul Coward 492cc nourish Weslake's lowest rank? | <s>[INST]What is Paul Coward 492cc nourish Weslake's lowest rank? Context: CREATE TABLE table_26986076_3 (rank INTEGER, rider VARCHAR)[/INST]SELECT MIN(rank) FROM table_26986076_3 WHERE rider = "Paul Coward 492cc Nourish Weslake"</s> |
CREATE TABLE table_name_47 (round VARCHAR, pick VARCHAR) | SELECT round FROM table_name_47 WHERE pick = 174 | Which Round has a Pick of 174? | <s>[INST]Which Round has a Pick of 174? Context: CREATE TABLE table_name_47 (round VARCHAR, pick VARCHAR)[/INST]SELECT round FROM table_name_47 WHERE pick = 174</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.