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 (score VARCHAR, opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the score for the mariners opponent on may 10",
"role": "user"
},
{
"content": "SELECT score FROM table_name_20 WHERE opponent = \"mariners\" AND date = \"may 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_16388506_1 (home_team VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What are the home team scores when fremantle is the away team?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_16388506_1 WHERE away_team = \"Fremantle\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (rank INTEGER, time VARCHAR, lane VARCHAR)",
"role": "system"
},
{
"content": "What was the rank of the person who swam in Lane 7 with a time of 2:25.86?",
"role": "user"
},
{
"content": "SELECT SUM(rank) FROM table_name_55 WHERE time = \"2:25.86\" AND lane < 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_1 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Who was the player from the United States in T10 place with a score of 67-77=144?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_1 WHERE country = \"united states\" AND place = \"t10\" AND score = 67 - 77 = 144",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "What's the original NFL team when the POS is S and college is Georgia Tech?",
"role": "user"
},
{
"content": "SELECT original_nfl_team FROM table_name_31 WHERE pos = \"s\" AND college = \"georgia tech\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (bore VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Which Bore has a Name of 9 adr?",
"role": "user"
},
{
"content": "SELECT bore FROM table_name_94 WHERE name = \"9 adr\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (circuit VARCHAR, fastest_lap VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What circut has an unknown fastest lap on July 19?",
"role": "user"
},
{
"content": "SELECT circuit FROM table_name_76 WHERE fastest_lap = \"unknown\" AND date = \"july 19\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE employees (first_name VARCHAR, department_id VARCHAR, last_name VARCHAR)",
"role": "system"
},
{
"content": "Display the first name, and department number for all employees whose last name is \"McEwen\".",
"role": "user"
},
{
"content": "SELECT first_name, department_id FROM employees WHERE last_name = 'McEwen'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team_2 VARCHAR)",
"role": "system"
},
{
"content": "What was the 2nd leg where the team 2 was budoni (sardinia)?",
"role": "user"
},
{
"content": "SELECT 2 AS nd_leg FROM table_name_4 WHERE team_2 = \"budoni (sardinia)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (game_site VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the game site for october 4, 1992",
"role": "user"
},
{
"content": "SELECT game_site FROM table_name_40 WHERE date = \"october 4, 1992\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (location VARCHAR, pole_position VARCHAR)",
"role": "system"
},
{
"content": "Where did the team in which Tom Pryce was in Pole Position race?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_10 WHERE pole_position = \"tom pryce\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (pick__number INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "What was the Pick Number when the position was wide receiver, the college was Southern Miss with an overall less than 186?",
"role": "user"
},
{
"content": "SELECT AVG(pick__number) FROM table_name_54 WHERE position = \"wide receiver\" AND college = \"southern miss\" AND overall < 186",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (number_ VARCHAR, _name VARCHAR, description VARCHAR)",
"role": "system"
},
{
"content": "What is the identifying number for a description of Stanier (Period III) full brake?",
"role": "user"
},
{
"content": "SELECT number_ & _name FROM table_name_57 WHERE description = \"stanier (period iii) full brake\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_255885_1 (no_of_s_barangay VARCHAR, municipality VARCHAR)",
"role": "system"
},
{
"content": "What is the number of S Barangay for Paracale?",
"role": "user"
},
{
"content": "SELECT no_of_s_barangay FROM table_255885_1 WHERE municipality = \"Paracale\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (score VARCHAR, champion VARCHAR)",
"role": "system"
},
{
"content": "What is the score of champion masahiro kawamura?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_32 WHERE champion = \"masahiro kawamura\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22883210_7 (high_points VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the high point for January 20?",
"role": "user"
},
{
"content": "SELECT high_points FROM table_22883210_7 WHERE date = \"January 20\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (aprende VARCHAR, centennial VARCHAR)",
"role": "system"
},
{
"content": "WHich kind of Aprende has a Centennial of 1988?",
"role": "user"
},
{
"content": "SELECT aprende FROM table_name_35 WHERE centennial = \"1988\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26166836_2 (location VARCHAR, distance VARCHAR, month_held VARCHAR)",
"role": "system"
},
{
"content": "What are all of the area where distance is marathon and month held is february",
"role": "user"
},
{
"content": "SELECT location FROM table_26166836_2 WHERE distance = \"Marathon\" AND month_held = \"February\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (competition VARCHAR, venue VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What Away Competition had a Result of lost 2-4?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_41 WHERE venue = \"away\" AND result = \"lost 2-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_19753079_13 (district VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "In what district is the incumbent John Linder?",
"role": "user"
},
{
"content": "SELECT district FROM table_19753079_13 WHERE incumbent = \"John Linder\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR, date_of_attendance VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)",
"role": "system"
},
{
"content": "List the id of students who attended statistics courses in the order of attendance date.",
"role": "user"
},
{
"content": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.date_of_attendance",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (nickname VARCHAR, years_in_gfl VARCHAR)",
"role": "system"
},
{
"content": "What is the nickname of the team who was in the GFL from 1986-1988?",
"role": "user"
},
{
"content": "SELECT nickname FROM table_name_25 WHERE years_in_gfl = \"1986-1988\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28418916_3 (result VARCHAR, opponents_conference VARCHAR)",
"role": "system"
},
{
"content": "What was the result when then opponents conference was Mac (east)?",
"role": "user"
},
{
"content": "SELECT result FROM table_28418916_3 WHERE opponents_conference = \"MAC (East)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (Id VARCHAR)",
"role": "system"
},
{
"content": "What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5?",
"role": "user"
},
{
"content": "SELECT MAX(2010) FROM table_name_80 WHERE 2009 < 6.5 AND 2008 = 0.4 AND 2007 < 0.5",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_21 (type VARCHAR, reported_price VARCHAR, person_s_ VARCHAR)",
"role": "system"
},
{
"content": "What type of photos of Angelina Jolie cost $500,000?",
"role": "user"
},
{
"content": "SELECT type FROM table_name_21 WHERE reported_price = \"$500,000\" AND person_s_ = \"angelina jolie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11391954_3 (Half VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "How many times is Moldova the winner of half marathon (womens)?",
"role": "user"
},
{
"content": "SELECT COUNT(Half) AS marathon__womens_ FROM table_11391954_3 WHERE country = \"Moldova\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22916979_5 (metropolitan_area VARCHAR, densest_incorporated_place VARCHAR)",
"role": "system"
},
{
"content": "Name the area for north bay village",
"role": "user"
},
{
"content": "SELECT metropolitan_area FROM table_22916979_5 WHERE densest_incorporated_place = \"North Bay Village\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28985631_1 (defective_year VARCHAR, numbered_month VARCHAR)",
"role": "system"
},
{
"content": "What is the defective year for the eighth numbered month?",
"role": "user"
},
{
"content": "SELECT defective_year FROM table_28985631_1 WHERE numbered_month = \"Eighth\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR); CREATE TABLE visit (Museum_ID VARCHAR)",
"role": "system"
},
{
"content": "What are the id and name of the museum visited most times?",
"role": "user"
},
{
"content": "SELECT t2.Museum_ID, t1.name FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID GROUP BY t2.Museum_ID ORDER BY COUNT(*) 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_14 (losing_bp VARCHAR, drawn VARCHAR, try_bp VARCHAR)",
"role": "system"
},
{
"content": "Name the Losing BP with drawn of 1 and a Try BP of 6.",
"role": "user"
},
{
"content": "SELECT losing_bp FROM table_name_14 WHERE drawn = \"1\" AND try_bp = \"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_3 (date VARCHAR, week VARCHAR)",
"role": "system"
},
{
"content": "What day did the play on week 6?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_3 WHERE week = 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_71 (year VARCHAR, purse VARCHAR)",
"role": "system"
},
{
"content": "Which Year has a Purse of $83,925?",
"role": "user"
},
{
"content": "SELECT year FROM table_name_71 WHERE purse = \"$83,925\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (d_46_β VARCHAR, d_44_β VARCHAR)",
"role": "system"
},
{
"content": "What is the D 46 β when the D 44 β is β majority?",
"role": "user"
},
{
"content": "SELECT d_46_β FROM table_name_3 WHERE d_44_β = \"β majority\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_98 (Id VARCHAR)",
"role": "system"
},
{
"content": "Which 2013 has a 2010 of 1r?",
"role": "user"
},
{
"content": "SELECT 2013 FROM table_name_98 WHERE 2010 = \"1r\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (country VARCHAR, left_office VARCHAR)",
"role": "system"
},
{
"content": "What is the country of the Representative that left office as incumbent?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_29 WHERE left_office = \"incumbent\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29679510_2 (week INTEGER)",
"role": "system"
},
{
"content": "In what week was the first game played?",
"role": "user"
},
{
"content": "SELECT MIN(week) FROM table_29679510_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_21092444_1 (opponents VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Name the opponents stanford",
"role": "user"
},
{
"content": "SELECT opponents FROM table_21092444_1 WHERE opponent = \"Stanford\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)",
"role": "system"
},
{
"content": "What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?",
"role": "user"
},
{
"content": "SELECT length FROM table_name_25 WHERE junctions = \"i-35 us 83\" AND route_name = \"us 83 bus.\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, length_of_marriage VARCHAR)",
"role": "system"
},
{
"content": "Name the deceased spouse for length of marriage being 24 years",
"role": "user"
},
{
"content": "SELECT deceased_spouse FROM table_24143253_1 WHERE length_of_marriage = \"24 years\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR)",
"role": "system"
},
{
"content": "What was the score of the game that had a loss of Cox (6β2)?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_44 WHERE loss = \"cox (6β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_45 (tries_for VARCHAR, try_bonus VARCHAR)",
"role": "system"
},
{
"content": "How many tries did the club with a try bonus of correct as of 2 June 2009 have?",
"role": "user"
},
{
"content": "SELECT tries_for FROM table_name_45 WHERE try_bonus = \"correct as of 2 june 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_70 (mascot VARCHAR, school VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the Mascot that has the School of rosedale?",
"role": "user"
},
{
"content": "SELECT mascot FROM table_name_70 WHERE school = \"rosedale\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_13618358_1 (agri_culture_b VARCHAR)",
"role": "system"
},
{
"content": "What was head count in 2010 where the farm production is 6.9?",
"role": "user"
},
{
"content": "SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = \"6.9\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (catalog VARCHAR, region VARCHAR)",
"role": "system"
},
{
"content": "What is the Catalog number in France?",
"role": "user"
},
{
"content": "SELECT catalog FROM table_name_19 WHERE region = \"france\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR)",
"role": "system"
},
{
"content": "Name the director for maya vision international ltd",
"role": "user"
},
{
"content": "SELECT director_s_ FROM table_name_81 WHERE recipient = \"maya vision international ltd\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE customer_addresses (customer_id VARCHAR, address_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE addresses (address_id VARCHAR, state_province_county VARCHAR)",
"role": "system"
},
{
"content": "Find the name of customers who are living in Colorado?",
"role": "user"
},
{
"content": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = \"Colorado\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tournament VARCHAR, runner_s__up VARCHAR)",
"role": "system"
},
{
"content": "For what tournament was Bubba Watson the runner-up?",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_29 WHERE runner_s__up = \"bubba watson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "At what time is the site usf softball field β’ tampa, fl and w4-0 is the result?",
"role": "user"
},
{
"content": "SELECT time FROM table_22098274_1 WHERE site = \"USF Softball Field β’ Tampa, FL\" AND result = \"W4-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_97 (crowd VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "How many people were in the crowd at Victoria Park?",
"role": "user"
},
{
"content": "SELECT COUNT(crowd) FROM table_name_97 WHERE venue = \"victoria park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)",
"role": "system"
},
{
"content": "What is the class of the player with a weight of 242 pounds?",
"role": "user"
},
{
"content": "SELECT class FROM table_name_9 WHERE weight = 242",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1015914_24 (we_two VARCHAR, case_suffix VARCHAR)",
"role": "system"
},
{
"content": "What is we two when the case/suffix is loc.?",
"role": "user"
},
{
"content": "SELECT we_two FROM table_1015914_24 WHERE case_suffix = \"loc.\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (sensor_res VARCHAR, _size VARCHAR, model VARCHAR)",
"role": "system"
},
{
"content": "Name the sensor res for model of s9200",
"role": "user"
},
{
"content": "SELECT sensor_res, _size FROM table_name_74 WHERE model = \"s9200\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341604_11 (candidates VARCHAR, district VARCHAR)",
"role": "system"
},
{
"content": "Name the candidates for georgia 8",
"role": "user"
},
{
"content": "SELECT candidates FROM table_1341604_11 WHERE district = \"Georgia 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_94 (yards INTEGER, long VARCHAR, avg VARCHAR)",
"role": "system"
},
{
"content": "How many yards were averaged by the player that had a higher than 13 average with less than 18 long?",
"role": "user"
},
{
"content": "SELECT AVG(yards) FROM table_name_94 WHERE long < 18 AND avg > 13",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the abbreviation for the University of Tartu?",
"role": "user"
},
{
"content": "SELECT abbr FROM table_name_43 WHERE name = \"university of tartu\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (opponents VARCHAR, date VARCHAR, score VARCHAR, competition VARCHAR)",
"role": "system"
},
{
"content": "Score of 2-1, and a Competition of pl, and a Date of december 22, 2006 had what opponents?",
"role": "user"
},
{
"content": "SELECT opponents FROM table_name_84 WHERE score = \"2-1\" AND competition = \"pl\" AND date = \"december 22, 2006\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_63 (high_assists VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Who had the most assists in the game that led to a 3-7 record?",
"role": "user"
},
{
"content": "SELECT high_assists FROM table_name_63 WHERE record = \"3-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_60 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "What is the low lap total for a grid larger than 16 and has a Time/Retired of + 3:27.3?",
"role": "user"
},
{
"content": "SELECT MIN(laps) FROM table_name_60 WHERE time_retired = \"+ 3:27.3\" AND grid > 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_91 (crowd INTEGER, venue VARCHAR)",
"role": "system"
},
{
"content": "What's the average crowd size when the venue is western oval?",
"role": "user"
},
{
"content": "SELECT AVG(crowd) FROM table_name_91 WHERE venue = \"western oval\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE t (Id VARCHAR)",
"role": "system"
},
{
"content": "In the Class T, what is the total of the 1958 UTA?",
"role": "user"
},
{
"content": "SELECT COUNT(1958 AS _uta) FROM \"t\" AS able_name_49 WHERE class = \"t\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, label VARCHAR, catalog VARCHAR)",
"role": "system"
},
{
"content": "Name the date for alfa records and catalog of alr-28045",
"role": "user"
},
{
"content": "SELECT date FROM table_name_6 WHERE label = \"alfa records\" AND catalog = \"alr-28045\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (away_team VARCHAR)",
"role": "system"
},
{
"content": "What is the away team's score when geelong is the away team?",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_73 WHERE away_team = \"geelong\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (res VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What is the result for the event that lasted 2:20?",
"role": "user"
},
{
"content": "SELECT res FROM table_name_7 WHERE time = \"2:20\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (wins VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "What is the number of wins when there are 7 points?",
"role": "user"
},
{
"content": "SELECT wins FROM table_name_6 WHERE points = 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_81 (lead VARCHAR, home VARCHAR)",
"role": "system"
},
{
"content": "Who is the lead of the team from Lockerbie?",
"role": "user"
},
{
"content": "SELECT lead FROM table_name_81 WHERE home = \"lockerbie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (down__up_to_kbit_s_ INTEGER, provider VARCHAR, up__up_to_kbit_s_ VARCHAR)",
"role": "system"
},
{
"content": "What is the average down (up to kbit/s) when the provider is willy.tel and the up (kbit/s) is more than 1984?",
"role": "user"
},
{
"content": "SELECT AVG(down__up_to_kbit_s_) FROM table_name_73 WHERE provider = \"willy.tel\" AND up__up_to_kbit_s_ > 1984",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (pba_team VARCHAR, pick VARCHAR)",
"role": "system"
},
{
"content": "What is the PBA team with a Pick that is 4?",
"role": "user"
},
{
"content": "SELECT pba_team FROM table_name_35 WHERE pick = 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_1 (opponent_number VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "Who were the opponents when there was an attendance of 48,165?",
"role": "user"
},
{
"content": "SELECT opponent_number FROM table_name_1 WHERE attendance = \"48,165\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_90 (december VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "How many Decembers have calgary flames as the opponent?",
"role": "user"
},
{
"content": "SELECT COUNT(december) FROM table_name_90 WHERE opponent = \"calgary flames\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)",
"role": "system"
},
{
"content": "Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = \"regina pats (whl)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE artist (country VARCHAR, artist_name VARCHAR, gender VARCHAR); CREATE TABLE song (artist_name VARCHAR, languages VARCHAR)",
"role": "system"
},
{
"content": "What is the country of origin of the artist who is female and produced a song in Bangla?",
"role": "user"
},
{
"content": "SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T1.gender = \"Female\" AND T2.languages = \"bangla\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (date VARCHAR, winning_score VARCHAR)",
"role": "system"
},
{
"content": "When was the winning score β12 (69-66-72-65=272)?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_72 WHERE winning_score = β12(69 - 66 - 72 - 65 = 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_name_15 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR)",
"role": "system"
},
{
"content": "What is the team of driver klaus ludwig, who is class c1 and has more than 77 laps?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_15 WHERE class = \"c1\" AND laps > 77 AND driver = \"klaus ludwig\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER)",
"role": "system"
},
{
"content": "What is the total number of points for a total pld less than 38?",
"role": "user"
},
{
"content": "SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE TV_Channel (Content VARCHAR, series_name VARCHAR)",
"role": "system"
},
{
"content": "What is the content of TV Channel with serial name \"Sky Radio\"?",
"role": "user"
},
{
"content": "SELECT Content FROM TV_Channel WHERE series_name = \"Sky Radio\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (build_date VARCHAR, prr_class VARCHAR)",
"role": "system"
},
{
"content": "What is the build date for PRR Class gf30a?",
"role": "user"
},
{
"content": "SELECT build_date FROM table_name_80 WHERE prr_class = \"gf30a\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE products (Id VARCHAR)",
"role": "system"
},
{
"content": "How many products are there?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM products",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1220125_4 (pennant VARCHAR, laid_down VARCHAR)",
"role": "system"
},
{
"content": "What is the pennant for 4 may 1943?",
"role": "user"
},
{
"content": "SELECT pennant FROM table_1220125_4 WHERE laid_down = \"4 May 1943\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR)",
"role": "system"
},
{
"content": "Name the role for studio of rep with sheila mannors leading lady and title of westward ho",
"role": "user"
},
{
"content": "SELECT role FROM table_name_11 WHERE studio = \"rep\" AND leading_lady = \"sheila mannors\" AND title = \"westward ho\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23014923_1 (minor__south__winners VARCHAR, primary__south__winners VARCHAR)",
"role": "system"
},
{
"content": "What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?",
"role": "user"
},
{
"content": "SELECT COUNT(minor__south__winners) FROM table_23014923_1 WHERE primary__south__winners = \"Mendip Gate\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (years_as_tallest VARCHAR, floors VARCHAR)",
"role": "system"
},
{
"content": "How many years was the building with 24 floors the tallest?",
"role": "user"
},
{
"content": "SELECT years_as_tallest FROM table_name_14 WHERE floors = 24",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (d3_compatible VARCHAR, availability VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Tell me the D3 compatible for availability of yes for wode jukebox",
"role": "user"
},
{
"content": "SELECT d3_compatible FROM table_name_76 WHERE availability = \"yes\" AND name = \"wode jukebox\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (school_club_team VARCHAR, round VARCHAR, overall VARCHAR)",
"role": "system"
},
{
"content": "What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for?",
"role": "user"
},
{
"content": "SELECT school_club_team FROM table_name_38 WHERE round > 13 AND overall = 384",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (engine VARCHAR, rounds VARCHAR)",
"role": "system"
},
{
"content": "What's the engine used for rounds 5-6?",
"role": "user"
},
{
"content": "SELECT engine FROM table_name_1 WHERE rounds = \"5-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_11570261_6 (cuts_made VARCHAR)",
"role": "system"
},
{
"content": "How many times did Tiger get second in the year where there were 11 cuts?",
"role": "user"
},
{
"content": "SELECT MAX(2 AS nd) FROM table_11570261_6 WHERE cuts_made = \"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_74 (week VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What week of the season was November 24, 1957?",
"role": "user"
},
{
"content": "SELECT week FROM table_name_74 WHERE date = \"november 24, 1957\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE CARS_DATA (Cylinders VARCHAR, Accelerate INTEGER)",
"role": "system"
},
{
"content": "What is the maximum accelerate for different number of cylinders?",
"role": "user"
},
{
"content": "SELECT MAX(Accelerate), Cylinders FROM CARS_DATA GROUP BY Cylinders",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1467951_4 (release_date INTEGER)",
"role": "system"
},
{
"content": "What is the most recent release date?",
"role": "user"
},
{
"content": "SELECT MAX(release_date) FROM table_1467951_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_98 (qual VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What was 1961's qual?",
"role": "user"
},
{
"content": "SELECT qual FROM table_name_98 WHERE year = \"1961\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (accompaniment VARCHAR, title VARCHAR)",
"role": "system"
},
{
"content": "what is the accompaniment when the title is stormy seas blues?",
"role": "user"
},
{
"content": "SELECT accompaniment FROM table_name_26 WHERE title = \"stormy seas blues\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_5 (score VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "Location of brendan byrne arena had what score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_5 WHERE location = \"brendan byrne arena\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (years_as_tallest VARCHAR, street_address VARCHAR)",
"role": "system"
},
{
"content": "What were the years that the building at 200 sw harrison was considered to be the tallest building?",
"role": "user"
},
{
"content": "SELECT years_as_tallest FROM table_name_3 WHERE street_address = \"200 sw harrison\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (tonnage VARCHAR, u_boats_destroyed__kuk_ VARCHAR, ships_sunk__pola_ VARCHAR)",
"role": "system"
},
{
"content": "What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)?",
"role": "user"
},
{
"content": "SELECT tonnage FROM table_name_54 WHERE u_boats_destroyed__kuk_ = \"2\" AND ships_sunk__pola_ = \"(not recorded)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (loss VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Which Loss has a Record of 41β32β6?",
"role": "user"
},
{
"content": "SELECT loss FROM table_name_38 WHERE record = \"41β32β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_50 (team VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the team in 1989?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_50 WHERE year = \"1989\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19061741_3 (name VARCHAR, duration VARCHAR)",
"role": "system"
},
{
"content": "When days 1-86 is the duration how many names are there?",
"role": "user"
},
{
"content": "SELECT COUNT(name) FROM table_19061741_3 WHERE duration = \"Days 1-86\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR)",
"role": "system"
},
{
"content": "What are the results for testing the species with voges-proskauer when citrate yields a positive result?",
"role": "user"
},
{
"content": "SELECT voges_proskauer FROM table_16083989_1 WHERE citrate = \"Positive\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR)",
"role": "system"
},
{
"content": "What team has 0 points and a contact tired/retired, and 71 laps?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = \"contact\" AND laps = 71",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)",
"role": "system"
},
{
"content": "What is the score in the final with runner-up as the outcome and hard (i) as the surface?",
"role": "user"
},
{
"content": "SELECT score_in_the_final FROM table_name_38 WHERE outcome = \"runner-up\" AND surface = \"hard (i)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. 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 (entrant VARCHAR, chassis VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the entrant with a chassis of m185b m186?",
"role": "user"
},
{
"content": "SELECT entrant FROM table_name_65 WHERE chassis = \"m185b m186\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.