context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_31 (socket VARCHAR, sspec_number VARCHAR) | SELECT socket FROM table_name_31 WHERE sspec_number = "sr0pk(e1)" | Name the socket of sSpec number of sr0pk(e1)? | <s>[INST]Name the socket of sSpec number of sr0pk(e1)? Context: CREATE TABLE table_name_31 (socket VARCHAR, sspec_number VARCHAR)[/INST]SELECT socket FROM table_name_31 WHERE sspec_number = "sr0pk(e1)"</s> |
CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR) | SELECT date FROM table_name_69 WHERE competition = "friendly" AND result = "3–0" | On what date was a friendly competition and a result of 3–0? | <s>[INST]On what date was a friendly competition and a result of 3–0? Context: CREATE TABLE table_name_69 (date VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_69 WHERE competition = "friendly" AND result = "3–0"</s> |
CREATE TABLE table_23014476_1 (county VARCHAR, others__percentage VARCHAR) | SELECT county FROM table_23014476_1 WHERE others__percentage = "5.8" | Name the couty for others% 5.8 | <s>[INST]Name the couty for others% 5.8 Context: CREATE TABLE table_23014476_1 (county VARCHAR, others__percentage VARCHAR)[/INST]SELECT county FROM table_23014476_1 WHERE others__percentage = "5.8"</s> |
CREATE TABLE WINE (Appelation VARCHAR, year VARCHAR); CREATE TABLE APPELLATIONS (Area VARCHAR, Appelation VARCHAR) | SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation GROUP BY T2.Appelation HAVING T2.year < 2010 ORDER BY COUNT(*) DESC LIMIT 1 | What is the area of the appelation that produces the highest number of wines before the year of 2010? | <s>[INST]What is the area of the appelation that produces the highest number of wines before the year of 2010? Context: CREATE TABLE WINE (Appelation VARCHAR, year VARCHAR); CREATE TABLE APPELLATIONS (Area VARCHAR, Appelation VARCHAR)[/INST]SELECT T1.Area FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Ap... |
CREATE TABLE STUDENT (Major VARCHAR) | SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*) < 3 | Report all majors that have less than 3 students. | <s>[INST]Report all majors that have less than 3 students. Context: CREATE TABLE STUDENT (Major VARCHAR)[/INST]SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*) < 3</s> |
CREATE TABLE table_name_66 (system VARCHAR, name VARCHAR) | SELECT system FROM table_name_66 WHERE name = "elkjs" | Which system is named ELKJS? | <s>[INST]Which system is named ELKJS? Context: CREATE TABLE table_name_66 (system VARCHAR, name VARCHAR)[/INST]SELECT system FROM table_name_66 WHERE name = "elkjs"</s> |
CREATE TABLE products (name VARCHAR, price VARCHAR) | SELECT name, price FROM products | Select the names and the prices of all the products in the store. | <s>[INST]Select the names and the prices of all the products in the store. Context: CREATE TABLE products (name VARCHAR, price VARCHAR)[/INST]SELECT name, price FROM products</s> |
CREATE TABLE table_19605700_1 (population VARCHAR, capital VARCHAR) | SELECT COUNT(population) FROM table_19605700_1 WHERE capital = "Hong Kong" | How many populations have a capital of Hong Kong? | <s>[INST]How many populations have a capital of Hong Kong? Context: CREATE TABLE table_19605700_1 (population VARCHAR, capital VARCHAR)[/INST]SELECT COUNT(population) FROM table_19605700_1 WHERE capital = "Hong Kong"</s> |
CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR) | SELECT AVG(seasons) FROM table_name_65 WHERE name = "terri drake" AND lost < 9 | What is the average number of seasons for Terri Drake who lost less than 9? | <s>[INST]What is the average number of seasons for Terri Drake who lost less than 9? Context: CREATE TABLE table_name_65 (seasons INTEGER, name VARCHAR, lost VARCHAR)[/INST]SELECT AVG(seasons) FROM table_name_65 WHERE name = "terri drake" AND lost < 9</s> |
CREATE TABLE table_19153842_1 (missouri VARCHAR, year VARCHAR) | SELECT missouri FROM table_19153842_1 WHERE year = 2002 | Name the missouri for 2002 | <s>[INST]Name the missouri for 2002 Context: CREATE TABLE table_19153842_1 (missouri VARCHAR, year VARCHAR)[/INST]SELECT missouri FROM table_19153842_1 WHERE year = 2002</s> |
CREATE TABLE table_2562572_30 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT COUNT(dominant_religion__2002_) FROM table_2562572_30 WHERE settlement = "Đala" | How many dominant religions are in đala? | <s>[INST]How many dominant religions are in đala? Context: CREATE TABLE table_2562572_30 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)[/INST]SELECT COUNT(dominant_religion__2002_) FROM table_2562572_30 WHERE settlement = "Đala"</s> |
CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR); CREATE TABLE city (County_ID VARCHAR, White INTEGER) | SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID WHERE T1.White > 90 | Show the crime rate of counties with a city having white percentage more than 90. | <s>[INST]Show the crime rate of counties with a city having white percentage more than 90. Context: CREATE TABLE county_public_safety (Crime_rate VARCHAR, County_ID VARCHAR); CREATE TABLE city (County_ID VARCHAR, White INTEGER)[/INST]SELECT T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID =... |
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR) | SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione" | Who had the fastest lap for the circuit magione? | <s>[INST]Who had the fastest lap for the circuit magione? Context: CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR)[/INST]SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione"</s> |
CREATE TABLE table_23812628_1 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_23812628_1 WHERE team__number1 = "Boca Juniors" | Name the 2nd leg for boca juniors | <s>[INST]Name the 2nd leg for boca juniors Context: CREATE TABLE table_23812628_1 (team__number1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_23812628_1 WHERE team__number1 = "Boca Juniors"</s> |
CREATE TABLE table_name_74 (socialist_ticket VARCHAR, law_preservation_ticket VARCHAR, socialist_labor_ticket VARCHAR) | SELECT socialist_ticket FROM table_name_74 WHERE law_preservation_ticket = "(none)" AND socialist_labor_ticket = "belle j. rosen" | Who's the Socialist ticket with a Law Preservation ticket of (none), and a Socialist Labor ticket of belle j. rosen? | <s>[INST]Who's the Socialist ticket with a Law Preservation ticket of (none), and a Socialist Labor ticket of belle j. rosen? Context: CREATE TABLE table_name_74 (socialist_ticket VARCHAR, law_preservation_ticket VARCHAR, socialist_labor_ticket VARCHAR)[/INST]SELECT socialist_ticket FROM table_name_74 WHERE law_preserv... |
CREATE TABLE table_name_56 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "7" | How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes? | <s>[INST]How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes? Context: CREATE TABLE table_name_56 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "7"</s> |
CREATE TABLE table_24565004_14 (position VARCHAR, name VARCHAR) | SELECT position FROM table_24565004_14 WHERE name = "Thierry Morin" | What positions correspond to the name Thierry Morin? | <s>[INST]What positions correspond to the name Thierry Morin? Context: CREATE TABLE table_24565004_14 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_24565004_14 WHERE name = "Thierry Morin"</s> |
CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR) | SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "18.73" | Which titles have 18.73 u.s. viewers. | <s>[INST]Which titles have 18.73 u.s. viewers. Context: CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "18.73"</s> |
CREATE TABLE table_name_40 (place VARCHAR, round_1 VARCHAR, year VARCHAR) | SELECT COUNT(place) FROM table_name_40 WHERE round_1 = "beat lee janzen 3&2" AND year < 1998 | Round 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place? | <s>[INST]Round 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place? Context: CREATE TABLE table_name_40 (place VARCHAR, round_1 VARCHAR, year VARCHAR)[/INST]SELECT COUNT(place) FROM table_name_40 WHERE round_1 = "beat lee janzen 3&2" AND year < 1998</s> |
CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_83 WHERE character = "helga beimer" | Which actor plays the character Helga Beimer? | <s>[INST]Which actor plays the character Helga Beimer? Context: CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR)[/INST]SELECT actor FROM table_name_83 WHERE character = "helga beimer"</s> |
CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR) | SELECT position FROM table_name_45 WHERE overall > 421 AND mlb_team = "st. louis cardinals" | Which position was more than 421 overall for the St. Louis Cardinals? | <s>[INST]Which position was more than 421 overall for the St. Louis Cardinals? Context: CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR)[/INST]SELECT position FROM table_name_45 WHERE overall > 421 AND mlb_team = "st. louis cardinals"</s> |
CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR) | SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9 | How many podiums had a race higher than 14 in 1996 and a Flap lower than 9? | <s>[INST]How many podiums had a race higher than 14 in 1996 and a Flap lower than 9? Context: CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)[/INST]SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9</s> |
CREATE TABLE activity (actid VARCHAR, activity_name VARCHAR); CREATE TABLE participates_in (stuid VARCHAR) | SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Kayaking' | Find the ids of the students who participate in Canoeing and Kayaking. | <s>[INST]Find the ids of the students who participate in Canoeing and Kayaking. Context: CREATE TABLE activity (actid VARCHAR, activity_name VARCHAR); CREATE TABLE participates_in (stuid VARCHAR)[/INST]SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoei... |
CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR) | SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy" | What is the package/option in Italy when the content is religione? | <s>[INST]What is the package/option in Italy when the content is religione? Context: CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR)[/INST]SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy"</s> |
CREATE TABLE table_name_92 (the_winner VARCHAR, the_presenter VARCHAR) | SELECT the_winner FROM table_name_92 WHERE the_presenter = "tatiana stefanidou" | Who won when the presenter was Tatiana Stefanidou? | <s>[INST]Who won when the presenter was Tatiana Stefanidou? Context: CREATE TABLE table_name_92 (the_winner VARCHAR, the_presenter VARCHAR)[/INST]SELECT the_winner FROM table_name_92 WHERE the_presenter = "tatiana stefanidou"</s> |
CREATE TABLE table_15872814_4 (game INTEGER, date VARCHAR) | SELECT MAX(game) FROM table_15872814_4 WHERE date = "December 22" | Name the most game for december 22 | <s>[INST]Name the most game for december 22 Context: CREATE TABLE table_15872814_4 (game INTEGER, date VARCHAR)[/INST]SELECT MAX(game) FROM table_15872814_4 WHERE date = "December 22"</s> |
CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_2 WHERE home_team = "carlton" | What was the lowest crowd size for the Carlton at home? | <s>[INST]What was the lowest crowd size for the Carlton at home? Context: CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_2 WHERE home_team = "carlton"</s> |
CREATE TABLE table_14747043_1 (class_aA VARCHAR, class_a VARCHAR) | SELECT class_aA FROM table_14747043_1 WHERE class_a = "Graford" | Which is the class AA when graford was the class A | <s>[INST]Which is the class AA when graford was the class A Context: CREATE TABLE table_14747043_1 (class_aA VARCHAR, class_a VARCHAR)[/INST]SELECT class_aA FROM table_14747043_1 WHERE class_a = "Graford"</s> |
CREATE TABLE table_27712702_9 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27712702_9 WHERE date = "January 17" | Who led in assists on January 17, and with how many? | <s>[INST]Who led in assists on January 17, and with how many? Context: CREATE TABLE table_27712702_9 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27712702_9 WHERE date = "January 17"</s> |
CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville" | Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville? | <s>[INST]Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville? Context: CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR)[/INST]SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville"</s> |
CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4 | Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4? | <s>[INST]Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4? Context: CREATE TABLE table_name_87 (gold INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_87 WHERE bronze < 1 AND total > 4</s> |
CREATE TABLE table_20866024_2 (engine VARCHAR, model_designation VARCHAR) | SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00" | How many different engines are there for the model with model designation 97G00? | <s>[INST]How many different engines are there for the model with model designation 97G00? Context: CREATE TABLE table_20866024_2 (engine VARCHAR, model_designation VARCHAR)[/INST]SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00"</s> |
CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR) | SELECT shoots FROM table_name_62 WHERE player = "craig peacock a" | What shows for shoots for craig peacock a? | <s>[INST]What shows for shoots for craig peacock a? Context: CREATE TABLE table_name_62 (shoots VARCHAR, player VARCHAR)[/INST]SELECT shoots FROM table_name_62 WHERE player = "craig peacock a"</s> |
CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR) | SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship" | When was the stokers' training ship launched? | <s>[INST]When was the stokers' training ship launched? Context: CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR)[/INST]SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship"</s> |
CREATE TABLE table_name_1 (britain__2013_ VARCHAR, us__2013_ VARCHAR) | SELECT britain__2013_ FROM table_name_1 WHERE us__2013_ = "ruby" | What was Britain's (2013) birthstone when the U.S (2013) birthstone was ruby? | <s>[INST]What was Britain's (2013) birthstone when the U.S (2013) birthstone was ruby? Context: CREATE TABLE table_name_1 (britain__2013_ VARCHAR, us__2013_ VARCHAR)[/INST]SELECT britain__2013_ FROM table_name_1 WHERE us__2013_ = "ruby"</s> |
CREATE TABLE table_14850099_18 (burmese VARCHAR, english VARCHAR) | SELECT burmese FROM table_14850099_18 WHERE english = "Thursday" | What is the Burmese term for Thursday? | <s>[INST]What is the Burmese term for Thursday? Context: CREATE TABLE table_14850099_18 (burmese VARCHAR, english VARCHAR)[/INST]SELECT burmese FROM table_14850099_18 WHERE english = "Thursday"</s> |
CREATE TABLE table_10020178_1 (name VARCHAR, crest_length__meters_ VARCHAR) | SELECT name FROM table_10020178_1 WHERE crest_length__meters_ = 375 | What is the name of the 375 crest length? | <s>[INST]What is the name of the 375 crest length? Context: CREATE TABLE table_10020178_1 (name VARCHAR, crest_length__meters_ VARCHAR)[/INST]SELECT name FROM table_10020178_1 WHERE crest_length__meters_ = 375</s> |
CREATE TABLE table_name_79 (venue VARCHAR, opposing_team VARCHAR, round VARCHAR) | SELECT venue FROM table_name_79 WHERE opposing_team = "manchester united" AND round = "5th round replay" | Which Venue has an Opposing Team of manchester united, and a Round of 5th round replay? | <s>[INST]Which Venue has an Opposing Team of manchester united, and a Round of 5th round replay? Context: CREATE TABLE table_name_79 (venue VARCHAR, opposing_team VARCHAR, round VARCHAR)[/INST]SELECT venue FROM table_name_79 WHERE opposing_team = "manchester united" AND round = "5th round replay"</s> |
CREATE TABLE table_name_18 (points VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_18 WHERE year = "2005" | What is the total number of Points that were in a Year that was 2005? | <s>[INST]What is the total number of Points that were in a Year that was 2005? Context: CREATE TABLE table_name_18 (points VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_18 WHERE year = "2005"</s> |
CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR) | SELECT joined FROM table_10577579_3 WHERE women’s_nickname = "Wolfpack" | Name the joined for the wolfpack women's nickname | <s>[INST]Name the joined for the wolfpack women's nickname Context: CREATE TABLE table_10577579_3 (joined VARCHAR, women’s_nickname VARCHAR)[/INST]SELECT joined FROM table_10577579_3 WHERE women’s_nickname = "Wolfpack"</s> |
CREATE TABLE table_name_61 (game INTEGER, date VARCHAR) | SELECT SUM(game) FROM table_name_61 WHERE date = "october 4" | What is the number of the game that was played on October 4? | <s>[INST]What is the number of the game that was played on October 4? Context: CREATE TABLE table_name_61 (game INTEGER, date VARCHAR)[/INST]SELECT SUM(game) FROM table_name_61 WHERE date = "october 4"</s> |
CREATE TABLE All_documents (date_stored VARCHAR, Document_name VARCHAR) | SELECT date_stored FROM All_documents WHERE Document_name = "Marry CV" | What is the date when the document "Marry CV" was stored? | <s>[INST]What is the date when the document "Marry CV" was stored? Context: CREATE TABLE All_documents (date_stored VARCHAR, Document_name VARCHAR)[/INST]SELECT date_stored FROM All_documents WHERE Document_name = "Marry CV"</s> |
CREATE TABLE table_name_74 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_74 WHERE record = "16–14" | When the team had their record of 16–14, what was the total attendance? | <s>[INST]When the team had their record of 16–14, what was the total attendance? Context: CREATE TABLE table_name_74 (attendance VARCHAR, record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_74 WHERE record = "16–14"</s> |
CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR) | SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm" | What is the Notes of the Frequency with a call sign of CBUE-FM? | <s>[INST]What is the Notes of the Frequency with a call sign of CBUE-FM? Context: CREATE TABLE table_name_82 (notes VARCHAR, call_sign VARCHAR)[/INST]SELECT notes FROM table_name_82 WHERE call_sign = "cbue-fm"</s> |
CREATE TABLE table_name_73 (result INTEGER, location VARCHAR, rank VARCHAR) | SELECT MIN(result) FROM table_name_73 WHERE location = "birmingham" AND rank > 5 | What is the smallest Result with a Location of birmingham, and Rank larger than 5? | <s>[INST]What is the smallest Result with a Location of birmingham, and Rank larger than 5? Context: CREATE TABLE table_name_73 (result INTEGER, location VARCHAR, rank VARCHAR)[/INST]SELECT MIN(result) FROM table_name_73 WHERE location = "birmingham" AND rank > 5</s> |
CREATE TABLE table_name_83 (elevator VARCHAR, nationality VARCHAR) | SELECT elevator FROM table_name_83 WHERE nationality = "crema" | Who is the elevator from crema? | <s>[INST]Who is the elevator from crema? Context: CREATE TABLE table_name_83 (elevator VARCHAR, nationality VARCHAR)[/INST]SELECT elevator FROM table_name_83 WHERE nationality = "crema"</s> |
CREATE TABLE table_name_23 (fifth_district VARCHAR, second_district VARCHAR) | SELECT fifth_district FROM table_name_23 WHERE second_district = "paul leidig" | Who's the Fifth District with a Second District of paul leidig? | <s>[INST]Who's the Fifth District with a Second District of paul leidig? Context: CREATE TABLE table_name_23 (fifth_district VARCHAR, second_district VARCHAR)[/INST]SELECT fifth_district FROM table_name_23 WHERE second_district = "paul leidig"</s> |
CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR) | SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%" | Which Eviction result has a Net vote of 31.86%? | <s>[INST]Which Eviction result has a Net vote of 31.86%? Context: CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR)[/INST]SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%"</s> |
CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_85 WHERE loss = "burns (0-1)" | What was the date of the game that had a loss of Burns (0-1)? | <s>[INST]What was the date of the game that had a loss of Burns (0-1)? Context: CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE loss = "burns (0-1)"</s> |
CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_84 WHERE date = "december 16, 1962" | What is the largest attendance that has December 16, 1962 as the date? | <s>[INST]What is the largest attendance that has December 16, 1962 as the date? Context: CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_84 WHERE date = "december 16, 1962"</s> |
CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR) | SELECT saturday FROM table_name_80 WHERE sunday = "yes" AND evening = "yes" | Which Saturday has a Sunday of yes and a Evening of yes? | <s>[INST]Which Saturday has a Sunday of yes and a Evening of yes? Context: CREATE TABLE table_name_80 (saturday VARCHAR, sunday VARCHAR, evening VARCHAR)[/INST]SELECT saturday FROM table_name_80 WHERE sunday = "yes" AND evening = "yes"</s> |
CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) | SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*) >= 3 | Show names of musicals which have at least three actors. | <s>[INST]Show names of musicals which have at least three actors. Context: CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)[/INST]SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*) >= 3</s> |
CREATE TABLE table_name_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR) | SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = "13-13" | Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13? | <s>[INST]Which Effic is the highest one that has an Avg/G smaller than 305.6, and a GP-GS of 13-13? Context: CREATE TABLE table_name_56 (effic INTEGER, avg_g VARCHAR, gp_gs VARCHAR)[/INST]SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = "13-13"</s> |
CREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_84 WHERE position = "guard" AND pick < 144 | What is the lowest round for the player whose position is guard and had a pick number smaller than 144? | <s>[INST]What is the lowest round for the player whose position is guard and had a pick number smaller than 144? Context: CREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR)[/INST]SELECT MIN(round) FROM table_name_84 WHERE position = "guard" AND pick < 144</s> |
CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_68 WHERE record = "54-39" | Which loss has a Record of 54-39? | <s>[INST]Which loss has a Record of 54-39? Context: CREATE TABLE table_name_68 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_68 WHERE record = "54-39"</s> |
CREATE TABLE table_30121082_1 (area__acres__ VARCHAR, townland VARCHAR) | SELECT area__acres__ FROM table_30121082_1 WHERE townland = "Kilnahera East" | What are the areas (in acres) of the Kilnahera East townland? | <s>[INST]What are the areas (in acres) of the Kilnahera East townland? Context: CREATE TABLE table_30121082_1 (area__acres__ VARCHAR, townland VARCHAR)[/INST]SELECT area__acres__ FROM table_30121082_1 WHERE townland = "Kilnahera East"</s> |
CREATE TABLE table_name_82 (time VARCHAR, nfl_recap VARCHAR, game_site VARCHAR) | SELECT time FROM table_name_82 WHERE nfl_recap = "recap" AND game_site = "arrowhead stadium" | What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap? | <s>[INST]What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap? Context: CREATE TABLE table_name_82 (time VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)[/INST]SELECT time FROM table_name_82 WHERE nfl_recap = "recap" AND game_site = "arrowhead stadium"</s> |
CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER) | SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846 | Who was the home team when attendance was over 41,846? | <s>[INST]Who was the home team when attendance was over 41,846? Context: CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846</s> |
CREATE TABLE table_name_17 (moving_from VARCHAR, moving_to VARCHAR) | SELECT moving_from FROM table_name_17 WHERE moving_to = "stuttgart" | Where did the player move from that went to stuttgart? | <s>[INST]Where did the player move from that went to stuttgart? Context: CREATE TABLE table_name_17 (moving_from VARCHAR, moving_to VARCHAR)[/INST]SELECT moving_from FROM table_name_17 WHERE moving_to = "stuttgart"</s> |
CREATE TABLE table_1805191_10 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1805191_10 WHERE first_elected = 2000 | In which district is the first elected 2000? | <s>[INST]In which district is the first elected 2000? Context: CREATE TABLE table_1805191_10 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_1805191_10 WHERE first_elected = 2000</s> |
CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_28 WHERE speed = "120.979 mph" AND rider = "gary johnson" | What is the rank of rider gary johnson, who had a speed of 120.979 mph? | <s>[INST]What is the rank of rider gary johnson, who had a speed of 120.979 mph? Context: CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR)[/INST]SELECT rank FROM table_name_28 WHERE speed = "120.979 mph" AND rider = "gary johnson"</s> |
CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR) | SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_position = "Bradley Ellis Alex Mortimer" | what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer | <s>[INST]what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer Context: CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR)[/INST]SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_po... |
CREATE TABLE table_30120761_1 (barony VARCHAR, townland VARCHAR) | SELECT COUNT(barony) FROM table_30120761_1 WHERE townland = "Maulnagrough" | How many baronies is Maulnagrough a part of? | <s>[INST]How many baronies is Maulnagrough a part of? Context: CREATE TABLE table_30120761_1 (barony VARCHAR, townland VARCHAR)[/INST]SELECT COUNT(barony) FROM table_30120761_1 WHERE townland = "Maulnagrough"</s> |
CREATE TABLE table_name_70 (abbr VARCHAR, votes__2011_ VARCHAR) | SELECT abbr FROM table_name_70 WHERE votes__2011_ = "11.2%" | WHAT IS THE ABBR WITH VOTES OF 11.2% IN 2011? | <s>[INST]WHAT IS THE ABBR WITH VOTES OF 11.2% IN 2011? Context: CREATE TABLE table_name_70 (abbr VARCHAR, votes__2011_ VARCHAR)[/INST]SELECT abbr FROM table_name_70 WHERE votes__2011_ = "11.2%"</s> |
CREATE TABLE singer (age INTEGER, country VARCHAR) | SELECT AVG(age), MIN(age), MAX(age) FROM singer WHERE country = 'France' | What is the average, minimum, and maximum age of all singers from France? | <s>[INST]What is the average, minimum, and maximum age of all singers from France? Context: CREATE TABLE singer (age INTEGER, country VARCHAR)[/INST]SELECT AVG(age), MIN(age), MAX(age) FROM singer WHERE country = 'France'</s> |
CREATE TABLE table_15887683_10 (content VARCHAR, television_service VARCHAR, dar VARCHAR, package_option VARCHAR, language VARCHAR) | SELECT content FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND language = "Italian" AND dar = "16:9" AND television_service = "MTV Hits" | Name the content for sky famiglia for italian and dar 16:9 for mtv hits | <s>[INST]Name the content for sky famiglia for italian and dar 16:9 for mtv hits Context: CREATE TABLE table_15887683_10 (content VARCHAR, television_service VARCHAR, dar VARCHAR, package_option VARCHAR, language VARCHAR)[/INST]SELECT content FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND language = "... |
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_39 WHERE date = "14 march 2004" | What was the score on 14 march 2004? | <s>[INST]What was the score on 14 march 2004? Context: CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE date = "14 march 2004"</s> |
CREATE TABLE table_11960196_3 (high_points VARCHAR, location_attendance VARCHAR) | SELECT COUNT(high_points) FROM table_11960196_3 WHERE location_attendance = "Wachovia Center 18,347" | How many high points were at the wachovia center 18,347? | <s>[INST]How many high points were at the wachovia center 18,347? Context: CREATE TABLE table_11960196_3 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_11960196_3 WHERE location_attendance = "Wachovia Center 18,347"</s> |
CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR) | SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001" | How man seasons have the air date of October 2, 2001? | <s>[INST]How man seasons have the air date of October 2, 2001? Context: CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR)[/INST]SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001"</s> |
CREATE TABLE table_name_3 (venue VARCHAR, city VARCHAR) | SELECT venue FROM table_name_3 WHERE city = "villanova" | Which venue is in the city of Villanova? | <s>[INST]Which venue is in the city of Villanova? Context: CREATE TABLE table_name_3 (venue VARCHAR, city VARCHAR)[/INST]SELECT venue FROM table_name_3 WHERE city = "villanova"</s> |
CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson" | Name the result for glenn thompson | <s>[INST]Name the result for glenn thompson Context: CREATE TABLE table_25030512_41 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_25030512_41 WHERE incumbent = "Glenn Thompson"</s> |
CREATE TABLE table_29250534_1 (manager VARCHAR, club VARCHAR) | SELECT manager FROM table_29250534_1 WHERE club = "FC Inter" | Who is the manager for the fc inter club? | <s>[INST]Who is the manager for the fc inter club? Context: CREATE TABLE table_29250534_1 (manager VARCHAR, club VARCHAR)[/INST]SELECT manager FROM table_29250534_1 WHERE club = "FC Inter"</s> |
CREATE TABLE table_name_66 (points INTEGER, games VARCHAR, losses VARCHAR, team_name VARCHAR) | SELECT MIN(points) FROM table_name_66 WHERE losses < 8 AND team_name = "vancouver burrards" AND games < 24 | What's the lowest number of points with fewer than 8 losses and fewer than 24 games for the vancouver burrards? | <s>[INST]What's the lowest number of points with fewer than 8 losses and fewer than 24 games for the vancouver burrards? Context: CREATE TABLE table_name_66 (points INTEGER, games VARCHAR, losses VARCHAR, team_name VARCHAR)[/INST]SELECT MIN(points) FROM table_name_66 WHERE losses < 8 AND team_name = "vancouver burrards... |
CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR) | SELECT type FROM table_name_58 WHERE nat = "geo" | Which Type has a Nat of geo? | <s>[INST]Which Type has a Nat of geo? Context: CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR)[/INST]SELECT type FROM table_name_58 WHERE nat = "geo"</s> |
CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR) | SELECT title FROM table_234886_3 WHERE prod_code = "2-19" | What is the title of the episode with the production code 2-19? | <s>[INST]What is the title of the episode with the production code 2-19? Context: CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)[/INST]SELECT title FROM table_234886_3 WHERE prod_code = "2-19"</s> |
CREATE TABLE table_15511178_3 (race VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan Bomarito" | Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito | <s>[INST]Which race was the winning team mathiasen motorsports and the pole belonged to jonathan bomarito Context: CREATE TABLE table_15511178_3 (race VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT race FROM table_15511178_3 WHERE winning_team = "Mathiasen Motorsports" AND pole_position = "Jonathan ... |
CREATE TABLE table_27069503_2 (overall VARCHAR, season VARCHAR) | SELECT overall FROM table_27069503_2 WHERE season = "2003-04" | What was the overall record for the Pandas in the 2003-04 season? | <s>[INST]What was the overall record for the Pandas in the 2003-04 season? Context: CREATE TABLE table_27069503_2 (overall VARCHAR, season VARCHAR)[/INST]SELECT overall FROM table_27069503_2 WHERE season = "2003-04"</s> |
CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_97 WHERE away_team = "walsall" | How many ties does Walsall have? | <s>[INST]How many ties does Walsall have? Context: CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_97 WHERE away_team = "walsall"</s> |
CREATE TABLE table_24089503_1 (breeders_cup_friday VARCHAR, breeders_cup_saturday VARCHAR) | SELECT breeders_cup_friday FROM table_24089503_1 WHERE breeders_cup_saturday = "52,987" | What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987? | <s>[INST]What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987? Context: CREATE TABLE table_24089503_1 (breeders_cup_friday VARCHAR, breeders_cup_saturday VARCHAR)[/INST]SELECT breeders_cup_friday FROM table_24089503_1 WHERE breeders_cup_saturday = "52,987"</s> |
CREATE TABLE table_29474481_4 (french_head_of_state VARCHAR, head_of_mission VARCHAR) | SELECT COUNT(french_head_of_state) FROM table_29474481_4 WHERE head_of_mission = "Xavier Daufresne de la Chevalerie" | How many French heads of state have a head of mission of Xavier Daufresne de la Chevalerie? | <s>[INST]How many French heads of state have a head of mission of Xavier Daufresne de la Chevalerie? Context: CREATE TABLE table_29474481_4 (french_head_of_state VARCHAR, head_of_mission VARCHAR)[/INST]SELECT COUNT(french_head_of_state) FROM table_29474481_4 WHERE head_of_mission = "Xavier Daufresne de la Chevalerie"</... |
CREATE TABLE table_name_49 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_49 WHERE home_team = "collingwood" | When the Home team of collingwood played, what was the opposing Away team score? | <s>[INST]When the Home team of collingwood played, what was the opposing Away team score? Context: CREATE TABLE table_name_49 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_49 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR) | SELECT dock_connection FROM table_24384861_1 WHERE version = "SoundDock series III" | What type of dock connection does the sounddock series III have? | <s>[INST]What type of dock connection does the sounddock series III have? Context: CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR)[/INST]SELECT dock_connection FROM table_24384861_1 WHERE version = "SoundDock series III"</s> |
CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR) | SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125" | What is every yellow jersey entry for the distance 125? | <s>[INST]What is every yellow jersey entry for the distance 125? Context: CREATE TABLE table_275506_1 (yellow_jersey VARCHAR, distance__km_ VARCHAR)[/INST]SELECT yellow_jersey FROM table_275506_1 WHERE distance__km_ = "125"</s> |
CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) | SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = "bürger für groß-rohrheim" AND _percentage_2006 < 21.3 | What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3? | <s>[INST]What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3? Context: CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)[/INST]SELECT MAX(seats_2006) FROM table_name_... |
CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_69 WHERE date = "april 23" | What is the Score for the Date of April 23? | <s>[INST]What is the Score for the Date of April 23? Context: CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_69 WHERE date = "april 23"</s> |
CREATE TABLE table_name_39 (region_1_release VARCHAR, region_2_release VARCHAR) | SELECT region_1_release FROM table_name_39 WHERE region_2_release = "july 20, 2009" | What is the region 1 release that has july 20, 2009 as the region 2? | <s>[INST]What is the region 1 release that has july 20, 2009 as the region 2? Context: CREATE TABLE table_name_39 (region_1_release VARCHAR, region_2_release VARCHAR)[/INST]SELECT region_1_release FROM table_name_39 WHERE region_2_release = "july 20, 2009"</s> |
CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR) | SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "andy bean" AND rank < 4 | Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4? | <s>[INST]Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4? Context: CREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_66 WHERE country = "united states" AND player = "andy... |
CREATE TABLE table_15887683_19 (content VARCHAR, television_service VARCHAR) | SELECT COUNT(content) FROM table_15887683_19 WHERE television_service = "R-LIGHT" | How many times was something listed under content when the television was R-light? | <s>[INST]How many times was something listed under content when the television was R-light? Context: CREATE TABLE table_15887683_19 (content VARCHAR, television_service VARCHAR)[/INST]SELECT COUNT(content) FROM table_15887683_19 WHERE television_service = "R-LIGHT"</s> |
CREATE TABLE table_name_95 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_95 WHERE week = 8 | What was the Attendance on Week 8? | <s>[INST]What was the Attendance on Week 8? Context: CREATE TABLE table_name_95 (attendance INTEGER, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_95 WHERE week = 8</s> |
CREATE TABLE table_name_41 (second VARCHAR, third VARCHAR) | SELECT second FROM table_name_41 WHERE third = "nikolina petric" | Who is the Second with Nikolina Petric as Third? | <s>[INST]Who is the Second with Nikolina Petric as Third? Context: CREATE TABLE table_name_41 (second VARCHAR, third VARCHAR)[/INST]SELECT second FROM table_name_41 WHERE third = "nikolina petric"</s> |
CREATE TABLE table_name_27 (bronze INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR) | SELECT SUM(bronze) FROM table_name_27 WHERE total = 3 AND gold > 0 AND nation = "belarus" AND silver > 2 | Total of 3, and a Gold larger than 0, and a Nation of belarus, and a Silver larger than 2 has what sum of bronze? | <s>[INST]Total of 3, and a Gold larger than 0, and a Nation of belarus, and a Silver larger than 2 has what sum of bronze? Context: CREATE TABLE table_name_27 (bronze INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_27 WHERE total = 3 AND gold > 0 AND nation... |
CREATE TABLE table_name_90 (year VARCHAR, position VARCHAR, name VARCHAR) | SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland" | In what year of school is the forward Iman McFarland? | <s>[INST]In what year of school is the forward Iman McFarland? Context: CREATE TABLE table_name_90 (year VARCHAR, position VARCHAR, name VARCHAR)[/INST]SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland"</s> |
CREATE TABLE Student (StuID VARCHAR, age INTEGER); CREATE TABLE Sportsinfo (StuID VARCHAR) | SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.age < 20 | Show total hours per week and number of games played for students under 20. | <s>[INST]Show total hours per week and number of games played for students under 20. Context: CREATE TABLE Student (StuID VARCHAR, age INTEGER); CREATE TABLE Sportsinfo (StuID VARCHAR)[/INST]SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.age < 20</s> |
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_32 WHERE to_par = "+1" AND country = "england" | Which player was from England with a to par of +1? | <s>[INST]Which player was from England with a to par of +1? Context: CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_32 WHERE to_par = "+1" AND country = "england"</s> |
CREATE TABLE table_name_37 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER) | SELECT COUNT(shot_diameter__cm_) FROM table_name_37 WHERE shot_volume__cm_3__ < 172.76 | How many times is the shot volume (cm3) less than 172.76? | <s>[INST]How many times is the shot volume (cm3) less than 172.76? Context: CREATE TABLE table_name_37 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER)[/INST]SELECT COUNT(shot_diameter__cm_) FROM table_name_37 WHERE shot_volume__cm_3__ < 172.76</s> |
CREATE TABLE table_name_32 (player VARCHAR, rank INTEGER) | SELECT player FROM table_name_32 WHERE rank < 2 | Who's ranked less than 2? | <s>[INST]Who's ranked less than 2? Context: CREATE TABLE table_name_32 (player VARCHAR, rank INTEGER)[/INST]SELECT player FROM table_name_32 WHERE rank < 2</s> |
CREATE TABLE table_24192031_2 (hometown VARCHAR, height VARCHAR) | SELECT COUNT(hometown) FROM table_24192031_2 WHERE height = "m (ft 10 1⁄2 in)" | How many hometowns have a height of m (ft 10 1⁄2 in)? | <s>[INST]How many hometowns have a height of m (ft 10 1⁄2 in)? Context: CREATE TABLE table_24192031_2 (hometown VARCHAR, height VARCHAR)[/INST]SELECT COUNT(hometown) FROM table_24192031_2 WHERE height = "m (ft 10 1⁄2 in)"</s> |
CREATE TABLE perpetrator (YEAR INTEGER) | SELECT MAX(YEAR) FROM perpetrator | In which year did the most recent crime happen? | <s>[INST]In which year did the most recent crime happen? Context: CREATE TABLE perpetrator (YEAR INTEGER)[/INST]SELECT MAX(YEAR) FROM perpetrator</s> |
CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR) | SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen" | What is the College of the Player from San Miguel Beermen PBA Team? | <s>[INST]What is the College of the Player from San Miguel Beermen PBA Team? Context: CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR)[/INST]SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen"</s> |
CREATE TABLE table_name_9 (fa_cup INTEGER, league VARCHAR, malaysia_cup VARCHAR) | SELECT MIN(fa_cup) FROM table_name_9 WHERE league > 0 AND malaysia_cup > 5 | What is the lowest FA cup that has a league greater than 0, with a Malaysia cup greater than 5? | <s>[INST]What is the lowest FA cup that has a league greater than 0, with a Malaysia cup greater than 5? Context: CREATE TABLE table_name_9 (fa_cup INTEGER, league VARCHAR, malaysia_cup VARCHAR)[/INST]SELECT MIN(fa_cup) FROM table_name_9 WHERE league > 0 AND malaysia_cup > 5</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.