context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR) | SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george" | What is the Away team when the FootyTAB winner was st. george? | <s>[INST]What is the Away team when the FootyTAB winner was st. george? Context: CREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR)[/INST]SELECT away_team FROM table_name_13 WHERE footytab_winner = "st. george"</s> |
CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR) | SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984 | When was the first beatification in Korea that was canonised before 1984? | <s>[INST]When was the first beatification in Korea that was canonised before 1984? Context: CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR)[/INST]SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984</s> |
CREATE TABLE table_27721131_6 (game VARCHAR, team VARCHAR) | SELECT COUNT(game) FROM table_27721131_6 WHERE team = "Houston" | How many games are shown against Houston? | <s>[INST]How many games are shown against Houston? Context: CREATE TABLE table_27721131_6 (game VARCHAR, team VARCHAR)[/INST]SELECT COUNT(game) FROM table_27721131_6 WHERE team = "Houston"</s> |
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, scalable_modes VARCHAR, intra_dc_precision VARCHAR) | SELECT chroma_format FROM table_1376890_2 WHERE scalable_modes = "SNR- or spatial-scalable" AND intra_dc_precision = "8, 9, 10" | what's the chroma format with scalable modes being snr- or spatial-scalable and intra dc precbeingion being 8, 9, 10 | <s>[INST]what's the chroma format with scalable modes being snr- or spatial-scalable and intra dc precbeingion being 8, 9, 10 Context: CREATE TABLE table_1376890_2 (chroma_format VARCHAR, scalable_modes VARCHAR, intra_dc_precision VARCHAR)[/INST]SELECT chroma_format FROM table_1376890_2 WHERE scalable_modes = "SNR- or ... |
CREATE TABLE table_name_30 (overall VARCHAR, name VARCHAR) | SELECT COUNT(overall) FROM table_name_30 WHERE name = "bob anderson" | How much Overall has a Name of bob anderson? | <s>[INST]How much Overall has a Name of bob anderson? Context: CREATE TABLE table_name_30 (overall VARCHAR, name VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_30 WHERE name = "bob anderson"</s> |
CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR) | SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir" | When the city is agadir what is the change (12/11)? | <s>[INST]When the city is agadir what is the change (12/11)? Context: CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR)[/INST]SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir"</s> |
CREATE TABLE table_name_63 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_63 WHERE location_attendance = "delta center/19,911" AND date = "dec 6" | Which Opponent has a Location/Attendance of delta center/19,911 on dec 6? | <s>[INST]Which Opponent has a Location/Attendance of delta center/19,911 on dec 6? Context: CREATE TABLE table_name_63 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_63 WHERE location_attendance = "delta center/19,911" AND date = "dec 6"</s> |
CREATE TABLE Rooms (maxOccupancy INTEGER, decor VARCHAR) | SELECT SUM(maxOccupancy) FROM Rooms WHERE decor = 'modern' | What is the total number of people who could stay in the modern rooms in this inn? | <s>[INST]What is the total number of people who could stay in the modern rooms in this inn? Context: CREATE TABLE Rooms (maxOccupancy INTEGER, decor VARCHAR)[/INST]SELECT SUM(maxOccupancy) FROM Rooms WHERE decor = 'modern'</s> |
CREATE TABLE Person (name VARCHAR, city VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR) | SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.city = 'new york city' | Who has a friend that is from new york city? | <s>[INST]Who has a friend that is from new york city? Context: CREATE TABLE Person (name VARCHAR, city VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)[/INST]SELECT T2.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.city = 'new york city'</s> |
CREATE TABLE table_name_1 (coach VARCHAR, captain VARCHAR) | SELECT coach FROM table_name_1 WHERE captain = "robert harvey" | Which coach works with Robert Harvey? | <s>[INST]Which coach works with Robert Harvey? Context: CREATE TABLE table_name_1 (coach VARCHAR, captain VARCHAR)[/INST]SELECT coach FROM table_name_1 WHERE captain = "robert harvey"</s> |
CREATE TABLE table_29556461_8 (record VARCHAR, team VARCHAR) | SELECT record FROM table_29556461_8 WHERE team = "Dayton" | When dayton is the team what is the record? | <s>[INST]When dayton is the team what is the record? Context: CREATE TABLE table_29556461_8 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_29556461_8 WHERE team = "Dayton"</s> |
CREATE TABLE student (city_code VARCHAR, age INTEGER) | SELECT AVG(age), city_code FROM student GROUP BY city_code | Find the average age of all students living in the each city. | <s>[INST]Find the average age of all students living in the each city. Context: CREATE TABLE student (city_code VARCHAR, age INTEGER)[/INST]SELECT AVG(age), city_code FROM student GROUP BY city_code</s> |
CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR) | SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%" | For the group with 1.79% population in 1961, what was their percentage of the population in 1971? | <s>[INST]For the group with 1.79% population in 1961, what was their percentage of the population in 1971? Context: CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR)[/INST]SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%... |
CREATE TABLE table_28628309_8 (games_played VARCHAR, player VARCHAR) | SELECT games_played FROM table_28628309_8 WHERE player = "Jimmy Alapag" | What is the listed in games played when the player is jimmy alapag? | <s>[INST]What is the listed in games played when the player is jimmy alapag? Context: CREATE TABLE table_28628309_8 (games_played VARCHAR, player VARCHAR)[/INST]SELECT games_played FROM table_28628309_8 WHERE player = "Jimmy Alapag"</s> |
CREATE TABLE table_name_98 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT fcc_info FROM table_name_98 WHERE frequency_mhz > 89.3 AND city_of_license = "portales, new mexico" | What is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico? | <s>[INST]What is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico? Context: CREATE TABLE table_name_98 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT fcc_info FROM table_name_98 WHERE frequency_mhz > 89.3 AND city_of_license = "portales, ne... |
CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (name VARCHAR, track_id VARCHAR) | SELECT name FROM track WHERE NOT track_id IN (SELECT track_id FROM race) | Show all track names that have had no races. | <s>[INST]Show all track names that have had no races. Context: CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (name VARCHAR, track_id VARCHAR)[/INST]SELECT name FROM track WHERE NOT track_id IN (SELECT track_id FROM race)</s> |
CREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR) | SELECT earpads FROM table_name_67 WHERE construction = "plastic" AND succeeded_by = "igrado" | What earpads does the headphone with plastic contruction and was succeeded by igrado have? | <s>[INST]What earpads does the headphone with plastic contruction and was succeeded by igrado have? Context: CREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR)[/INST]SELECT earpads FROM table_name_67 WHERE construction = "plastic" AND succeeded_by = "igrado"</s> |
CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_4 WHERE score = "0-2" AND opponents = "bayer leverkusen" | What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"? | <s>[INST]What is Date, when Score is "0-2", and when Opponents is "Bayer Leverkusen"? Context: CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE score = "0-2" AND opponents = "bayer leverkusen"</s> |
CREATE TABLE table_14342367_11 (extra_points VARCHAR, player VARCHAR) | SELECT COUNT(extra_points) FROM table_14342367_11 WHERE player = "Paul Jones" | How many extra points did Paul Jones score? | <s>[INST]How many extra points did Paul Jones score? Context: CREATE TABLE table_14342367_11 (extra_points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(extra_points) FROM table_14342367_11 WHERE player = "Paul Jones"</s> |
CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR) | SELECT COUNT(january) FROM table_name_83 WHERE opponent = "st. louis blues" AND game < 42 | What is the total number in January when the St. Louis Blues had a game smaller than 42? | <s>[INST]What is the total number in January when the St. Louis Blues had a game smaller than 42? Context: CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR)[/INST]SELECT COUNT(january) FROM table_name_83 WHERE opponent = "st. louis blues" AND game < 42</s> |
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR) | SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali" | What was the comment on the Denali area? | <s>[INST]What was the comment on the Denali area? Context: CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR)[/INST]SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali"</s> |
CREATE TABLE table_242813_2 (season INTEGER, pitcher VARCHAR) | SELECT MAX(season) FROM table_242813_2 WHERE pitcher = "Old Hoss Radbourn" | Name the most season for old hoss radbourn | <s>[INST]Name the most season for old hoss radbourn Context: CREATE TABLE table_242813_2 (season INTEGER, pitcher VARCHAR)[/INST]SELECT MAX(season) FROM table_242813_2 WHERE pitcher = "Old Hoss Radbourn"</s> |
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_14 WHERE home_team = "tranmere rovers" | Name the Home team of tranmere rovers? | <s>[INST]Name the Home team of tranmere rovers? Context: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE home_team = "tranmere rovers"</s> |
CREATE TABLE table_name_90 (label VARCHAR, catalogue VARCHAR) | SELECT label FROM table_name_90 WHERE catalogue = "rtradlp 346" | What label has RTRADLP 346 as catalogue? | <s>[INST]What label has RTRADLP 346 as catalogue? Context: CREATE TABLE table_name_90 (label VARCHAR, catalogue VARCHAR)[/INST]SELECT label FROM table_name_90 WHERE catalogue = "rtradlp 346"</s> |
CREATE TABLE table_name_46 (season INTEGER, average_attendance_league VARCHAR) | SELECT SUM(season) FROM table_name_46 WHERE average_attendance_league = 2.456 | How many season have an average attendance league of 2.456? | <s>[INST]How many season have an average attendance league of 2.456? Context: CREATE TABLE table_name_46 (season INTEGER, average_attendance_league VARCHAR)[/INST]SELECT SUM(season) FROM table_name_46 WHERE average_attendance_league = 2.456</s> |
CREATE TABLE table_name_63 (outcome VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_63 WHERE opponent = "victoria azarenka" AND score = "6–2, 2–6, 7–5" | What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6–2, 2–6, 7–5? | <s>[INST]What is Outcome, when Opponent is Victoria Azarenka, and when Score is 6–2, 2–6, 7–5? Context: CREATE TABLE table_name_63 (outcome VARCHAR, opponent VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_63 WHERE opponent = "victoria azarenka" AND score = "6–2, 2–6, 7–5"</s> |
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_12 WHERE home_team = "woking" | When the home team was Woking, what was the tie no? | <s>[INST]When the home team was Woking, what was the tie no? Context: CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_12 WHERE home_team = "woking"</s> |
CREATE TABLE TV_Channel (Country VARCHAR) | SELECT Country, COUNT(*) FROM TV_Channel GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1 | Which country has the most of TV Channels? List the country and number of TV Channels it has. | <s>[INST]Which country has the most of TV Channels? List the country and number of TV Channels it has. Context: CREATE TABLE TV_Channel (Country VARCHAR)[/INST]SELECT Country, COUNT(*) FROM TV_Channel GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_6 (grid INTEGER, time_retired VARCHAR, driver VARCHAR) | SELECT MIN(grid) FROM table_name_6 WHERE time_retired = "collision" AND driver = "pedro diniz" | What is the smallest grid with collision as the Time/Retired for pedro diniz? | <s>[INST]What is the smallest grid with collision as the Time/Retired for pedro diniz? Context: CREATE TABLE table_name_6 (grid INTEGER, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_6 WHERE time_retired = "collision" AND driver = "pedro diniz"</s> |
CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR) | SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000 | What level has 11880 macroblocks and high 10 profile is 6000? | <s>[INST]What level has 11880 macroblocks and high 10 profile is 6000? Context: CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR)[/INST]SELECT level FROM table_237036_2 WHERE macroblocks_s = 11880 AND high_10_profile = 6000</s> |
CREATE TABLE table_name_71 (total INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_71 WHERE silver < 1 AND rank > 5 AND bronze > 1 | What is the lowest total for the silver less than 1, and a rank more than 5, more than 1 bronze? | <s>[INST]What is the lowest total for the silver less than 1, and a rank more than 5, more than 1 bronze? Context: CREATE TABLE table_name_71 (total INTEGER, bronze VARCHAR, silver VARCHAR, rank VARCHAR)[/INST]SELECT MIN(total) FROM table_name_71 WHERE silver < 1 AND rank > 5 AND bronze > 1</s> |
CREATE TABLE table_name_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR) | SELECT date FROM table_name_33 WHERE away_captain = "arthur jones" AND venue = "sydney cricket ground" | On what date was Arthur Jones the away captain at Sydney Cricket Ground? | <s>[INST]On what date was Arthur Jones the away captain at Sydney Cricket Ground? Context: CREATE TABLE table_name_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE away_captain = "arthur jones" AND venue = "sydney cricket ground"</s> |
CREATE TABLE table_17467578_1 (written_by VARCHAR, episode__number VARCHAR) | SELECT written_by FROM table_17467578_1 WHERE episode__number = 11 | Who wrote episode 11? | <s>[INST]Who wrote episode 11? Context: CREATE TABLE table_17467578_1 (written_by VARCHAR, episode__number VARCHAR)[/INST]SELECT written_by FROM table_17467578_1 WHERE episode__number = 11</s> |
CREATE TABLE table_2508633_5 (player VARCHAR, nfl_team VARCHAR) | SELECT player FROM table_2508633_5 WHERE nfl_team = "Green Bay Packers" | Which player did the green bay packers pick? | <s>[INST]Which player did the green bay packers pick? Context: CREATE TABLE table_2508633_5 (player VARCHAR, nfl_team VARCHAR)[/INST]SELECT player FROM table_2508633_5 WHERE nfl_team = "Green Bay Packers"</s> |
CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR) | SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport" | What Round was the Winning Team Engstler Motorsport Maurer Motorsport? | <s>[INST]What Round was the Winning Team Engstler Motorsport Maurer Motorsport? Context: CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR)[/INST]SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport"</s> |
CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR) | SELECT COUNT(foundation) FROM table_23143607_1 WHERE television_channels = "Canal Nou Canal Nou Dos Canal Nou 24 TVVi" | How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi? | <s>[INST]How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi? Context: CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR)[/INST]SELECT COUNT(foundation) FROM table_23143607_1 WHERE television_channels = "Canal Nou Canal Nou Dos Can... |
CREATE TABLE documents (access_count INTEGER) | SELECT AVG(access_count) FROM documents | What is the average access count of documents? | <s>[INST]What is the average access count of documents? Context: CREATE TABLE documents (access_count INTEGER)[/INST]SELECT AVG(access_count) FROM documents</s> |
CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_91 WHERE player = "ray hall" | What number pick is Ray Hall? | <s>[INST]What number pick is Ray Hall? Context: CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_91 WHERE player = "ray hall"</s> |
CREATE TABLE table_15872814_5 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_15872814_5 WHERE team = "New Orleans" | What is the location and total attendance for games played against New Orleans? | <s>[INST]What is the location and total attendance for games played against New Orleans? Context: CREATE TABLE table_15872814_5 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_15872814_5 WHERE team = "New Orleans"</s> |
CREATE TABLE table_name_64 (rd__number INTEGER, player VARCHAR) | SELECT AVG(rd__number) FROM table_name_64 WHERE player = "moe lemay" | What is the mean road number when Moe Lemay is the player? | <s>[INST]What is the mean road number when Moe Lemay is the player? Context: CREATE TABLE table_name_64 (rd__number INTEGER, player VARCHAR)[/INST]SELECT AVG(rd__number) FROM table_name_64 WHERE player = "moe lemay"</s> |
CREATE TABLE Highschooler (id VARCHAR, student_id VARCHAR); CREATE TABLE Friend (id VARCHAR, student_id VARCHAR) | SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend | Show ids of all students who do not have any friends. | <s>[INST]Show ids of all students who do not have any friends. Context: CREATE TABLE Highschooler (id VARCHAR, student_id VARCHAR); CREATE TABLE Friend (id VARCHAR, student_id VARCHAR)[/INST]SELECT id FROM Highschooler EXCEPT SELECT student_id FROM Friend</s> |
CREATE TABLE table_25716399_1 (written_by VARCHAR, no_in_season VARCHAR) | SELECT written_by FROM table_25716399_1 WHERE no_in_season = 14 | Who was the writer for season 14? | <s>[INST]Who was the writer for season 14? Context: CREATE TABLE table_25716399_1 (written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT written_by FROM table_25716399_1 WHERE no_in_season = 14</s> |
CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) | SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp" | What Australian Marquee team is Michael Beauchamp a captain of? | <s>[INST]What Australian Marquee team is Michael Beauchamp a captain of? Context: CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR)[/INST]SELECT australian_marquee FROM table_name_13 WHERE captain = "michael beauchamp"</s> |
CREATE TABLE table_name_1 (year INTEGER, finish VARCHAR, start VARCHAR, team VARCHAR) | SELECT MAX(year) FROM table_name_1 WHERE start = "3" AND team = "morgan-mcclure" AND finish = "40" | What's the latest year with a start of 3 and a finish of 40 for the morgan-mcclure team? | <s>[INST]What's the latest year with a start of 3 and a finish of 40 for the morgan-mcclure team? Context: CREATE TABLE table_name_1 (year INTEGER, finish VARCHAR, start VARCHAR, team VARCHAR)[/INST]SELECT MAX(year) FROM table_name_1 WHERE start = "3" AND team = "morgan-mcclure" AND finish = "40"</s> |
CREATE TABLE table_name_71 (race VARCHAR, distance VARCHAR) | SELECT race FROM table_name_71 WHERE distance = "201.44 miles" | Which race has a distance of 201.44 miles? | <s>[INST]Which race has a distance of 201.44 miles? Context: CREATE TABLE table_name_71 (race VARCHAR, distance VARCHAR)[/INST]SELECT race FROM table_name_71 WHERE distance = "201.44 miles"</s> |
CREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR) | SELECT location FROM table_name_30 WHERE competition = "gold medal match" | What is the location of the gold medal match? | <s>[INST]What is the location of the gold medal match? Context: CREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR)[/INST]SELECT location FROM table_name_30 WHERE competition = "gold medal match"</s> |
CREATE TABLE table_name_5 (goals INTEGER, tries VARCHAR, position VARCHAR) | SELECT MAX(goals) FROM table_name_5 WHERE tries < 1 AND position = "fullback" | Tell me the highest goals with tries less than 1 and fullback position | <s>[INST]Tell me the highest goals with tries less than 1 and fullback position Context: CREATE TABLE table_name_5 (goals INTEGER, tries VARCHAR, position VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_5 WHERE tries < 1 AND position = "fullback"</s> |
CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR) | SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6–7(6), 5–7" | On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7? | <s>[INST]On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7? Context: CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6–7(6), 5–7"</s> |
CREATE TABLE table_name_66 (erp_w VARCHAR, frequency_mhz VARCHAR) | SELECT erp_w FROM table_name_66 WHERE frequency_mhz = 92.7 | Name the ERP W for frequency of 92.7 | <s>[INST]Name the ERP W for frequency of 92.7 Context: CREATE TABLE table_name_66 (erp_w VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT erp_w FROM table_name_66 WHERE frequency_mhz = 92.7</s> |
CREATE TABLE table_19744915_15 (rank INTEGER) | SELECT MIN(rank) FROM table_19744915_15 | What is the lowest rank? | <s>[INST]What is the lowest rank? Context: CREATE TABLE table_19744915_15 (rank INTEGER)[/INST]SELECT MIN(rank) FROM table_19744915_15</s> |
CREATE TABLE county_public_safety (Police_force VARCHAR) | SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force | Please show the police forces and the number of counties with each police force. | <s>[INST]Please show the police forces and the number of counties with each police force. Context: CREATE TABLE county_public_safety (Police_force VARCHAR)[/INST]SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force</s> |
CREATE TABLE table_name_10 (gold VARCHAR, nation VARCHAR) | SELECT gold FROM table_name_10 WHERE nation = "india" | How many total gold medals did India receive? | <s>[INST]How many total gold medals did India receive? Context: CREATE TABLE table_name_10 (gold VARCHAR, nation VARCHAR)[/INST]SELECT gold FROM table_name_10 WHERE nation = "india"</s> |
CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR) | SELECT play FROM table_name_98 WHERE country = "cyprus" AND company = "magdalena zira theatre" | Which Play is from Cyprus, from the Company Magdalena Zira Theatre? | <s>[INST]Which Play is from Cyprus, from the Company Magdalena Zira Theatre? Context: CREATE TABLE table_name_98 (play VARCHAR, country VARCHAR, company VARCHAR)[/INST]SELECT play FROM table_name_98 WHERE country = "cyprus" AND company = "magdalena zira theatre"</s> |
CREATE TABLE table_name_73 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_73 WHERE opponent = "ayr united" | What is the result of the game against Ayr United? | <s>[INST]What is the result of the game against Ayr United? Context: CREATE TABLE table_name_73 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_73 WHERE opponent = "ayr united"</s> |
CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) | SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101" | What is the average grid number with a ferrari and a time or retired time of 1:32:35.101? | <s>[INST]What is the average grid number with a ferrari and a time or retired time of 1:32:35.101? Context: CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101"</s> |
CREATE TABLE table_name_69 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_69 WHERE score = "12-22" | What outcome has a score of 12-22? | <s>[INST]What outcome has a score of 12-22? Context: CREATE TABLE table_name_69 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_69 WHERE score = "12-22"</s> |
CREATE TABLE table_name_86 (song VARCHAR, picturization VARCHAR) | SELECT song FROM table_name_86 WHERE picturization = "vijay" | Which song has a Picturization of Vijay? | <s>[INST]Which song has a Picturization of Vijay? Context: CREATE TABLE table_name_86 (song VARCHAR, picturization VARCHAR)[/INST]SELECT song FROM table_name_86 WHERE picturization = "vijay"</s> |
CREATE TABLE table_15430606_1 (no_disc INTEGER, directed_by VARCHAR) | SELECT MAX(no_disc) FROM table_15430606_1 WHERE directed_by = "Bill Gereghty" | Name the maximum number of disc for bill gereghty | <s>[INST]Name the maximum number of disc for bill gereghty Context: CREATE TABLE table_15430606_1 (no_disc INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_disc) FROM table_15430606_1 WHERE directed_by = "Bill Gereghty"</s> |
CREATE TABLE table_name_35 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_35 WHERE attendance = "15,557" | When is it has 15,557 Attendances? | <s>[INST]When is it has 15,557 Attendances? Context: CREATE TABLE table_name_35 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_35 WHERE attendance = "15,557"</s> |
CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_55 WHERE player = "todd hamilton" AND to_par < 15 | How much Total has a Player of todd hamilton, and a To par smaller than 15? | <s>[INST]How much Total has a Player of todd hamilton, and a To par smaller than 15? Context: CREATE TABLE table_name_55 (total VARCHAR, player VARCHAR, to_par VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_55 WHERE player = "todd hamilton" AND to_par < 15</s> |
CREATE TABLE table_1307572_1 (first_minting VARCHAR, mass VARCHAR) | SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g" | When was the coin with the mass of 3.7 g first minted? | <s>[INST]When was the coin with the mass of 3.7 g first minted? Context: CREATE TABLE table_1307572_1 (first_minting VARCHAR, mass VARCHAR)[/INST]SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g"</s> |
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_69 WHERE date = "october 9, 2005" | What opponent in the final has October 9, 2005 as the date? | <s>[INST]What opponent in the final has October 9, 2005 as the date? Context: CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_69 WHERE date = "october 9, 2005"</s> |
CREATE TABLE table_14342367_11 (points INTEGER) | SELECT MAX(points) FROM table_14342367_11 | Who scored the most points? | <s>[INST]Who scored the most points? Context: CREATE TABLE table_14342367_11 (points INTEGER)[/INST]SELECT MAX(points) FROM table_14342367_11</s> |
CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_76 WHERE home_team = "north melbourne" | What wa the date of the North Melbourne home game? | <s>[INST]What wa the date of the North Melbourne home game? Context: CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR) | SELECT location FROM table_11214772_2 WHERE year = 2007 | Where was the final game played in 2007 | <s>[INST]Where was the final game played in 2007 Context: CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR)[/INST]SELECT location FROM table_11214772_2 WHERE year = 2007</s> |
CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR) | SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50" | How many seasons was the rank equal to #50? | <s>[INST]How many seasons was the rank equal to #50? Context: CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50"</s> |
CREATE TABLE table_name_33 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR) | SELECT set_1 FROM table_name_33 WHERE date = "08 jul" AND set_2 = "25–21" | What is the Set 1 when the date is 08 jul, and a Set 2 of 25–21? | <s>[INST]What is the Set 1 when the date is 08 jul, and a Set 2 of 25–21? Context: CREATE TABLE table_name_33 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR)[/INST]SELECT set_1 FROM table_name_33 WHERE date = "08 jul" AND set_2 = "25–21"</s> |
CREATE TABLE AIRPORTS (Id VARCHAR) | SELECT COUNT(*) FROM AIRPORTS | How many airports do we have? | <s>[INST]How many airports do we have? Context: CREATE TABLE AIRPORTS (Id VARCHAR)[/INST]SELECT COUNT(*) FROM AIRPORTS</s> |
CREATE TABLE table_name_69 (pdt___7_utc_ VARCHAR, cdt___5_utc_ VARCHAR) | SELECT pdt___7_utc_ FROM table_name_69 WHERE cdt___5_utc_ = "6:38 a.m." | What is the time for PDT when CDT is 6:38 a.m.? | <s>[INST]What is the time for PDT when CDT is 6:38 a.m.? Context: CREATE TABLE table_name_69 (pdt___7_utc_ VARCHAR, cdt___5_utc_ VARCHAR)[/INST]SELECT pdt___7_utc_ FROM table_name_69 WHERE cdt___5_utc_ = "6:38 a.m."</s> |
CREATE TABLE shipments (order_id VARCHAR, shipment_date INTEGER) | SELECT order_id FROM shipments WHERE shipment_date > "2000-01-01" | Find the ids of orders which are shipped after 2000-01-01. | <s>[INST]Find the ids of orders which are shipped after 2000-01-01. Context: CREATE TABLE shipments (order_id VARCHAR, shipment_date INTEGER)[/INST]SELECT order_id FROM shipments WHERE shipment_date > "2000-01-01"</s> |
CREATE TABLE table_name_73 (examples VARCHAR, american VARCHAR, semi_closed_initial_unstressed_vowels VARCHAR) | SELECT examples FROM table_name_73 WHERE american = "ɪ, ə" AND semi_closed_initial_unstressed_vowels = "y /ɨ/" | What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/? | <s>[INST]What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/? Context: CREATE TABLE table_name_73 (examples VARCHAR, american VARCHAR, semi_closed_initial_unstressed_vowels VARCHAR)[/INST]SELECT examples FROM table_name_73 WHERE american = "ɪ, ə" AND semi_closed_initial_un... |
CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR) | SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd" | What label released a CD in 1988? | <s>[INST]What label released a CD in 1988? Context: CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR)[/INST]SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd"</s> |
CREATE TABLE table_2610582_2 (station_type VARCHAR, branding VARCHAR) | SELECT station_type FROM table_2610582_2 WHERE branding = "ABS-CBN TV-32 Tagaytay" | What is the station type for the branding ABS-CBN TV-32 Tagaytay? | <s>[INST]What is the station type for the branding ABS-CBN TV-32 Tagaytay? Context: CREATE TABLE table_2610582_2 (station_type VARCHAR, branding VARCHAR)[/INST]SELECT station_type FROM table_2610582_2 WHERE branding = "ABS-CBN TV-32 Tagaytay"</s> |
CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) | SELECT broadcast_date FROM table_2114238_1 WHERE viewers__in_millions_ = "6.8" | Which broadcast date has 6.8 million viewers? | <s>[INST]Which broadcast date has 6.8 million viewers? Context: CREATE TABLE table_2114238_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT broadcast_date FROM table_2114238_1 WHERE viewers__in_millions_ = "6.8"</s> |
CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_11 WHERE venue = "oakland" | What is the result in oakland? | <s>[INST]What is the result in oakland? Context: CREATE TABLE table_name_11 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_11 WHERE venue = "oakland"</s> |
CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_28 WHERE away_team = "perth wildcats" | On what date were Perth Wildcats the away team? | <s>[INST]On what date were Perth Wildcats the away team? Context: CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_28 WHERE away_team = "perth wildcats"</s> |
CREATE TABLE table_name_38 (record_description VARCHAR, date VARCHAR, pilot VARCHAR) | SELECT record_description FROM table_name_38 WHERE date = "23 september 1961" AND pilot = "b.v. zemskov" | Date of 23 september 1961, and a Pilot of b.v. zemskov had what record description? | <s>[INST]Date of 23 september 1961, and a Pilot of b.v. zemskov had what record description? Context: CREATE TABLE table_name_38 (record_description VARCHAR, date VARCHAR, pilot VARCHAR)[/INST]SELECT record_description FROM table_name_38 WHERE date = "23 september 1961" AND pilot = "b.v. zemskov"</s> |
CREATE TABLE table_name_35 (played VARCHAR, club VARCHAR) | SELECT played FROM table_name_35 WHERE club = "morriston rfc" | What is listed under Played that has a Club of Morriston RFC? | <s>[INST]What is listed under Played that has a Club of Morriston RFC? Context: CREATE TABLE table_name_35 (played VARCHAR, club VARCHAR)[/INST]SELECT played FROM table_name_35 WHERE club = "morriston rfc"</s> |
CREATE TABLE table_name_71 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT SUM(silver) FROM table_name_71 WHERE gold = 2 AND nation = "puerto rico" AND total < 12 | Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12? | <s>[INST]Which Silver has a Gold of 2, and a Nation of puerto rico, and a Total smaller than 12? Context: CREATE TABLE table_name_71 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_71 WHERE gold = 2 AND nation = "puerto rico" AND total < 12</s> |
CREATE TABLE table_29545993_3 (stolen_ends INTEGER, pa VARCHAR) | SELECT MIN(stolen_ends) FROM table_29545993_3 WHERE pa = 40 | What is the minimum stolen ends record where the pa record is 40? | <s>[INST]What is the minimum stolen ends record where the pa record is 40? Context: CREATE TABLE table_29545993_3 (stolen_ends INTEGER, pa VARCHAR)[/INST]SELECT MIN(stolen_ends) FROM table_29545993_3 WHERE pa = 40</s> |
CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) | SELECT condition FROM table_name_75 WHERE prothrombin_time = "unaffected" AND bleeding_time = "prolonged" AND partial_thromboplastin_time = "unaffected" AND platelet_count = "decreased or unaffected" | I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected | <s>[INST]I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected Context: CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prot... |
CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_7 WHERE driver = "darren manning" | What was the time/retired of Darren Manning? | <s>[INST]What was the time/retired of Darren Manning? Context: CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_7 WHERE driver = "darren manning"</s> |
CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, vfl_games VARCHAR) | SELECT vfl_club_s_ FROM table_16527640_2 WHERE vfl_games = 23 | What vfl club(s) did players who played 23 cfl games play for? | <s>[INST]What vfl club(s) did players who played 23 cfl games play for? Context: CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, vfl_games VARCHAR)[/INST]SELECT vfl_club_s_ FROM table_16527640_2 WHERE vfl_games = 23</s> |
CREATE TABLE table_name_47 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_47 WHERE score = "1-3" | What competition has a score of 1-3? | <s>[INST]What competition has a score of 1-3? Context: CREATE TABLE table_name_47 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_47 WHERE score = "1-3"</s> |
CREATE TABLE table_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR) | SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya" | how many number of english when kunrei-shiki is otya | <s>[INST]how many number of english when kunrei-shiki is otya Context: CREATE TABLE table_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR)[/INST]SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya"</s> |
CREATE TABLE table_name_13 (year INTEGER, mintage INTEGER) | SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 000 | What was the average year for a coin that had a mintage smaller than 10,000? | <s>[INST]What was the average year for a coin that had a mintage smaller than 10,000? Context: CREATE TABLE table_name_13 (year INTEGER, mintage INTEGER)[/INST]SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 000</s> |
CREATE TABLE table_name_77 (cardinalatial_title VARCHAR, elevator VARCHAR) | SELECT cardinalatial_title FROM table_name_77 WHERE elevator = "pope eugenius iv" | Which Cardinalatial Title has an Elevator of pope eugenius iv? | <s>[INST]Which Cardinalatial Title has an Elevator of pope eugenius iv? Context: CREATE TABLE table_name_77 (cardinalatial_title VARCHAR, elevator VARCHAR)[/INST]SELECT cardinalatial_title FROM table_name_77 WHERE elevator = "pope eugenius iv"</s> |
CREATE TABLE table_name_1 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_1 WHERE result = "4-0" | What was the final score when the result was 4-0? | <s>[INST]What was the final score when the result was 4-0? Context: CREATE TABLE table_name_1 (score VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_1 WHERE result = "4-0"</s> |
CREATE TABLE table_name_54 (dance_styles VARCHAR, draw VARCHAR, points VARCHAR) | SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18 | Which dance style had a draw smaller than 15 and 18 points? | <s>[INST]Which dance style had a draw smaller than 15 and 18 points? Context: CREATE TABLE table_name_54 (dance_styles VARCHAR, draw VARCHAR, points VARCHAR)[/INST]SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18</s> |
CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR) | SELECT COUNT(year) FROM table_name_70 WHERE venue = "singapore" | In what years did Salina Kosgei compete in Singapore? | <s>[INST]In what years did Salina Kosgei compete in Singapore? Context: CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_70 WHERE venue = "singapore"</s> |
CREATE TABLE table_name_19 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_19 WHERE catalog = "magik muzik 806-5" | Which Region has a Catalog of magik muzik 806-5? | <s>[INST]Which Region has a Catalog of magik muzik 806-5? Context: CREATE TABLE table_name_19 (region VARCHAR, catalog VARCHAR)[/INST]SELECT region FROM table_name_19 WHERE catalog = "magik muzik 806-5"</s> |
CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR) | SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita" | Which TV Station has a Romaji Title of kegareta shita? | <s>[INST]Which TV Station has a Romaji Title of kegareta shita? Context: CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR)[/INST]SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita"</s> |
CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR) | SELECT examples FROM table_17798093_20 WHERE american = "ɪs" | which examples are pronounced ɪs in american | <s>[INST]which examples are pronounced ɪs in american Context: CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR)[/INST]SELECT examples FROM table_17798093_20 WHERE american = "ɪs"</s> |
CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_85 WHERE opponent = "pittsburgh steelers" | What was the result for the game against the Pittsburgh Steelers? | <s>[INST]What was the result for the game against the Pittsburgh Steelers? Context: CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_85 WHERE opponent = "pittsburgh steelers"</s> |
CREATE TABLE table_name_82 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_82 WHERE year = 1998 | What score has 1998 as the year? | <s>[INST]What score has 1998 as the year? Context: CREATE TABLE table_name_82 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_82 WHERE year = 1998</s> |
CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_16494599_5 WHERE school_club_team = "Maryland" | when was the school/club team for grizzles was maryland | <s>[INST]when was the school/club team for grizzles was maryland Context: CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_for_grizzlies FROM table_16494599_5 WHERE school_club_team = "Maryland"</s> |
CREATE TABLE table_11465521_2 (opponent VARCHAR, attendance VARCHAR) | SELECT COUNT(opponent) FROM table_11465521_2 WHERE attendance = "64,087" | How many opponents were there at the game with 64,087 people in attendance? | <s>[INST]How many opponents were there at the game with 64,087 people in attendance? Context: CREATE TABLE table_11465521_2 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(opponent) FROM table_11465521_2 WHERE attendance = "64,087"</s> |
CREATE TABLE table_name_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER) | SELECT COUNT(elevation__m_) FROM table_name_18 WHERE prominence__m_ > 2 OFFSET 876 | How much Elevation (m) has a Prominence (m) larger than 2,876? | <s>[INST]How much Elevation (m) has a Prominence (m) larger than 2,876? Context: CREATE TABLE table_name_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER)[/INST]SELECT COUNT(elevation__m_) FROM table_name_18 WHERE prominence__m_ > 2 OFFSET 876</s> |
CREATE TABLE table_name_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR) | SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham" | What production had Angela Lansbury as Rose and Barrie Ingham as Herbie? | <s>[INST]What production had Angela Lansbury as Rose and Barrie Ingham as Herbie? Context: CREATE TABLE table_name_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR)[/INST]SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham"</s> |
CREATE TABLE table_name_58 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_58 WHERE team_1 = "chelsea" | What is the 1st leg when team 1 is Chelsea? | <s>[INST]What is the 1st leg when team 1 is Chelsea? Context: CREATE TABLE table_name_58 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_58 WHERE team_1 = "chelsea"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.