messages listlengths 3 3 |
|---|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (place INTEGER, average VARCHAR, downhill VARCHAR)",
"role": "system"
},
{
"content": "Where was the place that the downhill was 71.6 and the average was less than 90.06?",
"role": "user"
},
{
"content": "SELECT SUM(place) FROM table_name_87 WHERE average < 90.06 AND downhill = 71.6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE cinema (LOCATION VARCHAR, capacity INTEGER)",
"role": "system"
},
{
"content": "Find the locations that have more than one movie theater with capacity above 300.",
"role": "user"
},
{
"content": "SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCATION HAVING COUNT(*) > 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (fumb_yds INTEGER, fumb_f VARCHAR, int_lg VARCHAR)",
"role": "system"
},
{
"content": "Which Fumb Yds has a Fumb F. of 0, and a Int LG smaller than 0?",
"role": "user"
},
{
"content": "SELECT MAX(fumb_yds) FROM table_name_9 WHERE fumb_f = 0 AND int_lg < 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12451376_2 (original_airdate VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "What is the number of the original airdate with the production code 208.",
"role": "user"
},
{
"content": "SELECT COUNT(original_airdate) FROM table_12451376_2 WHERE production_code = 208",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (number_of_dances INTEGER, rank_by_average VARCHAR, place VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest number of dances with a rank larger than 4 and a place of 8?",
"role": "user"
},
{
"content": "SELECT MIN(number_of_dances) FROM table_name_93 WHERE rank_by_average > 4 AND place = 8",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (grid INTEGER, laps VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of grid values of driver Michael Schumacher with lap counts larger than 66?",
"role": "user"
},
{
"content": "SELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = \"michael schumacher\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (bronze INTEGER, nation VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "What is the average Bronze, when Nation is \"North Korea\", and when Total is greater than 5?",
"role": "user"
},
{
"content": "SELECT AVG(bronze) FROM table_name_53 WHERE nation = \"north korea\" AND total > 5",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_32 (match VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "How many matches have 0 as the lost?",
"role": "user"
},
{
"content": "SELECT COUNT(match) FROM table_name_32 WHERE lost = 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR)",
"role": "system"
},
{
"content": "Name the time for georgia",
"role": "user"
},
{
"content": "SELECT time FROM table_26842217_10 WHERE visiting_team = \"Georgia\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (november INTEGER, game VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What is the highest November that has a game less than 12, and @ detroit red wings as the opponent?",
"role": "user"
},
{
"content": "SELECT MAX(november) FROM table_name_57 WHERE game < 12 AND opponent = \"@ detroit red wings\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR)",
"role": "system"
},
{
"content": "How many steals for the player who had 121 rebounds?",
"role": "user"
},
{
"content": "SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (males VARCHAR, language VARCHAR)",
"role": "system"
},
{
"content": "What males speak Polish?",
"role": "user"
},
{
"content": "SELECT males FROM table_name_22 WHERE language = \"polish\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (haydon VARCHAR, ben_tahir VARCHAR)",
"role": "system"
},
{
"content": "What Haydon had a 33 Ben-Tahir?",
"role": "user"
},
{
"content": "SELECT haydon FROM table_name_68 WHERE ben_tahir = \"33\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR)",
"role": "system"
},
{
"content": "Which route has 21 stations?",
"role": "user"
},
{
"content": "SELECT route FROM table_name_31 WHERE stations = 21",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (term_in_office VARCHAR, state VARCHAR, member VARCHAR)",
"role": "system"
},
{
"content": "What term did Stewart Mcarthur from Vic serve in office?",
"role": "user"
},
{
"content": "SELECT term_in_office FROM table_name_68 WHERE state = \"vic\" AND member = \"stewart mcarthur\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_30 (extra VARCHAR, result VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Which extra resulted in 2nd before 2005?",
"role": "user"
},
{
"content": "SELECT extra FROM table_name_30 WHERE result = \"2nd\" AND year < 2005",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR)",
"role": "system"
},
{
"content": "What was the Top Gear budget in March 2013?",
"role": "user"
},
{
"content": "SELECT budget FROM table_name_39 WHERE month_ & _year = \"march 2013\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_56 (leading_scorer VARCHAR, visitor VARCHAR)",
"role": "system"
},
{
"content": "Who is the leading scorer of the Villa De Los Barrios visitor?",
"role": "user"
},
{
"content": "SELECT leading_scorer FROM table_name_56 WHERE visitor = \"villa de los barrios\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR)",
"role": "system"
},
{
"content": "What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9?",
"role": "user"
},
{
"content": "SELECT r_miles_ FROM table_15416002_1 WHERE chi = \"9.9\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (date VARCHAR, nationality VARCHAR, games VARCHAR)",
"role": "system"
},
{
"content": "On what date were the 1997 Bridgetown games in which a Martinique girl competed?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_20 WHERE nationality = \"martinique\" AND games = \"1997 bridgetown\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "What tyre had Sergio Mantovani as a driver?",
"role": "user"
},
{
"content": "SELECT tyre FROM table_name_91 WHERE driver = \"sergio mantovani\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (points_for VARCHAR, tries_for VARCHAR)",
"role": "system"
},
{
"content": "How many points for did the club that had 77 tries for have ?",
"role": "user"
},
{
"content": "SELECT points_for FROM table_name_43 WHERE tries_for = \"77\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the opponent when anastasia pivovarova was the partner?",
"role": "user"
},
{
"content": "SELECT opponents FROM table_name_15 WHERE partner = \"anastasia pivovarova\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_262508_1 (joined VARCHAR, enrollment VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "How many joined when the enrollment was 1150 in Sioux City, Iowa?",
"role": "user"
},
{
"content": "SELECT joined FROM table_262508_1 WHERE enrollment = 1150 AND location = \"Sioux City, Iowa\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (points__percentage VARCHAR, total_w_l_h VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE POINTS PERCENTAGE WITH A TOTAL OF 1-2-2 RECORD?",
"role": "user"
},
{
"content": "SELECT points__percentage FROM table_name_29 WHERE total_w_l_h = \"1-2-2\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (result VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What result had a score of 2-1?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_73 WHERE score = \"2-1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (played INTEGER, goals_against VARCHAR, lost VARCHAR, drawn VARCHAR)",
"role": "system"
},
{
"content": "How many played when lost is more than 17, drawn is 15 and goals against is less than 75?",
"role": "user"
},
{
"content": "SELECT AVG(played) FROM table_name_85 WHERE lost > 17 AND drawn = 15 AND goals_against < 75",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (points INTEGER, lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)",
"role": "system"
},
{
"content": "How many points are there when they have under 27 goals scored, conceded 24 goals, and lost less than 6 times?",
"role": "user"
},
{
"content": "SELECT SUM(points) FROM table_name_40 WHERE goals_scored < 27 AND goals_conceded = 24 AND lost < 6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR)",
"role": "system"
},
{
"content": "Who was the male rep. when Caroline Rhoads was the artistic director?",
"role": "user"
},
{
"content": "SELECT male_rep FROM table_22410780_1 WHERE artistic_director = \"Caroline Rhoads\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (range__varies_with_payload_weight_ VARCHAR, name_designation VARCHAR)",
"role": "system"
},
{
"content": "What is the range (varies by payload weight) for Shahab-4?",
"role": "user"
},
{
"content": "SELECT range__varies_with_payload_weight_ FROM table_name_71 WHERE name_designation = \"shahab-4\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)",
"role": "system"
},
{
"content": "Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama?",
"role": "user"
},
{
"content": "SELECT airing_date FROM table_name_39 WHERE number_of_episodes > 20 AND genre = \"modern drama\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23958917_1 (owner_s___2009_ VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "Name the owners 2009 for south side indianapolis",
"role": "user"
},
{
"content": "SELECT owner_s___2009_ FROM table_23958917_1 WHERE location = \"South Side Indianapolis\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "What tyre did Mika Salo use for team Lotus?",
"role": "user"
},
{
"content": "SELECT tyre FROM table_name_93 WHERE entrant = \"team lotus\" AND driver = \"mika salo\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (away_team VARCHAR)",
"role": "system"
},
{
"content": "What was Melbourne's away team score?",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_20 WHERE away_team = \"melbourne\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR)",
"role": "system"
},
{
"content": "Who was the High Assist when the High Rebounds was andre iguodala (8)?",
"role": "user"
},
{
"content": "SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = \"Andre Iguodala (8)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (time VARCHAR, race VARCHAR)",
"role": "system"
},
{
"content": "What is the fastest time for the Kentucky Derby race?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_40 WHERE race = \"kentucky derby\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_92 (points VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "How many points for the simtek s951 chassis?",
"role": "user"
},
{
"content": "SELECT COUNT(points) FROM table_name_92 WHERE chassis = \"simtek s951\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR)",
"role": "system"
},
{
"content": "what's the dbeingtribution with grsecurity being optional and compile time buffer checks being yes",
"role": "user"
},
{
"content": "SELECT distribution FROM table_1357052_6 WHERE grsecurity = \"Optional\" AND compile_time_buffer_checks = \"Yes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14154271_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)",
"role": "system"
},
{
"content": "Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.",
"role": "user"
},
{
"content": "SELECT rnd FROM table_14154271_2 WHERE lmp2_winning_team = \"Jos Verstappen Jeroen Bleekemolen\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1272844_2 (episode_title VARCHAR, eliminated VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the episode in which Jenn is eliminated?",
"role": "user"
},
{
"content": "SELECT episode_title FROM table_1272844_2 WHERE eliminated = \"Jenn\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (away_team VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What was the away team that played against Fitzroy?",
"role": "user"
},
{
"content": "SELECT away_team FROM table_name_87 WHERE home_team = \"fitzroy\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "Who is the player in guard position from Stephen F. Austin in a round less than 8?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_60 WHERE round < 8 AND position = \"guard\" AND school_club_team = \"stephen f. austin\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR)",
"role": "system"
},
{
"content": "What position does the player with a first round score of 35.7 play?",
"role": "user"
},
{
"content": "SELECT pos FROM table_name_21 WHERE first_round = \"35.7\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "What is the score when the tie no is 29?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_65 WHERE tie_no = \"29\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR)",
"role": "system"
},
{
"content": "What region is inarajan in?",
"role": "user"
},
{
"content": "SELECT region FROM table_2588674_1 WHERE village = \"Inarajan\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (player VARCHAR, weight VARCHAR)",
"role": "system"
},
{
"content": "Which player weighs 187 pounds?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_87 WHERE weight = 187",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (college_junior_club_team VARCHAR, position VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "What college/junior/club team is a left wing from Canada?",
"role": "user"
},
{
"content": "SELECT college_junior_club_team FROM table_name_94 WHERE position = \"left wing\" AND nationality = \"canada\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What was the film nomination in the Netherlands?",
"role": "user"
},
{
"content": "SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = \"netherlands\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_256286_18 (meas_num VARCHAR, type VARCHAR)",
"role": "system"
},
{
"content": "what is the measure number for the init type? ",
"role": "user"
},
{
"content": "SELECT meas_num FROM table_256286_18 WHERE type = \"Init\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (season VARCHAR, venue VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4?",
"role": "user"
},
{
"content": "SELECT season FROM table_name_97 WHERE venue = \"bellerive oval , hobart\" AND rank = \"4\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR)",
"role": "system"
},
{
"content": "In what year did the United States win To par greater than 14",
"role": "user"
},
{
"content": "SELECT year_s__won FROM table_name_7 WHERE country = \"united states\" AND to_par > 14",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (total INTEGER, country VARCHAR)",
"role": "system"
},
{
"content": "What is Australia's highest total?",
"role": "user"
},
{
"content": "SELECT MAX(total) FROM table_name_86 WHERE country = \"australia\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (years VARCHAR, jersey_number_s_ VARCHAR)",
"role": "system"
},
{
"content": "What is the Years of the player with Jersey Number(s) of 44?",
"role": "user"
},
{
"content": "SELECT years FROM table_name_73 WHERE jersey_number_s_ = 44",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR)",
"role": "system"
},
{
"content": "Name the csa 4/16/09 for opinionway being 4/17/09 of 12%",
"role": "user"
},
{
"content": "SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = \"12%\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (draws INTEGER, season VARCHAR, losses VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the highest Draws with less than 18 losses for north melbourne later than 1926?",
"role": "user"
},
{
"content": "SELECT MAX(draws) FROM table_name_45 WHERE losses < 18 AND team = \"north melbourne\" AND season > 1926",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (type VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What type has a date of 1 june?",
"role": "user"
},
{
"content": "SELECT type FROM table_name_70 WHERE date = \"1 june\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (place VARCHAR, name VARCHAR, clubs VARCHAR)",
"role": "system"
},
{
"content": "How many places have bianka panova as the name, with clubs less than 10?",
"role": "user"
},
{
"content": "SELECT COUNT(place) FROM table_name_84 WHERE name = \"bianka panova\" AND clubs < 10",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_22 (gloss VARCHAR, virtue VARCHAR)",
"role": "system"
},
{
"content": "What is the Diligence Virtues Gloss?",
"role": "user"
},
{
"content": "SELECT gloss FROM table_name_22 WHERE virtue = \"diligence\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_Details VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)",
"role": "system"
},
{
"content": "What are the names of tourist attraction that Alison visited but Rosalind did not visit?",
"role": "user"
},
{
"content": "SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = \"Alison\" EXCEPT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = \"Rosalind\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (print_name VARCHAR, date_completed VARCHAR)",
"role": "system"
},
{
"content": "What was the print name in 07/87?",
"role": "user"
},
{
"content": "SELECT print_name FROM table_name_39 WHERE date_completed = \"07/87\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (opponent VARCHAR, high_rebounds VARCHAR)",
"role": "system"
},
{
"content": "What is Opponent, when High Rebounds is \"Pierson (6)\"?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_67 WHERE high_rebounds = \"pierson (6)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (date VARCHAR, company_name VARCHAR, hardware_model VARCHAR)",
"role": "system"
},
{
"content": "When did Samsung Electronics Co LTD make the GT-i9100?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_99 WHERE company_name = \"samsung electronics co ltd\" AND hardware_model = \"gt-i9100\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (entrant VARCHAR, year INTEGER)",
"role": "system"
},
{
"content": "Who was the entrant before 1988?",
"role": "user"
},
{
"content": "SELECT entrant FROM table_name_41 WHERE year < 1988",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "Where did north melbourne play while away?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_23 WHERE away_team = \"north melbourne\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (opponents VARCHAR, partner VARCHAR)",
"role": "system"
},
{
"content": "What is Opponents, when Partner is Mervana Jugić-Salkić?",
"role": "user"
},
{
"content": "SELECT opponents FROM table_name_8 WHERE partner = \"mervana jugić-salkić\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (losing_bonus VARCHAR, try_bonus VARCHAR)",
"role": "system"
},
{
"content": "Which Losing Bonus has a Try Bonus of 8?",
"role": "user"
},
{
"content": "SELECT losing_bonus FROM table_name_29 WHERE try_bonus = \"8\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (played INTEGER, draw VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What's the average Played for a draw of 5 and more than 43 points?",
"role": "user"
},
{
"content": "SELECT AVG(played) FROM table_name_68 WHERE draw = 5 AND points > 43",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR)",
"role": "system"
},
{
"content": "What is the Cause of death of the Officer with a Date of death of 1956-09-07?",
"role": "user"
},
{
"content": "SELECT cause_of_death FROM table_name_49 WHERE date_of_death = \"1956-09-07\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, pick VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest round for an overall pick of 349 with a pick number in the round over 11?",
"role": "user"
},
{
"content": "SELECT MIN(round) FROM table_name_28 WHERE overall = 349 AND pick > 11",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (title VARCHAR, platform VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Which title has xbox as the platform with a year prior to 2006?",
"role": "user"
},
{
"content": "SELECT title FROM table_name_85 WHERE platform = \"xbox\" AND year < 2006",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (date VARCHAR, team_record VARCHAR)",
"role": "system"
},
{
"content": "What is the Date, when the Team Record is 2-0?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_3 WHERE team_record = \"2-0\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)",
"role": "system"
},
{
"content": "Find the number of vocal types used in song \"Le Pop\"",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = \"Le Pop\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2076463_2 (enrollment INTEGER, location_s_ VARCHAR)",
"role": "system"
},
{
"content": "How much would you expect the enrollment to be in Springfield?",
"role": "user"
},
{
"content": "SELECT MIN(enrollment) FROM table_2076463_2 WHERE location_s_ = \"Springfield\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the Money of the Player with a Score of 69-71-69-72=281?",
"role": "user"
},
{
"content": "SELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (power VARCHAR, years VARCHAR)",
"role": "system"
},
{
"content": "What is the power of an engine of 1972?",
"role": "user"
},
{
"content": "SELECT power FROM table_name_73 WHERE years = \"1972\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (away VARCHAR, competition VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Which Away has a Competition of uefa cup, and an Opponent of anderlecht?",
"role": "user"
},
{
"content": "SELECT away FROM table_name_93 WHERE competition = \"uefa cup\" AND opponent = \"anderlecht\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR)",
"role": "system"
},
{
"content": "What TV channel had a license from Boston?",
"role": "user"
},
{
"content": "SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = \"Boston\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)",
"role": "system"
},
{
"content": "Name the first elected for kentucky 3",
"role": "user"
},
{
"content": "SELECT first_elected FROM table_2668378_5 WHERE district = \"Kentucky 3\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_75 (runners_up VARCHAR, champions VARCHAR)",
"role": "system"
},
{
"content": "What runner(s)-up has 1 (2013) as the champions?",
"role": "user"
},
{
"content": "SELECT runners_up FROM table_name_75 WHERE champions = \"1 (2013)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (year VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "How many years does Team wal-mart / tide participate?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_name_94 WHERE team = \"wal-mart / tide\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "Tell me the pick for canada centre",
"role": "user"
},
{
"content": "SELECT pick FROM table_name_74 WHERE position = \"centre\" AND nationality = \"canada\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341973_6 (candidates VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What candidates ran in the election that included john shelley?",
"role": "user"
},
{
"content": "SELECT candidates FROM table_1341973_6 WHERE incumbent = \"John Shelley\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1333612_1 (population VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "what's the population with country being chile",
"role": "user"
},
{
"content": "SELECT population FROM table_1333612_1 WHERE country = \"Chile\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (rank INTEGER, country VARCHAR)",
"role": "system"
},
{
"content": "Which highest rank belongs to the palestinian territories?",
"role": "user"
},
{
"content": "SELECT MAX(rank) FROM table_name_85 WHERE country = \"palestinian territories\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Engineer_Visits (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR)",
"role": "system"
},
{
"content": "Which engineers have never visited to maintain the assets? List the engineer first name and last name.",
"role": "user"
},
{
"content": "SELECT first_name, last_name FROM Maintenance_Engineers WHERE NOT engineer_id IN (SELECT engineer_id FROM Engineer_Visits)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (event VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "that was held in 1964?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_39 WHERE year = 1964",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (kosal VARCHAR, sitalsasthi_carnival VARCHAR)",
"role": "system"
},
{
"content": "What is the Kosal with a balangir town sitalsasthi carnival?",
"role": "user"
},
{
"content": "SELECT kosal FROM table_name_97 WHERE sitalsasthi_carnival = \"balangir town\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_77 (max_aperture VARCHAR, focal_length VARCHAR)",
"role": "system"
},
{
"content": "What is the maximum aperture of the lens(es) with a focal length of 20mm?",
"role": "user"
},
{
"content": "SELECT max_aperture FROM table_name_77 WHERE focal_length = \"20mm\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (position VARCHAR, team VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What Position is Team Sahara Force india f1 team with 46 Points?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_38 WHERE team = \"sahara force india f1 team\" AND points = \"46\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_64 (money___ INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest amount of money that Craig Stadler won?",
"role": "user"
},
{
"content": "SELECT MIN(money___) AS $__ FROM table_name_64 WHERE player = \"craig stadler\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19255192_1 (fiscal_year VARCHAR)",
"role": "system"
},
{
"content": "What is the largest 6-car-sets for fiscal year 1968?",
"role": "user"
},
{
"content": "SELECT MAX(6 AS _car_sets) FROM table_19255192_1 WHERE fiscal_year = 1968",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (back VARCHAR, supplier VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Which Back has a Supplier of Kooga and a Year of 2006-2008?",
"role": "user"
},
{
"content": "SELECT back FROM table_name_88 WHERE supplier = \"kooga\" AND year = \"2006-2008\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is Ashton Cobb's class in Game 2?",
"role": "user"
},
{
"content": "SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = \"ashton cobb\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE STUDENT (Advisor VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR, Election_Cycle VARCHAR)",
"role": "system"
},
{
"content": "Find the distinct Advisor of students who have treasurer votes in the spring election cycle.",
"role": "user"
},
{
"content": "SELECT DISTINCT T1.Advisor FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote WHERE T2.Election_Cycle = \"Spring\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (city VARCHAR)",
"role": "system"
},
{
"content": "What 2007-08 season has marcianise as the city?",
"role": "user"
},
{
"content": "SELECT 2007 AS _08_season FROM table_name_60 WHERE city = \"marcianise\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (against VARCHAR, team VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "How many Against have a Team of hespanha, and Points smaller than 30?",
"role": "user"
},
{
"content": "SELECT COUNT(against) FROM table_name_33 WHERE team = \"hespanha\" AND points < 30",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?",
"role": "user"
},
{
"content": "SELECT entrant FROM table_name_17 WHERE chassis = \"maserati 250f\" AND year < 1957 AND points < 6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (position VARCHAR, year VARCHAR, weight VARCHAR)",
"role": "system"
},
{
"content": "What is the Position with a Year with freshman, and a Weight larger than 210?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_79 WHERE year = \"freshman\" AND weight > 210",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17487395_1 (callsign VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "What is the call sign of the station with the frequency of 90.3mhz",
"role": "user"
},
{
"content": "SELECT callsign FROM table_17487395_1 WHERE frequency = \"90.3MHz\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (to_par VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What was Bill Glasson's score to par after 2 rounds?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_76 WHERE player = \"bill glasson\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.