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_83 (record VARCHAR, loss VARCHAR)", "role": "system" }, { "content": "Which Record that has a Loss of mays (0-3)?", "role": "user" }, { "content": "SELECT record FROM table_name_83 WHERE loss = \"mays (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_67 (venue VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the venue for the dates 7,8,10,11 Feb 1908?", "role": "user" }, { "content": "SELECT venue FROM table_name_67 WHERE date = \"7,8,10,11 feb 1908\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (name VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "What is the name for the Monza circuit race were Bugatti was the winning constructor?", "role": "user" }, { "content": "SELECT name FROM table_name_51 WHERE winning_constructor = \"bugatti\" AND circuit = \"monza\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (start INTEGER, span VARCHAR, conv VARCHAR)", "role": "system" }, { "content": "In 1990-2005 what is the lowest Start with Convs smaller than 2?", "role": "user" }, { "content": "SELECT MIN(start) FROM table_name_93 WHERE span = \"1990-2005\" AND conv < 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_60 (home_team VARCHAR, tie_no VARCHAR)", "role": "system" }, { "content": "Who was the home team when the Tie no was 7?", "role": "user" }, { "content": "SELECT home_team FROM table_name_60 WHERE tie_no = \"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_50 (week_15__final__dec_3 VARCHAR, week_12_nov_13 VARCHAR)", "role": "system" }, { "content": "What was Week 15 when Week 12 was Notre Dame (7-2)?", "role": "user" }, { "content": "SELECT week_15__final__dec_3 FROM table_name_50 WHERE week_12_nov_13 = \"notre dame (7-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_66 (director VARCHAR, film_title_used_in_nomination VARCHAR)", "role": "system" }, { "content": "Who is the Director that has a Film title of nick carter in prague?", "role": "user" }, { "content": "SELECT director FROM table_name_66 WHERE film_title_used_in_nomination = \"nick carter in prague\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (date VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What date was the score 1-8?", "role": "user" }, { "content": "SELECT date FROM table_name_96 WHERE score = \"1-8\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_48 (total INTEGER, country VARCHAR, to_par VARCHAR)", "role": "system" }, { "content": "Name the Total of australia and a To par smaller than 7?", "role": "user" }, { "content": "SELECT MIN(total) FROM table_name_48 WHERE country = \"australia\" AND to_par < 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_37 (navigator VARCHAR, total_time VARCHAR)", "role": "system" }, { "content": "Which Navigator has a Total Time of 08:29?", "role": "user" }, { "content": "SELECT navigator FROM table_name_37 WHERE total_time = \"08: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_96 (city VARCHAR, stadium VARCHAR)", "role": "system" }, { "content": "Which City has a Stadium of estadio san cristóbal?", "role": "user" }, { "content": "SELECT city FROM table_name_96 WHERE stadium = \"estadio san cristóbal\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (previous_club VARCHAR, date_of_birth VARCHAR)", "role": "system" }, { "content": "What previous club was born on October 22, 1993?", "role": "user" }, { "content": "SELECT previous_club FROM table_name_48 WHERE date_of_birth = \"october 22, 1993\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (goals INTEGER, player VARCHAR, games VARCHAR)", "role": "system" }, { "content": "What is the lowest goals listed for player Sid O'neill, with Games larger than 1?", "role": "user" }, { "content": "SELECT MIN(goals) FROM table_name_91 WHERE player = \"sid o'neill\" AND games > 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_32 (Id VARCHAR)", "role": "system" }, { "content": "What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009?", "role": "user" }, { "content": "SELECT 2004 FROM table_name_32 WHERE 2005 = \"a\" AND 2009 = \"q1\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (number_of_districts__kecamatan_ INTEGER, villages VARCHAR, geographical_unit VARCHAR, number_of_regencies__kabupaten_ VARCHAR)", "role": "system" }, { "content": "What is the sum of the number of districts (kecamatan) in the geographical unit of java with more than 4 recencies (kabupaten) and less than 8,577 villages?", "role": "user" }, { "content": "SELECT SUM(number_of_districts__kecamatan_) FROM table_name_4 WHERE geographical_unit = \"java\" AND number_of_regencies__kabupaten_ > 4 AND villages < 8 OFFSET 577", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1342198_38 (party VARCHAR, first_elected VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "What is the party for first elected 1948 for william t. granahan", "role": "user" }, { "content": "SELECT party FROM table_1342198_38 WHERE first_elected = 1948 AND incumbent = \"William T. Granahan\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (founded INTEGER, team VARCHAR)", "role": "system" }, { "content": "What is the mean Founded number when the team is the Baton Rouge Blaze?", "role": "user" }, { "content": "SELECT AVG(founded) FROM table_name_96 WHERE team = \"baton rouge blaze\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)", "role": "system" }, { "content": "What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?", "role": "user" }, { "content": "SELECT tyre FROM table_name_87 WHERE entrant = \"sa alfa romeo\" AND 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_29 (region VARCHAR, label VARCHAR)", "role": "system" }, { "content": "What is the Region of the Warner Music Canada Label release?", "role": "user" }, { "content": "SELECT region FROM table_name_29 WHERE label = \"warner music canada\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "what is the winner of meridiana", "role": "user" }, { "content": "SELECT owner FROM table_name_35 WHERE winner = \"meridiana\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR)", "role": "system" }, { "content": "Name the number of points for october 11", "role": "user" }, { "content": "SELECT MAX(points_for) FROM table_15607589_2 WHERE date = \"October 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_25 (main_use VARCHAR, town VARCHAR)", "role": "system" }, { "content": "What is the main use for the structure listed in walker city, iowa?", "role": "user" }, { "content": "SELECT main_use FROM table_name_25 WHERE town = \"walker city, iowa\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)", "role": "system" }, { "content": "Which Date has a Game of 4?", "role": "user" }, { "content": "SELECT date FROM table_name_33 WHERE game = 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_11391448_2 (record VARCHAR, week VARCHAR)", "role": "system" }, { "content": "What was the record at week 7", "role": "user" }, { "content": "SELECT record FROM table_11391448_2 WHERE week = 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_40 (release_date VARCHAR, series VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What is the release date of the mm series, which has the title tom thumb in trouble?", "role": "user" }, { "content": "SELECT release_date FROM table_name_40 WHERE series = \"mm\" AND title = \"tom thumb in trouble\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (draw VARCHAR, performer VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the total number of draws for songs performed by Miranda with fewer than 48 points?", "role": "user" }, { "content": "SELECT COUNT(draw) FROM table_name_64 WHERE performer = \"miranda\" AND points < 48", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (home_team VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Which home team had a score of 85-101?", "role": "user" }, { "content": "SELECT home_team FROM table_name_7 WHERE score = \"85-101\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28051859_3 (colors VARCHAR, school VARCHAR)", "role": "system" }, { "content": "What are the colors of the Hudson school?", "role": "user" }, { "content": "SELECT colors FROM table_28051859_3 WHERE school = \"Hudson\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_32 (event_2 VARCHAR, air_date VARCHAR)", "role": "system" }, { "content": "What was the 2nd event aired on 8 June 2008?", "role": "user" }, { "content": "SELECT event_2 FROM table_name_32 WHERE air_date = \"8 june 2008\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25381437_2 (shot_pct VARCHAR, pa VARCHAR)", "role": "system" }, { "content": "How many results are listed for shot PCT Where PA is 79?", "role": "user" }, { "content": "SELECT COUNT(shot_pct) FROM table_25381437_2 WHERE pa = 79", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27487712_1 (incumbent VARCHAR, elected VARCHAR)", "role": "system" }, { "content": "Who was the incumbent for the election in 1978?", "role": "user" }, { "content": "SELECT incumbent FROM table_27487712_1 WHERE elected = 1978", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1603807_2 (terminals VARCHAR, line VARCHAR)", "role": "system" }, { "content": "What are the terminals for line 2?", "role": "user" }, { "content": "SELECT terminals FROM table_1603807_2 WHERE line = \"line 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 Video_games (gname VARCHAR, gtype VARCHAR)", "role": "system" }, { "content": "Show all video games and their types in the order of their names.", "role": "user" }, { "content": "SELECT gname, gtype FROM Video_games ORDER BY gname", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (series VARCHAR, home VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Which series is based in Toronto on may 18?", "role": "user" }, { "content": "SELECT series FROM table_name_3 WHERE home = \"toronto\" AND date = \"may 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_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)", "role": "system" }, { "content": "Who has a round of 3 with a method of decision?", "role": "user" }, { "content": "SELECT opponent FROM table_name_68 WHERE round = \"3\" AND method = \"decision\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25762852_1 (snowfall__in_year_ INTEGER, name VARCHAR)", "role": "system" }, { "content": "What is the snowfall for ski resort Snowmass?", "role": "user" }, { "content": "SELECT MAX(snowfall__in_year_) FROM table_25762852_1 WHERE name = \"Snowmass\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (sack INTEGER, yards VARCHAR, solo VARCHAR, tackles VARCHAR)", "role": "system" }, { "content": "What is the lowest Sack with a Solo of 24, with Tackles larger than 25.5, with Yards larger than 0?", "role": "user" }, { "content": "SELECT MIN(sack) FROM table_name_1 WHERE solo = 24 AND tackles > 25.5 AND yards > 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_42 (league INTEGER, scottish_cup INTEGER)", "role": "system" }, { "content": "Which League Cup has a Scottish Cup larger than 69?", "role": "user" }, { "content": "SELECT SUM(league) AS Cup FROM table_name_42 WHERE scottish_cup > 69", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (country VARCHAR, director_s_ VARCHAR)", "role": "system" }, { "content": "What Country has a Director of 2007?", "role": "user" }, { "content": "SELECT country FROM table_name_43 WHERE director_s_ = \"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_6 (call_sign VARCHAR, branding VARCHAR)", "role": "system" }, { "content": "What's the call sign if the branding is 1062 DXKI Koronadal?", "role": "user" }, { "content": "SELECT call_sign FROM table_name_6 WHERE branding = \"1062 dxki koronadal\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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_6 (transit_passengers VARCHAR, airport VARCHAR)", "role": "system" }, { "content": "How many transit passengers at london gatwick?", "role": "user" }, { "content": "SELECT transit_passengers FROM table_13836704_6 WHERE airport = \"London Gatwick\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29846807_5 (record VARCHAR, team VARCHAR)", "role": "system" }, { "content": "When boston university is the team what is the record?", "role": "user" }, { "content": "SELECT record FROM table_29846807_5 WHERE team = \"Boston University\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (circuit VARCHAR, date VARCHAR, class VARCHAR)", "role": "system" }, { "content": "On what circuit is there a class gts-2 race that takes place on May 27?", "role": "user" }, { "content": "SELECT circuit FROM table_name_68 WHERE date = \"may 27\" AND class = \"gts-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_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)", "role": "system" }, { "content": "How many times was revenue in millions recorded when the spending per capita was $6,736?", "role": "user" }, { "content": "SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = \"$6,736\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (election_date INTEGER, number_of_deputies VARCHAR, number_of_votes_received VARCHAR)", "role": "system" }, { "content": "What was the average election year that has less than 136 deputies, and 1,560,753 votes received?", "role": "user" }, { "content": "SELECT AVG(election_date) FROM table_name_86 WHERE number_of_deputies < 136 AND number_of_votes_received = \"1,560,753\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (semifinal VARCHAR, athlete VARCHAR)", "role": "system" }, { "content": "Hossein Ojaghi participated in what semifinal.", "role": "user" }, { "content": "SELECT semifinal FROM table_name_4 WHERE athlete = \"hossein ojaghi\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE list (firstname VARCHAR, lastname VARCHAR, classroom VARCHAR, grade VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)", "role": "system" }, { "content": "Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names.", "role": "user" }, { "content": "SELECT DISTINCT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = \"OTHA\" AND T2.lastname = \"MOYER\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR)", "role": "system" }, { "content": "How many episodes did Matthew Penn direct before season 22?", "role": "user" }, { "content": "SELECT COUNT(series__number) FROM table_name_20 WHERE season__number < 22 AND directed_by = \"matthew penn\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (date VARCHAR, athlete VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What is the Date when yelena isinbayeva was the Athlete, with a Record of 4.90m(16ft0¾in)?", "role": "user" }, { "content": "SELECT date FROM table_name_45 WHERE athlete = \"yelena isinbayeva\" AND record = \"4.90m(16ft0¾in)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR)", "role": "system" }, { "content": "Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0?", "role": "user" }, { "content": "SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = \"portugal\" AND bronze > 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_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)", "role": "system" }, { "content": "Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).", "role": "user" }, { "content": "SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE tower_height_in_ft__m_ = \"46ft (14.0m)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (year INTEGER, notes VARCHAR)", "role": "system" }, { "content": "What was the earliest year with a note of 18.04 m wl?", "role": "user" }, { "content": "SELECT MIN(year) FROM table_name_48 WHERE notes = \"18.04 m wl\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341522_13 (party VARCHAR, district VARCHAR)", "role": "system" }, { "content": "What party won in the district Georgia7?", "role": "user" }, { "content": "SELECT party FROM table_1341522_13 WHERE district = \"Georgia7\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (year INTEGER, version VARCHAR)", "role": "system" }, { "content": "What year had a version called Wolf Mix?", "role": "user" }, { "content": "SELECT AVG(year) FROM table_name_11 WHERE version = \"wolf mix\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18335117_5 (original_air_date VARCHAR, director VARCHAR, writer VARCHAR)", "role": "system" }, { "content": "Name the original air date for barnaby southcomb for charlie martin", "role": "user" }, { "content": "SELECT original_air_date FROM table_18335117_5 WHERE director = \"Barnaby Southcomb\" AND writer = \"Charlie Martin\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2638104_1 (signal_power VARCHAR, callsign VARCHAR)", "role": "system" }, { "content": "What is the signal power for JOAB-DTV?", "role": "user" }, { "content": "SELECT signal_power FROM table_2638104_1 WHERE callsign = \"JOAB-DTV\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12121208_1 (womens_singles VARCHAR, mens_singles VARCHAR)", "role": "system" }, { "content": "Who won the womens singles when Marc Zwiebler won the men's singles?", "role": "user" }, { "content": "SELECT womens_singles FROM table_12121208_1 WHERE mens_singles = \"Marc Zwiebler\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (host_team VARCHAR, visiting_team VARCHAR)", "role": "system" }, { "content": "Which host team played against the New England Patriots?", "role": "user" }, { "content": "SELECT host_team FROM table_name_29 WHERE visiting_team = \"new england patriots\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14342480_7 (touchdowns INTEGER)", "role": "system" }, { "content": "What is the least amount of touchdowns scored on the chart?", "role": "user" }, { "content": "SELECT MIN(touchdowns) FROM table_14342480_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_1805191_33 (district VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "How many districts have the incumbent, Charles Rangel? ", "role": "user" }, { "content": "SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = \"Charles Rangel\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Who was the host country in 2007?", "role": "user" }, { "content": "SELECT host_country___countries FROM table_name_3 WHERE year = \"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_15416002_1 (saffir_simpson_category INTEGER)", "role": "system" }, { "content": "What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index?", "role": "user" }, { "content": "SELECT MAX(saffir_simpson_category) FROM table_15416002_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_20466963_4 (date VARCHAR, guest_4 VARCHAR)", "role": "system" }, { "content": "How many dates are associated with a guest 4 being Jim Jeffries (debut)?", "role": "user" }, { "content": "SELECT COUNT(date) FROM table_20466963_4 WHERE guest_4 = \"Jim Jeffries (debut)\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (date VARCHAR, centerfold_model VARCHAR)", "role": "system" }, { "content": "When was Shannon Long the Centerfold model?", "role": "user" }, { "content": "SELECT date FROM table_name_15 WHERE centerfold_model = \"shannon long\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (start VARCHAR, rank VARCHAR)", "role": "system" }, { "content": "What is the start value for rank 11?", "role": "user" }, { "content": "SELECT start FROM table_name_31 WHERE rank = \"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 Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (YEAR INTEGER); CREATE TABLE Movie (year VARCHAR, mID VARCHAR)", "role": "system" }, { "content": "What is the maximum stars and year for the most recent movie?", "role": "user" }, { "content": "SELECT MAX(T1.stars), T2.year FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.year = (SELECT MAX(YEAR) FROM Movie)", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (house VARCHAR, four VARCHAR)", "role": "system" }, { "content": "What is \"house\", when \"four\" is \"opat\"?", "role": "user" }, { "content": "SELECT house FROM table_name_89 WHERE four = \"opat\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)", "role": "system" }, { "content": "What is the name of the player with a To par of –4?", "role": "user" }, { "content": "SELECT player FROM table_name_41 WHERE to_par = \"–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_6 (opponent VARCHAR, week VARCHAR)", "role": "system" }, { "content": "Name the opponent for week of 2", "role": "user" }, { "content": "SELECT opponent FROM table_name_6 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_21094951_1 (black_knights_points INTEGER, result VARCHAR)", "role": "system" }, { "content": "Name the black knights points for loss result", "role": "user" }, { "content": "SELECT MAX(black_knights_points) FROM table_21094951_1 WHERE result = \"Loss\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_159614_2 (opinion_research_centre__opc_ VARCHAR, national_opinion_polls__nop_ VARCHAR)", "role": "system" }, { "content": "On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? ", "role": "user" }, { "content": "SELECT opinion_research_centre__opc_ FROM table_159614_2 WHERE national_opinion_polls__nop_ = \"1.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_8 (pilot VARCHAR, place VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is Pilot, when Place is \"Goose Green\", and when Date is \"27 May 1982\"?", "role": "user" }, { "content": "SELECT pilot FROM table_name_8 WHERE place = \"goose green\" AND date = \"27 may 1982\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23812628_1 (points VARCHAR, team__number1 VARCHAR)", "role": "system" }, { "content": "Name the points for zamora", "role": "user" }, { "content": "SELECT points FROM table_23812628_1 WHERE team__number1 = \"Zamora\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (jianshu INTEGER, rank VARCHAR, qiangshu VARCHAR)", "role": "system" }, { "content": "What is the average Jianshu higher than rank 2, with a Qiangshu smaller than 9.85?", "role": "user" }, { "content": "SELECT AVG(jianshu) FROM table_name_29 WHERE rank < 2 AND qiangshu < 9.85", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)", "role": "system" }, { "content": "What was the lowest fumble with an average of less than 5.7 and 236 yards?", "role": "user" }, { "content": "SELECT MIN(fumbles) FROM table_name_35 WHERE avg < 5.7 AND yards = 236", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (penanced VARCHAR, executions_in_effigie VARCHAR, total VARCHAR)", "role": "system" }, { "content": "How many were penanced with 0 executions in effigie for a total of 21?", "role": "user" }, { "content": "SELECT penanced FROM table_name_65 WHERE executions_in_effigie = \"0\" AND total = \"21\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (attendance VARCHAR, loss VARCHAR)", "role": "system" }, { "content": "How many in attendance with a loss of volquez (1–4)?", "role": "user" }, { "content": "SELECT attendance FROM table_name_57 WHERE loss = \"volquez (1–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_88 (deputy VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What is the name of the Deputy when the Name was elizabeth black?", "role": "user" }, { "content": "SELECT deputy FROM table_name_88 WHERE name = \"elizabeth black\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (result VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the result of the game played on 17 July 2008?", "role": "user" }, { "content": "SELECT result FROM table_name_42 WHERE date = \"17 july 2008\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE department (dept_name VARCHAR, building VARCHAR, budget VARCHAR)", "role": "system" }, { "content": "Find the name and building of the department with the highest budget.", "role": "user" }, { "content": "SELECT dept_name, building FROM department ORDER BY budget 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_92 (year_s__of_manufacture VARCHAR, axle_arrangement VARCHAR)", "role": "system" }, { "content": "Which Year(s) of manufacture has an Axle arrangement of 2′b n2?", "role": "user" }, { "content": "SELECT year_s__of_manufacture FROM table_name_92 WHERE axle_arrangement = \"2′b n2\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (name VARCHAR, term_ending VARCHAR, nationality VARCHAR)", "role": "system" }, { "content": "Term Ending smaller than 2018, and a Nationality of new zealand what is the name?", "role": "user" }, { "content": "SELECT name FROM table_name_85 WHERE term_ending < 2018 AND nationality = \"new zealand\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (decile INTEGER, roll VARCHAR, years VARCHAR, authority VARCHAR)", "role": "system" }, { "content": "What is the largest Decile with Years of 1–8, anAuthority of state, and a Roll of 141?", "role": "user" }, { "content": "SELECT MAX(decile) FROM table_name_46 WHERE years = \"1–8\" AND authority = \"state\" AND roll = 141", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (to_par VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What is the To par of the New Zealand Player?", "role": "user" }, { "content": "SELECT to_par FROM table_name_79 WHERE country = \"new zealand\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (colors VARCHAR, division VARCHAR, nickname VARCHAR)", "role": "system" }, { "content": "What are the colors for the division 2 team with the nickname, the seahawks?", "role": "user" }, { "content": "SELECT colors FROM table_name_74 WHERE division = \"division 2\" AND nickname = \"seahawks\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR)", "role": "system" }, { "content": "What was the date that the episode with a production code of 213 was originally aired?", "role": "user" }, { "content": "SELECT original_us_air_date FROM table_21831229_3 WHERE prod_code = 213", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (played INTEGER, losses VARCHAR, position VARCHAR)", "role": "system" }, { "content": "What is the sum of Played, when Losses is \"13\", and when Position is greater than 11?", "role": "user" }, { "content": "SELECT SUM(played) FROM table_name_88 WHERE losses = 13 AND position > 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_30 (round VARCHAR, track VARCHAR)", "role": "system" }, { "content": "What Round has the Track Winton?", "role": "user" }, { "content": "SELECT round FROM table_name_30 WHERE track = \"winton\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2101431_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)", "role": "system" }, { "content": "Which episode was watched by 7.2 million viewers?", "role": "user" }, { "content": "SELECT episode FROM table_2101431_1 WHERE viewers__in_millions_ = \"7.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_91 (match INTEGER, attnd VARCHAR, result VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "Which match had more than 1,490 people in attendance to watch FCR 2001 Duisburg have a result of 0:3 (0:2)?", "role": "user" }, { "content": "SELECT SUM(match) FROM table_name_91 WHERE result = \"0:3 (0:2)\" AND opponent = \"fcr 2001 duisburg\" AND attnd > 1 OFFSET 490", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR)", "role": "system" }, { "content": "Who wrote season 10", "role": "user" }, { "content": "SELECT written_by FROM table_17355743_1 WHERE season__number = 10", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)", "role": "system" }, { "content": "How much silver does the rank have that has gold smaller than 4, and a total of 1 and a rank larger than 6?", "role": "user" }, { "content": "SELECT SUM(silver) FROM table_name_34 WHERE gold < 4 AND total = 1 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_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)", "role": "system" }, { "content": "What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?", "role": "user" }, { "content": "SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = \"1.0\" AND cell_type = \"median giant fiber\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (against VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR)", "role": "system" }, { "content": "Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36?", "role": "user" }, { "content": "SELECT COUNT(against) FROM table_name_26 WHERE drawn < 5 AND lost < 6 AND points > 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_48 (year INTEGER, entrant VARCHAR)", "role": "system" }, { "content": "What year did Bryant Heating enter?", "role": "user" }, { "content": "SELECT SUM(year) FROM table_name_48 WHERE entrant = \"bryant heating\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (goals INTEGER, name VARCHAR)", "role": "system" }, { "content": "What is the greatest Goals with a Name of samuel eto'o?", "role": "user" }, { "content": "SELECT MAX(goals) FROM table_name_34 WHERE name = \"samuel eto'o\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (country VARCHAR, director VARCHAR)", "role": "system" }, { "content": "What is the Country of origin for the film directed by George Miller?", "role": "user" }, { "content": "SELECT country FROM table_name_3 WHERE director = \"george miller\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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_1 (location VARCHAR, stadium VARCHAR)", "role": "system" }, { "content": "Where is Westpac Stadium located? ", "role": "user" }, { "content": "SELECT location FROM table_1301373_1 WHERE stadium = \"Westpac stadium\"", "role": "assistant" } ]
[ { "content": "You are an text to SQL query 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 (money___ INTEGER, score VARCHAR)", "role": "system" }, { "content": "What is the highest amount of money a player with a score of 69-71-71-73=284 has?", "role": "user" }, { "content": "SELECT MAX(money___) AS $__ FROM table_name_76 WHERE score = 69 - 71 - 71 - 73 = 284", "role": "assistant" } ]
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25042332_16 (region VARCHAR, below_50_percentage_of_median_income VARCHAR)", "role": "system" }, { "content": "In what region does 17.4% of the population make below 50% of the median income?", "role": "user" }, { "content": "SELECT region FROM table_25042332_16 WHERE below_50_percentage_of_median_income = \"17.4%\"", "role": "assistant" } ]