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_63 (lost VARCHAR, against VARCHAR, played VARCHAR)",
"role": "system"
},
{
"content": "Which Lost has an Against of 49 and a Played smaller than 20?",
"role": "user"
},
{
"content": "SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20",
"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_62 (result VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What is the Result of the game against Philadelphia Eagles?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_62 WHERE opponent = \"philadelphia eagles\"",
"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_50 (against INTEGER, club VARCHAR, draws VARCHAR)",
"role": "system"
},
{
"content": "What's the least against number for Cobden with draws more than 0?",
"role": "user"
},
{
"content": "SELECT MIN(against) FROM table_name_50 WHERE club = \"cobden\" AND draws > 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 party (party_id VARCHAR, Party_name VARCHAR); CREATE TABLE Member (member_name VARCHAR, party_id VARCHAR)",
"role": "system"
},
{
"content": "Show member names that are not in the Progress Party.",
"role": "user"
},
{
"content": "SELECT T1.member_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id WHERE T2.Party_name <> \"Progress Party\"",
"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 (team_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)",
"role": "system"
},
{
"content": "In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification?",
"role": "user"
},
{
"content": "SELECT team_classification FROM table_name_8 WHERE mountains_classification = \"christophe moreau\" AND stage = \"final\"",
"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_2296507_1 (stellar_classification VARCHAR, system VARCHAR)",
"role": "system"
},
{
"content": "Name number of stellar classification for 3 neptune planets < 1 au",
"role": "user"
},
{
"content": "SELECT COUNT(stellar_classification) FROM table_2296507_1 WHERE system = \"3 Neptune planets < 1 AU\"",
"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_11 (lead VARCHAR, skip VARCHAR)",
"role": "system"
},
{
"content": "Who was the lead when Jamie Meikle was the skip?",
"role": "user"
},
{
"content": "SELECT lead FROM table_name_11 WHERE skip = \"jamie meikle\"",
"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 (outcome VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is the Outcome of the game with a Score of 6–4, 6–4?",
"role": "user"
},
{
"content": "SELECT outcome FROM table_name_45 WHERE score = \"6–4, 6–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_45 (player VARCHAR, place VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "Name the Player who has a Place of t7 in Country of united states?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_45 WHERE place = \"t7\" AND country = \"united states\"",
"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 (status VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What shows as the status for Diogo?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_29 WHERE name = \"diogo\"",
"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_27712180_6 (record VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the record for the date november 19?",
"role": "user"
},
{
"content": "SELECT record FROM table_27712180_6 WHERE date = \"November 19\"",
"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 (entrant VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "Which of the entrants had Luigi Fagioli as a driver?",
"role": "user"
},
{
"content": "SELECT entrant FROM table_name_79 WHERE driver = \"luigi fagioli\"",
"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 (date VARCHAR, decision VARCHAR)",
"role": "system"
},
{
"content": "Which Date has a Decision of myre?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_48 WHERE decision = \"myre\"",
"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 university (affiliation VARCHAR, Enrollment INTEGER, founded INTEGER)",
"role": "system"
},
{
"content": "Find the total number of students enrolled in the colleges that were founded after the year of 1850 for each affiliation type.",
"role": "user"
},
{
"content": "SELECT SUM(Enrollment), affiliation FROM university WHERE founded > 1850 GROUP BY affiliation",
"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 (batting_team VARCHAR, runs VARCHAR)",
"role": "system"
},
{
"content": "Which batting team had 624 runs?",
"role": "user"
},
{
"content": "SELECT batting_team FROM table_name_84 WHERE runs = \"624\"",
"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_134987_3 (target_city__market VARCHAR, call_sign VARCHAR)",
"role": "system"
},
{
"content": "What is the target market of the station with call sign KFXS?",
"role": "user"
},
{
"content": "SELECT target_city__market FROM table_134987_3 WHERE call_sign = \"KFXS\"",
"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 (played INTEGER, losses VARCHAR, points VARCHAR, wins VARCHAR, goals_for VARCHAR)",
"role": "system"
},
{
"content": "What is the average number played that has fewer than 11 wins, more than 42 goals, more than 22 points, and 11 losses?",
"role": "user"
},
{
"content": "SELECT AVG(played) FROM table_name_91 WHERE wins < 11 AND goals_for > 42 AND points > 22 AND losses = 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_43 (home VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the Home team on April 2?",
"role": "user"
},
{
"content": "SELECT home FROM table_name_43 WHERE date = \"april 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_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "What is the average drawn of the team with a difference of 4 and more than 13 losses?",
"role": "user"
},
{
"content": "SELECT AVG(drawn) FROM table_name_30 WHERE difference = \"4\" AND lost > 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_name_19 (railway_number_s_ VARCHAR, quantity VARCHAR)",
"role": "system"
},
{
"content": "Which railway number has 3 quantity?",
"role": "user"
},
{
"content": "SELECT railway_number_s_ FROM table_name_19 WHERE quantity = 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_58 (catalog VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What catalog has Australia as the country?",
"role": "user"
},
{
"content": "SELECT catalog FROM table_name_58 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_55 (home_team VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Who was home at Princes Park?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_55 WHERE venue = \"princes park\"",
"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_16864968_7 (score VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What was the final score when the Maple Leafs played the Columbus Blue Jackets? ",
"role": "user"
},
{
"content": "SELECT score FROM table_16864968_7 WHERE opponent = \"Columbus Blue Jackets\"",
"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 (name VARCHAR, constituency_number VARCHAR)",
"role": "system"
},
{
"content": "what is the name when the constituency number is 150?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_70 WHERE constituency_number = \"150\"",
"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_18 (production_number INTEGER, title VARCHAR, director VARCHAR, series VARCHAR)",
"role": "system"
},
{
"content": "What is the production number directed by Robert McKimson in series mm titled People Are Bunny?",
"role": "user"
},
{
"content": "SELECT SUM(production_number) FROM table_name_18 WHERE director = \"robert mckimson\" AND series = \"mm\" AND title = \"people are bunny\"",
"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_19763199_3 (song VARCHAR, total_votes VARCHAR)",
"role": "system"
},
{
"content": "What song has 24 votes?",
"role": "user"
},
{
"content": "SELECT song FROM table_19763199_3 WHERE total_votes = 24",
"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_20354_5 (transcription VARCHAR, thai_name VARCHAR)",
"role": "system"
},
{
"content": "How many different transcriptions are there for the Thai name พฤษภาคม?",
"role": "user"
},
{
"content": "SELECT COUNT(transcription) FROM table_20354_5 WHERE thai_name = \"พฤษภาคม\"",
"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_66 (time VARCHAR, notes VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What is the Time of the Great Britain players with Notes of SA/B?",
"role": "user"
},
{
"content": "SELECT time FROM table_name_66 WHERE notes = \"sa/b\" AND country = \"great britain\"",
"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_26 (opponent VARCHAR, game VARCHAR, location_attendance VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Who is the opponent of game 54, which was in Los Angeles and was before day 18?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_26 WHERE location_attendance = \"los angeles\" AND date < 18 AND game = 54",
"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 (result VARCHAR, actor VARCHAR, year VARCHAR, category VARCHAR)",
"role": "system"
},
{
"content": "What is the result of Samantha Morton being up for best supporting actress in a year later than 1989?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_78 WHERE year > 1989 AND category = \"best supporting actress\" AND actor = \"samantha morton\"",
"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_4 (competition VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the competition that was held on August 20, 2004?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_4 WHERE date = \"august 20, 2004\"",
"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_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR)",
"role": "system"
},
{
"content": "who many times is gloucestershire is painswick?",
"role": "user"
},
{
"content": "SELECT COUNT(premier_two) FROM table_12043148_2 WHERE gloucestershire = \"Painswick\"",
"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, round VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "For the 5th round match with away team of Bahia, what was the final score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_65 WHERE round = \"5th\" AND away_team = \"bahia\"",
"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 (Id VARCHAR)",
"role": "system"
},
{
"content": "What is the 2004 value with 2r in 1994?",
"role": "user"
},
{
"content": "SELECT 2004 FROM table_name_60 WHERE 1994 = \"2r\"",
"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 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR)",
"role": "system"
},
{
"content": "What is the weight of the player from club panionios g.c. and was born on 1975-05-21?",
"role": "user"
},
{
"content": "SELECT weight FROM table_name_70 WHERE club = \"panionios g.c.\" AND date_of_birth = \"1975-05-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_1953516_1 (winning_span VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the winning span for the name of bernard gallacher?",
"role": "user"
},
{
"content": "SELECT winning_span FROM table_1953516_1 WHERE name = \"Bernard Gallacher\"",
"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 (diameter__km_ INTEGER, latitude VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S?",
"role": "user"
},
{
"content": "SELECT MIN(diameter__km_) FROM table_name_78 WHERE latitude = \"52.0s\"",
"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 (party VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is Kerry J. Donley's Party?",
"role": "user"
},
{
"content": "SELECT party FROM table_name_48 WHERE name = \"kerry j. donley\"",
"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 (winners VARCHAR, runners_up VARCHAR)",
"role": "system"
},
{
"content": "Who was the winner when the runner-up was Guangzhou Apollo?",
"role": "user"
},
{
"content": "SELECT winners FROM table_name_34 WHERE runners_up = \"guangzhou apollo\"",
"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_95 (fuel_system VARCHAR, years VARCHAR)",
"role": "system"
},
{
"content": "What fuel system was used in 1960-62?",
"role": "user"
},
{
"content": "SELECT fuel_system FROM table_name_95 WHERE years = \"1960-62\"",
"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_1 (score VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "What was the score in Volkswagen Challenger tournament?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_1 WHERE tournament = \"volkswagen challenger\"",
"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 (callsign VARCHAR, icao VARCHAR)",
"role": "system"
},
{
"content": "Who is the callsign that has ICAO of SCO?",
"role": "user"
},
{
"content": "SELECT callsign FROM table_name_68 WHERE icao = \"sco\"",
"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 (day VARCHAR, _date VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "What is the day and date of game 2?",
"role": "user"
},
{
"content": "SELECT day, _date FROM table_name_20 WHERE game = \"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_31 (original_nfl_team VARCHAR, pos VARCHAR)",
"role": "system"
},
{
"content": "What is the Original NFL team of the CB Player?",
"role": "user"
},
{
"content": "SELECT original_nfl_team FROM table_name_31 WHERE pos = \"cb\"",
"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 (year VARCHAR, laps INTEGER)",
"role": "system"
},
{
"content": "What year had less than 36 laps?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_17 WHERE laps < 36",
"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 (home_team VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What was the home team's score when they played Richmond?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_13 WHERE away_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_23293785_3 (sf_round INTEGER, driver VARCHAR)",
"role": "system"
},
{
"content": "What round does Duncan Tappy drive in?",
"role": "user"
},
{
"content": "SELECT MAX(sf_round) FROM table_23293785_3 WHERE driver = \"Duncan Tappy\"",
"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 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR)",
"role": "system"
},
{
"content": "What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as the winner?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_74 WHERE owgr_points > 6 AND winner = \"ryu hyun-woo\"",
"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_1547951_3 (year VARCHAR, outcome VARCHAR, championship VARCHAR)",
"role": "system"
},
{
"content": "Name the total number of years where runner-up and championship is us open",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_1547951_3 WHERE outcome = \"Runner-up\" AND championship = \"US Open\"",
"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 (total VARCHAR, rank VARCHAR, bronze VARCHAR)",
"role": "system"
},
{
"content": "Name the total number of total for rank of 7 and bronze less than 1",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_68 WHERE rank = \"7\" AND bronze < 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_30 (fac___lc_g INTEGER, UEfa_yc VARCHAR, cl_g VARCHAR, total_apps VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of the FAC/LC G with a CL G less than 2, less than 5 total apps, and a UEFA YC greater than 0?",
"role": "user"
},
{
"content": "SELECT SUM(fac___lc_g) FROM table_name_30 WHERE cl_g < 2 AND total_apps < 5 AND UEfa_yc > 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_84 (ihsaa_class VARCHAR, size INTEGER)",
"role": "system"
},
{
"content": "Which IHSAA Class has a Size larger than 511?",
"role": "user"
},
{
"content": "SELECT ihsaa_class FROM table_name_84 WHERE size > 511",
"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 (home_team VARCHAR, crowd INTEGER)",
"role": "system"
},
{
"content": "Who was the home team when the crowd was larger than 13,557?",
"role": "user"
},
{
"content": "SELECT home_team FROM table_name_71 WHERE crowd > 13 OFFSET 557",
"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 (wins INTEGER, year VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "How many wins did the team, which had more than 110 points, have in 1989?",
"role": "user"
},
{
"content": "SELECT SUM(wins) FROM table_name_13 WHERE year = 1989 AND points > 110",
"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 (attendance INTEGER, date VARCHAR)",
"role": "system"
},
{
"content": "Date of november 29, 1959 had what lowest attendance?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_7 WHERE date = \"november 29, 1959\"",
"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 (composer VARCHAR, title VARCHAR)",
"role": "system"
},
{
"content": "Who is the composer of El Hanone?",
"role": "user"
},
{
"content": "SELECT composer FROM table_name_98 WHERE title = \"el hanone\"",
"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 staff (staff_id VARCHAR, staff_first_name VARCHAR); CREATE TABLE problems (problem_description VARCHAR, reported_by_staff_id VARCHAR)",
"role": "system"
},
{
"content": "Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop.",
"role": "user"
},
{
"content": "SELECT T1.problem_description FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\"",
"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 (entrant VARCHAR, engine VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "Which Entrant has an Engine of climax straight-4, and Points larger than 0?",
"role": "user"
},
{
"content": "SELECT entrant FROM table_name_44 WHERE engine = \"climax straight-4\" AND points > 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_21 (site_stadium VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Where was the game on May 9 played?",
"role": "user"
},
{
"content": "SELECT site_stadium FROM table_name_21 WHERE date = \"may 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_14015965_1 (town VARCHAR, arena__capacity_ VARCHAR)",
"role": "system"
},
{
"content": "What town is Volleyball Sportiv Complex (3 500) located in?",
"role": "user"
},
{
"content": "SELECT town FROM table_14015965_1 WHERE arena__capacity_ = \"Volleyball Sportiv Complex (3 500)\"",
"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 actor (Character VARCHAR, age VARCHAR)",
"role": "system"
},
{
"content": "What are the characters of actors in descending order of age?",
"role": "user"
},
{
"content": "SELECT Character FROM actor ORDER BY age DESC",
"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 (date VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "What was the date of the game with a loss of White (4-5)?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_34 WHERE loss = \"white (4-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_9 (attendance VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "How many people were in attendance for the game week 15?",
"role": "user"
},
{
"content": "SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15",
"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_72 (year INTEGER, nation_represented VARCHAR)",
"role": "system"
},
{
"content": "What is the latest result where a person from the Philippines won?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_name_72 WHERE nation_represented = \"philippines\"",
"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 (album VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the 1995 Album?",
"role": "user"
},
{
"content": "SELECT album FROM table_name_22 WHERE year = 1995",
"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 (place VARCHAR, mark VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the place of the rank 6 record, which has a mark greater than 91.29?",
"role": "user"
},
{
"content": "SELECT place FROM table_name_16 WHERE mark > 91.29 AND rank = 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_28846752_5 (Id VARCHAR)",
"role": "system"
},
{
"content": "what is the minimumfor 5wi?",
"role": "user"
},
{
"content": "SELECT MIN(5 AS wi) FROM table_28846752_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_91 (february VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "Which February has a Game of 40?",
"role": "user"
},
{
"content": "SELECT february FROM table_name_91 WHERE game = 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_63 (communist_ticket VARCHAR, office VARCHAR)",
"role": "system"
},
{
"content": "What is the name on the Communist ticket with an Office of judge of the court of appeals?",
"role": "user"
},
{
"content": "SELECT communist_ticket FROM table_name_63 WHERE office = \"judge of the court of appeals\"",
"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 (platelet_count VARCHAR, condition VARCHAR)",
"role": "system"
},
{
"content": "Which Platelet count has a Condition of factor v deficiency?",
"role": "user"
},
{
"content": "SELECT platelet_count FROM table_name_39 WHERE condition = \"factor v deficiency\"",
"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_59 (chinese VARCHAR, pali VARCHAR)",
"role": "system"
},
{
"content": "Which Chinese has a Pali of atappa?",
"role": "user"
},
{
"content": "SELECT chinese FROM table_name_59 WHERE pali = \"atappa\"",
"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_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "what was the gp/gs in 2003 when the total points was \"did not play\"?",
"role": "user"
},
{
"content": "SELECT gp_gs FROM table_name_96 WHERE total_points = \"did not play\" AND year = \"2003\"",
"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 (date VARCHAR, surface VARCHAR)",
"role": "system"
},
{
"content": "On which date did the tournament final with the clay surface take place?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_94 WHERE surface = \"clay\"",
"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_62 (onitoolsfiltering VARCHAR, fhfreepressreport VARCHAR, onisocialfiltering VARCHAR)",
"role": "system"
},
{
"content": "With a FHFreepressreport of 54, and ne as ONIsocialfiltering, what is the ONItoolsfiltering?",
"role": "user"
},
{
"content": "SELECT onitoolsfiltering FROM table_name_62 WHERE fhfreepressreport = \"54\" AND onisocialfiltering = \"ne\"",
"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 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)",
"role": "system"
},
{
"content": "Which Round has a School/Club Team of arizona, and a Pick smaller than 298?",
"role": "user"
},
{
"content": "SELECT MAX(round) FROM table_name_68 WHERE school_club_team = \"arizona\" AND pick < 298",
"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 (date VARCHAR, versus VARCHAR)",
"role": "system"
},
{
"content": "What date had a versus of source: cricinfo.com?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_93 WHERE versus = \"source: cricinfo.com\"",
"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_25386974_1 (races INTEGER)",
"role": "system"
},
{
"content": "What is the fewest number of races Pedro Nunes completed in any series?",
"role": "user"
},
{
"content": "SELECT MIN(races) FROM table_25386974_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_7 (score VARCHAR, team_1 VARCHAR)",
"role": "system"
},
{
"content": "What was the score for Team 1 of Stade Lavallois (d1)?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_7 WHERE team_1 = \"stade lavallois (d1)\"",
"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 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR)",
"role": "system"
},
{
"content": "What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?",
"role": "user"
},
{
"content": "SELECT board__cm_ FROM table_name_14 WHERE start = \"1940\" AND type = \"theater\" AND release > 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_76 (wins INTEGER, byes INTEGER)",
"role": "system"
},
{
"content": "What is the highest number of wins when there are more than 2 byes?",
"role": "user"
},
{
"content": "SELECT MAX(wins) FROM table_name_76 WHERE byes > 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_58 (coach VARCHAR, club VARCHAR)",
"role": "system"
},
{
"content": "Who was the coach for qadsia?",
"role": "user"
},
{
"content": "SELECT coach FROM table_name_58 WHERE club = \"qadsia\"",
"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 (position VARCHAR, team_from VARCHAR, pick__number VARCHAR)",
"role": "system"
},
{
"content": "Which Position has a Team from of ottawa 67's, and a Pick # smaller than 47?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_99 WHERE team_from = \"ottawa 67's\" AND pick__number < 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_1773908_3 (down__up_to_kbit_s_ INTEGER, provider VARCHAR)",
"role": "system"
},
{
"content": "What is download bandwith where the provider is deutsche telekom ag?",
"role": "user"
},
{
"content": "SELECT MAX(down__up_to_kbit_s_) FROM table_1773908_3 WHERE provider = \"Deutsche Telekom AG\"",
"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 (pos INTEGER, driver VARCHAR)",
"role": "system"
},
{
"content": "Which Pos has a Driver of brian scott (r)?",
"role": "user"
},
{
"content": "SELECT SUM(pos) FROM table_name_23 WHERE driver = \"brian scott (r)\"",
"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 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)",
"role": "system"
},
{
"content": "What team was the opponent in the 2008–09 season, with a final score of 2–3 l?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_43 WHERE season = \"2008–09\" AND final_score = \"2–3 l\"",
"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 (opponent VARCHAR, week INTEGER)",
"role": "system"
},
{
"content": "Which opponent was faced before week 2?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_44 WHERE 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_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)",
"role": "system"
},
{
"content": "What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3?",
"role": "user"
},
{
"content": "SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = \"bürger für groß-rohrheim\" AND _percentage_2006 < 21.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_2167226_3 (winning_score VARCHAR, margin_of_victory VARCHAR)",
"role": "system"
},
{
"content": "What is the winning score when 5 strokes is the margin of victory?",
"role": "user"
},
{
"content": "SELECT winning_score FROM table_2167226_3 WHERE margin_of_victory = \"5 strokes\"",
"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_25216791_3 (january_15_16 VARCHAR, march_27_29 VARCHAR)",
"role": "system"
},
{
"content": "What was the data on January 15-16 if March 27-29 is March 29, 2006?",
"role": "user"
},
{
"content": "SELECT january_15_16 FROM table_25216791_3 WHERE march_27_29 = \"March 29, 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 player (Team VARCHAR, Age VARCHAR)",
"role": "system"
},
{
"content": "Find the team of the player of the highest age.",
"role": "user"
},
{
"content": "SELECT Team FROM player ORDER BY Age DESC LIMIT 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_44 (driver_s_ VARCHAR, crew_chief VARCHAR)",
"role": "system"
},
{
"content": "What driver has Scott Zipadelli as a crew chief?",
"role": "user"
},
{
"content": "SELECT driver_s_ FROM table_name_44 WHERE crew_chief = \"scott zipadelli\"",
"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 (region VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What shows for region when the date is february 2006?",
"role": "user"
},
{
"content": "SELECT region FROM table_name_29 WHERE date = \"february 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_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)",
"role": "system"
},
{
"content": "List the states that have entry times of 49years, 29days",
"role": "user"
},
{
"content": "SELECT state_served FROM table_24415627_2 WHERE time_since_entry = \"49years, 29days\"",
"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_19 (nationality VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What nationality is Rob Nicholson?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_name_19 WHERE player = \"rob nicholson\"",
"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_20760407_1 (game INTEGER, bruins_points VARCHAR)",
"role": "system"
},
{
"content": "What game did the Bruins have 56 points?",
"role": "user"
},
{
"content": "SELECT MAX(game) FROM table_20760407_1 WHERE bruins_points = 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 employees (hire_date INTEGER)",
"role": "system"
},
{
"content": "display all the details from Employees table for those employees who was hired before 2002-06-21.",
"role": "user"
},
{
"content": "SELECT * FROM employees WHERE hire_date < '2002-06-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_16400024_1 (l2_cache VARCHAR, release_price___usd__ VARCHAR)",
"role": "system"
},
{
"content": "What is the l2 cache for the model with a release price of $669?",
"role": "user"
},
{
"content": "SELECT l2_cache FROM table_16400024_1 WHERE release_price___usd__ = \"$669\"",
"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_2847477_2 (english_name VARCHAR, pinyin VARCHAR)",
"role": "system"
},
{
"content": "What is the English name of gùshǐ xiàn?",
"role": "user"
},
{
"content": "SELECT english_name FROM table_2847477_2 WHERE pinyin = \"Gùshǐ Xiàn\"",
"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 (score VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is the Score on January 23?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_8 WHERE date = \"january 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_64 (location_of_the_church VARCHAR, sub_parish__sokn_ VARCHAR)",
"role": "system"
},
{
"content": "Where is the Church that has a Sub-Parish (Sokn) of rugsund?",
"role": "user"
},
{
"content": "SELECT location_of_the_church FROM table_name_64 WHERE sub_parish__sokn_ = \"rugsund\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.