context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2897457_7 (position VARCHAR, college_junior_club_team VARCHAR) | SELECT position FROM table_2897457_7 WHERE college_junior_club_team = "Roseau High School (USHS-MN)" | What position did Roseau High School (USHS-MN) play? | <s>[INST]What position did Roseau High School (USHS-MN) play? Context: CREATE TABLE table_2897457_7 (position VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT position FROM table_2897457_7 WHERE college_junior_club_team = "Roseau High School (USHS-MN)"</s> |
CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR) | SELECT engine FROM table_22915134_2 WHERE example = "1985-2007 Yamaha V-Max Honda VFR800" | When 1985-2007 yamaha v-max honda vfr800 is the example what is the engine is it? | <s>[INST]When 1985-2007 yamaha v-max honda vfr800 is the example what is the engine is it? Context: CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR)[/INST]SELECT engine FROM table_22915134_2 WHERE example = "1985-2007 Yamaha V-Max Honda VFR800"</s> |
CREATE TABLE table_27948565_1 (motogp_winner VARCHAR, date VARCHAR) | SELECT motogp_winner FROM table_27948565_1 WHERE date = "6 May" | Name the motogp winner for 6 may | <s>[INST]Name the motogp winner for 6 may Context: CREATE TABLE table_27948565_1 (motogp_winner VARCHAR, date VARCHAR)[/INST]SELECT motogp_winner FROM table_27948565_1 WHERE date = "6 May"</s> |
CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_49 WHERE week = 11 | Which opponent has a week of 11? | <s>[INST]Which opponent has a week of 11? Context: CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_49 WHERE week = 11</s> |
CREATE TABLE table_name_6 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_6 WHERE loss = "lilly (0-1)" | What was their record when they lost with Lilly (0-1) pitching? | <s>[INST]What was their record when they lost with Lilly (0-1) pitching? Context: CREATE TABLE table_name_6 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_6 WHERE loss = "lilly (0-1)"</s> |
CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_9 WHERE date = "march 27" | Who was the visitor on March 27? | <s>[INST]Who was the visitor on March 27? Context: CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_9 WHERE date = "march 27"</s> |
CREATE TABLE table_name_26 (accompaniment VARCHAR, title VARCHAR) | SELECT accompaniment FROM table_name_26 WHERE title = "stormy seas blues" | what is the accompaniment when the title is stormy seas blues? | <s>[INST]what is the accompaniment when the title is stormy seas blues? Context: CREATE TABLE table_name_26 (accompaniment VARCHAR, title VARCHAR)[/INST]SELECT accompaniment FROM table_name_26 WHERE title = "stormy seas blues"</s> |
CREATE TABLE table_name_60 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_60 WHERE surface = "hard" AND finalist = "monica seles" | Where was the tournament where monica seles was the finalist who played on a hard surface? | <s>[INST]Where was the tournament where monica seles was the finalist who played on a hard surface? Context: CREATE TABLE table_name_60 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR)[/INST]SELECT tournament FROM table_name_60 WHERE surface = "hard" AND finalist = "monica seles"</s> |
CREATE TABLE table_name_97 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_name FROM table_name_97 WHERE film_title_used_in_nomination = "last days of the victim" | Name the original name for last days of the victim | <s>[INST]Name the original name for last days of the victim Context: CREATE TABLE table_name_97 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_name FROM table_name_97 WHERE film_title_used_in_nomination = "last days of the victim"</s> |
CREATE TABLE Parts (part_id VARCHAR, chargeable_amount VARCHAR) | SELECT part_id, chargeable_amount FROM Parts ORDER BY chargeable_amount LIMIT 1 | Which part has the least chargeable amount? List the part id and amount. | <s>[INST]Which part has the least chargeable amount? List the part id and amount. Context: CREATE TABLE Parts (part_id VARCHAR, chargeable_amount VARCHAR)[/INST]SELECT part_id, chargeable_amount FROM Parts ORDER BY chargeable_amount LIMIT 1</s> |
CREATE TABLE table_name_45 (record VARCHAR, game VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7" | What was the record of the game played on November 7? | <s>[INST]What was the record of the game played on November 7? Context: CREATE TABLE table_name_45 (record VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7"</s> |
CREATE TABLE table_name_94 (location VARCHAR, game VARCHAR, score VARCHAR) | SELECT location FROM table_name_94 WHERE game > 30 AND score = "106-111" | Where was the game that was larger than 30 and scored 106-111 | <s>[INST]Where was the game that was larger than 30 and scored 106-111 Context: CREATE TABLE table_name_94 (location VARCHAR, game VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_name_94 WHERE game > 30 AND score = "106-111"</s> |
CREATE TABLE table_name_59 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_59 WHERE home_team = "st kilda" | Who is the away side when st kilda is the home side? | <s>[INST]Who is the away side when st kilda is the home side? Context: CREATE TABLE table_name_59 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_59 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_29562161_1 (name VARCHAR, starting_price VARCHAR) | SELECT name FROM table_29562161_1 WHERE starting_price = "66/1" | What horse had a starting price of 66/1? | <s>[INST]What horse had a starting price of 66/1? Context: CREATE TABLE table_29562161_1 (name VARCHAR, starting_price VARCHAR)[/INST]SELECT name FROM table_29562161_1 WHERE starting_price = "66/1"</s> |
CREATE TABLE table_name_45 (letter VARCHAR, operator VARCHAR, as_number VARCHAR) | SELECT letter FROM table_name_45 WHERE operator = "verisign" AND as_number = "as26415" | Which letter has an operator of VeriSign and an AS-number of AS26415? | <s>[INST]Which letter has an operator of VeriSign and an AS-number of AS26415? Context: CREATE TABLE table_name_45 (letter VARCHAR, operator VARCHAR, as_number VARCHAR)[/INST]SELECT letter FROM table_name_45 WHERE operator = "verisign" AND as_number = "as26415"</s> |
CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR) | SELECT venue FROM table_name_18 WHERE silver = "united states" AND year = 2010 | Where was 2010 tournament where the United States received the silver? | <s>[INST]Where was 2010 tournament where the United States received the silver? Context: CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_18 WHERE silver = "united states" AND year = 2010</s> |
CREATE TABLE table_24540893_6 (school VARCHAR, position VARCHAR) | SELECT school FROM table_24540893_6 WHERE position = "RB" | What school did the rb drafted attend? | <s>[INST]What school did the rb drafted attend? Context: CREATE TABLE table_24540893_6 (school VARCHAR, position VARCHAR)[/INST]SELECT school FROM table_24540893_6 WHERE position = "RB"</s> |
CREATE TABLE table_name_96 (total INTEGER, year_s__won VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT AVG(total) FROM table_name_96 WHERE country = "united states" AND to_par > 6 AND year_s__won = "1996" | What is the average Total for the United States with a To par more than 6 and 1996 was won? | <s>[INST]What is the average Total for the United States with a To par more than 6 and 1996 was won? Context: CREATE TABLE table_name_96 (total INTEGER, year_s__won VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT AVG(total) FROM table_name_96 WHERE country = "united states" AND to_par > 6 AND year_s__won = "1996... |
CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR) | SELECT SUM(season) FROM table_name_1 WHERE winners = "dalian wanda" AND fourth_placed = "yanbian aodong" | What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th? | <s>[INST]What season had Dalian Wanda as the winner with Yanbian Aodong winning 4th? Context: CREATE TABLE table_name_1 (season INTEGER, winners VARCHAR, fourth_placed VARCHAR)[/INST]SELECT SUM(season) FROM table_name_1 WHERE winners = "dalian wanda" AND fourth_placed = "yanbian aodong"</s> |
CREATE TABLE table_name_6 (lost INTEGER, draw VARCHAR, matches VARCHAR, points VARCHAR) | SELECT SUM(lost) FROM table_name_6 WHERE matches > 26 AND points = 62 AND draw > 5 | What is the sum of the losses that a match score larger than 26, a points score of 62, and a draw greater than 5? | <s>[INST]What is the sum of the losses that a match score larger than 26, a points score of 62, and a draw greater than 5? Context: CREATE TABLE table_name_6 (lost INTEGER, draw VARCHAR, matches VARCHAR, points VARCHAR)[/INST]SELECT SUM(lost) FROM table_name_6 WHERE matches > 26 AND points = 62 AND draw > 5</s> |
CREATE TABLE table_name_25 (call_sign VARCHAR, format VARCHAR) | SELECT call_sign FROM table_name_25 WHERE format = "classic country" | What is the call sign of the Classic Country Music station? | <s>[INST]What is the call sign of the Classic Country Music station? Context: CREATE TABLE table_name_25 (call_sign VARCHAR, format VARCHAR)[/INST]SELECT call_sign FROM table_name_25 WHERE format = "classic country"</s> |
CREATE TABLE table_name_94 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_94 WHERE place = "t4" AND player = "lee janzen" | What's the score of Lee Janzen in T4 place? | <s>[INST]What's the score of Lee Janzen in T4 place? Context: CREATE TABLE table_name_94 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE place = "t4" AND player = "lee janzen"</s> |
CREATE TABLE table_name_64 (gold INTEGER, silver INTEGER) | SELECT MAX(gold) FROM table_name_64 WHERE silver < 0 | What is the gold medal count that has a silver medal count less than 0? | <s>[INST]What is the gold medal count that has a silver medal count less than 0? Context: CREATE TABLE table_name_64 (gold INTEGER, silver INTEGER)[/INST]SELECT MAX(gold) FROM table_name_64 WHERE silver < 0</s> |
CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR) | SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = "ken houghton" AND fa_cup_goals < 0 | Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0? | <s>[INST]Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0? Context: CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR)[/INST]SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = "ken houghton" AND fa_cup_goals < 0</s> |
CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR) | SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40" | What is week 4 if week 3 is 35.40? | <s>[INST]What is week 4 if week 3 is 35.40? Context: CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)[/INST]SELECT week_4 FROM table_name_26 WHERE week_3 = "35.40"</s> |
CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_63 WHERE time = "3:56" | What is the record with a 3:56 time? | <s>[INST]What is the record with a 3:56 time? Context: CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_63 WHERE time = "3:56"</s> |
CREATE TABLE table_11254821_2 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR) | SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE points_awarded__gold_ = 6 | How many platinum points were awarded when 6 gold points were awarded? | <s>[INST]How many platinum points were awarded when 6 gold points were awarded? Context: CREATE TABLE table_11254821_2 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR)[/INST]SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE points_awarded__gold_ = 6</s> |
CREATE TABLE table_name_79 (circuit VARCHAR, winning_car VARCHAR, round VARCHAR) | SELECT circuit FROM table_name_79 WHERE winning_car = "ensign n180" AND round = 5 | What circuit had an ensign n180 as the winning car in round 5? | <s>[INST]What circuit had an ensign n180 as the winning car in round 5? Context: CREATE TABLE table_name_79 (circuit VARCHAR, winning_car VARCHAR, round VARCHAR)[/INST]SELECT circuit FROM table_name_79 WHERE winning_car = "ensign n180" AND round = 5</s> |
CREATE TABLE table_12886178_5 (drawn VARCHAR, tries_for VARCHAR) | SELECT drawn FROM table_12886178_5 WHERE tries_for = "76" | What's the number of drawn games for the club with a tries for count of 76? | <s>[INST]What's the number of drawn games for the club with a tries for count of 76? Context: CREATE TABLE table_12886178_5 (drawn VARCHAR, tries_for VARCHAR)[/INST]SELECT drawn FROM table_12886178_5 WHERE tries_for = "76"</s> |
CREATE TABLE table_name_67 (year VARCHAR, position VARCHAR) | SELECT year FROM table_name_67 WHERE position = "21st (q)" | When did a Position of 21st (q) happen? | <s>[INST]When did a Position of 21st (q) happen? Context: CREATE TABLE table_name_67 (year VARCHAR, position VARCHAR)[/INST]SELECT year FROM table_name_67 WHERE position = "21st (q)"</s> |
CREATE TABLE table_name_95 (first_member VARCHAR, election VARCHAR) | SELECT first_member FROM table_name_95 WHERE election = "1871 by-election" | What is First Member, when Election is "1871 by-election"? | <s>[INST]What is First Member, when Election is "1871 by-election"? Context: CREATE TABLE table_name_95 (first_member VARCHAR, election VARCHAR)[/INST]SELECT first_member FROM table_name_95 WHERE election = "1871 by-election"</s> |
CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR) | SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" | Which regions had a production (bbl/day) of 1,213,000 (21st)? | <s>[INST]Which regions had a production (bbl/day) of 1,213,000 (21st)? Context: CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR)[/INST]SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)"</s> |
CREATE TABLE table_name_15 (time VARCHAR, week VARCHAR) | SELECT time FROM table_name_15 WHERE week = 2 | What time was the game in week 2? | <s>[INST]What time was the game in week 2? Context: CREATE TABLE table_name_15 (time VARCHAR, week VARCHAR)[/INST]SELECT time FROM table_name_15 WHERE week = 2</s> |
CREATE TABLE table_1341577_43 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_1341577_43 WHERE candidates = "Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%" | What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%? | <s>[INST]What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%? Context: CREATE TABLE table_1341577_43 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_1341577_43 WHERE candidates = "Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%"</s> |
CREATE TABLE table_name_99 (winning_driver VARCHAR, date VARCHAR) | SELECT winning_driver FROM table_name_99 WHERE date = "24 august" | Who won the race on 24 August? | <s>[INST]Who won the race on 24 August? Context: CREATE TABLE table_name_99 (winning_driver VARCHAR, date VARCHAR)[/INST]SELECT winning_driver FROM table_name_99 WHERE date = "24 august"</s> |
CREATE TABLE table_name_37 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_37 WHERE year < 1953 AND chassis = "moore" | What entrant drove a car with a Moore chassis prior to 1953? | <s>[INST]What entrant drove a car with a Moore chassis prior to 1953? Context: CREATE TABLE table_name_37 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_37 WHERE year < 1953 AND chassis = "moore"</s> |
CREATE TABLE table_name_3 (player VARCHAR, country VARCHAR, place VARCHAR) | SELECT player FROM table_name_3 WHERE country = "united states" AND place = "t3" | Which United States player has a place of T3? | <s>[INST]Which United States player has a place of T3? Context: CREATE TABLE table_name_3 (player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_3 WHERE country = "united states" AND place = "t3"</s> |
CREATE TABLE table_11318462_29 (founded INTEGER, abbreviation VARCHAR) | SELECT MIN(founded) FROM table_11318462_29 WHERE abbreviation = "SPLC" | When was SPLC founded? | <s>[INST]When was SPLC founded? Context: CREATE TABLE table_11318462_29 (founded INTEGER, abbreviation VARCHAR)[/INST]SELECT MIN(founded) FROM table_11318462_29 WHERE abbreviation = "SPLC"</s> |
CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR) | SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana" | WHAT IS THE IN MALAYALAM WITH kartika–agrahayana? | <s>[INST]WHAT IS THE IN MALAYALAM WITH kartika–agrahayana? Context: CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR)[/INST]SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana"</s> |
CREATE TABLE table_name_32 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_32 WHERE date = "february 14, 2002" | Which label is dated February 14, 2002? | <s>[INST]Which label is dated February 14, 2002? Context: CREATE TABLE table_name_32 (label VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_32 WHERE date = "february 14, 2002"</s> |
CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_49 WHERE opponent_in_the_final = "filip polášek" | What is the Date of the match with Opponent in the final of Filip Polášek? | <s>[INST]What is the Date of the match with Opponent in the final of Filip Polášek? Context: CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE opponent_in_the_final = "filip polášek"</s> |
CREATE TABLE table_name_74 (round VARCHAR, record VARCHAR) | SELECT COUNT(round) FROM table_name_74 WHERE record = "4-0" | How many rounds was the fight when the record was 4-0? | <s>[INST]How many rounds was the fight when the record was 4-0? Context: CREATE TABLE table_name_74 (round VARCHAR, record VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_74 WHERE record = "4-0"</s> |
CREATE TABLE table_name_1 (streak VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT streak FROM table_name_1 WHERE location_attendance = "staples center" AND score = "67–89" | which Streak has a Location/Attendance of staples center, and a Score of 67–89? | <s>[INST]which Streak has a Location/Attendance of staples center, and a Score of 67–89? Context: CREATE TABLE table_name_1 (streak VARCHAR, location_attendance VARCHAR, score VARCHAR)[/INST]SELECT streak FROM table_name_1 WHERE location_attendance = "staples center" AND score = "67–89"</s> |
CREATE TABLE STUDENT (StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR) | SELECT COUNT(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = Class_Senator_Vote WHERE T1.city_code = "NYC" AND T2.Election_Cycle = "Spring" | Find the number of students whose city code is NYC and who have class senator votes in the spring election cycle. | <s>[INST]Find the number of students whose city code is NYC and who have class senator votes in the spring election cycle. Context: CREATE TABLE STUDENT (StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)[/INST]SELECT COUNT(*) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID =... |
CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR) | SELECT SUM(loss) FROM table_name_72 WHERE name = "bullock, chris" AND long < 36 | Which Loss has a Name of bullock, chris, and a Long smaller than 36? | <s>[INST]Which Loss has a Name of bullock, chris, and a Long smaller than 36? Context: CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR)[/INST]SELECT SUM(loss) FROM table_name_72 WHERE name = "bullock, chris" AND long < 36</s> |
CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR) | SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Fisheries University" | What is the Japanese orthography for National Fisheries University? | <s>[INST]What is the Japanese orthography for National Fisheries University? Context: CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)[/INST]SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Fisheries University"</s> |
CREATE TABLE table_name_49 (left_office VARCHAR, entered_office VARCHAR) | SELECT left_office FROM table_name_49 WHERE entered_office = "7 december 1916" | What date did the prime minister who entered office on 7 December 1916 leave office? | <s>[INST]What date did the prime minister who entered office on 7 December 1916 leave office? Context: CREATE TABLE table_name_49 (left_office VARCHAR, entered_office VARCHAR)[/INST]SELECT left_office FROM table_name_49 WHERE entered_office = "7 december 1916"</s> |
CREATE TABLE table_name_75 (tenure VARCHAR, actor_actress VARCHAR) | SELECT tenure FROM table_name_75 WHERE actor_actress = "nadine garner" | What years were actress Nadine Garner on the show? | <s>[INST]What years were actress Nadine Garner on the show? Context: CREATE TABLE table_name_75 (tenure VARCHAR, actor_actress VARCHAR)[/INST]SELECT tenure FROM table_name_75 WHERE actor_actress = "nadine garner"</s> |
CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_68 WHERE record = "15–15" | Who was the opponent at the game when the record was 15–15? | <s>[INST]Who was the opponent at the game when the record was 15–15? Context: CREATE TABLE table_name_68 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_68 WHERE record = "15–15"</s> |
CREATE TABLE table_name_80 (skip VARCHAR, lead VARCHAR) | SELECT skip FROM table_name_80 WHERE lead = "lisa weagle" | Who has the lead on Lisa Weagle? | <s>[INST]Who has the lead on Lisa Weagle? Context: CREATE TABLE table_name_80 (skip VARCHAR, lead VARCHAR)[/INST]SELECT skip FROM table_name_80 WHERE lead = "lisa weagle"</s> |
CREATE TABLE table_name_66 (enrollment INTEGER, mascot VARCHAR) | SELECT SUM(enrollment) FROM table_name_66 WHERE mascot = "cougars" | What is the Enrollment where Cougars is a Mascot? | <s>[INST]What is the Enrollment where Cougars is a Mascot? Context: CREATE TABLE table_name_66 (enrollment INTEGER, mascot VARCHAR)[/INST]SELECT SUM(enrollment) FROM table_name_66 WHERE mascot = "cougars"</s> |
CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR) | SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland" | Name the points for switzerland | <s>[INST]Name the points for switzerland Context: CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)[/INST]SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland"</s> |
CREATE TABLE table_name_64 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR) | SELECT SUM(pick) FROM table_name_64 WHERE round > 8 AND name = "kenny fells" AND overall > 297 | Which Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297? | <s>[INST]Which Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297? Context: CREATE TABLE table_name_64 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_64 WHERE round > 8 AND name = "kenny fells" AND overall > 297</s> |
CREATE TABLE table_171250_2 (census_ranking VARCHAR, population VARCHAR) | SELECT census_ranking FROM table_171250_2 WHERE population = 284 | What are the census ranking(s) for a population of 284? | <s>[INST]What are the census ranking(s) for a population of 284? Context: CREATE TABLE table_171250_2 (census_ranking VARCHAR, population VARCHAR)[/INST]SELECT census_ranking FROM table_171250_2 WHERE population = 284</s> |
CREATE TABLE table_name_45 (assists VARCHAR, pen_min VARCHAR) | SELECT assists FROM table_name_45 WHERE pen_min = "54" | How many assists did the player with 54 penalty minutes have? | <s>[INST]How many assists did the player with 54 penalty minutes have? Context: CREATE TABLE table_name_45 (assists VARCHAR, pen_min VARCHAR)[/INST]SELECT assists FROM table_name_45 WHERE pen_min = "54"</s> |
CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR) | SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan" | What is the ISO for South Sudan? | <s>[INST]What is the ISO for South Sudan? Context: CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR)[/INST]SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan"</s> |
CREATE TABLE table_name_66 (division VARCHAR, country VARCHAR, season VARCHAR) | SELECT division FROM table_name_66 WHERE country = "ukraine" AND season = "2006/07" | What division was Ukraine in 2006/07? | <s>[INST]What division was Ukraine in 2006/07? Context: CREATE TABLE table_name_66 (division VARCHAR, country VARCHAR, season VARCHAR)[/INST]SELECT division FROM table_name_66 WHERE country = "ukraine" AND season = "2006/07"</s> |
CREATE TABLE table_250230_2 (gearbox VARCHAR) | SELECT gearbox FROM table_250230_2 WHERE "torque" = "torque" | What is the gearbox when the torque is torque? | <s>[INST]What is the gearbox when the torque is torque? Context: CREATE TABLE table_250230_2 (gearbox VARCHAR)[/INST]SELECT gearbox FROM table_250230_2 WHERE "torque" = "torque"</s> |
CREATE TABLE table_name_77 (nationality VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_77 WHERE position = "g" | What was the nationality of the players with a position of g? | <s>[INST]What was the nationality of the players with a position of g? Context: CREATE TABLE table_name_77 (nationality VARCHAR, position VARCHAR)[/INST]SELECT nationality FROM table_name_77 WHERE position = "g"</s> |
CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR) | SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas" | Name the least area for vas | <s>[INST]Name the least area for vas Context: CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)[/INST]SELECT MIN(area__km²_) FROM table_16278825_1 WHERE name_of_county = "Vas"</s> |
CREATE TABLE table_13836704_7 (transit_passengers VARCHAR, airport VARCHAR) | SELECT COUNT(transit_passengers) FROM table_13836704_7 WHERE airport = "London Luton" | How many different total number of transit passengers are there in London Luton? | <s>[INST]How many different total number of transit passengers are there in London Luton? Context: CREATE TABLE table_13836704_7 (transit_passengers VARCHAR, airport VARCHAR)[/INST]SELECT COUNT(transit_passengers) FROM table_13836704_7 WHERE airport = "London Luton"</s> |
CREATE TABLE table_name_72 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_72 WHERE date = "3/2" | What team was the visitor on 3/2? | <s>[INST]What team was the visitor on 3/2? Context: CREATE TABLE table_name_72 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_72 WHERE date = "3/2"</s> |
CREATE TABLE table_name_84 (player VARCHAR, pos VARCHAR, college VARCHAR) | SELECT player FROM table_name_84 WHERE pos = "qb" AND college = "texas tech" | Which player had a position of QB for Texas Tech? | <s>[INST]Which player had a position of QB for Texas Tech? Context: CREATE TABLE table_name_84 (player VARCHAR, pos VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_84 WHERE pos = "qb" AND college = "texas tech"</s> |
CREATE TABLE table_name_80 (branding VARCHAR, owner VARCHAR, frequency VARCHAR) | SELECT branding FROM table_name_80 WHERE owner = "canadian broadcasting corporation" AND frequency = "fm 97.7" | What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation? | <s>[INST]What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation? Context: CREATE TABLE table_name_80 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)[/INST]SELECT branding FROM table_name_80 WHERE owner = "canadian broadcasting corporation" AND frequency = "fm 97.7"</s> |
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_45 WHERE venue = "lake oval" | What is the home team score at lake oval? | <s>[INST]What is the home team score at lake oval? Context: CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_45 WHERE venue = "lake oval"</s> |
CREATE TABLE table_13836704_7 (international_passengers VARCHAR, rank VARCHAR) | SELECT international_passengers FROM table_13836704_7 WHERE rank = 15 | What is the total number of passengers of the airport ranked 15? | <s>[INST]What is the total number of passengers of the airport ranked 15? Context: CREATE TABLE table_13836704_7 (international_passengers VARCHAR, rank VARCHAR)[/INST]SELECT international_passengers FROM table_13836704_7 WHERE rank = 15</s> |
CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR) | SELECT MIN(grid) FROM table_17304308_1 WHERE points = "17" | Name the least grid for 17 points | <s>[INST]Name the least grid for 17 points Context: CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR)[/INST]SELECT MIN(grid) FROM table_17304308_1 WHERE points = "17"</s> |
CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood" | How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood? | <s>[INST]How many Crowd that has a Date on saturday, 29 january and an Away team of collingwood? Context: CREATE TABLE table_name_67 (crowd INTEGER, date VARCHAR, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_67 WHERE date = "saturday, 29 january" AND away_team = "collingwood"</s> |
CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_43 WHERE player = "frank nobilo" | Frank Nobilo plays for what country? | <s>[INST]Frank Nobilo plays for what country? Context: CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_43 WHERE player = "frank nobilo"</s> |
CREATE TABLE table_name_74 (fastest_laps INTEGER, race_entries__starts_ VARCHAR, podiums VARCHAR) | SELECT MIN(fastest_laps) FROM table_name_74 WHERE race_entries__starts_ = "32 (30)" AND podiums < 2 | How many fastest laps for the nation with 32 (30) entries and starts and fewer than 2 podiums? | <s>[INST]How many fastest laps for the nation with 32 (30) entries and starts and fewer than 2 podiums? Context: CREATE TABLE table_name_74 (fastest_laps INTEGER, race_entries__starts_ VARCHAR, podiums VARCHAR)[/INST]SELECT MIN(fastest_laps) FROM table_name_74 WHERE race_entries__starts_ = "32 (30)" AND podiums < 2</s> |
CREATE TABLE table_name_10 (venue VARCHAR, result VARCHAR, date VARCHAR) | SELECT venue FROM table_name_10 WHERE result = "loss" AND date = "march 26, 2005" | During the loss on march 26, 2005, what was the venue where the match was played? | <s>[INST]During the loss on march 26, 2005, what was the venue where the match was played? Context: CREATE TABLE table_name_10 (venue VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_10 WHERE result = "loss" AND date = "march 26, 2005"</s> |
CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR) | SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan' | Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'. | <s>[INST]Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'. Context: CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VA... |
CREATE TABLE table_name_66 (year INTEGER, yellow_jersey VARCHAR) | SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil" | What year was yellow jersey of Jacques Anquetil? | <s>[INST]What year was yellow jersey of Jacques Anquetil? Context: CREATE TABLE table_name_66 (year INTEGER, yellow_jersey VARCHAR)[/INST]SELECT MIN(year) FROM table_name_66 WHERE yellow_jersey = "jacques anquetil"</s> |
CREATE TABLE table_1986692_1 (year VARCHAR, playoffs VARCHAR) | SELECT year FROM table_1986692_1 WHERE playoffs = "divisional Semifinals" | When divisional semifinals are the playoffs what is the year? | <s>[INST]When divisional semifinals are the playoffs what is the year? Context: CREATE TABLE table_1986692_1 (year VARCHAR, playoffs VARCHAR)[/INST]SELECT year FROM table_1986692_1 WHERE playoffs = "divisional Semifinals"</s> |
CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR) | SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13 | Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13? | <s>[INST]Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13? Context: CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13</s> |
CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_17156199_1 WHERE original_title = "বৃত্তের বাইরে (Britter Baire)" | What year and ceremony was the original title বৃত্তের বাইরে (britter baire)? | <s>[INST]What year and ceremony was the original title বৃত্তের বাইরে (britter baire)? Context: CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_17156199_1 WHERE original_title = "বৃত্তের বাইরে (Britter Baire)"</s> |
CREATE TABLE table_name_89 (cuts_made INTEGER, top_5 VARCHAR, top_25 VARCHAR) | SELECT MAX(cuts_made) FROM table_name_89 WHERE top_5 = 1 AND top_25 > 16 | Which Cuts made is the highest one that has a Top-5 of 1, and a Top-25 larger than 16? | <s>[INST]Which Cuts made is the highest one that has a Top-5 of 1, and a Top-25 larger than 16? Context: CREATE TABLE table_name_89 (cuts_made INTEGER, top_5 VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(cuts_made) FROM table_name_89 WHERE top_5 = 1 AND top_25 > 16</s> |
CREATE TABLE table_name_92 (rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR) | SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5 | What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5? | <s>[INST]What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5? Context: CREATE TABLE table_name_92 (rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR)[/INST]SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5</s> |
CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR) | SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08" | What was the score of the league cup in the 2007-08 season? | <s>[INST]What was the score of the league cup in the 2007-08 season? Context: CREATE TABLE table_name_90 (score VARCHAR, competition VARCHAR, season VARCHAR)[/INST]SELECT score FROM table_name_90 WHERE competition = "league cup" AND season = "2007-08"</s> |
CREATE TABLE table_11713303_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT COUNT(manner_of_departure) FROM table_11713303_2 WHERE outgoing_manager = "Peter Voets" | How many manners of departure did peter voets have? | <s>[INST]How many manners of departure did peter voets have? Context: CREATE TABLE table_11713303_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT COUNT(manner_of_departure) FROM table_11713303_2 WHERE outgoing_manager = "Peter Voets"</s> |
CREATE TABLE table_2105721_1 (episode VARCHAR, run_time VARCHAR) | SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24:11" | Name the total episode for runtime of 24:11 | <s>[INST]Name the total episode for runtime of 24:11 Context: CREATE TABLE table_2105721_1 (episode VARCHAR, run_time VARCHAR)[/INST]SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24:11"</s> |
CREATE TABLE table_name_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR) | SELECT exaltation FROM table_name_98 WHERE domicile = "saturn" AND fall = "jupiter" | Which exaltation has a domicile of Saturn and a fall of Jupiter? | <s>[INST]Which exaltation has a domicile of Saturn and a fall of Jupiter? Context: CREATE TABLE table_name_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR)[/INST]SELECT exaltation FROM table_name_98 WHERE domicile = "saturn" AND fall = "jupiter"</s> |
CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR) | SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv" | What are the notes for the Mandarin Chinese program on CTV earlier than 2013? | <s>[INST]What are the notes for the Mandarin Chinese program on CTV earlier than 2013? Context: CREATE TABLE table_name_40 (notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR)[/INST]SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv"</s> |
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR) | SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference" | How many locations are listed for the Big 12 Conference? | <s>[INST]How many locations are listed for the Big 12 Conference? Context: CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR)[/INST]SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference"</s> |
CREATE TABLE table_1973321_5 (points INTEGER, status VARCHAR) | SELECT MAX(points) FROM table_1973321_5 WHERE status = "Champion, won in the final against Amélie Mauresmo" | Name the most points for champion, won in the final against amélie mauresmo | <s>[INST]Name the most points for champion, won in the final against amélie mauresmo Context: CREATE TABLE table_1973321_5 (points INTEGER, status VARCHAR)[/INST]SELECT MAX(points) FROM table_1973321_5 WHERE status = "Champion, won in the final against Amélie Mauresmo"</s> |
CREATE TABLE table_26358264_2 (location VARCHAR, fastest_qualifying VARCHAR) | SELECT location FROM table_26358264_2 WHERE fastest_qualifying = "Cancelled" | When cancelled is the fastest qualifying where is the location? | <s>[INST]When cancelled is the fastest qualifying where is the location? Context: CREATE TABLE table_26358264_2 (location VARCHAR, fastest_qualifying VARCHAR)[/INST]SELECT location FROM table_26358264_2 WHERE fastest_qualifying = "Cancelled"</s> |
CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_61 WHERE home_team = "melbourne" | What away team did Melbourne play as the home team? | <s>[INST]What away team did Melbourne play as the home team? Context: CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_61 WHERE home_team = "melbourne"</s> |
CREATE TABLE table_name_85 (opponents VARCHAR, surface VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_85 WHERE surface = "hard" AND date = "july 13, 2008" | Who were the opponents that played on a hard surface on July 13, 2008? | <s>[INST]Who were the opponents that played on a hard surface on July 13, 2008? Context: CREATE TABLE table_name_85 (opponents VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT opponents FROM table_name_85 WHERE surface = "hard" AND date = "july 13, 2008"</s> |
CREATE TABLE table_name_31 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_31 WHERE home_team = "collingwood" | What is the date of the game where Collingwood was the home team? | <s>[INST]What is the date of the game where Collingwood was the home team? Context: CREATE TABLE table_name_31 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_87 (genbank_id VARCHAR) | SELECT 3 AS ’utr_sequence FROM table_name_87 WHERE genbank_id = "hq021440" | Which 3’UTR sequence has the GenBank ID at hq021440? | <s>[INST]Which 3’UTR sequence has the GenBank ID at hq021440? Context: CREATE TABLE table_name_87 (genbank_id VARCHAR)[/INST]SELECT 3 AS ’utr_sequence FROM table_name_87 WHERE genbank_id = "hq021440"</s> |
CREATE TABLE table_name_3 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) | SELECT AVG(total__kg_) FROM table_name_3 WHERE snatch = 84 AND bodyweight < 57.35 | What is the total (kg) when the snatch was 84, and bodyweight was less than 57.35? | <s>[INST]What is the total (kg) when the snatch was 84, and bodyweight was less than 57.35? Context: CREATE TABLE table_name_3 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)[/INST]SELECT AVG(total__kg_) FROM table_name_3 WHERE snatch = 84 AND bodyweight < 57.35</s> |
CREATE TABLE review (rank INTEGER) | SELECT MIN(rank) FROM review | Find the highest rank of all reviews. | <s>[INST]Find the highest rank of all reviews. Context: CREATE TABLE review (rank INTEGER)[/INST]SELECT MIN(rank) FROM review</s> |
CREATE TABLE table_name_89 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_89 WHERE record = "12-5" | Where was the location when the record was 12-5? | <s>[INST]Where was the location when the record was 12-5? Context: CREATE TABLE table_name_89 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_89 WHERE record = "12-5"</s> |
CREATE TABLE Draft_Copies (document_id VARCHAR) | SELECT document_id, COUNT(*) FROM Draft_Copies GROUP BY document_id HAVING COUNT(*) > 1 | Which documents have more than 1 draft copies? List document id and number of draft copies. | <s>[INST]Which documents have more than 1 draft copies? List document id and number of draft copies. Context: CREATE TABLE Draft_Copies (document_id VARCHAR)[/INST]SELECT document_id, COUNT(*) FROM Draft_Copies GROUP BY document_id HAVING COUNT(*) > 1</s> |
CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR) | SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47 | How many votes were tallied in 1956 with a % of national vote larger than 11.47? | <s>[INST]How many votes were tallied in 1956 with a % of national vote larger than 11.47? Context: CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR)[/INST]SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47</s> |
CREATE TABLE table_name_48 (coding VARCHAR, variant_id VARCHAR) | SELECT coding FROM table_name_48 WHERE variant_id = "abd'1a 3" | Which coding's variant id is abd'1a 3? | <s>[INST]Which coding's variant id is abd'1a 3? Context: CREATE TABLE table_name_48 (coding VARCHAR, variant_id VARCHAR)[/INST]SELECT coding FROM table_name_48 WHERE variant_id = "abd'1a 3"</s> |
CREATE TABLE table_name_43 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_43 WHERE home_team = "richmond" | What did Richmond score as the home team? | <s>[INST]What did Richmond score as the home team? Context: CREATE TABLE table_name_43 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_43 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_5 WHERE record = "74-77" | What was the attendance at the game when the record was 74-77? | <s>[INST]What was the attendance at the game when the record was 74-77? Context: CREATE TABLE table_name_5 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_5 WHERE record = "74-77"</s> |
CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR) | SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones" | Driver Shaun Jones with a viper as a chassis is in what class? | <s>[INST]Driver Shaun Jones with a viper as a chassis is in what class? Context: CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR)[/INST]SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones"</s> |
CREATE TABLE table_27003186_3 (other VARCHAR, registered_voters VARCHAR) | SELECT other FROM table_27003186_3 WHERE registered_voters = "50.7%" | What is other when registered voters is 50.7%? | <s>[INST]What is other when registered voters is 50.7%? Context: CREATE TABLE table_27003186_3 (other VARCHAR, registered_voters VARCHAR)[/INST]SELECT other FROM table_27003186_3 WHERE registered_voters = "50.7%"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.