context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_73 (points VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR) | SELECT COUNT(points) FROM table_name_73 WHERE wins < 14 AND club = "sd indauchu" AND position > 12 | WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12? | <s>[INST]WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12? Context: CREATE TABLE table_name_73 (points VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_73 WHERE wins < 14 AND club = "sd indauchu" AND position > 12</s> |
CREATE TABLE table_name_66 (against INTEGER, losses VARCHAR, wimmera_fl VARCHAR) | SELECT SUM(against) FROM table_name_66 WHERE losses < 7 AND wimmera_fl = "horsham" | How much Against has Losses smaller than 7, and a Wimmera FL of horsham? | <s>[INST]How much Against has Losses smaller than 7, and a Wimmera FL of horsham? Context: CREATE TABLE table_name_66 (against INTEGER, losses VARCHAR, wimmera_fl VARCHAR)[/INST]SELECT SUM(against) FROM table_name_66 WHERE losses < 7 AND wimmera_fl = "horsham"</s> |
CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR) | SELECT class FROM table_name_48 WHERE qual_pos = 30 | Which class has a Qual position of 30? | <s>[INST]Which class has a Qual position of 30? Context: CREATE TABLE table_name_48 (class VARCHAR, qual_pos VARCHAR)[/INST]SELECT class FROM table_name_48 WHERE qual_pos = 30</s> |
CREATE TABLE table_name_85 (years VARCHAR, roll VARCHAR) | SELECT years FROM table_name_85 WHERE roll = 33 | What years does the school have with a roll of 33? | <s>[INST]What years does the school have with a roll of 33? Context: CREATE TABLE table_name_85 (years VARCHAR, roll VARCHAR)[/INST]SELECT years FROM table_name_85 WHERE roll = 33</s> |
CREATE TABLE table_name_31 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_31 WHERE country = "united states" AND player = "lucas glover" | What is the score for Lucas Glover of the United States? | <s>[INST]What is the score for Lucas Glover of the United States? Context: CREATE TABLE table_name_31 (score VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE country = "united states" AND player = "lucas glover"</s> |
CREATE TABLE table_name_5 (density__hab_km²_ VARCHAR, elevation_msl VARCHAR) | SELECT density__hab_km²_ FROM table_name_5 WHERE elevation_msl = "3,400 msl" | What is the density of the city with an elevation of 3,400 msl? | <s>[INST]What is the density of the city with an elevation of 3,400 msl? Context: CREATE TABLE table_name_5 (density__hab_km²_ VARCHAR, elevation_msl VARCHAR)[/INST]SELECT density__hab_km²_ FROM table_name_5 WHERE elevation_msl = "3,400 msl"</s> |
CREATE TABLE table_name_61 (black VARCHAR, brown VARCHAR) | SELECT black FROM table_name_61 WHERE brown = "6,54%" | Which Category in Black has a Brown of 6,54%? | <s>[INST]Which Category in Black has a Brown of 6,54%? Context: CREATE TABLE table_name_61 (black VARCHAR, brown VARCHAR)[/INST]SELECT black FROM table_name_61 WHERE brown = "6,54%"</s> |
CREATE TABLE table_name_1 (name VARCHAR, left_office VARCHAR) | SELECT name FROM table_name_1 WHERE left_office = "june 2011" | Who left office in June 2011? | <s>[INST]Who left office in June 2011? Context: CREATE TABLE table_name_1 (name VARCHAR, left_office VARCHAR)[/INST]SELECT name FROM table_name_1 WHERE left_office = "june 2011"</s> |
CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_63 WHERE score = 69 - 70 - 72 = 211 | what country has a score of 69-70-72=211? | <s>[INST]what country has a score of 69-70-72=211? Context: CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_63 WHERE score = 69 - 70 - 72 = 211</s> |
CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR) | SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'" | What number home run was in the 8th inning and went 410'? | <s>[INST]What number home run was in the 8th inning and went 410'? Context: CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR)[/INST]SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'"</s> |
CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR) | SELECT winnings FROM table_25146455_1 WHERE driver = "Kenny Brack" | How much did Kenny Brack win? | <s>[INST]How much did Kenny Brack win? Context: CREATE TABLE table_25146455_1 (winnings VARCHAR, driver VARCHAR)[/INST]SELECT winnings FROM table_25146455_1 WHERE driver = "Kenny Brack"</s> |
CREATE TABLE table_18646111_13 (semifinals VARCHAR, class VARCHAR) | SELECT COUNT(semifinals) FROM table_18646111_13 WHERE class = "TT2" | Name the number of semifinals for tt2 | <s>[INST]Name the number of semifinals for tt2 Context: CREATE TABLE table_18646111_13 (semifinals VARCHAR, class VARCHAR)[/INST]SELECT COUNT(semifinals) FROM table_18646111_13 WHERE class = "TT2"</s> |
CREATE TABLE table_19534677_1 (_number VARCHAR, creators VARCHAR) | SELECT _number FROM table_19534677_1 WHERE creators = "Bill Finger Edmond Hamilton Dick Sprang , et al." | Name the # for bill finger edmond hamilton dick sprang , et al. | <s>[INST]Name the # for bill finger edmond hamilton dick sprang , et al. Context: CREATE TABLE table_19534677_1 (_number VARCHAR, creators VARCHAR)[/INST]SELECT _number FROM table_19534677_1 WHERE creators = "Bill Finger Edmond Hamilton Dick Sprang , et al."</s> |
CREATE TABLE table_name_23 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_23 WHERE away_team = "hawthorn" | What was the away team's score against Hawthorn? | <s>[INST]What was the away team's score against Hawthorn? Context: CREATE TABLE table_name_23 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_23 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_87 (date VARCHAR, opposing_team VARCHAR) | SELECT date FROM table_name_87 WHERE opposing_team = "oxford united" | What was the date of the game against Oxford United? | <s>[INST]What was the date of the game against Oxford United? Context: CREATE TABLE table_name_87 (date VARCHAR, opposing_team VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE opposing_team = "oxford united"</s> |
CREATE TABLE people (country VARCHAR, age INTEGER) | SELECT country FROM people WHERE age < 25 INTERSECT SELECT country FROM people WHERE age > 30 | Show the country where people older than 30 and younger than 25 are from. | <s>[INST]Show the country where people older than 30 and younger than 25 are from. Context: CREATE TABLE people (country VARCHAR, age INTEGER)[/INST]SELECT country FROM people WHERE age < 25 INTERSECT SELECT country FROM people WHERE age > 30</s> |
CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER) | SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9 | What is the lowest Wins with a Top-10 that is larger than 9? | <s>[INST]What is the lowest Wins with a Top-10 that is larger than 9? Context: CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)[/INST]SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9</s> |
CREATE TABLE table_1342218_6 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_1342218_6 WHERE first_elected = 1943 | what is the result of the first elected is 1943? | <s>[INST]what is the result of the first elected is 1943? Context: CREATE TABLE table_1342218_6 (result VARCHAR, first_elected VARCHAR)[/INST]SELECT result FROM table_1342218_6 WHERE first_elected = 1943</s> |
CREATE TABLE table_1140073_2 (race VARCHAR, location VARCHAR) | SELECT race FROM table_1140073_2 WHERE location = "Kyalami" | Which race is located in kyalami? | <s>[INST]Which race is located in kyalami? Context: CREATE TABLE table_1140073_2 (race VARCHAR, location VARCHAR)[/INST]SELECT race FROM table_1140073_2 WHERE location = "Kyalami"</s> |
CREATE TABLE table_25716397_1 (title VARCHAR, written_by VARCHAR) | SELECT COUNT(title) FROM table_25716397_1 WHERE written_by = "Joe Toplyn" | How many titles does the episode written by Joe Toplyn have? | <s>[INST]How many titles does the episode written by Joe Toplyn have? Context: CREATE TABLE table_25716397_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(title) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"</s> |
CREATE TABLE table_name_53 (capital VARCHAR, area__km²_ VARCHAR) | SELECT capital FROM table_name_53 WHERE area__km²_ = 2166086 | What capital has an area of 2166086? | <s>[INST]What capital has an area of 2166086? Context: CREATE TABLE table_name_53 (capital VARCHAR, area__km²_ VARCHAR)[/INST]SELECT capital FROM table_name_53 WHERE area__km²_ = 2166086</s> |
CREATE TABLE table_13943239_1 (location VARCHAR, episode VARCHAR) | SELECT location FROM table_13943239_1 WHERE episode = "12th Pride of Britain Awards" | Where was held the ceremony for the 12th Pride of Britain Awards? | <s>[INST]Where was held the ceremony for the 12th Pride of Britain Awards? Context: CREATE TABLE table_13943239_1 (location VARCHAR, episode VARCHAR)[/INST]SELECT location FROM table_13943239_1 WHERE episode = "12th Pride of Britain Awards"</s> |
CREATE TABLE table_name_91 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_91 WHERE score = 68 - 73 - 69 = 210 | What is the country with a 68-73-69=210 score? | <s>[INST]What is the country with a 68-73-69=210 score? Context: CREATE TABLE table_name_91 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_91 WHERE score = 68 - 73 - 69 = 210</s> |
CREATE TABLE table_name_72 (placement_in_miss_universe VARCHAR, delegate VARCHAR) | SELECT placement_in_miss_universe FROM table_name_72 WHERE delegate = "janine mari raymundo tugonon" | Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon? | <s>[INST]Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon? Context: CREATE TABLE table_name_72 (placement_in_miss_universe VARCHAR, delegate VARCHAR)[/INST]SELECT placement_in_miss_universe FROM table_name_72 WHERE delegate = "janine mari raymundo tugonon"</s> |
CREATE TABLE buildings (name VARCHAR, Status VARCHAR, Stories VARCHAR) | SELECT name FROM buildings WHERE Status = "on-hold" ORDER BY Stories | Please show the names of the buildings whose status is "on-hold", in ascending order of stories. | <s>[INST]Please show the names of the buildings whose status is "on-hold", in ascending order of stories. Context: CREATE TABLE buildings (name VARCHAR, Status VARCHAR, Stories VARCHAR)[/INST]SELECT name FROM buildings WHERE Status = "on-hold" ORDER BY Stories</s> |
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_30 WHERE date = "nov 28" | What is Score, when Date is "Nov 28"? | <s>[INST]What is Score, when Date is "Nov 28"? Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_30 WHERE date = "nov 28"</s> |
CREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR) | SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts" | What is the highest pick number of the CFL's Toronto Argonauts? | <s>[INST]What is the highest pick number of the CFL's Toronto Argonauts? Context: CREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = "toronto argonauts"</s> |
CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_82 WHERE player = "matt roth" | What round was matt roth drafted? | <s>[INST]What round was matt roth drafted? Context: CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_82 WHERE player = "matt roth"</s> |
CREATE TABLE table_name_94 (res VARCHAR, round VARCHAR, time VARCHAR) | SELECT res FROM table_name_94 WHERE round = 1 AND time = "2:48" | What is the result of the match that went to round 1 and only for 2:48? | <s>[INST]What is the result of the match that went to round 1 and only for 2:48? Context: CREATE TABLE table_name_94 (res VARCHAR, round VARCHAR, time VARCHAR)[/INST]SELECT res FROM table_name_94 WHERE round = 1 AND time = "2:48"</s> |
CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR, game VARCHAR) | SELECT SUM(attendance) FROM table_name_59 WHERE date = "october 16" AND game > 5 | what is the attendance on the date of october 16 and the game is more than 5? | <s>[INST]what is the attendance on the date of october 16 and the game is more than 5? Context: CREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR, game VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_59 WHERE date = "october 16" AND game > 5</s> |
CREATE TABLE table_name_90 (date VARCHAR, tv_time VARCHAR, result VARCHAR) | SELECT date FROM table_name_90 WHERE tv_time = "cbs 1:00et" AND result = "w 22–16" | What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET? | <s>[INST]What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET? Context: CREATE TABLE table_name_90 (date VARCHAR, tv_time VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE tv_time = "cbs 1:00et" AND result = "w 22–16"</s> |
CREATE TABLE table_name_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR) | SELECT condition FROM table_name_1 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased" AND prothrombin_time = "prolonged" | Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged? | <s>[INST]Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged? Context: CREATE TABLE table_name_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)[/INST]SELECT condition FROM table_name_1 WHERE bleeding_time = "pro... |
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR) | SELECT special_edition FROM table_25173505_13 WHERE english_version = "James Baskett" | what is the special edition for the english version of james baskett? | <s>[INST]what is the special edition for the english version of james baskett? Context: CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)[/INST]SELECT special_edition FROM table_25173505_13 WHERE english_version = "James Baskett"</s> |
CREATE TABLE table_name_34 (segment_b VARCHAR, netflix VARCHAR) | SELECT segment_b FROM table_name_34 WHERE netflix = "s01e21" | What was the segment b for Netflix s01e21? | <s>[INST]What was the segment b for Netflix s01e21? Context: CREATE TABLE table_name_34 (segment_b VARCHAR, netflix VARCHAR)[/INST]SELECT segment_b FROM table_name_34 WHERE netflix = "s01e21"</s> |
CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet union" | What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals? | <s>[INST]What is the average total medals of the soviet union, which has more than 2 bronze and more than 0 silver medals? Context: CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_2 WHERE bronze > 2 AND silver > 0 AND nation = "soviet uni... |
CREATE TABLE table_name_30 (film VARCHAR, year VARCHAR) | SELECT film FROM table_name_30 WHERE year = 1983 | Which film was released in 1983? | <s>[INST]Which film was released in 1983? Context: CREATE TABLE table_name_30 (film VARCHAR, year VARCHAR)[/INST]SELECT film FROM table_name_30 WHERE year = 1983</s> |
CREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = "Lazar Saric & Jed Spingarn" | How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn? | <s>[INST]How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn? Context: CREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = "Lazar Saric & Jed Spingarn"</s> |
CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR) | SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart" | What is the total amount of money that Payne Stewart has? | <s>[INST]What is the total amount of money that Payne Stewart has? Context: CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR)[/INST]SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart"</s> |
CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR) | SELECT week__number FROM table_15796054_3 WHERE theme = "Andrew Lloyd Webber" | Name the week number for andrew lloyd webber | <s>[INST]Name the week number for andrew lloyd webber Context: CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR)[/INST]SELECT week__number FROM table_15796054_3 WHERE theme = "Andrew Lloyd Webber"</s> |
CREATE TABLE discipline_enrollments (undergraduate INTEGER, campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR, campus VARCHAR) | SELECT SUM(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Jose State University" | How many undergraduates are there in "San Jose State University" in year 2004? | <s>[INST]How many undergraduates are there in "San Jose State University" in year 2004? Context: CREATE TABLE discipline_enrollments (undergraduate INTEGER, campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR, campus VARCHAR)[/INST]SELECT SUM(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuse... |
CREATE TABLE table_name_63 (type VARCHAR, regulatory_citation VARCHAR) | SELECT type FROM table_name_63 WHERE regulatory_citation = "40 cfr 50.9(a)" | what is the type when the regulatory citation is 40 cfr 50.9(a)? | <s>[INST]what is the type when the regulatory citation is 40 cfr 50.9(a)? Context: CREATE TABLE table_name_63 (type VARCHAR, regulatory_citation VARCHAR)[/INST]SELECT type FROM table_name_63 WHERE regulatory_citation = "40 cfr 50.9(a)"</s> |
CREATE TABLE table_name_70 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_70 WHERE tournament = "kemper open" | What is the Runner(s)-up of the Kemper Open Tournament? | <s>[INST]What is the Runner(s)-up of the Kemper Open Tournament? Context: CREATE TABLE table_name_70 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_70 WHERE tournament = "kemper open"</s> |
CREATE TABLE table_13026799_3 (money_list_rank VARCHAR, year VARCHAR) | SELECT money_list_rank FROM table_13026799_3 WHERE year = 1966 | What is the money list rank for 1966? | <s>[INST]What is the money list rank for 1966? Context: CREATE TABLE table_13026799_3 (money_list_rank VARCHAR, year VARCHAR)[/INST]SELECT money_list_rank FROM table_13026799_3 WHERE year = 1966</s> |
CREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR) | SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)" | What is the largest Attendance with a Loss of darling (0–1)? | <s>[INST]What is the largest Attendance with a Loss of darling (0–1)? Context: CREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)"</s> |
CREATE TABLE table_2110959_1 (points VARCHAR, season VARCHAR) | SELECT points FROM table_2110959_1 WHERE season = "1958-59" | What were the points in the 1958-59 season? | <s>[INST]What were the points in the 1958-59 season? Context: CREATE TABLE table_2110959_1 (points VARCHAR, season VARCHAR)[/INST]SELECT points FROM table_2110959_1 WHERE season = "1958-59"</s> |
CREATE TABLE table_name_53 (runner_up VARCHAR, national_champion VARCHAR, location VARCHAR) | SELECT runner_up FROM table_name_53 WHERE national_champion = "ohio" AND location = "tucson, az" | What was the Runner-up with Ohio as the National Champion in Tucson, AZ? | <s>[INST]What was the Runner-up with Ohio as the National Champion in Tucson, AZ? Context: CREATE TABLE table_name_53 (runner_up VARCHAR, national_champion VARCHAR, location VARCHAR)[/INST]SELECT runner_up FROM table_name_53 WHERE national_champion = "ohio" AND location = "tucson, az"</s> |
CREATE TABLE table_1506950_4 (score INTEGER) | SELECT MAX(score) FROM table_1506950_4 | What is the worst (highest) score? | <s>[INST]What is the worst (highest) score? Context: CREATE TABLE table_1506950_4 (score INTEGER)[/INST]SELECT MAX(score) FROM table_1506950_4</s> |
CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144 | What is the to par for the score 73-71=144? | <s>[INST]What is the to par for the score 73-71=144? Context: CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144</s> |
CREATE TABLE table_name_37 (season VARCHAR, prize VARCHAR) | SELECT season FROM table_name_37 WHERE prize = "$100,000" | What is Season, when Prize is "$100,000"? | <s>[INST]What is Season, when Prize is "$100,000"? Context: CREATE TABLE table_name_37 (season VARCHAR, prize VARCHAR)[/INST]SELECT season FROM table_name_37 WHERE prize = "$100,000"</s> |
CREATE TABLE table_name_17 (score VARCHAR, winners VARCHAR, venue VARCHAR, runners_up VARCHAR) | SELECT score FROM table_name_17 WHERE venue = "hampden park" AND runners_up = "rangers" AND winners = "hibernian" | What is the Score of the Rangers' Runner-ups and Hibernian Winners in Hampden Park? | <s>[INST]What is the Score of the Rangers' Runner-ups and Hibernian Winners in Hampden Park? Context: CREATE TABLE table_name_17 (score VARCHAR, winners VARCHAR, venue VARCHAR, runners_up VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE venue = "hampden park" AND runners_up = "rangers" AND winners = "hibernian"</s> |
CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4 | Which country had more than 2 silvers and less than 4 golds? | <s>[INST]Which country had more than 2 silvers and less than 4 golds? Context: CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4</s> |
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, YEAR INTEGER) | SELECT name FROM PersonFriend WHERE friend = 'Alice' AND YEAR = (SELECT MIN(YEAR) FROM PersonFriend WHERE friend = 'Alice') | Find the name of persons who are friends with Alice for the shortest years. | <s>[INST]Find the name of persons who are friends with Alice for the shortest years. Context: CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, YEAR INTEGER)[/INST]SELECT name FROM PersonFriend WHERE friend = 'Alice' AND YEAR = (SELECT MIN(YEAR) FROM PersonFriend WHERE friend = 'Alice')</s> |
CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR) | SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147 | Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147? | <s>[INST]Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147? Context: CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR)[/INST]SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismiss... |
CREATE TABLE table_name_40 (status VARCHAR, name VARCHAR) | SELECT status FROM table_name_40 WHERE name = "cathayopterus" | What is the status of the pterosaur named Cathayopterus? | <s>[INST]What is the status of the pterosaur named Cathayopterus? Context: CREATE TABLE table_name_40 (status VARCHAR, name VARCHAR)[/INST]SELECT status FROM table_name_40 WHERE name = "cathayopterus"</s> |
CREATE TABLE table_25548213_1 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence" | What was the name of the episode that bill lawrence directed? | <s>[INST]What was the name of the episode that bill lawrence directed? Context: CREATE TABLE table_25548213_1 (title VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence"</s> |
CREATE TABLE table_27723526_10 (score VARCHAR, team VARCHAR) | SELECT score FROM table_27723526_10 WHERE team = "Portland" | What was the score of the game against portland? | <s>[INST]What was the score of the game against portland? Context: CREATE TABLE table_27723526_10 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_27723526_10 WHERE team = "Portland"</s> |
CREATE TABLE table_name_65 (player VARCHAR, pos VARCHAR, college VARCHAR) | SELECT player FROM table_name_65 WHERE pos = "ol" AND college = "ohio state" | Which player had a position of OL from Ohio State? | <s>[INST]Which player had a position of OL from Ohio State? Context: CREATE TABLE table_name_65 (player VARCHAR, pos VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_65 WHERE pos = "ol" AND college = "ohio state"</s> |
CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR) | SELECT name FROM table_name_19 WHERE rank < 5 AND time < 55.62 AND lane < 5 AND nationality = "netherlands" | What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62? | <s>[INST]What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62? Context: CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_19 WHERE rank < 5 AND time < ... |
CREATE TABLE table_name_81 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_81 WHERE score = "3–6, 6–3, 6–0" | What was the outcome of the game that had a score of 3–6, 6–3, 6–0? | <s>[INST]What was the outcome of the game that had a score of 3–6, 6–3, 6–0? Context: CREATE TABLE table_name_81 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_81 WHERE score = "3–6, 6–3, 6–0"</s> |
CREATE TABLE table_name_68 (team VARCHAR, race_1 VARCHAR) | SELECT team FROM table_name_68 WHERE race_1 = "4" | Which team received 4 in race 1? | <s>[INST]Which team received 4 in race 1? Context: CREATE TABLE table_name_68 (team VARCHAR, race_1 VARCHAR)[/INST]SELECT team FROM table_name_68 WHERE race_1 = "4"</s> |
CREATE TABLE MEDIATYPE (MediaTypeId VARCHAR, Name VARCHAR); CREATE TABLE TRACK (MediaTypeId VARCHAR) | SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file" | How many tracks are in the AAC audio file media type? | <s>[INST]How many tracks are in the AAC audio file media type? Context: CREATE TABLE MEDIATYPE (MediaTypeId VARCHAR, Name VARCHAR); CREATE TABLE TRACK (MediaTypeId VARCHAR)[/INST]SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"</s> |
CREATE TABLE table_name_72 (votes VARCHAR, _percentage_of_national_vote VARCHAR, candidates_nominated VARCHAR) | SELECT COUNT(votes) FROM table_name_72 WHERE _percentage_of_national_vote = 13.11 AND candidates_nominated > 39 | How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated? | <s>[INST]How many votes were tallied with a % of national vote of 13.11, and over 39 candidates nominated? Context: CREATE TABLE table_name_72 (votes VARCHAR, _percentage_of_national_vote VARCHAR, candidates_nominated VARCHAR)[/INST]SELECT COUNT(votes) FROM table_name_72 WHERE _percentage_of_national_vote = 13.11 AND c... |
CREATE TABLE table_name_23 (rank INTEGER, total INTEGER) | SELECT AVG(rank) FROM table_name_23 WHERE total < 1 | Which rank has a total smaller than 1? | <s>[INST]Which rank has a total smaller than 1? Context: CREATE TABLE table_name_23 (rank INTEGER, total INTEGER)[/INST]SELECT AVG(rank) FROM table_name_23 WHERE total < 1</s> |
CREATE TABLE table_name_72 (heat_ VARCHAR, _lane VARCHAR, time VARCHAR) | SELECT heat_ & _lane FROM table_name_72 WHERE time = "1:01.12" | What Heat & Lane is the person who has a time of 1:01.12? | <s>[INST]What Heat & Lane is the person who has a time of 1:01.12? Context: CREATE TABLE table_name_72 (heat_ VARCHAR, _lane VARCHAR, time VARCHAR)[/INST]SELECT heat_ & _lane FROM table_name_72 WHERE time = "1:01.12"</s> |
CREATE TABLE table_17625749_3 (won VARCHAR, lost VARCHAR) | SELECT won FROM table_17625749_3 WHERE lost = "5" | How many were won when 5 were lost? | <s>[INST]How many were won when 5 were lost? Context: CREATE TABLE table_17625749_3 (won VARCHAR, lost VARCHAR)[/INST]SELECT won FROM table_17625749_3 WHERE lost = "5"</s> |
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE date = "april 1" | What was the record on April 1? | <s>[INST]What was the record on April 1? Context: CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_44 WHERE date = "april 1"</s> |
CREATE TABLE vocals (TYPE VARCHAR) | SELECT DISTINCT TYPE FROM vocals | Find all the vocal types. | <s>[INST]Find all the vocal types. Context: CREATE TABLE vocals (TYPE VARCHAR)[/INST]SELECT DISTINCT TYPE FROM vocals</s> |
CREATE TABLE table_name_56 (height VARCHAR, weight VARCHAR) | SELECT height FROM table_name_56 WHERE weight = 240 | What is the height of the player that weighs 240? | <s>[INST]What is the height of the player that weighs 240? Context: CREATE TABLE table_name_56 (height VARCHAR, weight VARCHAR)[/INST]SELECT height FROM table_name_56 WHERE weight = 240</s> |
CREATE TABLE table_name_55 (location VARCHAR) | SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee" | Tell me the average 1st prize for tennessee | <s>[INST]Tell me the average 1st prize for tennessee Context: CREATE TABLE table_name_55 (location VARCHAR)[/INST]SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee"</s> |
CREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR) | SELECT points_classification FROM table_name_54 WHERE stage = "15" | Which points classification was used in stage 15? | <s>[INST]Which points classification was used in stage 15? Context: CREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR)[/INST]SELECT points_classification FROM table_name_54 WHERE stage = "15"</s> |
CREATE TABLE table_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR) | SELECT open_cup FROM table_2365150_1 WHERE league = "USL PDL" AND playoffs = "Did not qualify" | Name the open cup for usl pdl for did not qualify | <s>[INST]Name the open cup for usl pdl for did not qualify Context: CREATE TABLE table_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)[/INST]SELECT open_cup FROM table_2365150_1 WHERE league = "USL PDL" AND playoffs = "Did not qualify"</s> |
CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR) | SELECT part_4 FROM table_1745843_8 WHERE part_1 = "heizan" | What is the part 4 of the word with the part 1 "heizan"? | <s>[INST]What is the part 4 of the word with the part 1 "heizan"? Context: CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR)[/INST]SELECT part_4 FROM table_1745843_8 WHERE part_1 = "heizan"</s> |
CREATE TABLE table_name_8 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_8 WHERE character = "dinny byrne" | who is the actor when the character is dinny byrne? | <s>[INST]who is the actor when the character is dinny byrne? Context: CREATE TABLE table_name_8 (actor VARCHAR, character VARCHAR)[/INST]SELECT actor FROM table_name_8 WHERE character = "dinny byrne"</s> |
CREATE TABLE table_16403890_1 (location VARCHAR, institution VARCHAR) | SELECT COUNT(location) FROM table_16403890_1 WHERE institution = "Elon University" | How many locations does Elon University have? | <s>[INST]How many locations does Elon University have? Context: CREATE TABLE table_16403890_1 (location VARCHAR, institution VARCHAR)[/INST]SELECT COUNT(location) FROM table_16403890_1 WHERE institution = "Elon University"</s> |
CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR) | SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 5" | How many people led in points during the game on October 5? | <s>[INST]How many people led in points during the game on October 5? Context: CREATE TABLE table_27698941_2 (high_points VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 5"</s> |
CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) | SELECT real_betis_career FROM table_name_63 WHERE appearances < 98 AND nationality = "spain" AND goals > 15 | Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15? | <s>[INST]Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15? Context: CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)[/INST]SELECT real_betis_career FROM table_name_63 WHERE appearances < 98 AND nati... |
CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR) | SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper" | what is the club in the sixth round proper | <s>[INST]what is the club in the sixth round proper Context: CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR)[/INST]SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper"</s> |
CREATE TABLE table_name_67 (title VARCHAR, share VARCHAR) | SELECT title FROM table_name_67 WHERE share = "19,9%" | Which title has a share of 19,9% | <s>[INST]Which title has a share of 19,9% Context: CREATE TABLE table_name_67 (title VARCHAR, share VARCHAR)[/INST]SELECT title FROM table_name_67 WHERE share = "19,9%"</s> |
CREATE TABLE table_name_47 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_47 WHERE surface = "hard (i)" AND date = "october 22, 2000" | Which final score had a surface of hard (i) on October 22, 2000? | <s>[INST]Which final score had a surface of hard (i) on October 22, 2000? Context: CREATE TABLE table_name_47 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_47 WHERE surface = "hard (i)" AND date = "october 22, 2000"</s> |
CREATE TABLE table_21994729_3 (series__number INTEGER, prod_code VARCHAR) | SELECT MAX(series__number) FROM table_21994729_3 WHERE prod_code = "2APX05" | how many maximum series number have 2apx05 prod. code. | <s>[INST]how many maximum series number have 2apx05 prod. code. Context: CREATE TABLE table_21994729_3 (series__number INTEGER, prod_code VARCHAR)[/INST]SELECT MAX(series__number) FROM table_21994729_3 WHERE prod_code = "2APX05"</s> |
CREATE TABLE table_name_33 (team_1 VARCHAR) | SELECT 1 AS st_round FROM table_name_33 WHERE team_1 = "lb châteauroux (d2)" | What shows for the 1st round when the team 1 was Lb Châteauroux (d2)? | <s>[INST]What shows for the 1st round when the team 1 was Lb Châteauroux (d2)? Context: CREATE TABLE table_name_33 (team_1 VARCHAR)[/INST]SELECT 1 AS st_round FROM table_name_33 WHERE team_1 = "lb châteauroux (d2)"</s> |
CREATE TABLE table_26211058_1 (calculated_activity___bq__ VARCHAR, specimen_weight_size VARCHAR) | SELECT COUNT(calculated_activity___bq__) FROM table_26211058_1 WHERE specimen_weight_size = "1000 g / 8.79 cm" | If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity? | <s>[INST]If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity? Context: CREATE TABLE table_26211058_1 (calculated_activity___bq__ VARCHAR, specimen_weight_size VARCHAR)[/INST]SELECT COUNT(calculated_activity___bq__) FROM table_26211058_1 WHERE specimen_weight_size = "1000 g / 8.79 cm"</s> |
CREATE TABLE table_name_19 (nation VARCHAR, third VARCHAR) | SELECT nation FROM table_name_19 WHERE third = "darko sovran" | In what nation did Darko Sovran place third? | <s>[INST]In what nation did Darko Sovran place third? Context: CREATE TABLE table_name_19 (nation VARCHAR, third VARCHAR)[/INST]SELECT nation FROM table_name_19 WHERE third = "darko sovran"</s> |
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_49 WHERE date = "january 27" | What record has January 27 for the date? | <s>[INST]What record has January 27 for the date? Context: CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_49 WHERE date = "january 27"</s> |
CREATE TABLE table_name_97 (rank__timeslot_ INTEGER, rating VARCHAR, share VARCHAR) | SELECT AVG(rank__timeslot_) FROM table_name_97 WHERE rating < 2.6 AND share > 4 | What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4? | <s>[INST]What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4? Context: CREATE TABLE table_name_97 (rank__timeslot_ INTEGER, rating VARCHAR, share VARCHAR)[/INST]SELECT AVG(rank__timeslot_) FROM table_name_97 WHERE rating < 2.6 AND share > 4</s> |
CREATE TABLE table_name_87 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_87 WHERE record = "45-59" | Name the loss with record of 45-59 | <s>[INST]Name the loss with record of 45-59 Context: CREATE TABLE table_name_87 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_87 WHERE record = "45-59"</s> |
CREATE TABLE table_name_20 (Id VARCHAR) | SELECT 2004 FROM table_name_20 WHERE 2003 = "1r" AND 2006 = "a" | What is 2004, when 2003 is "1R", and when 2006 is "A"? | <s>[INST]What is 2004, when 2003 is "1R", and when 2006 is "A"? Context: CREATE TABLE table_name_20 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_20 WHERE 2003 = "1r" AND 2006 = "a"</s> |
CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR) | SELECT enrollment FROM table_2076463_2 WHERE location_s_ = "St. Louis" | What enrollement would you expect if you were attending the university in St. Louis? | <s>[INST]What enrollement would you expect if you were attending the university in St. Louis? Context: CREATE TABLE table_2076463_2 (enrollment VARCHAR, location_s_ VARCHAR)[/INST]SELECT enrollment FROM table_2076463_2 WHERE location_s_ = "St. Louis"</s> |
CREATE TABLE table_name_96 (grid INTEGER, driver VARCHAR) | SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage" | What is the average grid for piers courage? | <s>[INST]What is the average grid for piers courage? Context: CREATE TABLE table_name_96 (grid INTEGER, driver VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_96 WHERE driver = "piers courage"</s> |
CREATE TABLE table_name_51 (stage VARCHAR, time__eest_ VARCHAR, rally_leader VARCHAR, winner VARCHAR) | SELECT stage FROM table_name_51 WHERE rally_leader = "m. grönholm" AND winner = "s.loeb" AND time__eest_ = "17:57" | Name the stage for m. grönholm and winner of s.loeb with time of 17:57 | <s>[INST]Name the stage for m. grönholm and winner of s.loeb with time of 17:57 Context: CREATE TABLE table_name_51 (stage VARCHAR, time__eest_ VARCHAR, rally_leader VARCHAR, winner VARCHAR)[/INST]SELECT stage FROM table_name_51 WHERE rally_leader = "m. grönholm" AND winner = "s.loeb" AND time__eest_ = "17:57"</s> |
CREATE TABLE match_season (Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR) | SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name | Show the country names and the corresponding number of players. | <s>[INST]Show the country names and the corresponding number of players. Context: CREATE TABLE match_season (Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR)[/INST]SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_... |
CREATE TABLE table_name_93 (away VARCHAR, score VARCHAR) | SELECT away FROM table_name_93 WHERE score = "3:1" | What was the away team when the score was 3:1? | <s>[INST]What was the away team when the score was 3:1? Context: CREATE TABLE table_name_93 (away VARCHAR, score VARCHAR)[/INST]SELECT away FROM table_name_93 WHERE score = "3:1"</s> |
CREATE TABLE table_name_42 (visa_4 VARCHAR, visa_1 VARCHAR) | SELECT visa_4 FROM table_name_42 WHERE visa_1 = "besart berisha" | Which Visa 4 has besart berisha as Visa 1? | <s>[INST]Which Visa 4 has besart berisha as Visa 1? Context: CREATE TABLE table_name_42 (visa_4 VARCHAR, visa_1 VARCHAR)[/INST]SELECT visa_4 FROM table_name_42 WHERE visa_1 = "besart berisha"</s> |
CREATE TABLE table_name_46 (novelty VARCHAR, authors VARCHAR, notes VARCHAR) | SELECT novelty FROM table_name_46 WHERE authors = "zhiming" AND notes = "carcharodontosaurid" | What is the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"? | <s>[INST]What is the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"? Context: CREATE TABLE table_name_46 (novelty VARCHAR, authors VARCHAR, notes VARCHAR)[/INST]SELECT novelty FROM table_name_46 WHERE authors = "zhiming" AND notes = "carcharodontosaurid"</s> |
CREATE TABLE table_21035326_1 (opponents VARCHAR, game VARCHAR) | SELECT COUNT(opponents) FROM table_21035326_1 WHERE game = 4 | What is the total number of opponents played against the bears in game 4? | <s>[INST]What is the total number of opponents played against the bears in game 4? Context: CREATE TABLE table_21035326_1 (opponents VARCHAR, game VARCHAR)[/INST]SELECT COUNT(opponents) FROM table_21035326_1 WHERE game = 4</s> |
CREATE TABLE table_name_37 (year INTEGER, time VARCHAR) | SELECT MAX(year) FROM table_name_37 WHERE time = 10.56 | What is the most recent year with a time of 10.56? | <s>[INST]What is the most recent year with a time of 10.56? Context: CREATE TABLE table_name_37 (year INTEGER, time VARCHAR)[/INST]SELECT MAX(year) FROM table_name_37 WHERE time = 10.56</s> |
CREATE TABLE table_name_70 (swing_to_gain INTEGER, winning_party_2007 VARCHAR, rank VARCHAR) | SELECT SUM(swing_to_gain) FROM table_name_70 WHERE winning_party_2007 = "conservative" AND rank < 5 | What's the sum of swing to gain with a winning party 2007 of Conservative with a rank smaller than 5? | <s>[INST]What's the sum of swing to gain with a winning party 2007 of Conservative with a rank smaller than 5? Context: CREATE TABLE table_name_70 (swing_to_gain INTEGER, winning_party_2007 VARCHAR, rank VARCHAR)[/INST]SELECT SUM(swing_to_gain) FROM table_name_70 WHERE winning_party_2007 = "conservative" AND rank < 5</... |
CREATE TABLE table_name_2 (type VARCHAR, title VARCHAR) | SELECT type FROM table_name_2 WHERE title = "king" | What is the type of the king title? | <s>[INST]What is the type of the king title? Context: CREATE TABLE table_name_2 (type VARCHAR, title VARCHAR)[/INST]SELECT type FROM table_name_2 WHERE title = "king"</s> |
CREATE TABLE table_12722302_3 (no VARCHAR, directed_by VARCHAR) | SELECT no FROM table_12722302_3 WHERE directed_by = "Tucker Gates" | What's the number of the episode directed by Tucker Gates? | <s>[INST]What's the number of the episode directed by Tucker Gates? Context: CREATE TABLE table_12722302_3 (no VARCHAR, directed_by VARCHAR)[/INST]SELECT no FROM table_12722302_3 WHERE directed_by = "Tucker Gates"</s> |
CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_26 WHERE home_team = "richmond" | What is the name of the venue when the home team is Richmond? | <s>[INST]What is the name of the venue when the home team is Richmond? Context: CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_26 WHERE home_team = "richmond"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.