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_20 (date VARCHAR, high_assists VARCHAR)",
"role": "system"
},
{
"content": "What date did Ben Gordon (8) have high assists?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_20 WHERE high_assists = \"ben gordon (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_15475116_1 (league VARCHAR, nickname VARCHAR)",
"role": "system"
},
{
"content": "What league does the team with the nickname Cavaliers belong to",
"role": "user"
},
{
"content": "SELECT league FROM table_15475116_1 WHERE nickname = \"Cavaliers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26178824_1 (f_laps INTEGER)",
"role": "system"
},
{
"content": "what are the maximum f/laps?",
"role": "user"
},
{
"content": "SELECT MAX(f_laps) FROM table_26178824_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_74 (time_retired VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "What was the time of the driver who had a grid of 22?",
"role": "user"
},
{
"content": "SELECT time_retired FROM table_name_74 WHERE grid = \"22\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (Id VARCHAR)",
"role": "system"
},
{
"content": "What is the 1998 value if the 2011 value is 30.4?",
"role": "user"
},
{
"content": "SELECT 1998 FROM table_name_86 WHERE 2011 = \"30.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 race (CLASS VARCHAR)",
"role": "system"
},
{
"content": "Show the race class and number of races in each class.",
"role": "user"
},
{
"content": "SELECT CLASS, COUNT(*) FROM race GROUP BY CLASS",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)",
"role": "system"
},
{
"content": "What year did Shelley Winters win?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_13 WHERE actress = \"shelley winters\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (position VARCHAR, notes VARCHAR)",
"role": "system"
},
{
"content": "What position has notes of 2:12:53?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_7 WHERE notes = \"2:12:53\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1671401_2 (top_5 INTEGER, avg_finish VARCHAR)",
"role": "system"
},
{
"content": "Name the max top 5 for 5.0 avg finish",
"role": "user"
},
{
"content": "SELECT MAX(top_5) FROM table_1671401_2 WHERE avg_finish = \"5.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_14 (date VARCHAR, registration VARCHAR)",
"role": "system"
},
{
"content": "When was the registration of tc-jes?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_14 WHERE registration = \"tc-jes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "On what date was the Competition of Friendly held?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_70 WHERE competition = \"friendly\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (player VARCHAR, country VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What player has The United States as the country with 70 as the score?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_91 WHERE country = \"united states\" AND score = 70",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Faculty (FacID VARCHAR); CREATE TABLE Student (advisor VARCHAR)",
"role": "system"
},
{
"content": "Show the faculty id of each faculty member, along with the number of students he or she advises.",
"role": "user"
},
{
"content": "SELECT T1.FacID, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (host VARCHAR, city VARCHAR)",
"role": "system"
},
{
"content": "Which university hosted in Long Beach?",
"role": "user"
},
{
"content": "SELECT host FROM table_name_12 WHERE city = \"long beach\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "How many years had a Venue of eindhoven?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_name_88 WHERE venue = \"eindhoven\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (result VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "What was the result for week 16?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_36 WHERE week = 16",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_54 (round INTEGER, name VARCHAR)",
"role": "system"
},
{
"content": "What is the smallest round associated with Samuel Scheschuk?",
"role": "user"
},
{
"content": "SELECT MIN(round) FROM table_name_54 WHERE name = \"samuel scheschuk\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (top_5 INTEGER, cuts_made VARCHAR)",
"role": "system"
},
{
"content": "What is the least Top-5 when 1 is the cuts made?",
"role": "user"
},
{
"content": "SELECT MIN(top_5) FROM table_name_36 WHERE cuts_made = 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_11680175_1 (year VARCHAR, Neu VARCHAR, vehlefanz VARCHAR)",
"role": "system"
},
{
"content": "How many years where Neu-Vehlefanz had a number of 365?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_11680175_1 WHERE Neu - vehlefanz = 365",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21035326_1 (opponent VARCHAR, golden_bears_points VARCHAR)",
"role": "system"
},
{
"content": "What opponent was playing against the Golden Bears when they scored 3 points?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_21035326_1 WHERE golden_bears_points = 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_24248450_3 (tournament_winner VARCHAR, conference VARCHAR)",
"role": "system"
},
{
"content": "Who won the tournament for the Atlantic Sun Conference?",
"role": "user"
},
{
"content": "SELECT tournament_winner FROM table_24248450_3 WHERE conference = \"Atlantic Sun conference\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (purpose VARCHAR, freq_currently VARCHAR)",
"role": "system"
},
{
"content": "What is the Purpose of the Callsign with a Freq currently of 4rph?",
"role": "user"
},
{
"content": "SELECT purpose FROM table_name_43 WHERE freq_currently = \"4rph\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR)",
"role": "system"
},
{
"content": "What was the average position of car number 59?",
"role": "user"
},
{
"content": "SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (frequency VARCHAR, format VARCHAR)",
"role": "system"
},
{
"content": "WHich Frequency has a Format of country / news / sports?",
"role": "user"
},
{
"content": "SELECT frequency FROM table_name_67 WHERE format = \"country / news / sports\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE country (Population INTEGER, GNP INTEGER, Continent VARCHAR)",
"role": "system"
},
{
"content": "What is the total population and maximum GNP in Asia?",
"role": "user"
},
{
"content": "SELECT SUM(Population), MAX(GNP) FROM country WHERE Continent = \"Asia\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (rank VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What is the Rank of the rower with a Time of 8:23.02?",
"role": "user"
},
{
"content": "SELECT COUNT(rank) FROM table_name_35 WHERE time = \"8:23.02\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR)",
"role": "system"
},
{
"content": "What is the result at the Masters for the player who finished R16 at the PGA Ch.?",
"role": "user"
},
{
"content": "SELECT masters FROM table_1506950_9 WHERE pga_ch = \"R16\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2147588_4 (district VARCHAR, successor VARCHAR)",
"role": "system"
},
{
"content": "When william b. campbell (u) is the successor what is the district?",
"role": "user"
},
{
"content": "SELECT district FROM table_2147588_4 WHERE successor = \"William B. Campbell (U)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (starts INTEGER, wins INTEGER)",
"role": "system"
},
{
"content": "On average, how many Starts have Wins that are smaller than 0?",
"role": "user"
},
{
"content": "SELECT AVG(starts) FROM table_name_86 WHERE wins < 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_11734041_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR)",
"role": "system"
},
{
"content": "What is the height of the player who attended Hartford?",
"role": "user"
},
{
"content": "SELECT height_in_ft FROM table_11734041_2 WHERE school_club_team_country = \"Hartford\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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, attendance VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Which opponent has unknown attendance, and lost 2-0?",
"role": "user"
},
{
"content": "SELECT opponent FROM table_name_43 WHERE attendance = \"unknown\" AND result = \"lost 2-0\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (rank VARCHAR, nation VARCHAR, gold VARCHAR)",
"role": "system"
},
{
"content": "What is the total rank with a Nation of gotland, and a Gold larger than 23?",
"role": "user"
},
{
"content": "SELECT COUNT(rank) FROM table_name_34 WHERE nation = \"gotland\" AND gold > 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_57 (race VARCHAR, winning_horse VARCHAR, distance VARCHAR)",
"role": "system"
},
{
"content": "what race did Dominican win with a distance of 1-1/16 miles?",
"role": "user"
},
{
"content": "SELECT race FROM table_name_57 WHERE winning_horse = \"dominican\" AND distance = \"1-1/16 miles\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10818465_1 (ru INTEGER)",
"role": "system"
},
{
"content": "What is the lowest ru?",
"role": "user"
},
{
"content": "SELECT MIN(ru) FROM table_10818465_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_77 (elevation__ft_ INTEGER, isolation VARCHAR, range VARCHAR, peak_name VARCHAR)",
"role": "system"
},
{
"content": "WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54?",
"role": "user"
},
{
"content": "SELECT AVG(elevation__ft_) FROM table_name_77 WHERE range = \"unaka mountains\" AND peak_name = \"roan high bluff\" AND isolation > 1.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_11960944_4 (high_points VARCHAR, high_rebounds VARCHAR, high_assists VARCHAR)",
"role": "system"
},
{
"content": "how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)?",
"role": "user"
},
{
"content": "SELECT COUNT(high_points) FROM table_11960944_4 WHERE high_rebounds = \"McDyess (9)\" AND high_assists = \"Billups (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_83 (Id VARCHAR)",
"role": "system"
},
{
"content": "What's the 2007 result when 2003 is a?",
"role": "user"
},
{
"content": "SELECT 2007 FROM table_name_83 WHERE 2003 = \"a\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (season VARCHAR, runner_up VARCHAR)",
"role": "system"
},
{
"content": "During which Season was the tournament in progress?",
"role": "user"
},
{
"content": "SELECT season FROM table_name_64 WHERE runner_up = \"tournament in progress\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11019212_1 (wednesday VARCHAR, monday VARCHAR)",
"role": "system"
},
{
"content": "what's the wednesday time with monday being 10:00-8:00",
"role": "user"
},
{
"content": "SELECT wednesday FROM table_11019212_1 WHERE monday = \"10:00-8:00\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_10 (clubs VARCHAR, seasons_at_this_level VARCHAR)",
"role": "system"
},
{
"content": "Which club has played for 27 seasons at this level?",
"role": "user"
},
{
"content": "SELECT clubs FROM table_name_10 WHERE seasons_at_this_level = \"27 seasons\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What was Team Dnepr's position in 2006?",
"role": "user"
},
{
"content": "SELECT position_in_2006 FROM table_name_77 WHERE team = \"dnepr\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_30120566_1 (barony VARCHAR, townland VARCHAR)",
"role": "system"
},
{
"content": "What barony is Ballycunningham in?",
"role": "user"
},
{
"content": "SELECT barony FROM table_30120566_1 WHERE townland = \"Ballycunningham\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "For the Indian Wells Masters tournament, what was the country?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_96 WHERE tournament = \"indian wells masters\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (netflix VARCHAR, segment_b VARCHAR)",
"role": "system"
},
{
"content": "Segment B of aerospace fuel lines is what netflix episode?",
"role": "user"
},
{
"content": "SELECT netflix FROM table_name_99 WHERE segment_b = \"aerospace fuel lines\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (combativity_award VARCHAR, winner VARCHAR)",
"role": "system"
},
{
"content": "Name the combativity award with winner of luis león sánchez",
"role": "user"
},
{
"content": "SELECT combativity_award FROM table_name_13 WHERE winner = \"luis león sánchez\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (replaced_by VARCHAR, date_of_vacancy VARCHAR)",
"role": "system"
},
{
"content": "Who was hired to fill the spot that became vacant on 3 March 2009?",
"role": "user"
},
{
"content": "SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = \"3 march 2009\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (away_team VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "Who was the away team when North Melbourne was the home team?",
"role": "user"
},
{
"content": "SELECT away_team FROM table_name_17 WHERE home_team = \"north melbourne\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (wins VARCHAR, points VARCHAR, finishes VARCHAR, starts VARCHAR)",
"role": "system"
},
{
"content": "What is the number of wins associated with 1 point, more than 1 start, and under 7 finishes?",
"role": "user"
},
{
"content": "SELECT wins FROM table_name_68 WHERE finishes < 7 AND starts > 1 AND points = 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_27715173_10 (score VARCHAR, high_rebounds VARCHAR)",
"role": "system"
},
{
"content": "What was the team score when Tim Duncan (12) got the high rebounds?",
"role": "user"
},
{
"content": "SELECT score FROM table_27715173_10 WHERE high_rebounds = \"Tim Duncan (12)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1342149_11 (result VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What was the result of the election when Tic Forrester ran as an incumbent?",
"role": "user"
},
{
"content": "SELECT result FROM table_1342149_11 WHERE incumbent = \"Tic Forrester\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tie_no VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What is the Tie no listed for the Away team of Barnet?",
"role": "user"
},
{
"content": "SELECT tie_no FROM table_name_13 WHERE away_team = \"barnet\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (draw VARCHAR, artist VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the total number of Draw that has the Artist of de spelbrekers, and the Points smaller than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(draw) FROM table_name_59 WHERE artist = \"de spelbrekers\" 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_84 (first_used VARCHAR, quantity VARCHAR)",
"role": "system"
},
{
"content": "Which First used has a Quantity of 26?",
"role": "user"
},
{
"content": "SELECT first_used FROM table_name_84 WHERE quantity = 26",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (vehicle VARCHAR, class VARCHAR)",
"role": "system"
},
{
"content": "Which vehicle has a class 6c3g?",
"role": "user"
},
{
"content": "SELECT vehicle FROM table_name_20 WHERE class = \"6c3g\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (location VARCHAR, opponent_team VARCHAR)",
"role": "system"
},
{
"content": "Where was the game when Police S.A. was the opponent?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_78 WHERE opponent_team = \"police s.a.\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL 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); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)",
"role": "system"
},
{
"content": "Find all students taught by MARROTTE KIRK. Output first and last names of students.",
"role": "user"
},
{
"content": "SELECT T1.firstname, T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = \"MARROTTE\" AND T2.lastname = \"KIRK\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27715173_2 (game INTEGER)",
"role": "system"
},
{
"content": "What is the maximum basketball game?",
"role": "user"
},
{
"content": "SELECT MAX(game) FROM table_27715173_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_22056184_1 (position VARCHAR, f_laps VARCHAR, series VARCHAR)",
"role": "system"
},
{
"content": "How many positions have f/laps of 1 and british formula three series?",
"role": "user"
},
{
"content": "SELECT COUNT(position) FROM table_22056184_1 WHERE f_laps = 1 AND series = \"British Formula Three\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (home_team VARCHAR)",
"role": "system"
},
{
"content": "When the Home team of footscray is playing, what's the Home team score?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_53 WHERE home_team = \"footscray\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341423_38 (party VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "How many parties is the incumbent Bob Brady a member of?",
"role": "user"
},
{
"content": "SELECT COUNT(party) FROM table_1341423_38 WHERE incumbent = \"Bob Brady\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (notes VARCHAR, venue VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "For a venue of Rome on July 30, 2009, what are the notes?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_59 WHERE venue = \"rome\" AND date = \"july 30, 2009\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (year VARCHAR, nominee VARCHAR)",
"role": "system"
},
{
"content": "What year was Mary Elizabeth Mastrantonio nominated?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_63 WHERE nominee = \"mary elizabeth mastrantonio\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23938357_7 (ws_points VARCHAR)",
"role": "system"
},
{
"content": "What is the smallest 08-09 GP/JGP 2nd value when WS points equals 3197?",
"role": "user"
},
{
"content": "SELECT MIN(08 AS _09_gp_jgp_2nd) FROM table_23938357_7 WHERE ws_points = 3197",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What was Craig Stadler's score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_80 WHERE player = \"craig stadler\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)",
"role": "system"
},
{
"content": "What Tournament had a Victory of 1 Stroke with a Winning score of –16 (67-66-70-69=272)?",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_71 WHERE margin_of_victory = \"1 stroke\" AND winning_score = –16(67 - 66 - 70 - 69 = 272)",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16337329_5 (injunctive VARCHAR, past_habitual VARCHAR)",
"role": "system"
},
{
"content": "Name the injunctive for गर्यो garyo 'he did'",
"role": "user"
},
{
"content": "SELECT injunctive FROM table_16337329_5 WHERE past_habitual = \"गर्यो garyo 'he did'\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22133191_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR)",
"role": "system"
},
{
"content": "What is the date of vacancy for the person that left because of end of caretaker contract?",
"role": "user"
},
{
"content": "SELECT date_of_vacancy FROM table_22133191_3 WHERE manner_of_departure = \"End of caretaker contract\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (city_of_license VARCHAR, frequency_mhz VARCHAR)",
"role": "system"
},
{
"content": "Which City of license has a Frequency MHz of 91.5 fm?",
"role": "user"
},
{
"content": "SELECT city_of_license FROM table_name_42 WHERE frequency_mhz = \"91.5 fm\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the game when the Indians ended up with a record of 55-51?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_33 WHERE record = \"55-51\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE claim_headers (amount_piad INTEGER)",
"role": "system"
},
{
"content": "Find the total and average amount paid in claim headers.",
"role": "user"
},
{
"content": "SELECT SUM(amount_piad), AVG(amount_piad) FROM claim_headers",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18018214_4 (games_played VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "How many games had 22 points?",
"role": "user"
},
{
"content": "SELECT COUNT(games_played) FROM table_18018214_4 WHERE points = 22",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (giro_wins INTEGER, young_rider VARCHAR, jerseys VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?",
"role": "user"
},
{
"content": "SELECT SUM(giro_wins) FROM table_name_29 WHERE jerseys = 2 AND country = \"portugal\" AND young_rider > 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_92 (date VARCHAR, week VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Which date has a Week smaller than 14, and an Opponent of san francisco 49ers?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_92 WHERE week < 14 AND opponent = \"san francisco 49ers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What shows for Scorers when the Opponent was west germany on October 7?",
"role": "user"
},
{
"content": "SELECT scorers FROM table_name_31 WHERE opponent = \"west germany\" AND date = \"october 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_9 (driver___passenger VARCHAR, bike_no VARCHAR, equipment VARCHAR)",
"role": "system"
},
{
"content": "Which Driver and passenger have a bike number of less than 4 with zabel -vmc equipment?",
"role": "user"
},
{
"content": "SELECT driver___passenger FROM table_name_9 WHERE bike_no < 4 AND equipment = \"zabel -vmc\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE book_club (category VARCHAR, YEAR INTEGER)",
"role": "system"
},
{
"content": "List categories that have at least two books after year 1989.",
"role": "user"
},
{
"content": "SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 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_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR)",
"role": "system"
},
{
"content": "What institution is located in St. Peter? ",
"role": "user"
},
{
"content": "SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = \"St. Peter\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11167610_1 (engine VARCHAR, performance VARCHAR)",
"role": "system"
},
{
"content": " what's the engine where performance is 0–100km/h: 10.5s, vmax km/h (mph)",
"role": "user"
},
{
"content": "SELECT engine FROM table_11167610_1 WHERE performance = \"0–100km/h: 10.5s, VMax km/h (mph)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19905183_1 (team VARCHAR, province VARCHAR)",
"role": "system"
},
{
"content": "What team is from the Eastern province?",
"role": "user"
},
{
"content": "SELECT team FROM table_19905183_1 WHERE province = \"Eastern\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)",
"role": "system"
},
{
"content": "What is the to par of player Tim Herron from the United States with a t3 place?",
"role": "user"
},
{
"content": "SELECT to_par FROM table_name_47 WHERE country = \"united states\" AND place = \"t3\" AND player = \"tim herron\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14342592_3 (points VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "How many points does Clark have? ",
"role": "user"
},
{
"content": "SELECT points FROM table_14342592_3 WHERE player = \"Clark\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (name VARCHAR, town VARCHAR)",
"role": "system"
},
{
"content": "What's the name of the structure at Egypt, Arkansas?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_53 WHERE town = \"egypt, arkansas\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What country had a winner in 1907?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_55 WHERE year = 1907",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (viewers__m_ INTEGER, rating INTEGER)",
"role": "system"
},
{
"content": "What is the highest number of viewers for a rating greater than 9.4?",
"role": "user"
},
{
"content": "SELECT MAX(viewers__m_) FROM table_name_47 WHERE rating > 9.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 payments (amount_due INTEGER)",
"role": "system"
},
{
"content": "What is the average amount due for all the payments?",
"role": "user"
},
{
"content": "SELECT AVG(amount_due) FROM payments",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10015132_21 (school_club_team VARCHAR, years_in_toronto VARCHAR)",
"role": "system"
},
{
"content": "Which school did the player that played 2004-05 attend?",
"role": "user"
},
{
"content": "SELECT school_club_team FROM table_10015132_21 WHERE years_in_toronto = \"2004-05\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR)",
"role": "system"
},
{
"content": "Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21?",
"role": "user"
},
{
"content": "SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = \"1921/23\" AND class_from_1928 = \"bci-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_54 (west_ham_wins INTEGER, drawn INTEGER)",
"role": "system"
},
{
"content": "What is the least number of wins West Ham got when they tied 27 times?",
"role": "user"
},
{
"content": "SELECT MIN(west_ham_wins) FROM table_name_54 WHERE drawn > 27",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)",
"role": "system"
},
{
"content": "What language was spoken in Everlasting Moments?",
"role": "user"
},
{
"content": "SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = \"Everlasting Moments\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query 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_41 (district VARCHAR, first_elected VARCHAR)",
"role": "system"
},
{
"content": "What district had someone first elected in 1982?",
"role": "user"
},
{
"content": "SELECT district FROM table_1341522_41 WHERE first_elected = 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_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)",
"role": "system"
},
{
"content": "What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?",
"role": "user"
},
{
"content": "SELECT club FROM table_name_97 WHERE national_cup = \"turkish basketball cup\" AND european_cup = \"fiba eurochallenge (3rd tier)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 INTEGER, result VARCHAR)",
"role": "system"
},
{
"content": "What was the latest year that resulted in won?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_name_17 WHERE result = \"won\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10335_1 (occupied_territory VARCHAR, operational VARCHAR)",
"role": "system"
},
{
"content": "what's the occupied territory with operational period of may 1940 – january 1945",
"role": "user"
},
{
"content": "SELECT occupied_territory FROM table_10335_1 WHERE operational = \"May 1940 – January 1945\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tv_station VARCHAR, romaji_title VARCHAR)",
"role": "system"
},
{
"content": "Which TV Station has a Romaji Title of kegareta shita?",
"role": "user"
},
{
"content": "SELECT tv_station FROM table_name_43 WHERE romaji_title = \"kegareta shita\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE premises (Id VARCHAR)",
"role": "system"
},
{
"content": "How many premises are there?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM premises",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE chip_model (wifi VARCHAR)",
"role": "system"
},
{
"content": "How many models do not have the wifi function?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM chip_model WHERE wifi = 'No'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (height VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "What's the heigh of the player who went to lake howell high school?",
"role": "user"
},
{
"content": "SELECT height FROM table_name_72 WHERE school = \"lake howell high school\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25468520_1 (printing_process VARCHAR, theme VARCHAR)",
"role": "system"
},
{
"content": "How many time is the theme rotary international : 100 years in canada?",
"role": "user"
},
{
"content": "SELECT COUNT(printing_process) FROM table_25468520_1 WHERE theme = \"Rotary International : 100 Years in 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_28 (iata VARCHAR, city VARCHAR)",
"role": "system"
},
{
"content": "Name the IATA for jeddah",
"role": "user"
},
{
"content": "SELECT iata FROM table_name_28 WHERE city = \"jeddah\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (city VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Which city is Alianza?",
"role": "user"
},
{
"content": "SELECT city FROM table_name_62 WHERE name = \"alianza\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.