text_output stringlengths 114 770 |
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR)
<</SYS>>
SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying"[/INST] What was the result of the 1990 world cup qualifying competition?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (loss INTEGER, name VARCHAR, long VARCHAR)
<</SYS>>
SELECT MIN(loss) FROM table_name_95 WHERE name = "total" AND long > 55[/INST] What is the lowest Loss for the player named total that has a long greater than 55?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)
<</SYS>>
SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011"[/INST] Which country had a cad 4011 catalogue #?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)
<</SYS>>
SELECT home FROM table_name_1 WHERE leading_scorer = "carlos boozer (27)"[/INST] What is the home of the team with Carlos Boozer (27) as the leading scorer?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR)
<</SYS>>
SELECT MIN(founded) FROM table_name_64 WHERE day_boarding = "day" AND year_entered_competition > 1958[/INST] Which is the earliest founded day school to have entered the competition after 195... |
<s>[INST] <<SYS>>
CREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR)
<</SYS>>
SELECT reward FROM table_1893276_2 WHERE air_date = "October 6, 2005"[/INST] How many rewards are there for air date October 6, 2005?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_29836557_2 (affiliation VARCHAR, player VARCHAR)
<</SYS>>
SELECT affiliation FROM table_29836557_2 WHERE player = "Kevan George"[/INST] What university was Kevan George affiliated with?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
<</SYS>>
SELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = "Cyclones"[/INST] What is the minimum enrollment of the cyclones?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)
<</SYS>>
SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981"[/INST] How many caps have a Date of Birth (Age) of 15 july 1981?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)
<</SYS>>
SELECT country FROM table_name_70 WHERE total > 300[/INST] What is the country of the player who has a total larger than 300?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)
<</SYS>>
SELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = "montezuma"[/INST] Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_65 WHERE away_team = "carlton"[/INST] What was the lowest crowd size when Carlton was the away team.</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (urban_sub_area VARCHAR, council_area VARCHAR, population VARCHAR)
<</SYS>>
SELECT urban_sub_area FROM table_name_70 WHERE council_area = "east dunbartonshire" AND population = "19,020"[/INST] What is the urban sub-area with an East Dunbartonshire council area and a populat... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)
<</SYS>>
SELECT position FROM table_name_59 WHERE school = "glades day school"[/INST] What is the position of the player from Glades Day School?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR)
<</SYS>>
SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"[/INST] What Elimination number is listed againt Eliminated by Sonjay Dutt?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)
<</SYS>>
SELECT SUM(byes) FROM table_name_11 WHERE portland_dfl = "westerns" AND losses > 14[/INST] What is the sum of byes for losses larger than 14 for a Portland DFL of westerns?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR)
<</SYS>>
SELECT venue FROM table_name_60 WHERE result = "2-1"[/INST] What is the Venue when the result was 2-1?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)
<</SYS>>
SELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = "Yankton"[/INST] Name the total number of founded for yankton</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT tyre FROM table_name_99 WHERE chassis = "56"[/INST] What is the tyre with a 56 chassis?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR)
<</SYS>>
SELECT no_5 FROM table_name_17 WHERE no_6 = "mason" AND no_10 = "jackson"[/INST] Who was No. 5 when No. 6 Mason and No. 10 Jackson?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (class VARCHAR, weight VARCHAR)
<</SYS>>
SELECT class FROM table_name_57 WHERE weight = 203[/INST] Which Class has a Weight of 203?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
<</SYS>>
SELECT COUNT(blank_ends) FROM table_name_57 WHERE stolen_ends = 17 AND skip = "jennifer jones" AND shot_pct > 83[/INST] What is the number of blank ends when the stolen ends were 17 and Jenni... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR)
<</SYS>>
SELECT AVG(total) FROM table_name_41 WHERE rank = "7" AND gold > 0[/INST] what is the total when the rank is 7 and gold is more than 0?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (record VARCHAR, time VARCHAR)
<</SYS>>
SELECT record FROM table_name_84 WHERE time = "6:00"[/INST] What is the record of the match at 6:00?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (network VARCHAR, aspect VARCHAR, channel VARCHAR)
<</SYS>>
SELECT network FROM table_name_69 WHERE aspect = "4:3" AND channel > 31.4[/INST] Which network has more than 31.4 channels with a 4:3 aspect?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)
<</SYS>>
SELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2[/INST] What is the high earnings for players with 34 events and over 2 wins?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)
<</SYS>>
SELECT partial_thromboplastin_time FROM table_name_76 WHERE prothrombin_time = "prolonged" AND condition = "factor v deficiency"[/INST] Which Partial thromboplastin time has a Prothr... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
<</SYS>>
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged"[/INST] Name... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(draws) FROM table_name_29 WHERE points = "45+7" AND position < 3[/INST] What is the amount of Draws for the game that had a score of 45+7 and a position below 3?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)
<</SYS>>
SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0[/INST] What is the bronze number for the nation with less than 0 gold?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR)
<</SYS>>
SELECT country_territory FROM table_14308895_2 WHERE former_pageant = "Miss Universe Hungary"[/INST] which country has miss universe Hungary as former pageant?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
<</SYS>>
SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta"[/INST] What was the dominant religion (2002) of the Mala Remeta settlement?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)
<</SYS>>
SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < ... |
<s>[INST] <<SYS>>
CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
<</SYS>>
SELECT SUM(lesson_time) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"[/INST] How long is the to... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)
<</SYS>>
SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = "new york" AND swimsuit > 9.18[/INST] What is the least scor... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_39 WHERE opponent = "blackburn rovers"[/INST] what is the result when the opponent is blackburn rovers?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR)
<</SYS>>
SELECT catalogue FROM table_name_39 WHERE format = "cd remastered with 3 bonus tracks"[/INST] Which catalogue has a formate of "CD Remastered with 3 bonus tracks"?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)
<</SYS>>
SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = "Lampre-Farnese"[/INST] Who won the points classification when the teams c... |
<s>[INST] <<SYS>>
CREATE TABLE table_28768469_5 (high_assists VARCHAR, team VARCHAR)
<</SYS>>
SELECT high_assists FROM table_28768469_5 WHERE team = "Utah"[/INST] Who had highest assists in game against Utah?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (rank INTEGER, player VARCHAR)
<</SYS>>
SELECT AVG(rank) FROM table_name_7 WHERE player = "hale irwin"[/INST] What's hale irwin's average rank?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT attendance FROM table_name_43 WHERE tie_no = 9[/INST] Which attendance has 9 as the tie no.?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR)
<</SYS>>
SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1"[/INST] Name the surface for score of 7–6(4), 6–1</s> |
<s>[INST] <<SYS>>
CREATE TABLE Customers_cards (customer_id VARCHAR)
<</SYS>>
SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] What is the customer id with most number of cards, and how many does he have?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)
<</SYS>>
SELECT engine FROM table_name_66 WHERE introduced = "1935"[/INST] What engine was introduced in 1935?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)
<</SYS>>
SELECT athletic_nickname FROM table_22171978_1 WHERE location = "Quezon City , Metro Manila"[/INST] For the location of quezon city , metro manila what is the athletic nickname?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (city VARCHAR, airport VARCHAR)
<</SYS>>
SELECT city FROM table_name_1 WHERE airport = "fuhlsbüttel airport"[/INST] What city is fuhlsbüttel airport in?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (name VARCHAR, wins VARCHAR, matches VARCHAR)
<</SYS>>
SELECT name FROM table_name_90 WHERE wins < 3 AND matches < 15[/INST] What are the names of those who made less than 3 wins in 15 matches?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR)
<</SYS>>
SELECT rank FROM table_name_63 WHERE year = "1956"[/INST] What is rank of the year 1956?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (episode__number VARCHAR, original_airdate VARCHAR)
<</SYS>>
SELECT episode__number FROM table_name_95 WHERE original_airdate = "january 21, 2001"[/INST] What is the episode # of the episode that originally aired on January 21, 2001?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)
<</SYS>>
SELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 2[/INST] What is the total number of games pla... |
<s>[INST] <<SYS>>
CREATE TABLE table_1342270_3 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_1342270_3 WHERE incumbent = "Sam Hobbs"[/INST] what are all the district with incumbent being sam hobbs</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)
<</SYS>>
SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24:43"[/INST] How many episodes had a broadcast date and run time of 24:43?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)
<</SYS>>
SELECT location FROM table_name_34 WHERE record = "50-19"[/INST] Where is the location with a record of 50-19?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (date VARCHAR, name VARCHAR)
<</SYS>>
SELECT date FROM table_name_69 WHERE name = "international gold cup"[/INST] What date did the International Gold Cup take place?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (ns VARCHAR, normal_total VARCHAR)
<</SYS>>
SELECT ns FROM table_name_11 WHERE normal_total = "102"[/INST] Name the NS with normal total of 102</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)
<</SYS>>
SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test"[/INST] What is the result for the Toscane Horse in the freestyle test?</s> |
<s>[INST] <<SYS>>
CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)
<</SYS>>
SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3[/INST] What is the id an... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER)
<</SYS>>
SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38[/INST] What is the total number of points for a total pld less than 38?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_19 WHERE partner = "martín rodríguez"[/INST] Which Tournament has a Partner of martín rodríguez?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"[/INST] Who wrote the episode that has the production code ad1c05?</s> |
<s>[INST] <<SYS>>
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE party (party_name VARCHAR, region_id VARCHAR)
<</SYS>>
SELECT T1.party_name, T2.region_name FROM party AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id[/INST] Show all party names and their region names.</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)
<</SYS>>
SELECT capacity_percentage FROM table_28884858_2 WHERE team = "Denver Broncos"[/INST] What was the capacity for the Denver Broncos?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT MAX(attendance) FROM table_name_89 WHERE date = "may 7"[/INST] What's greatest attendance on May 7?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)
<</SYS>>
SELECT round FROM table_18328569_1 WHERE winners_from_previous_round = "8"[/INST] What is the round where winners from the previous round totals 8?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_51 WHERE score = "82-75"[/INST] What was the visiting team for the game that ended 82-75?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)
<</SYS>>
SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1[/INST] What is the sum of PTS when there is a PCT smaller than 0.1?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)
<</SYS>>
SELECT vessel_name FROM table_name_56 WHERE flag = "malta" AND type = "panamax" AND class = "gl" AND built > 2010[/INST] What is the name of the Malta vessel built after 2010 that is a ... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_74 WHERE tie_no = "20"[/INST] Which Home team that has a Tie no of 20?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)
<</SYS>>
SELECT round FROM table_name_64 WHERE player = "bryan berard"[/INST] What round does Bryan Berard do?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR)
<</SYS>>
SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 6[/INST] Name the number of nat for total g of 6</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR)
<</SYS>>
SELECT hometown FROM table_name_40 WHERE name = "hasan shah"[/INST] What is Hasan Shah's hometown?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (date VARCHAR, opposing_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_94 WHERE opposing_team = "poverty bay"[/INST] What date was the opposing team Poverty Bay?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)
<</SYS>>
SELECT rating FROM table_16993379_1 WHERE rank__overall_ = "190"[/INST] What was the rating of the episode with an overall ranking of 190?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR)
<</SYS>>
SELECT AVG(draws) FROM table_name_67 WHERE total = 1 AND goal_difference = "2:0"[/INST] What is the average number of draws that have a total of 1 and a goal difference of 2:0?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR)
<</SYS>>
SELECT game FROM table_name_32 WHERE location_attendance = "omni coliseum" AND score = "w 105-95"[/INST] What game was played at Omni Coliseum with a w 105-95 score?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (tyres VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT tyres FROM table_name_70 WHERE chassis = "jbw type 2"[/INST] What is the tyres for the JBW type 2 chassis?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR)
<</SYS>>
SELECT chassis FROM table_21977704_1 WHERE constructor = "Alta"[/INST] Name the chassis for alta</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT record FROM table_23346983_1 WHERE opponent = "Army"[/INST] What was the record for the Orangemen when they played against Army?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR)
<</SYS>>
SELECT loss FROM table_name_67 WHERE record = "68-80"[/INST] with a record of 68-80 what was the loss?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)
<</SYS>>
SELECT current_country_of_location FROM table_10335_1 WHERE operational = "Summer of 1941 to 28 June 1944"[/INST] what's the current country of location with operational period of summer of 1941 to 28 june... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (took_office VARCHAR, party VARCHAR, name VARCHAR)
<</SYS>>
SELECT took_office FROM table_name_30 WHERE party = "democrat" AND name = "john hancock"[/INST] Which Took Office that has a Party of democrat, under the name of John Hancock</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_26124171_1 (team VARCHAR, series VARCHAR)
<</SYS>>
SELECT team FROM table_26124171_1 WHERE series = "Championnat de France Formula Renault 2.0"[/INST] How many teams were in the series championnat de france formula renault 2.0?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (class VARCHAR, city_of_license VARCHAR)
<</SYS>>
SELECT class FROM table_name_20 WHERE city_of_license = "richmond, virginia"[/INST] Which class has a city of Richmond, Virginia?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (home_team VARCHAR, crowd INTEGER)
<</SYS>>
SELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 000[/INST] When the Crowd was larger than 25,000. what was the Home Team score?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR)
<</SYS>>
SELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395[/INST] What is the IHSAA class with 395 in enrollment?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)
<</SYS>>
SELECT d_46_√ FROM table_name_94 WHERE d_41_√ = "d 38 √"[/INST] What is the D 46 √ with a D 41 √ with d 38 √?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_25252080_3 (march_27_29 VARCHAR, november_3 VARCHAR)
<</SYS>>
SELECT march_27_29 FROM table_25252080_3 WHERE november_3 = "153"[/INST] What is the number for march 27-29 whern november 3 is 153?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR)
<</SYS>>
SELECT date FROM table_name_12 WHERE score = "0–1" AND tie_no = "3"[/INST] When has a Score of 0–1, and a Tie no of 3?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR)
<</SYS>>
SELECT rank FROM table_name_65 WHERE events = 31[/INST] What is the rank where the events is 31?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (record VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT record FROM table_name_41 WHERE visitor = "st. louis"[/INST] Name the record when the visitor is st. louis</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (losses VARCHAR, goals_for VARCHAR, team VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_50 WHERE goals_for > 29 AND team = "montreal"[/INST] What is the total number of losses for the Team of Montreal with Goals For larger than 29?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR)
<</SYS>>
SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express"[/INST] How many route/via's are there for the ernad express?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_23265433_2 (defensive VARCHAR, week VARCHAR)
<</SYS>>
SELECT defensive FROM table_23265433_2 WHERE week = 9[/INST] Name the defensive for week 9</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (bronze VARCHAR, total VARCHAR, gold VARCHAR)
<</SYS>>
SELECT COUNT(bronze) FROM table_name_55 WHERE total > 12 AND gold < 5[/INST] When there are more than 12 total medals and less than 5 gold medals, how many bronze medals are there?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (location_attendance VARCHAR, date VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_name_13 WHERE date = "may 22"[/INST] What was the location and attendance on the May 22 game?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (field_goals INTEGER, position VARCHAR, touchdowns VARCHAR)
<</SYS>>
SELECT AVG(field_goals) FROM table_name_80 WHERE position = "right halfback" AND touchdowns > 3[/INST] What is the average number of field goals scored by a right halfback who had more than 3 touchdowns?</... |
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (year INTEGER, venue VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico"[/INST] What is the average year for Ponce, Puerto Rico events?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)
<</SYS>>
SELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439[/INST] Tell me the lowest closed for capacity of 62,439</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR)
<</SYS>>
SELECT years_of_daylight_service FROM table_name_7 WHERE builder = "alco"[/INST] What is the year of daylight service when the builder was Alco?</s> |
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR)
<</SYS>>
SELECT composition FROM table_name_76 WHERE mintage > 999 AND artist = "jody broomfield" AND year > 2008[/INST] What is the composition of the coin that was issued after 2008, had a mintage larger... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.