context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR) | SELECT land___sqmi__ FROM table_18600760_4 WHERE geo_id = 3807717980 | Name the land where geo id is 3807717980 | <s>[INST]Name the land where geo id is 3807717980 Context: CREATE TABLE table_18600760_4 (land___sqmi__ VARCHAR, geo_id VARCHAR)[/INST]SELECT land___sqmi__ FROM table_18600760_4 WHERE geo_id = 3807717980</s> |
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR) | SELECT syrian_christians FROM table_23214055_2 WHERE district = "Thiruvananthapuram" | Name the syrian christians for thiruvananthapuram | <s>[INST]Name the syrian christians for thiruvananthapuram Context: CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)[/INST]SELECT syrian_christians FROM table_23214055_2 WHERE district = "Thiruvananthapuram"</s> |
CREATE TABLE table_2709_4 (target_city__market VARCHAR, call_sign VARCHAR) | SELECT target_city__market FROM table_2709_4 WHERE call_sign = "KLRJ" | What is the market for KLRJ? | <s>[INST]What is the market for KLRJ? Context: CREATE TABLE table_2709_4 (target_city__market VARCHAR, call_sign VARCHAR)[/INST]SELECT target_city__market FROM table_2709_4 WHERE call_sign = "KLRJ"</s> |
CREATE TABLE table_name_38 (category VARCHAR, award VARCHAR) | SELECT category FROM table_name_38 WHERE award = "people's choice awards" | what is the category that has the people's choice awards? | <s>[INST]what is the category that has the people's choice awards? Context: CREATE TABLE table_name_38 (category VARCHAR, award VARCHAR)[/INST]SELECT category FROM table_name_38 WHERE award = "people's choice awards"</s> |
CREATE TABLE table_name_56 (road_team VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT road_team FROM table_name_56 WHERE home_team = "philadelphia" AND game = "game 6" | What is the road team of game 6 with Philadelphia as the home team? | <s>[INST]What is the road team of game 6 with Philadelphia as the home team? Context: CREATE TABLE table_name_56 (road_team VARCHAR, home_team VARCHAR, game VARCHAR)[/INST]SELECT road_team FROM table_name_56 WHERE home_team = "philadelphia" AND game = "game 6"</s> |
CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR) | SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven" | Who is the original west end performer for the character Neville Craven? | <s>[INST]Who is the original west end performer for the character Neville Craven? Context: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)[/INST]SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven"</s> |
CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR) | SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)" | what type of record was made where result/games is 10 games (29,606 avg.) | <s>[INST]what type of record was made where result/games is 10 games (29,606 avg.) Context: CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)[/INST]SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"</s> |
CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, company VARCHAR) | SELECT COUNT(index_weighting___percentage__at_17_january_2013) FROM table_168274_1 WHERE company = "Bouygues" | Name the total number of index weighting % at 17 january 2013 for bouygues | <s>[INST]Name the total number of index weighting % at 17 january 2013 for bouygues Context: CREATE TABLE table_168274_1 (index_weighting___percentage__at_17_january_2013 VARCHAR, company VARCHAR)[/INST]SELECT COUNT(index_weighting___percentage__at_17_january_2013) FROM table_168274_1 WHERE company = "Bouygues"</s> |
CREATE TABLE table_name_6 (city VARCHAR, third VARCHAR) | SELECT city FROM table_name_6 WHERE third = "lori olson-johns" | WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS? | <s>[INST]WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS? Context: CREATE TABLE table_name_6 (city VARCHAR, third VARCHAR)[/INST]SELECT city FROM table_name_6 WHERE third = "lori olson-johns"</s> |
CREATE TABLE table_name_2 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_2 WHERE original_title = "dependencia sexual" | What is Dependencia Sexual's film title that was used in its nomination? | <s>[INST]What is Dependencia Sexual's film title that was used in its nomination? Context: CREATE TABLE table_name_2 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_2 WHERE original_title = "dependencia sexual"</s> |
CREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR) | SELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND yds_att < 5.5 | How many touchdowns did the player with less than 4495 yards, long of less than 80, and yds/att less than 5.5 have? | <s>[INST]How many touchdowns did the player with less than 4495 yards, long of less than 80, and yds/att less than 5.5 have? Context: CREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)[/INST]SELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND y... |
CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR) | SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18 | What year was the class 253 larger than 18 built? | <s>[INST]What year was the class 253 larger than 18 built? Context: CREATE TABLE table_name_10 (year_built VARCHAR, class VARCHAR, number VARCHAR)[/INST]SELECT year_built FROM table_name_10 WHERE class = "class 253" AND number > 18</s> |
CREATE TABLE table_10015132_21 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_10015132_21 WHERE school_club_team = "Georgetown" | Which country is the player that went to Georgetown from? | <s>[INST]Which country is the player that went to Georgetown from? Context: CREATE TABLE table_10015132_21 (nationality VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_10015132_21 WHERE school_club_team = "Georgetown"</s> |
CREATE TABLE table_name_87 (total INTEGER, a_score VARCHAR, b_score VARCHAR) | SELECT SUM(total) FROM table_name_87 WHERE a_score > 7 AND b_score < 8.65 | What was the total rating that had a score higher than 7 and a b score smaller than 8.65? | <s>[INST]What was the total rating that had a score higher than 7 and a b score smaller than 8.65? Context: CREATE TABLE table_name_87 (total INTEGER, a_score VARCHAR, b_score VARCHAR)[/INST]SELECT SUM(total) FROM table_name_87 WHERE a_score > 7 AND b_score < 8.65</s> |
CREATE TABLE table_name_58 (rank INTEGER, location VARCHAR) | SELECT MIN(rank) FROM table_name_58 WHERE location = "augusta" | What is augusta's low rank? | <s>[INST]What is augusta's low rank? Context: CREATE TABLE table_name_58 (rank INTEGER, location VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_58 WHERE location = "augusta"</s> |
CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR) | SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder" | what is the earliest year when the result is won and the role/episode is fox mulder? | <s>[INST]what is the earliest year when the result is won and the role/episode is fox mulder? Context: CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)[/INST]SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder"</s> |
CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR) | SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel" | What is the rank for Omni nashville hotel? | <s>[INST]What is the rank for Omni nashville hotel? Context: CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_89 WHERE name = "omni nashville hotel"</s> |
CREATE TABLE table_26218783_7 (points VARCHAR) | SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675 | how many time was points 6675? | <s>[INST]how many time was points 6675? Context: CREATE TABLE table_26218783_7 (points VARCHAR)[/INST]SELECT COUNT(points) AS won FROM table_26218783_7 WHERE points = 6675</s> |
CREATE TABLE table_29002641_1 (Serial INTEGER, scrapped VARCHAR) | SELECT MAX(Serial) AS number FROM table_29002641_1 WHERE scrapped = "Feb 1994" | Name the most serial number for feb 1994 | <s>[INST]Name the most serial number for feb 1994 Context: CREATE TABLE table_29002641_1 (Serial INTEGER, scrapped VARCHAR)[/INST]SELECT MAX(Serial) AS number FROM table_29002641_1 WHERE scrapped = "Feb 1994"</s> |
CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR) | SELECT T1.address_line_1 FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "operating system" OR T2.course_name = "data structure" | Find the addresses of the course authors who teach the course with name "operating system" or "data structure". | <s>[INST]Find the addresses of the course authors who teach the course with name "operating system" or "data structure". Context: CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR)[/INST]SELECT T1.address_line_1 FROM Course_A... |
CREATE TABLE table_name_24 (attendance INTEGER, season VARCHAR, games VARCHAR, w_l_t VARCHAR) | SELECT SUM(attendance) FROM table_name_24 WHERE games < 6 AND w_l_t = "3-2-0" AND season < 1948 | How much Attendance has Games smaller than 6, and a W-L-T of 3-2-0, and a Season smaller than 1948? | <s>[INST]How much Attendance has Games smaller than 6, and a W-L-T of 3-2-0, and a Season smaller than 1948? Context: CREATE TABLE table_name_24 (attendance INTEGER, season VARCHAR, games VARCHAR, w_l_t VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_24 WHERE games < 6 AND w_l_t = "3-2-0" AND season < 1948</s> |
CREATE TABLE table_name_8 (wins INTEGER, player VARCHAR, rank VARCHAR) | SELECT MIN(wins) FROM table_name_8 WHERE player = "larry nelson" AND rank < 5 | What was the lowest wins of Larry Nelson, who ranked less than 5? | <s>[INST]What was the lowest wins of Larry Nelson, who ranked less than 5? Context: CREATE TABLE table_name_8 (wins INTEGER, player VARCHAR, rank VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_8 WHERE player = "larry nelson" AND rank < 5</s> |
CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR) | SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold" | Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold? | <s>[INST]Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold? Context: CREATE TABLE table_name_26 (winning_party_2003 VARCHAR, swing_to_gain VARCHAR, result VARCHAR)[/INST]SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold"</s> |
CREATE TABLE papers (Id VARCHAR) | SELECT COUNT(*) FROM papers | How many papers are published in total? | <s>[INST]How many papers are published in total? Context: CREATE TABLE papers (Id VARCHAR)[/INST]SELECT COUNT(*) FROM papers</s> |
CREATE TABLE table_name_96 (nominated_work VARCHAR, year VARCHAR) | SELECT nominated_work FROM table_name_96 WHERE year = 1997 | Which Nominated work has a Year of 1997? | <s>[INST]Which Nominated work has a Year of 1997? Context: CREATE TABLE table_name_96 (nominated_work VARCHAR, year VARCHAR)[/INST]SELECT nominated_work FROM table_name_96 WHERE year = 1997</s> |
CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR) | SELECT MAX(points) FROM table_27615896_18 WHERE sd = 15 | What are the total points for sd 15? | <s>[INST]What are the total points for sd 15? Context: CREATE TABLE table_27615896_18 (points INTEGER, sd VARCHAR)[/INST]SELECT MAX(points) FROM table_27615896_18 WHERE sd = 15</s> |
CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR) | SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009 | What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009? | <s>[INST]What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009? Context: CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009</s> |
CREATE TABLE table_name_89 (goals_against VARCHAR, wins VARCHAR, played VARCHAR) | SELECT COUNT(goals_against) FROM table_name_89 WHERE wins < 5 AND played < 5 | What are the total goals against the winner with less than 5 wins, and less than 5 plays? | <s>[INST]What are the total goals against the winner with less than 5 wins, and less than 5 plays? Context: CREATE TABLE table_name_89 (goals_against VARCHAR, wins VARCHAR, played VARCHAR)[/INST]SELECT COUNT(goals_against) FROM table_name_89 WHERE wins < 5 AND played < 5</s> |
CREATE TABLE table_name_89 (year INTEGER, avg_start VARCHAR, wins VARCHAR) | SELECT AVG(year) FROM table_name_89 WHERE avg_start < 6.3 AND wins < 0 | What is the average year with an average start smaller than 6.3 and fewer than 0 wins? | <s>[INST]What is the average year with an average start smaller than 6.3 and fewer than 0 wins? Context: CREATE TABLE table_name_89 (year INTEGER, avg_start VARCHAR, wins VARCHAR)[/INST]SELECT AVG(year) FROM table_name_89 WHERE avg_start < 6.3 AND wins < 0</s> |
CREATE TABLE table_name_86 (series VARCHAR, score VARCHAR) | SELECT series FROM table_name_86 WHERE score = "9–4" | Which Series has a Score of 9–4? | <s>[INST]Which Series has a Score of 9–4? Context: CREATE TABLE table_name_86 (series VARCHAR, score VARCHAR)[/INST]SELECT series FROM table_name_86 WHERE score = "9–4"</s> |
CREATE TABLE table_name_50 (tournament VARCHAR, result VARCHAR) | SELECT tournament FROM table_name_50 WHERE result = "18th" | What is Tournament, when Result is 18th? | <s>[INST]What is Tournament, when Result is 18th? Context: CREATE TABLE table_name_50 (tournament VARCHAR, result VARCHAR)[/INST]SELECT tournament FROM table_name_50 WHERE result = "18th"</s> |
CREATE TABLE table_name_5 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR) | SELECT maximum_download_speed__kbps FROM table_name_5 WHERE technology = "3g" AND plan_name = "internet premium" | What is the maximum download speed for the Internet premium 3G plan? | <s>[INST]What is the maximum download speed for the Internet premium 3G plan? Context: CREATE TABLE table_name_5 (maximum_download_speed__kbps VARCHAR, technology VARCHAR, plan_name VARCHAR)[/INST]SELECT maximum_download_speed__kbps FROM table_name_5 WHERE technology = "3g" AND plan_name = "internet premium"</s> |
CREATE TABLE table_1756264_2 (holding_companies INTEGER) | SELECT MAX(holding_companies) FROM table_1756264_2 | What is the largest number of holding companies? | <s>[INST]What is the largest number of holding companies? Context: CREATE TABLE table_1756264_2 (holding_companies INTEGER)[/INST]SELECT MAX(holding_companies) FROM table_1756264_2</s> |
CREATE TABLE table_30108930_6 (position VARCHAR, player VARCHAR) | SELECT position FROM table_30108930_6 WHERE player = "Tyrell Francisco" | What is Tyrell Francisco's player position? | <s>[INST]What is Tyrell Francisco's player position? Context: CREATE TABLE table_30108930_6 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_30108930_6 WHERE player = "Tyrell Francisco"</s> |
CREATE TABLE table_name_77 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR) | SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = "aquarius" | WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS? | <s>[INST]WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS? Context: CREATE TABLE table_name_77 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR)[/INST]SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = "aquarius"</s> |
CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR) | SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "no data" | List the possible children per donor levels for countries where the allowed recipients is no data. | <s>[INST]List the possible children per donor levels for countries where the allowed recipients is no data. Context: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)[/INST]SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "no data"</s> |
CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR) | SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827" | What municipality where the human development index in the year 2000 was 0.7827? | <s>[INST]What municipality where the human development index in the year 2000 was 0.7827? Context: CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR)[/INST]SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827"</s> |
CREATE TABLE table_name_74 (rank INTEGER, events VARCHAR, wins VARCHAR) | SELECT AVG(rank) FROM table_name_74 WHERE events < 26 AND wins < 2 | What is the average rank for players with under 26 events and less than 2 wins? | <s>[INST]What is the average rank for players with under 26 events and less than 2 wins? Context: CREATE TABLE table_name_74 (rank INTEGER, events VARCHAR, wins VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_74 WHERE events < 26 AND wins < 2</s> |
CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_96 WHERE home_team = "gillingham" | What is Tie no, when Home Team is "Gillingham"? | <s>[INST]What is Tie no, when Home Team is "Gillingham"? Context: CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_96 WHERE home_team = "gillingham"</s> |
CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR) | SELECT kick_off FROM table_name_23 WHERE round = "r4" | What was the kickoff date for the round value of R4? | <s>[INST]What was the kickoff date for the round value of R4? Context: CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR)[/INST]SELECT kick_off FROM table_name_23 WHERE round = "r4"</s> |
CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER) | SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 0 | Which Copa del Rey has a La Liga smaller than 0? | <s>[INST]Which Copa del Rey has a La Liga smaller than 0? Context: CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER)[/INST]SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 0</s> |
CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_62 WHERE opponent = "northwestern" | What was the date of the game against Northwestern? | <s>[INST]What was the date of the game against Northwestern? Context: CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE opponent = "northwestern"</s> |
CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR, emp_dob VARCHAR) | SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' ORDER BY emp_dob | List the first name of all employees with job code PROF ordered by their date of birth. | <s>[INST]List the first name of all employees with job code PROF ordered by their date of birth. Context: CREATE TABLE employee (emp_fname VARCHAR, emp_jobcode VARCHAR, emp_dob VARCHAR)[/INST]SELECT emp_fname FROM employee WHERE emp_jobcode = 'PROF' ORDER BY emp_dob</s> |
CREATE TABLE table_name_56 (democratic_ticket VARCHAR, free_libertarian_ticket VARCHAR) | SELECT democratic_ticket FROM table_name_56 WHERE free_libertarian_ticket = "leland w. schubert" | Leland W. Schubert, Free Libertarian ticket, had who listed on the Democratic ticket? | <s>[INST]Leland W. Schubert, Free Libertarian ticket, had who listed on the Democratic ticket? Context: CREATE TABLE table_name_56 (democratic_ticket VARCHAR, free_libertarian_ticket VARCHAR)[/INST]SELECT democratic_ticket FROM table_name_56 WHERE free_libertarian_ticket = "leland w. schubert"</s> |
CREATE TABLE table_name_20 (type_of_game VARCHAR, results¹ VARCHAR, opponent VARCHAR) | SELECT type_of_game FROM table_name_20 WHERE results¹ = "3:1" AND opponent = "france" | What type of game was held against France with the results of 3:1? | <s>[INST]What type of game was held against France with the results of 3:1? Context: CREATE TABLE table_name_20 (type_of_game VARCHAR, results¹ VARCHAR, opponent VARCHAR)[/INST]SELECT type_of_game FROM table_name_20 WHERE results¹ = "3:1" AND opponent = "france"</s> |
CREATE TABLE table_2517159_1 (appearances VARCHAR, name_of_bowl VARCHAR) | SELECT COUNT(appearances) FROM table_2517159_1 WHERE name_of_bowl = "Independence Bowl" | Name the appearance for independence bowl | <s>[INST]Name the appearance for independence bowl Context: CREATE TABLE table_2517159_1 (appearances VARCHAR, name_of_bowl VARCHAR)[/INST]SELECT COUNT(appearances) FROM table_2517159_1 WHERE name_of_bowl = "Independence Bowl"</s> |
CREATE TABLE table_15472061_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) | SELECT no_in_series FROM table_15472061_1 WHERE us_viewers__millions_ = "7.78" | Name the number in the series for when the viewers is 7.78 | <s>[INST]Name the number in the series for when the viewers is 7.78 Context: CREATE TABLE table_15472061_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT no_in_series FROM table_15472061_1 WHERE us_viewers__millions_ = "7.78"</s> |
CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR) | SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367 | What type has an unspecified species and less than 367 genes? | <s>[INST]What type has an unspecified species and less than 367 genes? Context: CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR)[/INST]SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367</s> |
CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_25 WHERE home = "minnesota" | Which Date has a Home of minnesota? | <s>[INST]Which Date has a Home of minnesota? Context: CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE home = "minnesota"</s> |
CREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow" | What is the name of the director of the episode written by robin schwartz & robert tarlow? | <s>[INST]What is the name of the director of the episode written by robin schwartz & robert tarlow? Context: CREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow"</s> |
CREATE TABLE table_name_66 (event VARCHAR, location VARCHAR) | SELECT event FROM table_name_66 WHERE location = "saitama, japan" | what is the event when the location is saitama, japan? | <s>[INST]what is the event when the location is saitama, japan? Context: CREATE TABLE table_name_66 (event VARCHAR, location VARCHAR)[/INST]SELECT event FROM table_name_66 WHERE location = "saitama, japan"</s> |
CREATE TABLE table_25401_15 (italian VARCHAR, conservative_central_italian_1 VARCHAR) | SELECT COUNT(italian) FROM table_25401_15 WHERE conservative_central_italian_1 = "unu" | How many entries for Italian correspond to the Conservative Central Italian of Unu? | <s>[INST]How many entries for Italian correspond to the Conservative Central Italian of Unu? Context: CREATE TABLE table_25401_15 (italian VARCHAR, conservative_central_italian_1 VARCHAR)[/INST]SELECT COUNT(italian) FROM table_25401_15 WHERE conservative_central_italian_1 = "unu"</s> |
CREATE TABLE table_name_97 (date_of_death VARCHAR, date_of_birth VARCHAR) | SELECT date_of_death FROM table_name_97 WHERE date_of_birth = "28 may 1371" | What was the Date of Death of the person whose Date of Birth was 28 May 1371? | <s>[INST]What was the Date of Death of the person whose Date of Birth was 28 May 1371? Context: CREATE TABLE table_name_97 (date_of_death VARCHAR, date_of_birth VARCHAR)[/INST]SELECT date_of_death FROM table_name_97 WHERE date_of_birth = "28 may 1371"</s> |
CREATE TABLE table_name_76 (competition VARCHAR, year VARCHAR) | SELECT competition FROM table_name_76 WHERE year = 2003 | What was the competition in 2003? | <s>[INST]What was the competition in 2003? Context: CREATE TABLE table_name_76 (competition VARCHAR, year VARCHAR)[/INST]SELECT competition FROM table_name_76 WHERE year = 2003</s> |
CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR) | SELECT COUNT(poor_law_union) FROM table_30121075_1 WHERE townland = "Dromidiclogh" | How many entries are listed in poor law union when townland is dromidiclogh? | <s>[INST]How many entries are listed in poor law union when townland is dromidiclogh? Context: CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)[/INST]SELECT COUNT(poor_law_union) FROM table_30121075_1 WHERE townland = "Dromidiclogh"</s> |
CREATE TABLE table_17311812_8 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_17311812_8 WHERE date = "February 11" | What is the high amount of points on February 11? | <s>[INST]What is the high amount of points on February 11? Context: CREATE TABLE table_17311812_8 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_17311812_8 WHERE date = "February 11"</s> |
CREATE TABLE table_name_96 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_96 WHERE venue = "dreisamstadion, freiburg" | What is the result at Dreisamstadion, Freiburg? | <s>[INST]What is the result at Dreisamstadion, Freiburg? Context: CREATE TABLE table_name_96 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_96 WHERE venue = "dreisamstadion, freiburg"</s> |
CREATE TABLE table_name_93 (film VARCHAR, category VARCHAR, director_s_ VARCHAR) | SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar" | What film did abdelatif hwidar direct that was in the short film 2007 prix uip category? | <s>[INST]What film did abdelatif hwidar direct that was in the short film 2007 prix uip category? Context: CREATE TABLE table_name_93 (film VARCHAR, category VARCHAR, director_s_ VARCHAR)[/INST]SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar"</s> |
CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR) | SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = "sweden" | what is the most weeks on chart when the peak position is less than 5 and from Sweden? | <s>[INST]what is the most weeks on chart when the peak position is less than 5 and from Sweden? Context: CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR)[/INST]SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = "sweden"</s> |
CREATE TABLE table_17918238_1 (maximum_diameter VARCHAR, owner_operator VARCHAR) | SELECT maximum_diameter FROM table_17918238_1 WHERE owner_operator = "Esperance Pipeline Co" | What is Esperance pipeline co total diameter? | <s>[INST]What is Esperance pipeline co total diameter? Context: CREATE TABLE table_17918238_1 (maximum_diameter VARCHAR, owner_operator VARCHAR)[/INST]SELECT maximum_diameter FROM table_17918238_1 WHERE owner_operator = "Esperance Pipeline Co"</s> |
CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR) | SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302 | A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? | <s>[INST]A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? Context: CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR)[/INST]SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302</s> |
CREATE TABLE table_name_42 (college VARCHAR, school VARCHAR) | SELECT college FROM table_name_42 WHERE school = "huntsville high school" | What college did the player with a school of huntsville high school go to? | <s>[INST]What college did the player with a school of huntsville high school go to? Context: CREATE TABLE table_name_42 (college VARCHAR, school VARCHAR)[/INST]SELECT college FROM table_name_42 WHERE school = "huntsville high school"</s> |
CREATE TABLE table_name_15 (show VARCHAR, network__last_aired_ VARCHAR, last_aired VARCHAR) | SELECT show FROM table_name_15 WHERE network__last_aired_ = "abc" AND last_aired > 2002 | What show was played on ABC laster after 2002? | <s>[INST]What show was played on ABC laster after 2002? Context: CREATE TABLE table_name_15 (show VARCHAR, network__last_aired_ VARCHAR, last_aired VARCHAR)[/INST]SELECT show FROM table_name_15 WHERE network__last_aired_ = "abc" AND last_aired > 2002</s> |
CREATE TABLE table_name_15 (circuit VARCHAR, team VARCHAR) | SELECT circuit FROM table_name_15 WHERE team = "volvo cars australia" | What circuit has volvo cars australia as the team? | <s>[INST]What circuit has volvo cars australia as the team? Context: CREATE TABLE table_name_15 (circuit VARCHAR, team VARCHAR)[/INST]SELECT circuit FROM table_name_15 WHERE team = "volvo cars australia"</s> |
CREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR) | SELECT term_in_office FROM table_name_68 WHERE state = "vic" AND member = "stewart mcarthur" | What term did Stewart Mcarthur from Vic serve in office? | <s>[INST]What term did Stewart Mcarthur from Vic serve in office? Context: CREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR)[/INST]SELECT term_in_office FROM table_name_68 WHERE state = "vic" AND member = "stewart mcarthur"</s> |
CREATE TABLE table_23793770_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_23793770_1 WHERE directed_by = "Allison Liddi-Brown" | What is the title the episode directed by Allison Liddi-Brown? | <s>[INST]What is the title the episode directed by Allison Liddi-Brown? Context: CREATE TABLE table_23793770_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_23793770_1 WHERE directed_by = "Allison Liddi-Brown"</s> |
CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_21 WHERE date = "2009-07-18" | What is the record of the match on 2009-07-18? | <s>[INST]What is the record of the match on 2009-07-18? Context: CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_21 WHERE date = "2009-07-18"</s> |
CREATE TABLE Highschooler (ID VARCHAR, name VARCHAR) | SELECT ID FROM Highschooler WHERE name = "Kyle" | Show the ID of the high schooler named Kyle. | <s>[INST]Show the ID of the high schooler named Kyle. Context: CREATE TABLE Highschooler (ID VARCHAR, name VARCHAR)[/INST]SELECT ID FROM Highschooler WHERE name = "Kyle"</s> |
CREATE TABLE table_name_67 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_67 WHERE type = "tko" AND round = "2 (6)" AND date = "2006-09-20" | Which Opponent has a Type of tko, and a Round of 2 (6) on 2006-09-20? | <s>[INST]Which Opponent has a Type of tko, and a Round of 2 (6) on 2006-09-20? Context: CREATE TABLE table_name_67 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_67 WHERE type = "tko" AND round = "2 (6)" AND date = "2006-09-20"</s> |
CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR) | SELECT COUNT(college) FROM table_16575609_5 WHERE player = "Jon Gott" | How many colleges did Jon Gott attend? | <s>[INST]How many colleges did Jon Gott attend? Context: CREATE TABLE table_16575609_5 (college VARCHAR, player VARCHAR)[/INST]SELECT COUNT(college) FROM table_16575609_5 WHERE player = "Jon Gott"</s> |
CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR) | SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption" | Which platform was Red Dead Redemption for? | <s>[INST]Which platform was Red Dead Redemption for? Context: CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR)[/INST]SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption"</s> |
CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR) | SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4 | What is the smallest population with an Area (km²) of 1115.4? | <s>[INST]What is the smallest population with an Area (km²) of 1115.4? Context: CREATE TABLE table_name_72 (population INTEGER, area__km²_ VARCHAR)[/INST]SELECT MIN(population) FROM table_name_72 WHERE area__km²_ = 1115.4</s> |
CREATE TABLE table_name_77 (circuit VARCHAR, session VARCHAR) | SELECT circuit FROM table_name_77 WHERE session = "qualifying" | What circuit has qualifying as the session? | <s>[INST]What circuit has qualifying as the session? Context: CREATE TABLE table_name_77 (circuit VARCHAR, session VARCHAR)[/INST]SELECT circuit FROM table_name_77 WHERE session = "qualifying"</s> |
CREATE TABLE order_items (order_item_id VARCHAR, product_id VARCHAR) | SELECT order_item_id FROM order_items WHERE product_id = 11 | Find the ids of all the order items whose product id is 11. | <s>[INST]Find the ids of all the order items whose product id is 11. Context: CREATE TABLE order_items (order_item_id VARCHAR, product_id VARCHAR)[/INST]SELECT order_item_id FROM order_items WHERE product_id = 11</s> |
CREATE TABLE table_name_51 (poles VARCHAR, points VARCHAR) | SELECT poles FROM table_name_51 WHERE points = "104" | What is the number of poles with 104 points? | <s>[INST]What is the number of poles with 104 points? Context: CREATE TABLE table_name_51 (poles VARCHAR, points VARCHAR)[/INST]SELECT poles FROM table_name_51 WHERE points = "104"</s> |
CREATE TABLE table_name_2 (result VARCHAR, director VARCHAR, year VARCHAR) | SELECT result FROM table_name_2 WHERE director = "said elmarouk" AND year < 2008 | What is the result for director Said Elmarouk before 2008? | <s>[INST]What is the result for director Said Elmarouk before 2008? Context: CREATE TABLE table_name_2 (result VARCHAR, director VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_2 WHERE director = "said elmarouk" AND year < 2008</s> |
CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil" | What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil? | <s>[INST]What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil? Context: CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil"</s> |
CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_8 WHERE record = "68-39" | What was the score of the game when the record was 68-39? | <s>[INST]What was the score of the game when the record was 68-39? Context: CREATE TABLE table_name_8 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE record = "68-39"</s> |
CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, common_of VARCHAR) | SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE common_of = "Chieri" | The common of Chieri has what population density? | <s>[INST]The common of Chieri has what population density? Context: CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, common_of VARCHAR)[/INST]SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE common_of = "Chieri"</s> |
CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR) | SELECT pictorials FROM table_name_84 WHERE interview_subject = "jesse jackson" | In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of? | <s>[INST]In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of? Context: CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR)[/INST]SELECT pictorials FROM table_name_84 WHERE interview_subject = "jesse jackson"</s> |
CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_51 WHERE record = "84-56" | What game score was there for the team with a record of 84-56? | <s>[INST]What game score was there for the team with a record of 84-56? Context: CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_51 WHERE record = "84-56"</s> |
CREATE TABLE table (position VARCHAR, player VARCHAR, Marcelo VARCHAR) | SELECT position FROM table WHERE player = Marcelo | If the player is Marcelo, what is the position? | <s>[INST]If the player is Marcelo, what is the position? Context: CREATE TABLE table (position VARCHAR, player VARCHAR, Marcelo VARCHAR)[/INST]SELECT position FROM table WHERE player = Marcelo</s> |
CREATE TABLE table_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR) | SELECT first_air_date FROM table_28980706_4 WHERE rating__18_49_ = "4.5" | When 4.5 is the rating (18-49) what is the air date? | <s>[INST]When 4.5 is the rating (18-49) what is the air date? Context: CREATE TABLE table_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR)[/INST]SELECT first_air_date FROM table_28980706_4 WHERE rating__18_49_ = "4.5"</s> |
CREATE TABLE wedding (YEAR VARCHAR) | SELECT COUNT(*) FROM wedding WHERE YEAR = 2016 | How many weddings are there in year 2016? | <s>[INST]How many weddings are there in year 2016? Context: CREATE TABLE wedding (YEAR VARCHAR)[/INST]SELECT COUNT(*) FROM wedding WHERE YEAR = 2016</s> |
CREATE TABLE table_name_82 (floors INTEGER, name VARCHAR) | SELECT MIN(floors) FROM table_name_82 WHERE name = "dubai marriott harbour hotel & suites" | What is the lowest number of floors recorded for buildings built by Dubai Marriott Harbour Hotel & Suites? | <s>[INST]What is the lowest number of floors recorded for buildings built by Dubai Marriott Harbour Hotel & Suites? Context: CREATE TABLE table_name_82 (floors INTEGER, name VARCHAR)[/INST]SELECT MIN(floors) FROM table_name_82 WHERE name = "dubai marriott harbour hotel & suites"</s> |
CREATE TABLE table_name_37 (played INTEGER, points INTEGER) | SELECT AVG(played) FROM table_name_37 WHERE points < 8 | What is the average played for less than 8 points? | <s>[INST]What is the average played for less than 8 points? Context: CREATE TABLE table_name_37 (played INTEGER, points INTEGER)[/INST]SELECT AVG(played) FROM table_name_37 WHERE points < 8</s> |
CREATE TABLE table_name_35 (author_s_ VARCHAR, time VARCHAR) | SELECT author_s_ FROM table_name_35 WHERE time = "2:22" | Who wrote the song that runs for 2:22? | <s>[INST]Who wrote the song that runs for 2:22? Context: CREATE TABLE table_name_35 (author_s_ VARCHAR, time VARCHAR)[/INST]SELECT author_s_ FROM table_name_35 WHERE time = "2:22"</s> |
CREATE TABLE table_name_87 (Id VARCHAR) | SELECT 2008 FROM table_name_87 WHERE 2006 = "2nd" | What is the 2008 value that was 2nd in 2006? | <s>[INST]What is the 2008 value that was 2nd in 2006? Context: CREATE TABLE table_name_87 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_87 WHERE 2006 = "2nd"</s> |
CREATE TABLE table_name_63 (name VARCHAR, winning_drivers VARCHAR) | SELECT name FROM table_name_63 WHERE winning_drivers = "tazio nuvolari" | What race was won by Tazio Nuvolari? | <s>[INST]What race was won by Tazio Nuvolari? Context: CREATE TABLE table_name_63 (name VARCHAR, winning_drivers VARCHAR)[/INST]SELECT name FROM table_name_63 WHERE winning_drivers = "tazio nuvolari"</s> |
CREATE TABLE table_name_65 (nominee VARCHAR, category VARCHAR, result VARCHAR) | SELECT nominee FROM table_name_65 WHERE category = "outstanding featured actor in a musical" AND result = "nominated" | What was nominee nominated for outstanding featured actor in a musical? | <s>[INST]What was nominee nominated for outstanding featured actor in a musical? Context: CREATE TABLE table_name_65 (nominee VARCHAR, category VARCHAR, result VARCHAR)[/INST]SELECT nominee FROM table_name_65 WHERE category = "outstanding featured actor in a musical" AND result = "nominated"</s> |
CREATE TABLE table_name_30 (nationality VARCHAR, previous_team VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) | SELECT nationality FROM table_name_30 WHERE previous_team = "new york knicks" AND years_of_nba_experience_[a_] > 3 | Which Nationality has a Previous team of new york knicks, and more than 3 Years of NBA experience? | <s>[INST]Which Nationality has a Previous team of new york knicks, and more than 3 Years of NBA experience? Context: CREATE TABLE table_name_30 (nationality VARCHAR, previous_team VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)[/INST]SELECT nationality FROM table_name_30 WHERE previous_team = "new york knicks" A... |
CREATE TABLE table_name_94 (home VARCHAR, visitor VARCHAR, record VARCHAR) | SELECT home FROM table_name_94 WHERE visitor = "chicago black hawks" AND record = "0-2" | What was the home team when the visiting team was Chicago Black Hawks, a game with a record of 0-2? | <s>[INST]What was the home team when the visiting team was Chicago Black Hawks, a game with a record of 0-2? Context: CREATE TABLE table_name_94 (home VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_94 WHERE visitor = "chicago black hawks" AND record = "0-2"</s> |
CREATE TABLE table_10294071_1 (ties_played VARCHAR, total_w_l VARCHAR) | SELECT COUNT(ties_played) FROM table_10294071_1 WHERE total_w_l = "38–24" | what is the total number of ties played where total w–l is 38–24 | <s>[INST]what is the total number of ties played where total w–l is 38–24 Context: CREATE TABLE table_10294071_1 (ties_played VARCHAR, total_w_l VARCHAR)[/INST]SELECT COUNT(ties_played) FROM table_10294071_1 WHERE total_w_l = "38–24"</s> |
CREATE TABLE table_name_11 (money___ INTEGER, to_par INTEGER) | SELECT MAX(money___) AS $__ FROM table_name_11 WHERE to_par < 2 | What is the highest Money ( $ ), when To Par is less than 2? | <s>[INST]What is the highest Money ( $ ), when To Par is less than 2? Context: CREATE TABLE table_name_11 (money___ INTEGER, to_par INTEGER)[/INST]SELECT MAX(money___) AS $__ FROM table_name_11 WHERE to_par < 2</s> |
CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR) | SELECT opponent FROM table_name_54 WHERE tournament = "mallorca 2, spain" | Who was the opponent in the mallorca 2, spain tournament? | <s>[INST]Who was the opponent in the mallorca 2, spain tournament? Context: CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR)[/INST]SELECT opponent FROM table_name_54 WHERE tournament = "mallorca 2, spain"</s> |
CREATE TABLE department (dept_name VARCHAR, budget INTEGER) | SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department) | Find the name and budget of departments whose budgets are more than the average budget. | <s>[INST]Find the name and budget of departments whose budgets are more than the average budget. Context: CREATE TABLE department (dept_name VARCHAR, budget INTEGER)[/INST]SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department)</s> |
CREATE TABLE table_name_32 (round INTEGER, team VARCHAR) | SELECT MIN(round) FROM table_name_32 WHERE team = "central florida" | What was the earliest Round for Central Florida? | <s>[INST]What was the earliest Round for Central Florida? Context: CREATE TABLE table_name_32 (round INTEGER, team VARCHAR)[/INST]SELECT MIN(round) FROM table_name_32 WHERE team = "central florida"</s> |
CREATE TABLE table_name_20 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10" | Name the score for the mariners opponent on may 10 | <s>[INST]Name the score for the mariners opponent on may 10 Context: CREATE TABLE table_name_20 (score VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10"</s> |
CREATE TABLE table_18955077_1 (just_ratio VARCHAR, just__cents_ VARCHAR) | SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = "84.46" | If the just cents is 84.46, what is the just ratio? | <s>[INST]If the just cents is 84.46, what is the just ratio? Context: CREATE TABLE table_18955077_1 (just_ratio VARCHAR, just__cents_ VARCHAR)[/INST]SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = "84.46"</s> |
CREATE TABLE table_25401874_1 (games_played VARCHAR, name VARCHAR) | SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = "Lauren McGee" | How many games played catagories are there for Lauren McGee? | <s>[INST]How many games played catagories are there for Lauren McGee? Context: CREATE TABLE table_25401874_1 (games_played VARCHAR, name VARCHAR)[/INST]SELECT COUNT(games_played) FROM table_25401874_1 WHERE name = "Lauren McGee"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.