context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_12 WHERE date = "february 2" | What are the High assists for February 2? | <s>[INST]What are the High assists for February 2? Context: CREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_12 WHERE date = "february 2"</s> |
CREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR) | SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198 | What was the earliest year with 339 pieces and a number smaller than 7198? | <s>[INST]What was the earliest year with 339 pieces and a number smaller than 7198? Context: CREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR)[/INST]SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198</s> |
CREATE TABLE table_name_15 (thursday VARCHAR, wednesday VARCHAR, sunday VARCHAR) | SELECT thursday FROM table_name_15 WHERE wednesday = "emma willis" AND sunday = "alice levine jamie east" | Who was the presenter on Thursday of the series in which Emma Willis was the presenter on Wednesday, and Alice Levine Jamie East was the presenter on Sunday? | <s>[INST]Who was the presenter on Thursday of the series in which Emma Willis was the presenter on Wednesday, and Alice Levine Jamie East was the presenter on Sunday? Context: CREATE TABLE table_name_15 (thursday VARCHAR, wednesday VARCHAR, sunday VARCHAR)[/INST]SELECT thursday FROM table_name_15 WHERE wednesday = "emma willis" AND sunday = "alice levine jamie east"</s> |
CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR) | SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington" | Which Round is the lowest one that has a Circuit of donington? | <s>[INST]Which Round is the lowest one that has a Circuit of donington? Context: CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)[/INST]SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington"</s> |
CREATE TABLE table_name_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR) | SELECT MIN(league_goals) FROM table_name_46 WHERE fa_cup_apps = "0" AND total_apps = "1 (3)" | What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as totals apps? | <s>[INST]What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as totals apps? Context: CREATE TABLE table_name_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR)[/INST]SELECT MIN(league_goals) FROM table_name_46 WHERE fa_cup_apps = "0" AND total_apps = "1 (3)"</s> |
CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) | SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "annalisa bona" | What was the tier versus Annalisa bona? | <s>[INST]What was the tier versus Annalisa bona? Context: CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "annalisa bona"</s> |
CREATE TABLE table_name_97 (result VARCHAR, surface VARCHAR, date VARCHAR) | SELECT result FROM table_name_97 WHERE surface = "clay" AND date = "july 17, 1992" | What's the result for the clay surface edition on july 17, 1992? | <s>[INST]What's the result for the clay surface edition on july 17, 1992? Context: CREATE TABLE table_name_97 (result VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_97 WHERE surface = "clay" AND date = "july 17, 1992"</s> |
CREATE TABLE table_name_88 (team VARCHAR, coach VARCHAR, captain VARCHAR) | SELECT team FROM table_name_88 WHERE coach = "manzoor elahi" AND captain = "taufeeq umar" | Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain? | <s>[INST]Which Team has Manzoor Elahi as Coach and Taufeeq Umar as Captain? Context: CREATE TABLE table_name_88 (team VARCHAR, coach VARCHAR, captain VARCHAR)[/INST]SELECT team FROM table_name_88 WHERE coach = "manzoor elahi" AND captain = "taufeeq umar"</s> |
CREATE TABLE table_name_93 (title VARCHAR, production_cost VARCHAR) | SELECT title FROM table_name_93 WHERE production_cost = "$850,000" | What is the title of the film that had a production cost of $850,000? | <s>[INST]What is the title of the film that had a production cost of $850,000? Context: CREATE TABLE table_name_93 (title VARCHAR, production_cost VARCHAR)[/INST]SELECT title FROM table_name_93 WHERE production_cost = "$850,000"</s> |
CREATE TABLE table_name_28 (score VARCHAR, decision VARCHAR, date VARCHAR) | SELECT score FROM table_name_28 WHERE decision = "hasek" AND date = "january 5" | What's the score on january 5 with a hasek decision? | <s>[INST]What's the score on january 5 with a hasek decision? Context: CREATE TABLE table_name_28 (score VARCHAR, decision VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE decision = "hasek" AND date = "january 5"</s> |
CREATE TABLE table_15055594_6 (states VARCHAR, fall_06 VARCHAR) | SELECT states FROM table_15055594_6 WHERE fall_06 = 3821 | Which state had 3821 students in the fall of 06? | <s>[INST]Which state had 3821 students in the fall of 06? Context: CREATE TABLE table_15055594_6 (states VARCHAR, fall_06 VARCHAR)[/INST]SELECT states FROM table_15055594_6 WHERE fall_06 = 3821</s> |
CREATE TABLE table_28367242_1 (name VARCHAR, incorporation_date__city_ VARCHAR) | SELECT name FROM table_28367242_1 WHERE incorporation_date__city_ = "July 16, 1860" | What is the name of the city which incorporated on july 16, 1860? | <s>[INST]What is the name of the city which incorporated on july 16, 1860? Context: CREATE TABLE table_28367242_1 (name VARCHAR, incorporation_date__city_ VARCHAR)[/INST]SELECT name FROM table_28367242_1 WHERE incorporation_date__city_ = "July 16, 1860"</s> |
CREATE TABLE table_name_5 (count VARCHAR, flight_hours VARCHAR) | SELECT count FROM table_name_5 WHERE flight_hours = "2:00" | What is the count for the Zero Fighter with hours of 2:00? | <s>[INST]What is the count for the Zero Fighter with hours of 2:00? Context: CREATE TABLE table_name_5 (count VARCHAR, flight_hours VARCHAR)[/INST]SELECT count FROM table_name_5 WHERE flight_hours = "2:00"</s> |
CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR) | SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG" | What is the model number for the order part numbered tmrm75dam22gg? | <s>[INST]What is the model number for the order part numbered tmrm75dam22gg? Context: CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR)[/INST]SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG"</s> |
CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR) | SELECT round FROM table_name_24 WHERE margin = "178" | which round has a margin of 178? | <s>[INST]which round has a margin of 178? Context: CREATE TABLE table_name_24 (round VARCHAR, margin VARCHAR)[/INST]SELECT round FROM table_name_24 WHERE margin = "178"</s> |
CREATE TABLE table_26040604_1 (die_size__mm_2__ INTEGER, sm_count VARCHAR) | SELECT MIN(die_size__mm_2__) FROM table_26040604_1 WHERE sm_count = 2 | What is the minimum die size for an SM count of exactly 2? | <s>[INST]What is the minimum die size for an SM count of exactly 2? Context: CREATE TABLE table_26040604_1 (die_size__mm_2__ INTEGER, sm_count VARCHAR)[/INST]SELECT MIN(die_size__mm_2__) FROM table_26040604_1 WHERE sm_count = 2</s> |
CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR) | SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy" | What is the final score when they played Frankfurt Galaxy? | <s>[INST]What is the final score when they played Frankfurt Galaxy? Context: CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR)[/INST]SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"</s> |
CREATE TABLE employees (department_id VARCHAR, commission_pct VARCHAR) | SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10 | display those departments where more than ten employees work who got a commission percentage. | <s>[INST]display those departments where more than ten employees work who got a commission percentage. Context: CREATE TABLE employees (department_id VARCHAR, commission_pct VARCHAR)[/INST]SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10</s> |
CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR) | SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387 | WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? | <s>[INST]WHAT IS THE AVERAGE VOTE FOR DUBLIN SOUTH, AND SPOILT SMALLER THAN 3,387? Context: CREATE TABLE table_name_14 (votes INTEGER, constituency VARCHAR, spoilt VARCHAR)[/INST]SELECT AVG(votes) FROM table_name_14 WHERE constituency = "dublin south" AND spoilt < 3 OFFSET 387</s> |
CREATE TABLE table_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR) | SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white" | What's the green (SW) of the model with charcoal/white interior/roof? | <s>[INST]What's the green (SW) of the model with charcoal/white interior/roof? Context: CREATE TABLE table_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR)[/INST]SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white"</s> |
CREATE TABLE table_1971074_1 (enrollment INTEGER) | SELECT MAX(enrollment) FROM table_1971074_1 | What's the highest enrollment among the schools? | <s>[INST]What's the highest enrollment among the schools? Context: CREATE TABLE table_1971074_1 (enrollment INTEGER)[/INST]SELECT MAX(enrollment) FROM table_1971074_1</s> |
CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_ID VARCHAR, Age INTEGER); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR) | SELECT T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID WHERE T3.Age < 34 | Show the fleet series of the aircrafts flied by pilots younger than 34 | <s>[INST]Show the fleet series of the aircrafts flied by pilots younger than 34 Context: CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_ID VARCHAR, Age INTEGER); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR)[/INST]SELECT T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID WHERE T3.Age < 34</s> |
CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_52 WHERE score = 69 | Which player has 69 as the score? | <s>[INST]Which player has 69 as the score? Context: CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_52 WHERE score = 69</s> |
CREATE TABLE table_name_24 (opponent VARCHAR, round VARCHAR, venue VARCHAR) | SELECT opponent FROM table_name_24 WHERE round = "3" AND venue = "home" | What is the Opponent with a Round with 3, and a Venue of home? | <s>[INST]What is the Opponent with a Round with 3, and a Venue of home? Context: CREATE TABLE table_name_24 (opponent VARCHAR, round VARCHAR, venue VARCHAR)[/INST]SELECT opponent FROM table_name_24 WHERE round = "3" AND venue = "home"</s> |
CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR) | SELECT lost FROM table_17941032_1 WHERE tries_for = "55" | When 55 is the tries for what is the lost? | <s>[INST]When 55 is the tries for what is the lost? Context: CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)[/INST]SELECT lost FROM table_17941032_1 WHERE tries_for = "55"</s> |
CREATE TABLE table_name_92 (winners VARCHAR, season VARCHAR) | SELECT winners FROM table_name_92 WHERE season = 2010 | Who is the winner in 2010? | <s>[INST]Who is the winner in 2010? Context: CREATE TABLE table_name_92 (winners VARCHAR, season VARCHAR)[/INST]SELECT winners FROM table_name_92 WHERE season = 2010</s> |
CREATE TABLE table_name_83 (lane INTEGER, time VARCHAR, nationality VARCHAR) | SELECT AVG(lane) FROM table_name_83 WHERE time > 20.5 AND nationality = "trinidad and tobago" | Which Lane has a Time larger than 20.5, and a Nationality of trinidad and tobago? | <s>[INST]Which Lane has a Time larger than 20.5, and a Nationality of trinidad and tobago? Context: CREATE TABLE table_name_83 (lane INTEGER, time VARCHAR, nationality VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_83 WHERE time > 20.5 AND nationality = "trinidad and tobago"</s> |
CREATE TABLE table_21471897_2 (rr3_pts VARCHAR, won VARCHAR) | SELECT COUNT(rr3_pts) FROM table_21471897_2 WHERE won = 11 | Name the total number of rr2 pts for won being 11 | <s>[INST]Name the total number of rr2 pts for won being 11 Context: CREATE TABLE table_21471897_2 (rr3_pts VARCHAR, won VARCHAR)[/INST]SELECT COUNT(rr3_pts) FROM table_21471897_2 WHERE won = 11</s> |
CREATE TABLE table_2582519_6 (title VARCHAR, director VARCHAR) | SELECT title FROM table_2582519_6 WHERE director = "Paul Annett" | What is the title of the show with director Paul Annett? | <s>[INST]What is the title of the show with director Paul Annett? Context: CREATE TABLE table_2582519_6 (title VARCHAR, director VARCHAR)[/INST]SELECT title FROM table_2582519_6 WHERE director = "Paul Annett"</s> |
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, enr VARCHAR, cName VARCHAR) | SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' | What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision. | <s>[INST]What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision. Context: CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, enr VARCHAR, cName VARCHAR)[/INST]SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'</s> |
CREATE TABLE table_name_56 (points INTEGER, date VARCHAR) | SELECT MIN(points) FROM table_name_56 WHERE date = "march 2" | What were the lowest points on march 2? | <s>[INST]What were the lowest points on march 2? Context: CREATE TABLE table_name_56 (points INTEGER, date VARCHAR)[/INST]SELECT MIN(points) FROM table_name_56 WHERE date = "march 2"</s> |
CREATE TABLE table_1404456_1 (county VARCHAR, code VARCHAR) | SELECT county FROM table_1404456_1 WHERE code = 2 | what's the county with code being 2 | <s>[INST]what's the county with code being 2 Context: CREATE TABLE table_1404456_1 (county VARCHAR, code VARCHAR)[/INST]SELECT county FROM table_1404456_1 WHERE code = 2</s> |
CREATE TABLE table_name_5 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_5 WHERE away_team = "scunthorpe united" | For which tie was Scunthorpe United the away team? | <s>[INST]For which tie was Scunthorpe United the away team? Context: CREATE TABLE table_name_5 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_5 WHERE away_team = "scunthorpe united"</s> |
CREATE TABLE table_name_98 (against VARCHAR, score VARCHAR, season VARCHAR, _number_100 VARCHAR) | SELECT against FROM table_name_98 WHERE season = "1987/88" AND _number_100 > 13 AND score = "139" | Which Against has a Season of 1987/88, and a # 100 larger than 13, and a Score of 139? | <s>[INST]Which Against has a Season of 1987/88, and a # 100 larger than 13, and a Score of 139? Context: CREATE TABLE table_name_98 (against VARCHAR, score VARCHAR, season VARCHAR, _number_100 VARCHAR)[/INST]SELECT against FROM table_name_98 WHERE season = "1987/88" AND _number_100 > 13 AND score = "139"</s> |
CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR) | SELECT conflict FROM table_1921_1 WHERE location = "Iraq" | What is every conflict in Iraq? | <s>[INST]What is every conflict in Iraq? Context: CREATE TABLE table_1921_1 (conflict VARCHAR, location VARCHAR)[/INST]SELECT conflict FROM table_1921_1 WHERE location = "Iraq"</s> |
CREATE TABLE table_name_72 (date VARCHAR, crowd INTEGER) | SELECT date FROM table_name_72 WHERE crowd < 4 OFFSET 485 | Which Date has a Crowd smaller than 4,485? | <s>[INST]Which Date has a Crowd smaller than 4,485? Context: CREATE TABLE table_name_72 (date VARCHAR, crowd INTEGER)[/INST]SELECT date FROM table_name_72 WHERE crowd < 4 OFFSET 485</s> |
CREATE TABLE table_name_81 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_81 WHERE opponents = "sheffield wednesday" | Opponents of sheffield wednesday had what date? | <s>[INST]Opponents of sheffield wednesday had what date? Context: CREATE TABLE table_name_81 (date VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_81 WHERE opponents = "sheffield wednesday"</s> |
CREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_2791668_1 WHERE written_by = "Philippe Browning" | what is the name of the episode whose writer is philippe browning? | <s>[INST]what is the name of the episode whose writer is philippe browning? Context: CREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_2791668_1 WHERE written_by = "Philippe Browning"</s> |
CREATE TABLE table_19317584_2 (city_and_venue VARCHAR) | SELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = "Krško , Slovenia Matije Gubca Stadium" | Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium | <s>[INST]Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium Context: CREATE TABLE table_19317584_2 (city_and_venue VARCHAR)[/INST]SELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = "Krško , Slovenia Matije Gubca Stadium"</s> |
CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR) | SELECT champion FROM table_name_58 WHERE city = "tucson, arizona" | Which player from Tucson, Arizona won the Championship? | <s>[INST]Which player from Tucson, Arizona won the Championship? Context: CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR)[/INST]SELECT champion FROM table_name_58 WHERE city = "tucson, arizona"</s> |
CREATE TABLE table_name_48 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR) | SELECT record_company FROM table_name_48 WHERE year_of_recording = 1964 AND format = "cd" | What record company released a CD in 1964? | <s>[INST]What record company released a CD in 1964? Context: CREATE TABLE table_name_48 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR)[/INST]SELECT record_company FROM table_name_48 WHERE year_of_recording = 1964 AND format = "cd"</s> |
CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR) | SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland" | What is the enrollment for Ashland University? | <s>[INST]What is the enrollment for Ashland University? Context: CREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR)[/INST]SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland"</s> |
CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR, method VARCHAR, result VARCHAR) | SELECT location FROM table_name_66 WHERE method = "ko" AND result = "win" AND record = "2-0" | What is the location when KO is the method, the result is a win, and the record is 2-0? | <s>[INST]What is the location when KO is the method, the result is a win, and the record is 2-0? Context: CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR, method VARCHAR, result VARCHAR)[/INST]SELECT location FROM table_name_66 WHERE method = "ko" AND result = "win" AND record = "2-0"</s> |
CREATE TABLE table_name_8 (round VARCHAR, kick_off VARCHAR) | SELECT round FROM table_name_8 WHERE kick_off = "1993-02-17 20:30" | Which round has a Kick Off of 1993-02-17 20:30? | <s>[INST]Which round has a Kick Off of 1993-02-17 20:30? Context: CREATE TABLE table_name_8 (round VARCHAR, kick_off VARCHAR)[/INST]SELECT round FROM table_name_8 WHERE kick_off = "1993-02-17 20:30"</s> |
CREATE TABLE table_name_72 (is_3_m1945 VARCHAR, kv_1s_m1942 VARCHAR) | SELECT is_3_m1945 FROM table_name_72 WHERE kv_1s_m1942 = "45" | What's the IS-3 when the KV-1S is 45? | <s>[INST]What's the IS-3 when the KV-1S is 45? Context: CREATE TABLE table_name_72 (is_3_m1945 VARCHAR, kv_1s_m1942 VARCHAR)[/INST]SELECT is_3_m1945 FROM table_name_72 WHERE kv_1s_m1942 = "45"</s> |
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_62 WHERE away_team = "carlton" | Who played against Carlton as the home team? | <s>[INST]Who played against Carlton as the home team? Context: CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_62 WHERE away_team = "carlton"</s> |
CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR) | SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River" | When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)? | <s>[INST]When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)? Context: CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR)[/INST]SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River"</s> |
CREATE TABLE table_21436373_11 (stadium VARCHAR, type_of_record VARCHAR) | SELECT stadium FROM table_21436373_11 WHERE type_of_record = "Regular season game" | Name the stadium for regular season game | <s>[INST]Name the stadium for regular season game Context: CREATE TABLE table_21436373_11 (stadium VARCHAR, type_of_record VARCHAR)[/INST]SELECT stadium FROM table_21436373_11 WHERE type_of_record = "Regular season game"</s> |
CREATE TABLE table_14407512_24 (overall_nt_points VARCHAR, points VARCHAR) | SELECT COUNT(overall_nt_points) FROM table_14407512_24 WHERE points = "248.9" | Name the number of overall nt points for 248.9 | <s>[INST]Name the number of overall nt points for 248.9 Context: CREATE TABLE table_14407512_24 (overall_nt_points VARCHAR, points VARCHAR)[/INST]SELECT COUNT(overall_nt_points) FROM table_14407512_24 WHERE points = "248.9"</s> |
CREATE TABLE table_name_75 (week INTEGER, attendance INTEGER) | SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604 | What is the average week number of all the matches where less than 22,604 people attended? | <s>[INST]What is the average week number of all the matches where less than 22,604 people attended? Context: CREATE TABLE table_name_75 (week INTEGER, attendance INTEGER)[/INST]SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604</s> |
CREATE TABLE table_name_45 (laps VARCHAR, rider VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_45 WHERE rider = "massimo roccoli" AND grid < 4 | What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4? | <s>[INST]What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4? Context: CREATE TABLE table_name_45 (laps VARCHAR, rider VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_45 WHERE rider = "massimo roccoli" AND grid < 4</s> |
CREATE TABLE table_2508633_9 (college VARCHAR, nfl_team VARCHAR, position VARCHAR) | SELECT college FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Tight end" | What college did the tight end draft pick for New England Patriots come from? | <s>[INST]What college did the tight end draft pick for New England Patriots come from? Context: CREATE TABLE table_2508633_9 (college VARCHAR, nfl_team VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Tight end"</s> |
CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR) | SELECT vote FROM table_25016824_2 WHERE air_date = "4 October 1997" | What was the vote when the air date is 4 october 1997? | <s>[INST]What was the vote when the air date is 4 october 1997? Context: CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR)[/INST]SELECT vote FROM table_25016824_2 WHERE air_date = "4 October 1997"</s> |
CREATE TABLE table_1341549_10 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341549_10 WHERE incumbent = "Lawrence J. Smith" | Name the district of lawrence j. smith | <s>[INST]Name the district of lawrence j. smith Context: CREATE TABLE table_1341549_10 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341549_10 WHERE incumbent = "Lawrence J. Smith"</s> |
CREATE TABLE table_name_95 (machine VARCHAR, place VARCHAR) | SELECT machine FROM table_name_95 WHERE place = 5 | What machine has 5 as the place? | <s>[INST]What machine has 5 as the place? Context: CREATE TABLE table_name_95 (machine VARCHAR, place VARCHAR)[/INST]SELECT machine FROM table_name_95 WHERE place = 5</s> |
CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR) | SELECT pop__2010_ FROM table_18600760_7 WHERE county = "Cavalier" AND geo_id > 3801931620.0 | In Cavalier County and the geo id is larger than 3801931620.0, what is the population? | <s>[INST]In Cavalier County and the geo id is larger than 3801931620.0, what is the population? Context: CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR)[/INST]SELECT pop__2010_ FROM table_18600760_7 WHERE county = "Cavalier" AND geo_id > 3801931620.0</s> |
CREATE TABLE table_name_29 (right_ascension___j2000__ VARCHAR, apparent_magnitude INTEGER) | SELECT right_ascension___j2000__ FROM table_name_29 WHERE apparent_magnitude > 11.8 | For an apparent magnitude greater than 11.8 what Right ascension value is assigned? | <s>[INST]For an apparent magnitude greater than 11.8 what Right ascension value is assigned? Context: CREATE TABLE table_name_29 (right_ascension___j2000__ VARCHAR, apparent_magnitude INTEGER)[/INST]SELECT right_ascension___j2000__ FROM table_name_29 WHERE apparent_magnitude > 11.8</s> |
CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR) | SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952" | What name is for the period 1945-1949 & 1953-1954 1949-1952? | <s>[INST]What name is for the period 1945-1949 & 1953-1954 1949-1952? Context: CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR)[/INST]SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952"</s> |
CREATE TABLE table_name_65 (director VARCHAR, result VARCHAR, year__ceremony_ VARCHAR) | SELECT director FROM table_name_65 WHERE result = "nominee" AND year__ceremony_ = "1969 (42nd)" | What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)? | <s>[INST]What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)? Context: CREATE TABLE table_name_65 (director VARCHAR, result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT director FROM table_name_65 WHERE result = "nominee" AND year__ceremony_ = "1969 (42nd)"</s> |
CREATE TABLE table_name_21 (car__number INTEGER, winnings VARCHAR) | SELECT AVG(car__number) FROM table_name_21 WHERE winnings = "$111,683" | What is the average car number of all the drivers who have won $111,683? | <s>[INST]What is the average car number of all the drivers who have won $111,683? Context: CREATE TABLE table_name_21 (car__number INTEGER, winnings VARCHAR)[/INST]SELECT AVG(car__number) FROM table_name_21 WHERE winnings = "$111,683"</s> |
CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR) | SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center" | Tell me the total number of years for lady cecily waynflete and opera house, kennedy center | <s>[INST]Tell me the total number of years for lady cecily waynflete and opera house, kennedy center Context: CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center"</s> |
CREATE TABLE table_name_23 (height INTEGER, year_born VARCHAR, current_club VARCHAR) | SELECT MAX(height) FROM table_name_23 WHERE year_born = 1982 AND current_club = "nymburk" | How tall was the member of Nymburk, who was born in 1982? | <s>[INST]How tall was the member of Nymburk, who was born in 1982? Context: CREATE TABLE table_name_23 (height INTEGER, year_born VARCHAR, current_club VARCHAR)[/INST]SELECT MAX(height) FROM table_name_23 WHERE year_born = 1982 AND current_club = "nymburk"</s> |
CREATE TABLE table_name_66 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR) | SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42" | Which rank has a s wicket at 40 and 28.42 is the average? | <s>[INST]Which rank has a s wicket at 40 and 28.42 is the average? Context: CREATE TABLE table_name_66 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR)[/INST]SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42"</s> |
CREATE TABLE table_name_18 (official_website VARCHAR, dish VARCHAR, callsign VARCHAR) | SELECT official_website FROM table_name_18 WHERE dish = "•" AND callsign = "kvtv" | Name the official website which has dish of • and callsign of kvtv | <s>[INST]Name the official website which has dish of • and callsign of kvtv Context: CREATE TABLE table_name_18 (official_website VARCHAR, dish VARCHAR, callsign VARCHAR)[/INST]SELECT official_website FROM table_name_18 WHERE dish = "•" AND callsign = "kvtv"</s> |
CREATE TABLE table_24549777_1 (player VARCHAR, high_checkout VARCHAR) | SELECT COUNT(player) FROM table_24549777_1 WHERE high_checkout = 84 | How man players checked out at 84? | <s>[INST]How man players checked out at 84? Context: CREATE TABLE table_24549777_1 (player VARCHAR, high_checkout VARCHAR)[/INST]SELECT COUNT(player) FROM table_24549777_1 WHERE high_checkout = 84</s> |
CREATE TABLE table_24949975_1 (home_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_24949975_1 WHERE date = "5 October 2011" | Who as the home team for game on 5 october 2011? | <s>[INST]Who as the home team for game on 5 october 2011? Context: CREATE TABLE table_24949975_1 (home_team VARCHAR, date VARCHAR)[/INST]SELECT home_team FROM table_24949975_1 WHERE date = "5 October 2011"</s> |
CREATE TABLE table_1340667_3 (finish_position VARCHAR) | SELECT 3 AS rd_day FROM table_1340667_3 WHERE finish_position = "16th" | what's the 3rd day with finbeingh position being 16th | <s>[INST]what's the 3rd day with finbeingh position being 16th Context: CREATE TABLE table_1340667_3 (finish_position VARCHAR)[/INST]SELECT 3 AS rd_day FROM table_1340667_3 WHERE finish_position = "16th"</s> |
CREATE TABLE table_name_35 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_35 WHERE player = "dick walker" | Which nationality is Dick Walker? | <s>[INST]Which nationality is Dick Walker? Context: CREATE TABLE table_name_35 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_35 WHERE player = "dick walker"</s> |
CREATE TABLE table_23014685_1 (intercepted_by_patriot VARCHAR, area_damaged VARCHAR) | SELECT intercepted_by_patriot FROM table_23014685_1 WHERE area_damaged = "Parking lot" | Was the missile intercepted by patriot when the parking lot was damaged? | <s>[INST]Was the missile intercepted by patriot when the parking lot was damaged? Context: CREATE TABLE table_23014685_1 (intercepted_by_patriot VARCHAR, area_damaged VARCHAR)[/INST]SELECT intercepted_by_patriot FROM table_23014685_1 WHERE area_damaged = "Parking lot"</s> |
CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR) | SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue = "UF, 1-0" | What is the record of wins/losses that were played at opponents venue (uf, 1-0) | <s>[INST]What is the record of wins/losses that were played at opponents venue (uf, 1-0) Context: CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR)[/INST]SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue = "UF, 1-0"</s> |
CREATE TABLE table_2840500_5 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT nhl_team FROM table_2840500_5 WHERE college_junior_club_team = "HC Lada Togliatti (Russia)" | Which team drafted the player from the HC Lada Togliatti (Russia)? | <s>[INST]Which team drafted the player from the HC Lada Togliatti (Russia)? Context: CREATE TABLE table_2840500_5 (nhl_team VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT nhl_team FROM table_2840500_5 WHERE college_junior_club_team = "HC Lada Togliatti (Russia)"</s> |
CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) | SELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = "Unaffected" AND bleeding_time = "Unaffected" | What is the platelet count when partial thromboplastin time and bleeding time are unaffected? | <s>[INST]What is the platelet count when partial thromboplastin time and bleeding time are unaffected? Context: CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)[/INST]SELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = "Unaffected" AND bleeding_time = "Unaffected"</s> |
CREATE TABLE table_19908651_3 (pole_position VARCHAR, winning_driver VARCHAR, race_name VARCHAR) | SELECT pole_position FROM table_19908651_3 WHERE winning_driver = "Paul Tracy" AND race_name = "ITT Automotive Grand Prix of Detroit" | Who was at the pole position in the ITT Automotive Grand Prix of Detroit, won by Paul Tracy? | <s>[INST]Who was at the pole position in the ITT Automotive Grand Prix of Detroit, won by Paul Tracy? Context: CREATE TABLE table_19908651_3 (pole_position VARCHAR, winning_driver VARCHAR, race_name VARCHAR)[/INST]SELECT pole_position FROM table_19908651_3 WHERE winning_driver = "Paul Tracy" AND race_name = "ITT Automotive Grand Prix of Detroit"</s> |
CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 2" | what's the incumbent with district being massachusetts 2 | <s>[INST]what's the incumbent with district being massachusetts 2 Context: CREATE TABLE table_1341604_22 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 2"</s> |
CREATE TABLE table_2182562_2 (top_5 INTEGER, avg_finish VARCHAR) | SELECT MIN(top_5) FROM table_2182562_2 WHERE avg_finish = "8.2" | What was the top 5 in the year with an average finish of 8.2? | <s>[INST]What was the top 5 in the year with an average finish of 8.2? Context: CREATE TABLE table_2182562_2 (top_5 INTEGER, avg_finish VARCHAR)[/INST]SELECT MIN(top_5) FROM table_2182562_2 WHERE avg_finish = "8.2"</s> |
CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 1 | How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less? | <s>[INST]How many Gold medals did Puerto Rico receive with 1 Silver and a Total of 1 or less? Context: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, silver VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_79 WHERE silver = 1 AND nation = "puerto rico" AND total < 1</s> |
CREATE TABLE table_name_45 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_45 WHERE venue = "mcg" | What is the crowd total at mcg? | <s>[INST]What is the crowd total at mcg? Context: CREATE TABLE table_name_45 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_45 WHERE venue = "mcg"</s> |
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR) | SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians" | Name the most losst for corinthians | <s>[INST]Name the most losst for corinthians Context: CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)[/INST]SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"</s> |
CREATE TABLE table_name_51 (win__percentage VARCHAR, _number_of_bids VARCHAR, conference VARCHAR) | SELECT win__percentage FROM table_name_51 WHERE _number_of_bids = 2 AND conference = "west coast" | When the conference is west coast and the number of bids are at 2, what's the percentage of games won? | <s>[INST]When the conference is west coast and the number of bids are at 2, what's the percentage of games won? Context: CREATE TABLE table_name_51 (win__percentage VARCHAR, _number_of_bids VARCHAR, conference VARCHAR)[/INST]SELECT win__percentage FROM table_name_51 WHERE _number_of_bids = 2 AND conference = "west coast"</s> |
CREATE TABLE table_23944006_4 (score VARCHAR, championship VARCHAR) | SELECT score FROM table_23944006_4 WHERE championship = "San Diego" | Name the score for san diego | <s>[INST]Name the score for san diego Context: CREATE TABLE table_23944006_4 (score VARCHAR, championship VARCHAR)[/INST]SELECT score FROM table_23944006_4 WHERE championship = "San Diego"</s> |
CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_40 WHERE college = "arizona state" | Who is the player from Arizona State? | <s>[INST]Who is the player from Arizona State? Context: CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_40 WHERE college = "arizona state"</s> |
CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, games VARCHAR) | SELECT MAX(rank) FROM table_name_52 WHERE name = "travis watson" AND games < 14 | What is the highest Rank, when Name is Travis Watson, and when Games is less than 14? | <s>[INST]What is the highest Rank, when Name is Travis Watson, and when Games is less than 14? Context: CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, games VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_52 WHERE name = "travis watson" AND games < 14</s> |
CREATE TABLE table_name_49 (opened VARCHAR, stadium VARCHAR, capacity VARCHAR) | SELECT COUNT(opened) FROM table_name_49 WHERE stadium = "stade de la mosson" AND capacity > 32 OFFSET 939 | What total number of opened has a stadium of stade de la mosson and is larger than 32,939 capacity? | <s>[INST]What total number of opened has a stadium of stade de la mosson and is larger than 32,939 capacity? Context: CREATE TABLE table_name_49 (opened VARCHAR, stadium VARCHAR, capacity VARCHAR)[/INST]SELECT COUNT(opened) FROM table_name_49 WHERE stadium = "stade de la mosson" AND capacity > 32 OFFSET 939</s> |
CREATE TABLE table_name_54 (purpose VARCHAR, name VARCHAR) | SELECT purpose FROM table_name_54 WHERE name = "quay" | What was the purpose of the Quay test blast? | <s>[INST]What was the purpose of the Quay test blast? Context: CREATE TABLE table_name_54 (purpose VARCHAR, name VARCHAR)[/INST]SELECT purpose FROM table_name_54 WHERE name = "quay"</s> |
CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, nation VARCHAR) | SELECT MIN(silver) FROM table_name_7 WHERE gold = 1 AND nation = "lithuania" | What is the smallest silver with a Gold of 1, and a Nation of lithuania? | <s>[INST]What is the smallest silver with a Gold of 1, and a Nation of lithuania? Context: CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, nation VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_7 WHERE gold = 1 AND nation = "lithuania"</s> |
CREATE TABLE table_name_36 (kit_manufacturer VARCHAR, manager VARCHAR) | SELECT kit_manufacturer FROM table_name_36 WHERE manager = "billy bonds" | What is the kit manufacturer that has billy bonds as the manager? | <s>[INST]What is the kit manufacturer that has billy bonds as the manager? Context: CREATE TABLE table_name_36 (kit_manufacturer VARCHAR, manager VARCHAR)[/INST]SELECT kit_manufacturer FROM table_name_36 WHERE manager = "billy bonds"</s> |
CREATE TABLE table_name_4 (date VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT date FROM table_name_4 WHERE opponent = "sheffield scimitars" AND venue = "home" | What was the date when the opponent was Sheffield Scimitars and the venue was Home? | <s>[INST]What was the date when the opponent was Sheffield Scimitars and the venue was Home? Context: CREATE TABLE table_name_4 (date VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE opponent = "sheffield scimitars" AND venue = "home"</s> |
CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR) | SELECT COUNT(year) FROM table_name_38 WHERE league = "usisl pro league" | How many years was there a team that was part of the usisl pro league? | <s>[INST]How many years was there a team that was part of the usisl pro league? Context: CREATE TABLE table_name_38 (year VARCHAR, league VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_38 WHERE league = "usisl pro league"</s> |
CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR) | SELECT week_4 FROM table_name_26 WHERE week_3 = "laura nicole" | What is the week 3, prior to the when the week 4 was Laura Nicole? | <s>[INST]What is the week 3, prior to the when the week 4 was Laura Nicole? Context: CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)[/INST]SELECT week_4 FROM table_name_26 WHERE week_3 = "laura nicole"</s> |
CREATE TABLE manufacturers (name VARCHAR, Headquarter VARCHAR, revenue INTEGER) | SELECT name, MAX(revenue), Headquarter FROM manufacturers GROUP BY Headquarter | Find the name and revenue of the company that earns the highest revenue in each city. | <s>[INST]Find the name and revenue of the company that earns the highest revenue in each city. Context: CREATE TABLE manufacturers (name VARCHAR, Headquarter VARCHAR, revenue INTEGER)[/INST]SELECT name, MAX(revenue), Headquarter FROM manufacturers GROUP BY Headquarter</s> |
CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR) | SELECT fourth_district FROM table_15442974_1 WHERE first_district = "Beverly Bodem" | Name the fourth district for beverly bodem | <s>[INST]Name the fourth district for beverly bodem Context: CREATE TABLE table_15442974_1 (fourth_district VARCHAR, first_district VARCHAR)[/INST]SELECT fourth_district FROM table_15442974_1 WHERE first_district = "Beverly Bodem"</s> |
CREATE TABLE table_name_97 (opposing_team VARCHAR, against VARCHAR, date VARCHAR) | SELECT opposing_team FROM table_name_97 WHERE against = 3 AND date = "11 february 1950" | Which Opposing Team has an Against of 3, and a Date of 11 february 1950? | <s>[INST]Which Opposing Team has an Against of 3, and a Date of 11 february 1950? Context: CREATE TABLE table_name_97 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)[/INST]SELECT opposing_team FROM table_name_97 WHERE against = 3 AND date = "11 february 1950"</s> |
CREATE TABLE table_name_64 (date VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT date FROM table_name_64 WHERE surface = "hard" AND partner = "marc gicquel" | What day was there a hard surface when the partner was Marc Gicquel? | <s>[INST]What day was there a hard surface when the partner was Marc Gicquel? Context: CREATE TABLE table_name_64 (date VARCHAR, surface VARCHAR, partner VARCHAR)[/INST]SELECT date FROM table_name_64 WHERE surface = "hard" AND partner = "marc gicquel"</s> |
CREATE TABLE aircraft (Id VARCHAR) | SELECT COUNT(*) FROM aircraft | How many aircrafts are there? | <s>[INST]How many aircrafts are there? Context: CREATE TABLE aircraft (Id VARCHAR)[/INST]SELECT COUNT(*) FROM aircraft</s> |
CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR) | SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport" | What is the total number of Years when the LLWS is 4th place, and when the City is Westport? | <s>[INST]What is the total number of Years when the LLWS is 4th place, and when the City is Westport? Context: CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"</s> |
CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR) | SELECT engine_displacement FROM table_1147705_1 WHERE engine_type = "B5254 T" | What is the engine displacement for the engine type b5254 t? | <s>[INST]What is the engine displacement for the engine type b5254 t? Context: CREATE TABLE table_1147705_1 (engine_displacement VARCHAR, engine_type VARCHAR)[/INST]SELECT engine_displacement FROM table_1147705_1 WHERE engine_type = "B5254 T"</s> |
CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR) | SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "chelsea" | What was the lowest attendance was the opponent was chelsea? | <s>[INST]What was the lowest attendance was the opponent was chelsea? Context: CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "chelsea"</s> |
CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR, venue VARCHAR) | SELECT date FROM table_name_42 WHERE total < 19 AND venue = "anz stadium" | What day was the total smaller than 19 at Venue of anz stadium? | <s>[INST]What day was the total smaller than 19 at Venue of anz stadium? Context: CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_42 WHERE total < 19 AND venue = "anz stadium"</s> |
CREATE TABLE table_name_51 (remelting_at__°c_ VARCHAR, sn_sb___percentage_ VARCHAR) | SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/15" | What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? | <s>[INST]What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? Context: CREATE TABLE table_name_51 (remelting_at__°c_ VARCHAR, sn_sb___percentage_ VARCHAR)[/INST]SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/15"</s> |
CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR) | SELECT fa_cup_apps FROM table_name_60 WHERE league_cup_goals = 0 AND total_apps = "43" | What is the fa cup apps with 0 league cup goals, and a total of 43 apps? | <s>[INST]What is the fa cup apps with 0 league cup goals, and a total of 43 apps? Context: CREATE TABLE table_name_60 (fa_cup_apps VARCHAR, league_cup_goals VARCHAR, total_apps VARCHAR)[/INST]SELECT fa_cup_apps FROM table_name_60 WHERE league_cup_goals = 0 AND total_apps = "43"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.