context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_83 (total_receipts VARCHAR, candidate VARCHAR) | SELECT total_receipts FROM table_name_83 WHERE candidate = "mike gravel" | How many receipts does Mike Gravel have? | <s>[INST]How many receipts does Mike Gravel have? Context: CREATE TABLE table_name_83 (total_receipts VARCHAR, candidate VARCHAR)[/INST]SELECT total_receipts FROM table_name_83 WHERE candidate = "mike gravel"</s> |
CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR) | SELECT caps FROM table_name_49 WHERE province___club = "drfc" AND position = "center" | What is Caps, when Province / Club is DRFC, and when Position is Center? | <s>[INST]What is Caps, when Province / Club is DRFC, and when Position is Center? Context: CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR)[/INST]SELECT caps FROM table_name_49 WHERE province___club = "drfc" AND position = "center"</s> |
CREATE TABLE table_name_60 (release_date VARCHAR, production_number VARCHAR) | SELECT release_date FROM table_name_60 WHERE production_number = 1327 | What is the release date of production number 1327? | <s>[INST]What is the release date of production number 1327? Context: CREATE TABLE table_name_60 (release_date VARCHAR, production_number VARCHAR)[/INST]SELECT release_date FROM table_name_60 WHERE production_number = 1327</s> |
CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_36 WHERE opponent = "miami dolphins" | What result has miami dolphins as the opponent? | <s>[INST]What result has miami dolphins as the opponent? Context: CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_36 WHERE opponent = "miami dolphins"</s> |
CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT date FROM table_name_73 WHERE opponent = "st albans city" AND result = "drew 0-0" | Name the date of st albans city for result of drew 0-0 | <s>[INST]Name the date of st albans city for result of drew 0-0 Context: CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE opponent = "st albans city" AND result = "drew 0-0"</s> |
CREATE TABLE table_name_56 (record VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_56 WHERE visitor = "st. louis" | What is the record when St. Louis is the visitor? | <s>[INST]What is the record when St. Louis is the visitor? Context: CREATE TABLE table_name_56 (record VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_56 WHERE visitor = "st. louis"</s> |
CREATE TABLE table_name_95 (name VARCHAR, pos VARCHAR, club VARCHAR) | SELECT name FROM table_name_95 WHERE pos = "d" AND club = "circolo nautico posillipo" | What is the name of the player from club Circolo Nautico Posillipo and a position of D? | <s>[INST]What is the name of the player from club Circolo Nautico Posillipo and a position of D? Context: CREATE TABLE table_name_95 (name VARCHAR, pos VARCHAR, club VARCHAR)[/INST]SELECT name FROM table_name_95 WHERE pos = "d" AND club = "circolo nautico posillipo"</s> |
CREATE TABLE table_12078626_1 (success VARCHAR, date_of_completion VARCHAR) | SELECT success FROM table_12078626_1 WHERE date_of_completion = "September 28, 2007" | what's the success where date of completion is september 28, 2007 | <s>[INST] what's the success where date of completion is september 28, 2007 Context: CREATE TABLE table_12078626_1 (success VARCHAR, date_of_completion VARCHAR)[/INST]SELECT success FROM table_12078626_1 WHERE date_of_completion = "September 28, 2007"</s> |
CREATE TABLE table_name_61 (attendance VARCHAR, week VARCHAR, game_site VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_61 WHERE game_site = "rich stadium" AND opponent = "miami dolphins" AND week > 2 | After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins? | <s>[INST]After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins? Context: CREATE TABLE table_name_61 (attendance VARCHAR, week VARCHAR, game_site VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_61 WHERE game_site = "rich stadium" AND opponent = "miami dolphi... |
CREATE TABLE shipments (order_id VARCHAR, shipment_tracking_number VARCHAR) | SELECT order_id FROM shipments WHERE shipment_tracking_number = "3452" | Find the id of the order whose shipment tracking number is "3452". | <s>[INST]Find the id of the order whose shipment tracking number is "3452". Context: CREATE TABLE shipments (order_id VARCHAR, shipment_tracking_number VARCHAR)[/INST]SELECT order_id FROM shipments WHERE shipment_tracking_number = "3452"</s> |
CREATE TABLE table_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR) | SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane" | Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane | <s>[INST]Name the number of δs ‡ /cal mol −1 k −1 for butadiene being 1,2-dimethylene-cyclohexane Context: CREATE TABLE table_2068719_1 (δs_ VARCHAR, _butadiene VARCHAR)[/INST]SELECT COUNT(δs_) AS ‡__cal_mol_−1_k_−1 FROM table_2068719_1 WHERE _butadiene = "1,2-dimethylene-cyclohexane"</s> |
CREATE TABLE table_10138926_1 (_number VARCHAR) | SELECT COUNT(2001 AS _census) FROM table_10138926_1 WHERE _number = 13 | How many 2001 censuses are there on number 13? | <s>[INST]How many 2001 censuses are there on number 13? Context: CREATE TABLE table_10138926_1 (_number VARCHAR)[/INST]SELECT COUNT(2001 AS _census) FROM table_10138926_1 WHERE _number = 13</s> |
CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT SUM(gold) FROM table_name_81 WHERE bronze = 1 AND rank < 6 AND total < 3 | How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3? | <s>[INST]How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3? Context: CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_81 WHERE bronze = 1 AND rank < 6 AND total < 3</s> |
CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_52 WHERE record = "1–0" | When has a Record of 1–0? | <s>[INST]When has a Record of 1–0? Context: CREATE TABLE table_name_52 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE record = "1–0"</s> |
CREATE TABLE Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR) | SELECT T1.electoral_register_id FROM Electoral_Register AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id WHERE T2.source_system_code = 'Electoral' OR T2.source_system_code = 'Tax' | What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'? | <s>[INST]What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'? Context: CREATE TABLE Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)[/... |
CREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR) | SELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = "54.0" | How many figures for wickets when the strike rate is 54.0? | <s>[INST]How many figures for wickets when the strike rate is 54.0? Context: CREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR)[/INST]SELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = "54.0"</s> |
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) | SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "10.16 (76) – 9.22 (76)" | what's the minimum attendance with score 10.16 (76) – 9.22 (76) | <s>[INST]what's the minimum attendance with score 10.16 (76) – 9.22 (76) Context: CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)[/INST]SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "10.16 (76) – 9.22 (76)"</s> |
CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_55 WHERE driver = "emerson fittipaldi" | What is the time/retired for the driver emerson fittipaldi? | <s>[INST]What is the time/retired for the driver emerson fittipaldi? Context: CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_55 WHERE driver = "emerson fittipaldi"</s> |
CREATE TABLE table_name_4 (conceded INTEGER, played INTEGER) | SELECT MAX(conceded) FROM table_name_4 WHERE played < 5 | Please name the highest Conceded which has a Played smaller than 5? | <s>[INST]Please name the highest Conceded which has a Played smaller than 5? Context: CREATE TABLE table_name_4 (conceded INTEGER, played INTEGER)[/INST]SELECT MAX(conceded) FROM table_name_4 WHERE played < 5</s> |
CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Grants (organisation_id VARCHAR); CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR) | SELECT SUM(grant_amount) FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id JOIN organisation_Types AS T3 ON T2.organisation_type = T3.organisation_type WHERE T3.organisation_type_description = 'Research' | What is the total grant amount of the organisations described as research? | <s>[INST]What is the total grant amount of the organisations described as research? Context: CREATE TABLE organisation_Types (organisation_type VARCHAR, organisation_type_description VARCHAR); CREATE TABLE Grants (organisation_id VARCHAR); CREATE TABLE Organisations (organisation_id VARCHAR, organisation_type VARCHAR)[... |
CREATE TABLE table_name_87 (prime_mover VARCHAR, build_date VARCHAR) | SELECT prime_mover FROM table_name_87 WHERE build_date = "1975" | What is the prime mover for a build date in 1975? | <s>[INST]What is the prime mover for a build date in 1975? Context: CREATE TABLE table_name_87 (prime_mover VARCHAR, build_date VARCHAR)[/INST]SELECT prime_mover FROM table_name_87 WHERE build_date = "1975"</s> |
CREATE TABLE table_name_54 (results¹ VARCHAR, opponent VARCHAR) | SELECT results¹ FROM table_name_54 WHERE opponent = "hungary" | What was the result of the game against Hungary? | <s>[INST]What was the result of the game against Hungary? Context: CREATE TABLE table_name_54 (results¹ VARCHAR, opponent VARCHAR)[/INST]SELECT results¹ FROM table_name_54 WHERE opponent = "hungary"</s> |
CREATE TABLE table_name_65 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_65 WHERE partner = "ilie năstase" | What is the outcome of the tournament with partner ilie năstase? | <s>[INST]What is the outcome of the tournament with partner ilie năstase? Context: CREATE TABLE table_name_65 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_name_65 WHERE partner = "ilie năstase"</s> |
CREATE TABLE table_name_94 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_94 WHERE opponent = "san diego chargers" | What week was the opponent the San Diego Chargers? | <s>[INST]What week was the opponent the San Diego Chargers? Context: CREATE TABLE table_name_94 (week VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_94 WHERE opponent = "san diego chargers"</s> |
CREATE TABLE table_name_97 (result VARCHAR, couple VARCHAR) | SELECT result FROM table_name_97 WHERE couple = "steve & anna" | What was the result when the couple was steve & anna? | <s>[INST]What was the result when the couple was steve & anna? Context: CREATE TABLE table_name_97 (result VARCHAR, couple VARCHAR)[/INST]SELECT result FROM table_name_97 WHERE couple = "steve & anna"</s> |
CREATE TABLE table_name_45 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_45 WHERE tournament = "masters gc ladies" | What is the margin of victory that has masters gc ladies as the tournament? | <s>[INST]What is the margin of victory that has masters gc ladies as the tournament? Context: CREATE TABLE table_name_45 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_45 WHERE tournament = "masters gc ladies"</s> |
CREATE TABLE table_27715173_12 (score VARCHAR, series VARCHAR) | SELECT score FROM table_27715173_12 WHERE series = "2–3" | What was the score for series 2–3? | <s>[INST]What was the score for series 2–3? Context: CREATE TABLE table_27715173_12 (score VARCHAR, series VARCHAR)[/INST]SELECT score FROM table_27715173_12 WHERE series = "2–3"</s> |
CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, high_points VARCHAR) | SELECT high_rebounds FROM table_27734577_8 WHERE high_points = "Jamal Crawford (20)" | What are the high rebounds in the jamal crawford (20) high points? | <s>[INST]What are the high rebounds in the jamal crawford (20) high points? Context: CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, high_points VARCHAR)[/INST]SELECT high_rebounds FROM table_27734577_8 WHERE high_points = "Jamal Crawford (20)"</s> |
CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, province VARCHAR) | SELECT _percentage_2011 FROM table_1717824_1 WHERE province = "Manitoba" | What was the percentage in Manitoba in 2011? | <s>[INST]What was the percentage in Manitoba in 2011? Context: CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, province VARCHAR)[/INST]SELECT _percentage_2011 FROM table_1717824_1 WHERE province = "Manitoba"</s> |
CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR) | SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" | What is the first year that Mario Lemieux from Canada won playing center? | <s>[INST]What is the first year that Mario Lemieux from Canada won playing center? Context: CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR)[/INST]SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux"</s> |
CREATE TABLE table_name_16 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_16 WHERE winning_score = –16(67 - 70 - 69 - 66 = 272) | What day was the winning score –16 (67-70-69-66=272)? | <s>[INST]What day was the winning score –16 (67-70-69-66=272)? Context: CREATE TABLE table_name_16 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE winning_score = –16(67 - 70 - 69 - 66 = 272)</s> |
CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MAX(silver) FROM table_name_38 WHERE bronze = 1 AND gold < 4 | What is the highest number of silver when there is 1 bronze and less than 4 golds? | <s>[INST]What is the highest number of silver when there is 1 bronze and less than 4 golds? Context: CREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_38 WHERE bronze = 1 AND gold < 4</s> |
CREATE TABLE table_name_52 (location VARCHAR, type VARCHAR, years VARCHAR) | SELECT location FROM table_name_52 WHERE type = "club trophy" AND years = "1867 only" | What is the location for the club trophy from the year 1867 only? | <s>[INST]What is the location for the club trophy from the year 1867 only? Context: CREATE TABLE table_name_52 (location VARCHAR, type VARCHAR, years VARCHAR)[/INST]SELECT location FROM table_name_52 WHERE type = "club trophy" AND years = "1867 only"</s> |
CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR) | SELECT date FROM table_name_29 WHERE set_2 = "25-13" | What is Date, when Set 2 is 25-13? | <s>[INST]What is Date, when Set 2 is 25-13? Context: CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE set_2 = "25-13"</s> |
CREATE TABLE table_1949994_8 (no INTEGER, local_title VARCHAR) | SELECT MAX(no) FROM table_1949994_8 WHERE local_title = "Fort Boyard" | What series number had the local title of Fort Boyard? | <s>[INST]What series number had the local title of Fort Boyard? Context: CREATE TABLE table_1949994_8 (no INTEGER, local_title VARCHAR)[/INST]SELECT MAX(no) FROM table_1949994_8 WHERE local_title = "Fort Boyard"</s> |
CREATE TABLE table_28719193_19 (date VARCHAR, matchups_results VARCHAR) | SELECT date FROM table_28719193_19 WHERE matchups_results = "Army 16, SMU 14" | What was the date of the game that had a result of Army 16, SMU 14? | <s>[INST]What was the date of the game that had a result of Army 16, SMU 14? Context: CREATE TABLE table_28719193_19 (date VARCHAR, matchups_results VARCHAR)[/INST]SELECT date FROM table_28719193_19 WHERE matchups_results = "Army 16, SMU 14"</s> |
CREATE TABLE table_name_83 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_83 WHERE date = "february 27" | What is the Location Attendance when the Date was February 27? | <s>[INST]What is the Location Attendance when the Date was February 27? Context: CREATE TABLE table_name_83 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_83 WHERE date = "february 27"</s> |
CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR, brand VARCHAR) | SELECT T1.name FROM camera_lens AS T1 JOIN photos AS T2 ON T2.camera_lens_id = T1.id WHERE T1.brand = 'Sigma' OR T1.brand = 'Olympus' | What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'? | <s>[INST]What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'? Context: CREATE TABLE photos (camera_lens_id VARCHAR); CREATE TABLE camera_lens (name VARCHAR, id VARCHAR, brand VARCHAR)[/INST]SELECT T1.name FROM camera_lens AS T1 JOIN photos AS T2 ON T2.camera_lens_id = T1.id WHERE T1.brand = 'Sig... |
CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR) | SELECT MAX(earnings___) AS $__ FROM table_name_72 WHERE player = "corey pavin" AND rank > 4 | Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)? | <s>[INST]Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)? Context: CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)[/INST]SELECT MAX(earnings___) AS $__ FROM table_name_72 WHERE player = "corey pavin" AND rank > 4</s> |
CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR) | SELECT governor FROM table_name_4 WHERE took_office = "january 13, 1877" | Which governor took office on January 13, 1877 | <s>[INST]Which governor took office on January 13, 1877 Context: CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR)[/INST]SELECT governor FROM table_name_4 WHERE took_office = "january 13, 1877"</s> |
CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR) | SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit" | Name the Series with a Title of elmer's pet rabbit? | <s>[INST]Name the Series with a Title of elmer's pet rabbit? Context: CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR)[/INST]SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit"</s> |
CREATE TABLE table_name_10 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_10 WHERE loss = "mccaskill (9-11)" | What opponent has a loss of McCaskill (9-11)? | <s>[INST]What opponent has a loss of McCaskill (9-11)? Context: CREATE TABLE table_name_10 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_10 WHERE loss = "mccaskill (9-11)"</s> |
CREATE TABLE station (name VARCHAR, lat INTEGER) | SELECT name FROM station WHERE lat < 37.5 | What are the names of stations that have latitude lower than 37.5? | <s>[INST]What are the names of stations that have latitude lower than 37.5? Context: CREATE TABLE station (name VARCHAR, lat INTEGER)[/INST]SELECT name FROM station WHERE lat < 37.5</s> |
CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_80 WHERE partner = "rushmi chakravarthi" | Who were the Opponents in the Match with Partner Rushmi Chakravarthi? | <s>[INST]Who were the Opponents in the Match with Partner Rushmi Chakravarthi? Context: CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR)[/INST]SELECT opponents FROM table_name_80 WHERE partner = "rushmi chakravarthi"</s> |
CREATE TABLE table_name_73 (number_of_jews__wjc_ INTEGER, metro_area VARCHAR, rank__arda_ VARCHAR) | SELECT SUM(number_of_jews__wjc_) FROM table_name_73 WHERE metro_area = "los angeles" AND rank__arda_ > 2 | How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? | <s>[INST]How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? Context: CREATE TABLE table_name_73 (number_of_jews__wjc_ INTEGER, metro_area VARCHAR, rank__arda_ VARCHAR)[/INST]SELECT SUM(number_of_jews__wjc_) FROM table_name_73 WHERE metro_area = "los angeles" AND rank__arda_ > 2</s... |
CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR) | SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi" | Tell me the portfolio of minister of carlo giovanardi | <s>[INST]Tell me the portfolio of minister of carlo giovanardi Context: CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR)[/INST]SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi"</s> |
CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR) | SELECT COUNT(report) FROM table_1140078_2 WHERE race = "Italian Grand Prix" | What is the number of reports for the italian grand prix? | <s>[INST]What is the number of reports for the italian grand prix? Context: CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR)[/INST]SELECT COUNT(report) FROM table_1140078_2 WHERE race = "Italian Grand Prix"</s> |
CREATE TABLE table_name_21 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_name_21 WHERE team = "l.a. lakers" | Who had the highest assists on the l.a. lakers? | <s>[INST]Who had the highest assists on the l.a. lakers? Context: CREATE TABLE table_name_21 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_name_21 WHERE team = "l.a. lakers"</s> |
CREATE TABLE table_name_42 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_42 WHERE date = "january 15" | On January 15, what was the most in attendance? | <s>[INST]On January 15, what was the most in attendance? Context: CREATE TABLE table_name_42 (attendance INTEGER, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_42 WHERE date = "january 15"</s> |
CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_name_64 WHERE team = "racing santander" | Name the replaced by for racing santander | <s>[INST]Name the replaced by for racing santander Context: CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR)[/INST]SELECT replaced_by FROM table_name_64 WHERE team = "racing santander"</s> |
CREATE TABLE table_name_9 (bronze VARCHAR, nation VARCHAR) | SELECT bronze FROM table_name_9 WHERE nation = "netherlands" | How many bronzes did netherlands win? | <s>[INST]How many bronzes did netherlands win? Context: CREATE TABLE table_name_9 (bronze VARCHAR, nation VARCHAR)[/INST]SELECT bronze FROM table_name_9 WHERE nation = "netherlands"</s> |
CREATE TABLE table_name_75 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_75 WHERE venue = "bangkok" | What is the result of the match in Bangkok? | <s>[INST]What is the result of the match in Bangkok? Context: CREATE TABLE table_name_75 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_75 WHERE venue = "bangkok"</s> |
CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR, position VARCHAR) | SELECT venue FROM table_name_7 WHERE competition = "world race walking cup" AND position = "3rd" | In which venue did he place 3rd in the World Race Walking Cup? | <s>[INST]In which venue did he place 3rd in the World Race Walking Cup? Context: CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_7 WHERE competition = "world race walking cup" AND position = "3rd"</s> |
CREATE TABLE table_name_36 (year VARCHAR, runner_up VARCHAR) | SELECT year FROM table_name_36 WHERE runner_up = "wisconsin" | In what year was Wisconsin the runner-up? | <s>[INST]In what year was Wisconsin the runner-up? Context: CREATE TABLE table_name_36 (year VARCHAR, runner_up VARCHAR)[/INST]SELECT year FROM table_name_36 WHERE runner_up = "wisconsin"</s> |
CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_34 WHERE week = 10 | What was the Attendance on Week 10? | <s>[INST]What was the Attendance on Week 10? Context: CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_34 WHERE week = 10</s> |
CREATE TABLE table_10333757_1 (branding VARCHAR, group_owner VARCHAR) | SELECT branding FROM table_10333757_1 WHERE group_owner = "Qantam of Cape Cod, LLC" | What is the Branding for Group Owner Qantam of Cape Cod, LLC? | <s>[INST]What is the Branding for Group Owner Qantam of Cape Cod, LLC? Context: CREATE TABLE table_10333757_1 (branding VARCHAR, group_owner VARCHAR)[/INST]SELECT branding FROM table_10333757_1 WHERE group_owner = "Qantam of Cape Cod, LLC"</s> |
CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR) | SELECT COUNT(*) FROM course WHERE NOT course_id IN (SELECT course_id FROM prereq) | How many courses that do not have prerequisite? | <s>[INST]How many courses that do not have prerequisite? Context: CREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)[/INST]SELECT COUNT(*) FROM course WHERE NOT course_id IN (SELECT course_id FROM prereq)</s> |
CREATE TABLE table_name_75 (team VARCHAR, best VARCHAR) | SELECT team FROM table_name_75 WHERE best = "1:43.134" | what is the team with the best of 1:43.134? | <s>[INST]what is the team with the best of 1:43.134? Context: CREATE TABLE table_name_75 (team VARCHAR, best VARCHAR)[/INST]SELECT team FROM table_name_75 WHERE best = "1:43.134"</s> |
CREATE TABLE table_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR) | SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46 | Name the writers for 46 in series | <s>[INST]Name the writers for 46 in series Context: CREATE TABLE table_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR)[/INST]SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46</s> |
CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR) | SELECT record FROM table_17288869_7 WHERE high_points = "Dirk Nowitzki (19)" | What was the final record for the game in which Dirk Nowitzki (19) had the high points? | <s>[INST]What was the final record for the game in which Dirk Nowitzki (19) had the high points? Context: CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)[/INST]SELECT record FROM table_17288869_7 WHERE high_points = "Dirk Nowitzki (19)"</s> |
CREATE TABLE table_name_41 (nationality VARCHAR, years_for_jazz VARCHAR) | SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88" | What is the nationality of all Utah Jazz Players, that played 1987-88? | <s>[INST]What is the nationality of all Utah Jazz Players, that played 1987-88? Context: CREATE TABLE table_name_41 (nationality VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88"</s> |
CREATE TABLE WINE (Name VARCHAR) | SELECT DISTINCT Name FROM WINE ORDER BY Name | List the names of all distinct wines in alphabetical order. | <s>[INST]List the names of all distinct wines in alphabetical order. Context: CREATE TABLE WINE (Name VARCHAR)[/INST]SELECT DISTINCT Name FROM WINE ORDER BY Name</s> |
CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR) | SELECT nat FROM table_name_50 WHERE moving_from = "bordeaux" | In what nation is Bordeaux? | <s>[INST]In what nation is Bordeaux? Context: CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR)[/INST]SELECT nat FROM table_name_50 WHERE moving_from = "bordeaux"</s> |
CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER) | SELECT president FROM table_name_6 WHERE presidency > 7 | What President has a Presidency greater than 7? | <s>[INST]What President has a Presidency greater than 7? Context: CREATE TABLE table_name_6 (president VARCHAR, presidency INTEGER)[/INST]SELECT president FROM table_name_6 WHERE presidency > 7</s> |
CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR) | SELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20 | What club has more than 35 goals, more than 7 draws, and 20 losses? | <s>[INST]What club has more than 35 goals, more than 7 draws, and 20 losses? Context: CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR)[/INST]SELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20</s> |
CREATE TABLE table_name_71 (la_crescenta__montrose VARCHAR, tujunga VARCHAR) | SELECT la_crescenta__montrose FROM table_name_71 WHERE tujunga = "moderate" | When Tujunga is moderate, what is La Crescenta-Montrose? | <s>[INST]When Tujunga is moderate, what is La Crescenta-Montrose? Context: CREATE TABLE table_name_71 (la_crescenta__montrose VARCHAR, tujunga VARCHAR)[/INST]SELECT la_crescenta__montrose FROM table_name_71 WHERE tujunga = "moderate"</s> |
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR) | SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008" | What are the remarks for 8 October 2008? | <s>[INST]What are the remarks for 8 October 2008? Context: CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)[/INST]SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008"</s> |
CREATE TABLE table_name_25 (mean_free_path VARCHAR, vacuum_range VARCHAR) | SELECT mean_free_path FROM table_name_25 WHERE vacuum_range = "medium vacuum" | What is Mean Free Path, when Vacuum Range is "medium vacuum"? | <s>[INST]What is Mean Free Path, when Vacuum Range is "medium vacuum"? Context: CREATE TABLE table_name_25 (mean_free_path VARCHAR, vacuum_range VARCHAR)[/INST]SELECT mean_free_path FROM table_name_25 WHERE vacuum_range = "medium vacuum"</s> |
CREATE TABLE table_name_84 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(total) FROM table_name_84 WHERE nation = "austria" AND gold > 3 | What was Austria's lowest total when the gold was more than 3? | <s>[INST]What was Austria's lowest total when the gold was more than 3? Context: CREATE TABLE table_name_84 (total INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT MIN(total) FROM table_name_84 WHERE nation = "austria" AND gold > 3</s> |
CREATE TABLE table_name_35 (school_club_team VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_35 WHERE position = "guard/forward" | For which school/club team did the player in the position of Guard/Forward play? | <s>[INST]For which school/club team did the player in the position of Guard/Forward play? Context: CREATE TABLE table_name_35 (school_club_team VARCHAR, position VARCHAR)[/INST]SELECT school_club_team FROM table_name_35 WHERE position = "guard/forward"</s> |
CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_d VARCHAR) | SELECT COUNT(segment_b) FROM table_15187735_10 WHERE segment_d = "s Banjo" | Name the total number of segment b for s banjo | <s>[INST]Name the total number of segment b for s banjo Context: CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_d VARCHAR)[/INST]SELECT COUNT(segment_b) FROM table_15187735_10 WHERE segment_d = "s Banjo"</s> |
CREATE TABLE table_name_11 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_11 WHERE date = "10/08/86" | For the race held on 10/08/86, what was the circuit? | <s>[INST]For the race held on 10/08/86, what was the circuit? Context: CREATE TABLE table_name_11 (circuit VARCHAR, date VARCHAR)[/INST]SELECT circuit FROM table_name_11 WHERE date = "10/08/86"</s> |
CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, total VARCHAR) | SELECT MAX(gold) FROM table_name_25 WHERE nation = "uganda" AND total < 3 | How many golds for uganda with under 3 total medals? | <s>[INST]How many golds for uganda with under 3 total medals? Context: CREATE TABLE table_name_25 (gold INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_25 WHERE nation = "uganda" AND total < 3</s> |
CREATE TABLE table_name_86 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_86 WHERE home_team = "footscray" | How many points does footscray score as the home side? | <s>[INST]How many points does footscray score as the home side? Context: CREATE TABLE table_name_86 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_86 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR) | SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)" | What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)? | <s>[INST]What is the Opposition in the First Round of the UEFA Cup with a Score of 3–1 (h), 2–0 (a)? Context: CREATE TABLE table_name_66 (opposition VARCHAR, score VARCHAR, round VARCHAR, competition VARCHAR)[/INST]SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score =... |
CREATE TABLE table_name_68 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_68 WHERE tournament = "chicago challenge" | Who is the runner-up at the Chicago challenge? | <s>[INST]Who is the runner-up at the Chicago challenge? Context: CREATE TABLE table_name_68 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_68 WHERE tournament = "chicago challenge"</s> |
CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_name_79 WHERE high_points = "joe johnson (31)" | In the game where Joe Johnson (31) was the high points scorer, what was the final score? | <s>[INST]In the game where Joe Johnson (31) was the high points scorer, what was the final score? Context: CREATE TABLE table_name_79 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_name_79 WHERE high_points = "joe johnson (31)"</s> |
CREATE TABLE table_name_71 (gold INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(gold) FROM table_name_71 WHERE rank = "10" AND silver < 0 | what is the least gold when the rank is 10 and silver is less than 0? | <s>[INST]what is the least gold when the rank is 10 and silver is less than 0? Context: CREATE TABLE table_name_71 (gold INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_71 WHERE rank = "10" AND silver < 0</s> |
CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR) | SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6 | What position was the team who had less then 63 goals against and less than 6 losses? | <s>[INST]What position was the team who had less then 63 goals against and less than 6 losses? Context: CREATE TABLE table_name_20 (position INTEGER, goals_against VARCHAR, lost VARCHAR)[/INST]SELECT AVG(position) FROM table_name_20 WHERE goals_against < 63 AND lost < 6</s> |
CREATE TABLE table_name_43 (tournament_location VARCHAR, country VARCHAR) | SELECT tournament_location FROM table_name_43 WHERE country = "south korea" | What tournament location has south korea as the country? | <s>[INST]What tournament location has south korea as the country? Context: CREATE TABLE table_name_43 (tournament_location VARCHAR, country VARCHAR)[/INST]SELECT tournament_location FROM table_name_43 WHERE country = "south korea"</s> |
CREATE TABLE table_name_91 (tournament VARCHAR) | SELECT tournament FROM table_name_91 WHERE 2007 = "1r" AND 2009 = "1r" | Which tournament has a 1R value in 2007 and 2009? | <s>[INST]Which tournament has a 1R value in 2007 and 2009? Context: CREATE TABLE table_name_91 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_91 WHERE 2007 = "1r" AND 2009 = "1r"</s> |
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR); CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR) | SELECT T1.transaction_type_description FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code GROUP BY T1.transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1 | Show the description of the transaction type that occurs most frequently. | <s>[INST]Show the description of the transaction type that occurs most frequently. Context: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR); CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)[/INST]SELECT T1.transaction_type_description FROM Ref_Transactio... |
CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)" | Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? | <s>[INST]Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)? Context: CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of Brian Clemens)"</s> |
CREATE TABLE table_name_69 (builder VARCHAR, name VARCHAR) | SELECT builder FROM table_name_69 WHERE name = "ins rana" | Who was the builder of the ship INS Rana? | <s>[INST]Who was the builder of the ship INS Rana? Context: CREATE TABLE table_name_69 (builder VARCHAR, name VARCHAR)[/INST]SELECT builder FROM table_name_69 WHERE name = "ins rana"</s> |
CREATE TABLE table_name_36 (tournament VARCHAR) | SELECT 2012 FROM table_name_36 WHERE tournament = "us open" | Name the 2012 for us open | <s>[INST]Name the 2012 for us open Context: CREATE TABLE table_name_36 (tournament VARCHAR)[/INST]SELECT 2012 FROM table_name_36 WHERE tournament = "us open"</s> |
CREATE TABLE table_name_30 (rank VARCHAR) | SELECT rank FROM table_name_30 WHERE 2010 = "5,040,000" | What was the rank of the park that had a value of 5,040,000 in 2010? | <s>[INST]What was the rank of the park that had a value of 5,040,000 in 2010? Context: CREATE TABLE table_name_30 (rank VARCHAR)[/INST]SELECT rank FROM table_name_30 WHERE 2010 = "5,040,000"</s> |
CREATE TABLE table_name_4 (used VARCHAR, power__hp_ VARCHAR, engine VARCHAR) | SELECT used FROM table_name_4 WHERE power__hp_ < 93 AND engine = "om324" | When was power (hp) less than 93 for the OM324 engine used? | <s>[INST]When was power (hp) less than 93 for the OM324 engine used? Context: CREATE TABLE table_name_4 (used VARCHAR, power__hp_ VARCHAR, engine VARCHAR)[/INST]SELECT used FROM table_name_4 WHERE power__hp_ < 93 AND engine = "om324"</s> |
CREATE TABLE table_name_3 (speed VARCHAR, construction_begun VARCHAR, expected_start_of_revenue_services VARCHAR) | SELECT speed FROM table_name_3 WHERE construction_begun = "2010" AND expected_start_of_revenue_services = 2015 | What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015? | <s>[INST]What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015? Context: CREATE TABLE table_name_3 (speed VARCHAR, construction_begun VARCHAR, expected_start_of_revenue_services VARCHAR)[/INST]SELECT speed FROM table_name_3 WHERE construction_begun = "2010" AND expected_st... |
CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR) | SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monounsaturated_fat = "20g (84g in high oleic variety)" | Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety) | <s>[INST]Name the polyunsaturated fat with total fat of 100g and monounsaturated fat of 20g (84g in high oleic variety) Context: CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)[/INST]SELECT polyunsaturated_fat FROM table_name_96 WHERE total_fat = "100g" AND monou... |
CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR) | SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165" | Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165? | <s>[INST]Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165? Context: CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR)[/INST]SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165"</s> |
CREATE TABLE table_name_92 (location___state VARCHAR, date VARCHAR) | SELECT location___state FROM table_name_92 WHERE date = "16 jun" | What is the location/state of the race on 16 Jun? | <s>[INST]What is the location/state of the race on 16 Jun? Context: CREATE TABLE table_name_92 (location___state VARCHAR, date VARCHAR)[/INST]SELECT location___state FROM table_name_92 WHERE date = "16 jun"</s> |
CREATE TABLE table_name_62 (intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR) | SELECT AVG(intake) FROM table_name_62 WHERE type = "primary" AND ofsted_number = 117433 AND dcsf_number > 3335 | What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater than 3335? | <s>[INST]What is the average primary intake with an Ofsted number of 117433 and a DCSF number greater than 3335? Context: CREATE TABLE table_name_62 (intake INTEGER, dcsf_number VARCHAR, type VARCHAR, ofsted_number VARCHAR)[/INST]SELECT AVG(intake) FROM table_name_62 WHERE type = "primary" AND ofsted_number = 117433 AN... |
CREATE TABLE table_17820556_4 (e_greenberg VARCHAR, county VARCHAR) | SELECT COUNT(e_greenberg) FROM table_17820556_4 WHERE county = "Morris" | Who many votes did E. Greenberg receive in Morris County? | <s>[INST]Who many votes did E. Greenberg receive in Morris County? Context: CREATE TABLE table_17820556_4 (e_greenberg VARCHAR, county VARCHAR)[/INST]SELECT COUNT(e_greenberg) FROM table_17820556_4 WHERE county = "Morris"</s> |
CREATE TABLE table_name_3 (quantity_made VARCHAR, manufacturer VARCHAR) | SELECT quantity_made FROM table_name_3 WHERE manufacturer = "baldwin" | What is Quantity Made, when Manufacturer is "Baldwin"? | <s>[INST]What is Quantity Made, when Manufacturer is "Baldwin"? Context: CREATE TABLE table_name_3 (quantity_made VARCHAR, manufacturer VARCHAR)[/INST]SELECT quantity_made FROM table_name_3 WHERE manufacturer = "baldwin"</s> |
CREATE TABLE table_26769_1 (area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR) | SELECT area__km²___per_sqmi_ FROM table_26769_1 WHERE country_or_territory_with_flag = "Colombia" | What was the area (km²) (per sqmi) of the country Colombia? | <s>[INST]What was the area (km²) (per sqmi) of the country Colombia? Context: CREATE TABLE table_26769_1 (area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR)[/INST]SELECT area__km²___per_sqmi_ FROM table_26769_1 WHERE country_or_territory_with_flag = "Colombia"</s> |
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, reidsville VARCHAR) | SELECT james_e_holmes FROM table_25330991_3 WHERE reidsville = "Erselle Young" | Name the james e. holmes for erselle young | <s>[INST]Name the james e. holmes for erselle young Context: CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, reidsville VARCHAR)[/INST]SELECT james_e_holmes FROM table_25330991_3 WHERE reidsville = "Erselle Young"</s> |
CREATE TABLE table_1213511_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR) | SELECT nhl_team FROM table_1213511_7 WHERE college_junior_club_team = "University of Notre Dame (NCAA)" | Which nhl team has a college/junior/club team named university of notre dame (ncaa) | <s>[INST]Which nhl team has a college/junior/club team named university of notre dame (ncaa) Context: CREATE TABLE table_1213511_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT nhl_team FROM table_1213511_7 WHERE college_junior_club_team = "University of Notre Dame (NCAA)"</s> |
CREATE TABLE table_name_41 (Id VARCHAR) | SELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340 | What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340? | <s>[INST]What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340? Context: CREATE TABLE table_name_41 (Id VARCHAR)[/INST]SELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340</s> |
CREATE TABLE table_25286976_2 (november_3 VARCHAR, june_10_11 VARCHAR) | SELECT november_3 FROM table_25286976_2 WHERE june_10_11 = "127" | When 127 is on June 10th to 11th what is November 3rd? | <s>[INST]When 127 is on June 10th to 11th what is November 3rd? Context: CREATE TABLE table_25286976_2 (november_3 VARCHAR, june_10_11 VARCHAR)[/INST]SELECT november_3 FROM table_25286976_2 WHERE june_10_11 = "127"</s> |
CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR) | SELECT date FROM table_11602885_1 WHERE location = "Mexico" | When was the game in Mexico played? | <s>[INST]When was the game in Mexico played? Context: CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_11602885_1 WHERE location = "Mexico"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.