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_42 (laps INTEGER, driver VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "How many Laps with a Grid smaller than 3 did Driver NIki Lauda have?",
"role": "user"
},
{
"content": "SELECT AVG(laps) FROM table_name_42 WHERE driver = \"niki lauda\" AND grid < 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_35 (december INTEGER, game VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "Which December has a Game of 37 and Points smaller than 47?",
"role": "user"
},
{
"content": "SELECT AVG(december) FROM table_name_35 WHERE game = 37 AND points < 47",
"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 (college VARCHAR, round VARCHAR, overall VARCHAR)",
"role": "system"
},
{
"content": "Round smaller than 7, and an Overall of 129 is what college?",
"role": "user"
},
{
"content": "SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129",
"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 (runner_up VARCHAR, venue VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "Who was the runner-up in 1980 at the Pocking venue?",
"role": "user"
},
{
"content": "SELECT runner_up FROM table_name_93 WHERE venue = \"pocking\" AND year = \"1980\"",
"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_13741576_6 (club VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "What club had 523 points against? ",
"role": "user"
},
{
"content": "SELECT club FROM table_13741576_6 WHERE points_against = \"523\"",
"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 SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)",
"role": "system"
},
{
"content": "Find courses that ran in Fall 2009 or in Spring 2010.",
"role": "user"
},
{
"content": "SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 UNION SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010",
"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_34 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR)",
"role": "system"
},
{
"content": "How many laps by Jorge Lorenzo on the Aprilia with a grid bigger than 1?",
"role": "user"
},
{
"content": "SELECT SUM(laps) FROM table_name_34 WHERE manufacturer = \"aprilia\" AND rider = \"jorge lorenzo\" AND grid > 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_34 (record VARCHAR, game VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Which Record has a Game larger than 34, and a Date of january 9?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_34 WHERE game > 34 AND date = \"january 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_24 (round INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "In what Round was George Thomas Picked?",
"role": "user"
},
{
"content": "SELECT AVG(round) FROM table_name_24 WHERE name = \"george thomas\"",
"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 (attendance VARCHAR, result VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "Name for me the total number in attendance for week before 2 and result of t 24-24",
"role": "user"
},
{
"content": "SELECT COUNT(attendance) FROM table_name_60 WHERE result = \"t 24-24\" AND week < 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_22546460_4 (best_male_lyricist VARCHAR, best_male_record VARCHAR)",
"role": "system"
},
{
"content": "Who was the Best Male Lyricist if Neshia Nee won the Best Male Record?",
"role": "user"
},
{
"content": "SELECT best_male_lyricist FROM table_22546460_4 WHERE best_male_record = \"Neshia Nee\"",
"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 (ihsaa_football_class VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "Which IHSAA Football Class has a School of wood memorial?",
"role": "user"
},
{
"content": "SELECT ihsaa_football_class FROM table_name_71 WHERE school = \"wood memorial\"",
"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 (tournament VARCHAR)",
"role": "system"
},
{
"content": "What is the 2012 value with an A value in 2007 and A value in 2010 in the Canada Masters?",
"role": "user"
},
{
"content": "SELECT 2012 FROM table_name_60 WHERE 2007 = \"a\" AND 2010 = \"a\" AND tournament = \"canada masters\"",
"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_69 (event VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What event did Soares fight against josh spearman?",
"role": "user"
},
{
"content": "SELECT event FROM table_name_69 WHERE opponent = \"josh spearman\"",
"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_28138035_27 (mens_singles VARCHAR, womens_doubles VARCHAR)",
"role": "system"
},
{
"content": "Who is listed under mens singles when womens has wang nan zhang yining?",
"role": "user"
},
{
"content": "SELECT mens_singles FROM table_28138035_27 WHERE womens_doubles = \"Wang Nan Zhang Yining\"",
"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_69 (tries_for INTEGER, points_diff VARCHAR, points_against VARCHAR, tries_against VARCHAR)",
"role": "system"
},
{
"content": "Which Tries for has Points against larger than 87, and Tries against smaller than 28, and Points diff of +63?",
"role": "user"
},
{
"content": "SELECT AVG(tries_for) FROM table_name_69 WHERE points_against > 87 AND tries_against < 28 AND points_diff = \"+63\"",
"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 (site VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Where did the game(s) against Iowa take place?",
"role": "user"
},
{
"content": "SELECT site FROM table_name_94 WHERE opponent = \"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_47 (avg_g VARCHAR, att_cmp_int VARCHAR)",
"role": "system"
},
{
"content": "What was the aveg/g for the qb with the Att-Cmp-Int of 117–215–6?",
"role": "user"
},
{
"content": "SELECT COUNT(avg_g) FROM table_name_47 WHERE att_cmp_int = \"117–215–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_98 (opponent VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Which Opponent has a Result of 0-3?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_98 WHERE result = \"0-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_77 (sound VARCHAR, producer_executive_producer VARCHAR)",
"role": "system"
},
{
"content": "Who was the sound producer that worked under Executive Producer JL?",
"role": "user"
},
{
"content": "SELECT sound FROM table_name_77 WHERE producer_executive_producer = \"jl\"",
"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 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)",
"role": "system"
},
{
"content": "What is the time in a heat smaller than 5, in Lane 5, for Vietnam?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_88 WHERE heat < 5 AND lane = 5 AND nationality = \"vietnam\"",
"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 (season VARCHAR, goals VARCHAR, club VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "Which Season has a Club of real madrid, and a Rank smaller than 6, and less than 121 goals?",
"role": "user"
},
{
"content": "SELECT season FROM table_name_7 WHERE club = \"real madrid\" AND rank < 6 AND goals < 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 EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR)",
"role": "system"
},
{
"content": "What are the ids and details of events that have more than one participants?",
"role": "user"
},
{
"content": "SELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID 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_29273182_1 (title VARCHAR, no_in_series VARCHAR)",
"role": "system"
},
{
"content": "What is the name of episode number 29 in the series?",
"role": "user"
},
{
"content": "SELECT title FROM table_29273182_1 WHERE no_in_series = 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_name_13 (year INTEGER, loser VARCHAR)",
"role": "system"
},
{
"content": "In which year is Nerida Gregory listed as the loser?",
"role": "user"
},
{
"content": "SELECT AVG(year) FROM table_name_13 WHERE loser = \"nerida gregory\"",
"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 (points VARCHAR, engine VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "In 1962, what was the total number of points, when the Engine was Ferrari v6?",
"role": "user"
},
{
"content": "SELECT COUNT(points) FROM table_name_97 WHERE engine = \"ferrari v6\" AND year = 1962",
"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 (date VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Name the date for record 3-3",
"role": "user"
},
{
"content": "SELECT date FROM table_name_64 WHERE record = \"3-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_44 (director_s_ VARCHAR, film VARCHAR)",
"role": "system"
},
{
"content": "Who directed the film Antonio's Breakfast?",
"role": "user"
},
{
"content": "SELECT director_s_ FROM table_name_44 WHERE film = \"antonio's breakfast\"",
"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 (series_leader VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the Series leader with a Date that is may 31?",
"role": "user"
},
{
"content": "SELECT series_leader FROM table_name_64 WHERE date = \"may 31\"",
"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_89 (date VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "when indiana pacers were the opponent what was the date?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_89 WHERE opponent = \"indiana pacers\"",
"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 (club VARCHAR, losses VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "Which club has 15 losses and 14 wins?",
"role": "user"
},
{
"content": "SELECT club FROM table_name_60 WHERE losses = 15 AND wins = 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_93 (tracks VARCHAR, density VARCHAR)",
"role": "system"
},
{
"content": "How many tracks have a single density?",
"role": "user"
},
{
"content": "SELECT COUNT(tracks) FROM table_name_93 WHERE density = \"single\"",
"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_55 (wins INTEGER, points VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest wins with points larger than 46, and a rank of 10th?",
"role": "user"
},
{
"content": "SELECT MIN(wins) FROM table_name_55 WHERE points > 46 AND rank = \"10th\"",
"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_28668784_1 (stadium VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What stadium does FK Jedinstvo play in?",
"role": "user"
},
{
"content": "SELECT stadium FROM table_28668784_1 WHERE home_team = \"FK Jedinstvo\"",
"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_2 (crowd INTEGER, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the average crowd size for Richmond home games?",
"role": "user"
},
{
"content": "SELECT AVG(crowd) FROM table_name_2 WHERE home_team = \"richmond\"",
"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_54 (leading_scorer VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who led the score on April 9?",
"role": "user"
},
{
"content": "SELECT leading_scorer FROM table_name_54 WHERE date = \"april 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_25668962_1 (directed_by VARCHAR, no_in_series VARCHAR)",
"role": "system"
},
{
"content": "Who directed episode number 18 in the series?",
"role": "user"
},
{
"content": "SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18",
"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 (score VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "What was the score from the king's cup 2000?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_31 WHERE competition = \"king's cup 2000\"",
"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 People (Name VARCHAR, Weight VARCHAR)",
"role": "system"
},
{
"content": "What are the names of people in ascending order of weight?",
"role": "user"
},
{
"content": "SELECT Name FROM People ORDER BY Weight",
"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 (elector VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "Which Elector is hungarian?",
"role": "user"
},
{
"content": "SELECT elector FROM table_name_68 WHERE nationality = \"hungarian\"",
"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_27683516_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)",
"role": "system"
},
{
"content": "What is the outgoing manager when the date of vacancy is 10 october 2010?",
"role": "user"
},
{
"content": "SELECT outgoing_manager FROM table_27683516_3 WHERE date_of_vacancy = \"10 October 2010\"",
"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 (authors VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Who is the author for the malasaurus?",
"role": "user"
},
{
"content": "SELECT authors FROM table_name_65 WHERE name = \"malasaurus\"",
"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 (laps INTEGER, grid VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the average Laps for the Mexico team with a grid number of more than 1?",
"role": "user"
},
{
"content": "SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = \"mexico\"",
"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 (position VARCHAR, pick VARCHAR)",
"role": "system"
},
{
"content": "Which position ranked 10th overall?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_7 WHERE pick = \"10th overall\"",
"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_10753917_1 (season VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "How many seasons was clay regazzoni the driver?",
"role": "user"
},
{
"content": "SELECT COUNT(season) FROM table_10753917_1 WHERE driver = \"Clay Regazzoni\"",
"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_14342367_7 (field_goals INTEGER)",
"role": "system"
},
{
"content": "What is the least amount of field goals made by a player?",
"role": "user"
},
{
"content": "SELECT MIN(field_goals) FROM table_14342367_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 votes (vote_id VARCHAR, phone_number VARCHAR, state VARCHAR)",
"role": "system"
},
{
"content": "List the vote ids, phone numbers and states of all votes.",
"role": "user"
},
{
"content": "SELECT vote_id, phone_number, state FROM votes",
"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_89 (games INTEGER, years_at_club VARCHAR, goals VARCHAR)",
"role": "system"
},
{
"content": "Which Games have Years at club of 1974–1975, and Goals of 4?",
"role": "user"
},
{
"content": "SELECT AVG(games) FROM table_name_89 WHERE years_at_club = \"1974–1975\" AND goals = 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_28138035_26 (mens_doubles VARCHAR, mens_singles VARCHAR)",
"role": "system"
},
{
"content": "Who won the mens doubles when wang hao won the mens singles?",
"role": "user"
},
{
"content": "SELECT mens_doubles FROM table_28138035_26 WHERE mens_singles = \"Wang Hao\"",
"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_69 (name VARCHAR, games VARCHAR, period VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the person with more than 299 games during the 1995–07 period?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_69 WHERE games > 299 AND period = \"1995–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_85 (baltimore_group VARCHAR, envelopment VARCHAR, family VARCHAR)",
"role": "system"
},
{
"content": "Which Baltimore group is non-enveloped and is of the papillomaviridae family?",
"role": "user"
},
{
"content": "SELECT baltimore_group FROM table_name_85 WHERE envelopment = \"non-enveloped\" AND family = \"papillomaviridae\"",
"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_22669044_10 (team VARCHAR, high_points VARCHAR)",
"role": "system"
},
{
"content": "Who was the opponent in the game in which Hakim Warrick (14) did the most high points?",
"role": "user"
},
{
"content": "SELECT team FROM table_22669044_10 WHERE high_points = \"Hakim Warrick (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_14 (color VARCHAR, model__number VARCHAR)",
"role": "system"
},
{
"content": "What color is model # pd-kb400w?",
"role": "user"
},
{
"content": "SELECT color FROM table_name_14 WHERE model__number = \"pd-kb400w\"",
"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_51 (competition VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Which competition took place at Stade Fernand Fournier, Arles?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_51 WHERE venue = \"stade fernand fournier, arles\"",
"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 (pick INTEGER, college VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE AVERAGE PICK FOR PURDUE, WITH A ROUND SMALLER THAN 5?",
"role": "user"
},
{
"content": "SELECT AVG(pick) FROM table_name_49 WHERE college = \"purdue\" AND round < 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_74 (number_of_episodes VARCHAR, notes VARCHAR)",
"role": "system"
},
{
"content": "What is Number Of Episodes, when Notes is \"Moved to run a farm with boyfriend Jake.\"?",
"role": "user"
},
{
"content": "SELECT number_of_episodes FROM table_name_74 WHERE notes = \"moved to run a farm with boyfriend jake.\"",
"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_171356_2 (status VARCHAR, census_ranking VARCHAR)",
"role": "system"
},
{
"content": "What status doe the area with a census ranking of 2,290 of 5,008 have?",
"role": "user"
},
{
"content": "SELECT status FROM table_171356_2 WHERE census_ranking = \"2,290 of 5,008\"",
"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_42 (score VARCHAR, surface VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "For the game played on 31 July 2007 on clay what was the score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_42 WHERE surface = \"clay\" AND date = \"31 july 2007\"",
"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_14 (points VARCHAR, entrant VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "How many points did the ATS Wheels entrant with an ATS D2 chassis have?",
"role": "user"
},
{
"content": "SELECT points FROM table_name_14 WHERE entrant = \"ats wheels\" AND chassis = \"ats d2\"",
"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_12 (rank VARCHAR, opposition VARCHAR)",
"role": "system"
},
{
"content": "Which Rank has an Opposition of limerick?",
"role": "user"
},
{
"content": "SELECT rank FROM table_name_12 WHERE opposition = \"limerick\"",
"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 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)",
"role": "system"
},
{
"content": "Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?",
"role": "user"
},
{
"content": "SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99",
"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_46 (attendance INTEGER, record VARCHAR)",
"role": "system"
},
{
"content": "What attendance does 1-6 record have?",
"role": "user"
},
{
"content": "SELECT SUM(attendance) FROM table_name_46 WHERE record = \"1-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_43 (home VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the home team that played on February 25?",
"role": "user"
},
{
"content": "SELECT home FROM table_name_43 WHERE date = \"february 25\"",
"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_19805130_3 (share VARCHAR, rank__night_ VARCHAR)",
"role": "system"
},
{
"content": "If the night rank is 9, what is the total share number?",
"role": "user"
},
{
"content": "SELECT COUNT(share) FROM table_19805130_3 WHERE rank__night_ = \"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 employees (employee_id VARCHAR, first_name VARCHAR, last_name VARCHAR, job_id VARCHAR, salary INTEGER)",
"role": "system"
},
{
"content": "display the employee number, name( first name and last name ) and job title for all employees whose salary is more than any salary of those employees whose job title is PU_MAN.",
"role": "user"
},
{
"content": "SELECT employee_id, first_name, last_name, job_id FROM employees WHERE salary > (SELECT MAX(salary) FROM employees WHERE job_id = 'PU_MAN')",
"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_29803475_3 (title VARCHAR, directed_by VARCHAR)",
"role": "system"
},
{
"content": "what is the name of the episode directed by james bobin",
"role": "user"
},
{
"content": "SELECT title FROM table_29803475_3 WHERE directed_by = \"James Bobin\"",
"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_2 (protein_name VARCHAR, sequence_identity_to_human_protein VARCHAR)",
"role": "system"
},
{
"content": "What is the protein name of the protein with a sequence identity to human protein of 32%?",
"role": "user"
},
{
"content": "SELECT protein_name FROM table_name_2 WHERE sequence_identity_to_human_protein = \"32%\"",
"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 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class?",
"role": "user"
},
{
"content": "SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = \"audi r8\" AND class = \"lmp900\"",
"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 (round VARCHAR, method VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "what is the total number of rounds when method is tko (punches) and time is 0:40?",
"role": "user"
},
{
"content": "SELECT COUNT(round) FROM table_name_22 WHERE method = \"tko (punches)\" AND time = \"0:40\"",
"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 (place VARCHAR, athlete VARCHAR)",
"role": "system"
},
{
"content": "What place has manfred kokot as the athlete?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_7 WHERE athlete = \"manfred kokot\"",
"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_22514845_5 (reporters VARCHAR, s_analyst VARCHAR)",
"role": "system"
},
{
"content": "Name the reporters for howard cosell",
"role": "user"
},
{
"content": "SELECT reporters FROM table_22514845_5 WHERE s_analyst = \"Howard Cosell\"",
"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_90 (drawn VARCHAR, tries_against VARCHAR)",
"role": "system"
},
{
"content": "What Drawn has a Tries against of 0?",
"role": "user"
},
{
"content": "SELECT drawn FROM table_name_90 WHERE tries_against = \"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_name_67 (remixed_by VARCHAR, length VARCHAR)",
"role": "system"
},
{
"content": "Who remixed the version with a length of 4:22?",
"role": "user"
},
{
"content": "SELECT remixed_by FROM table_name_67 WHERE length = \"4:22\"",
"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_13328239_4 (competition VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What competition ended with a score of 38-14?",
"role": "user"
},
{
"content": "SELECT competition FROM table_13328239_4 WHERE score = \"38-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_178381_1 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)",
"role": "system"
},
{
"content": "What's the sub-parish (sokn) of Eikefjord?",
"role": "user"
},
{
"content": "SELECT sub_parish__sokn_ FROM table_178381_1 WHERE location_of_the_church = \"Eikefjord\"",
"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 (opponent VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Which Opponent has a Record of 43-56?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_75 WHERE record = \"43-56\"",
"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_47 (season INTEGER, assists VARCHAR, minutes VARCHAR)",
"role": "system"
},
{
"content": "What is the earliest year that Assists were less than 13 and minutes were under 91?",
"role": "user"
},
{
"content": "SELECT MIN(season) FROM table_name_47 WHERE assists < 13 AND minutes < 91",
"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 (overall INTEGER, position VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest overall for a quarterback with fewer than 7 rounds?",
"role": "user"
},
{
"content": "SELECT MIN(overall) FROM table_name_88 WHERE position = \"quarterback\" AND round < 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_1301373_7 (australian_marquee VARCHAR, international_marquee VARCHAR)",
"role": "system"
},
{
"content": "Name the australian marquee for alessandro del piero",
"role": "user"
},
{
"content": "SELECT australian_marquee FROM table_1301373_7 WHERE international_marquee = \"Alessandro Del Piero\"",
"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_16 (tries VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "How many tries took place on 06/07/1996?",
"role": "user"
},
{
"content": "SELECT tries FROM table_name_16 WHERE date = \"06/07/1996\"",
"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 (country VARCHAR, director_s_ VARCHAR)",
"role": "system"
},
{
"content": "What country did Jonas Geirnaert direct a film in?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_30 WHERE director_s_ = \"jonas geirnaert\"",
"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 (score VARCHAR, decision VARCHAR)",
"role": "system"
},
{
"content": "Which score has a Decision of johnson?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_29 WHERE decision = \"johnson\"",
"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 (casting_at__°c_ VARCHAR, hardness VARCHAR)",
"role": "system"
},
{
"content": "What is the casting temperature for a hardness of 22?",
"role": "user"
},
{
"content": "SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = \"22\"",
"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 tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR)",
"role": "system"
},
{
"content": "Which colleges do the tryout players whose name starts with letter D go to?",
"role": "user"
},
{
"content": "SELECT T1.cName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T2.pName LIKE 'D%'",
"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 (cfl_team VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "what is the cfl team for position d?",
"role": "user"
},
{
"content": "SELECT cfl_team FROM table_name_68 WHERE position = \"d\"",
"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_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What was the result when Jam Hsiao was nominated in 2012?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_36 WHERE nomination = \"jam hsiao\" AND year = 2012",
"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_89 (opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who did the Indians play on April 23?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_89 WHERE date = \"april 23\"",
"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 (total VARCHAR, nation VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "How many totals does Chile have when the number of silvers is more than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_73 WHERE nation = \"chile\" AND silver > 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_name_98 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)",
"role": "system"
},
{
"content": "Which Right ascension (J2000) has a Constellation of mensa, and an NGC number larger than 2171?",
"role": "user"
},
{
"content": "SELECT right_ascension___j2000__ FROM table_name_98 WHERE constellation = \"mensa\" AND ngc_number > 2171",
"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_13026799_1 (margin VARCHAR, championship VARCHAR)",
"role": "system"
},
{
"content": "What was the margin of the Masters Tournament?",
"role": "user"
},
{
"content": "SELECT margin FROM table_13026799_1 WHERE championship = \"Masters Tournament\"",
"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_13836704_9 (freight__metric_tonnes_ INTEGER, airport VARCHAR)",
"role": "system"
},
{
"content": "what is the maximum freight (metric tonnes) with airport being liverpool",
"role": "user"
},
{
"content": "SELECT MAX(freight__metric_tonnes_) FROM table_13836704_9 WHERE airport = \"Liverpool\"",
"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_1876825_6 (no_in_season INTEGER, written_by VARCHAR)",
"role": "system"
},
{
"content": "What season episode is written by neil thompson?",
"role": "user"
},
{
"content": "SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = \"Neil Thompson\"",
"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_13564702_4 (club VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "What club got 239 points against?",
"role": "user"
},
{
"content": "SELECT club FROM table_13564702_4 WHERE points_against = \"239\"",
"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_52 (opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Which Opponent was played on 1991-10-13?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_52 WHERE date = \"1991-10-13\"",
"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_17058178_11 (high_rebounds VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the high reobounds for april 7",
"role": "user"
},
{
"content": "SELECT high_rebounds FROM table_17058178_11 WHERE date = \"April 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_13 (seat VARCHAR, series_4 VARCHAR)",
"role": "system"
},
{
"content": "What is the total number of seats with gavin duffy in series 4?",
"role": "user"
},
{
"content": "SELECT COUNT(seat) FROM table_name_13 WHERE series_4 = \"gavin duffy\"",
"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_78 (wins VARCHAR, series VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "How many wins have a Series of formula nippon, and a Position of 8th?",
"role": "user"
},
{
"content": "SELECT wins FROM table_name_78 WHERE series = \"formula nippon\" AND position = \"8th\"",
"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_48 (outcome VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the match played on 18 January 1999?",
"role": "user"
},
{
"content": "SELECT outcome FROM table_name_48 WHERE date = \"18 january 1999\"",
"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_225200_4 (vacator VARCHAR, reason_for_change VARCHAR)",
"role": "system"
},
{
"content": "Name the vacator for resigned february 26, 1836 because of ill health",
"role": "user"
},
{
"content": "SELECT vacator FROM table_225200_4 WHERE reason_for_change = \"Resigned February 26, 1836 because of ill health\"",
"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_24027047_1 (area__km²__2011 VARCHAR, administrative_division VARCHAR)",
"role": "system"
},
{
"content": "What was the area in km2 in 2011 for the Narsingdi District?",
"role": "user"
},
{
"content": "SELECT area__km²__2011 * * FROM table_24027047_1 WHERE administrative_division = \"Narsingdi District\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.