instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | response stringlengths 7 2.05k | __original_row_idx int64 0 50k | conversations listlengths 2 2 |
|---|---|---|---|---|
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (part_number_s_ VARCHAR, release_price___usd__ VARCHAR, release_date VARCHAR, frequency VARCHAR)
Question: what is the part number when the release date is ... | Here is the SQLite query to answer the question:
```
SELECT part_number_s_ FROM table_name_99 WHERE release_date = "january 2011" AND frequency = "3.4 ghz" AND release_price___usd__ = "$317"
``` | 17,200 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (part_number_s_ VARCHAR, release_price___usd__ VARCHAR, release_date VARCHAR, frequency VARCHAR)\n\n Question: what ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (part_number_s_ VARCHAR, turbo VARCHAR)
Question: what is the part number that has a turbo of low power?
Here is the SQLite query to answer to the question... | Your SQLite query is correctly formatted to retrieve the part number with a turbo of "low power". Here it is wrapped in the appropriate code formatting:
```
SELECT part_number_s_ FROM table_name_85 WHERE turbo = "low power";
``` | 17,201 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (part_number_s_ VARCHAR, turbo VARCHAR)\n\n Question: what is the part number that has a turbo of low power?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (place_of_birth VARCHAR, elevator VARCHAR, elector VARCHAR)
Question: What is the place of birth when the elevator is Nicholas IV, and elector is Napoleone O... | Here is the SQLite query wrapped in code format to answer the given question:
```
SELECT place_of_birth FROM table_name_7 WHERE elevator = "Nicholas IV" AND elector = "Napoleone Orsini Frangipani";
``` | 17,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (place_of_birth VARCHAR, elevator VARCHAR, elector VARCHAR)\n\n Question: What is the place of birth when the elevato... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (elevator VARCHAR, elector VARCHAR)
Question: What is the elevator when the elector is Pietro Colonna?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question:
```
SELECT elevator FROM table_name_77 WHERE elector = "Pietro Colonna";
``` | 17,203 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (elevator VARCHAR, elector VARCHAR)\n\n Question: What is the elevator when the elector is Pietro Colonna?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (elevator VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)
Question: What is the elevator when elevated is May 16, 1288, and cardinalatial title show... | Here is the SQLite query to answer the question you provided:
```
SELECT elevator FROM table_name_21 WHERE elevated = "May 16, 1288" AND cardinalatial_title = "Deacon of S. Adriano"
``` | 17,204 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (elevator VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)\n\n Question: What is the elevator when elevated i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR)
Question: What is the cardinalatial title when the elevated is September 18, 1294, and elec... | Here is the SQLite query to answer the question:
```
SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "September 18, 1294" AND elector = "Bérard De Got";
``` | 17,205 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR)\n\n Question: What is the cardinalatial title when ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (place_of_birth VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)
Question: What is the place of birth when elevated is May 16, 1288, and cardinalatia... | Here is the SQLite query to answer your question:
```
SELECT place_of_birth FROM table_name_78 WHERE elevated = "May 16, 1288" AND cardinalatial_title = "Deacon of S. Eustachio";
``` | 17,206 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (place_of_birth VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)\n\n Question: What is the place of birth whe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (format VARCHAR, label VARCHAR, catalog VARCHAR)
Question: What format was the release in form the Edsel label, and that was from the EDCD 262 catalog?
Her... | Here is the SQLite query to answer the question:
```
SELECT format FROM table_name_62 WHERE label = "edsel" AND catalog = "EDCD 262";
``` | 17,207 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (format VARCHAR, label VARCHAR, catalog VARCHAR)\n\n Question: What format was the release in form the Edsel label, ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (catalog VARCHAR, format VARCHAR, date VARCHAR)
Question: Released on April 12, 1968 in LP format, what was the catalog?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question:
```
SELECT catalog FROM table_name_20 WHERE format = "LP" AND date = "April 12, 1968"
``` | 17,208 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (catalog VARCHAR, format VARCHAR, date VARCHAR)\n\n Question: Released on April 12, 1968 in LP format, what was the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (catalog VARCHAR, format VARCHAR, date VARCHAR)
Question: From what catalog was the release that happened on April 12, 1968, and in LP format?
Here is the ... | Here is the SQLite query you requested, wrapped in code formatting:
```
SELECT catalog FROM table_name_28 WHERE format = "LP" AND date = "April 12, 1968";
``` | 17,209 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (catalog VARCHAR, format VARCHAR, date VARCHAR)\n\n Question: From what catalog was the release that happened on Apr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)
Question: From what catalog was the release from Sundazed label?
Here is the SQLite query to answer to the question: From ... | Your SQLite query to find the catalog for the release from the Sundazed label is almost correct, but typically, SQL string literals are case-sensitive unless the collation is set to ignore case. Assuming we want to match "Sundazed" in a case-insensitive manner, it would be better to use `LOWER` function or simply ensur... | 17,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)\n\n Question: From what catalog was the release from Sundazed label?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, format VARCHAR)
Question: When was the release that was in SACD (hybrid) format?
Here is the SQLite query to answer to the question: When wa... | Here is the SQLite query to answer the question regarding the release that was in SACD (hybrid) format:
```
SELECT date FROM table_name_27 WHERE format = 'sacd (hybrid)';
``` | 17,211 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (date VARCHAR, format VARCHAR)\n\n Question: When was the release that was in SACD (hybrid) format?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (date VARCHAR, label VARCHAR)
Question: The release from Simply Vinyl label was on what date?
Here is the SQLite query to answer to the question: The relea... | Here is the SQLite query to answer the question regarding the release date from the Simply Vinyl label:
```
SELECT date FROM table_name_91 WHERE label = "Simply Vinyl";
``` | 17,212 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (date VARCHAR, label VARCHAR)\n\n Question: The release from Simply Vinyl label was on what date?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
Question: what is the heat when the nationality is australia and the rank is less than 1?
Here is the SQL... | Your query is almost correct, but it seems you're looking for the heat values themselves rather than an average. If you want to return the heat values where the nationality is Australia and the rank is less than 1, here's the modified query:
```sql
SELECT heat FROM table_name_35 WHERE nationality = "australia" AND ran... | 17,213 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (heat INTEGER, nationality VARCHAR, rank VARCHAR)\n\n Question: what is the heat when the nationality is australia a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR)
Question: What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws?
Here is the ... | It seems there is a small issue in your query regarding the conditions applied to the columns. In your question, you are looking for the scenario where El Zamalek wins are 0 and there are also 0 draws. Therefore, the conditions should filter for `el_zamalek_wins = 0` and `draws = '0'` (as `draws` is defined as a `VARCH... | 17,214 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR)\n\n Question: What is the fewest Al Ahly wins for El ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (competition VARCHAR, draws VARCHAR)
Question: Which competition had 2 draws?
Here is the SQLite query to answer to the question: Which competition had 2 d... | It looks like you're trying to find competitions that had exactly 2 draws based on the given schema. However, since the `draws` column is defined as a `VARCHAR`, you need to ensure that you're comparing it as a string. Here’s the corrected SQLite query:
```
SELECT competition FROM table_name_79 WHERE draws = '2'
```
... | 17,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (competition VARCHAR, draws VARCHAR)\n\n Question: Which competition had 2 draws?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (draws INTEGER, al_ahly_wins VARCHAR, el_zamalek_wins VARCHAR, total VARCHAR)
Question: What is the sum of draws for El Zamalek wins under 36, total over 2,... | Here is the SQLite query wrapped in the requested format:
```
SELECT SUM(draws) FROM table_name_27 WHERE el_zamalek_wins < 36 AND total > 2 AND al_ahly_wins > 37
``` | 17,216 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (draws INTEGER, al_ahly_wins VARCHAR, el_zamalek_wins VARCHAR, total VARCHAR)\n\n Question: What is the sum of draws... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (draws INTEGER, al_ahly_wins INTEGER)
Question: What is the average number of draws for Al Ahly wins over 59?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the average number of draws for Al Ahly wins over 59:
```
SELECT AVG(draws) FROM table_name_1 WHERE al_ahly_wins > 59
``` | 17,217 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (draws INTEGER, al_ahly_wins INTEGER)\n\n Question: What is the average number of draws for Al Ahly wins over 59?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (latitude INTEGER, geo_id VARCHAR, longitude VARCHAR, township VARCHAR)
Question: What is the latitude that has a longitude larger than -101.819319 in Marti... | Here is the corrected SQLite query to answer your question:
```sql
SELECT latitude FROM table_name_71
WHERE longitude > -101.819319
AND township = "Martin"
AND geo_id = "3809951140";
```
Please note that the comparison for `geo_id` should include quotes because it's defined as a VARCHAR in the schema. Additionally... | 17,218 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (latitude INTEGER, geo_id VARCHAR, longitude VARCHAR, township VARCHAR)\n\n Question: What is the latitude that has ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (latitude INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR)
Question: What is the latitude with a GEO ID larger than 3806352640, and a Land(sqmi) of 34.345?
... | Your SQLite query aims to select the average latitude for the specified conditions. However, if you want to retrieve the latitude(s) directly without computing an average, you should use the `SELECT latitude` statement directly. Here’s the corrected query:
```sql
SELECT latitude FROM table_name_98 WHERE geo_id > '3806... | 17,219 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (latitude INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR)\n\n Question: What is the latitude with a GEO ID larger th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (final_score VARCHAR, opponent VARCHAR)
Question: what is the final score when the opponent is platense?
Here is the SQLite query to answer to the question... | Your query is correctly formulated to retrieve the final score when the opponent is "platense." Here's the query wrapped in the appropriate code block:
```
SELECT final_score FROM table_name_58 WHERE opponent = "platense";
``` | 17,220 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (final_score VARCHAR, opponent VARCHAR)\n\n Question: what is the final score when the opponent is platense?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)
Question: what is the date when the opponent is real españa?
Here is the SQLite query to answer to the question: what is t... | Here is the SQLite query to answer the question about the date when the opponent is real españa:
```
SELECT date FROM table_name_41 WHERE opponent = "real españa";
``` | 17,221 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR)\n\n Question: what is the date when the opponent is real españa?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR)
Question: what is the date when the opponent is real juventud?
Here is the SQLite query to answer to the question: what is... | Here is the SQLite query to answer the question about the date when the opponent is 'real juventud':
```
SELECT date FROM table_name_90 WHERE opponent = 'real juventud';
``` | 17,222 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR)\n\n Question: what is the date when the opponent is real juventud?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (final_score VARCHAR, date VARCHAR)
Question: what is the final score when the date is 2009-02-26?
Here is the SQLite query to answer to the question: what... | Here is the SQLite query to answer the question regarding the final score for the date 2009-02-26:
```
SELECT final_score FROM table_name_62 WHERE date = "2009-02-26";
``` | 17,223 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (final_score VARCHAR, date VARCHAR)\n\n Question: what is the final score when the date is 2009-02-26?\n\nHere is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (playing_for VARCHAR, opponent VARCHAR, date VARCHAR)
Question: who is playing for when the opponent is deportes savio and the date is 2010-03-11?
Here is ... | Here is the SQLite query to answer the question regarding who is playing for when the opponent is "deportes savio" and the date is "2010-03-11":
```
SELECT playing_for FROM table_name_95 WHERE opponent = "deportes savio" AND date = "2010-03-11"
``` | 17,224 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (playing_for VARCHAR, opponent VARCHAR, date VARCHAR)\n\n Question: who is playing for when the opponent is deportes... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (rank VARCHAR, date VARCHAR)
Question: Which Rank that is on september 9, 2004?
Here is the SQLite query to answer to the question: Which Rank that is on s... | Here is the SQLite query to answer the question about which rank is on September 9, 2004:
```
SELECT rank FROM table_name_16 WHERE date = "september 9, 2004";
``` | 17,225 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (rank VARCHAR, date VARCHAR)\n\n Question: Which Rank that is on september 9, 2004?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
Question: Which Opponent is on september 9, 2004?
Here is the SQLite query to answer to the question: Which Opponent is on... | Here is the SQLite query to answer the question: Which Opponent is on September 9, 2004?:
```
SELECT opponent FROM table_name_77 WHERE date = "september 9, 2004"
``` | 17,226 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)\n\n Question: Which Opponent is on september 9, 2004?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR)
Question: What were the results for November 24, 2002?
Here is the SQLite query to answer to the question: What were the res... | Your provided SQLite query is almost correct, but it would be better to ensure the date format matches that in the database. Here’s the corrected query, assuming the date format in the database is consistent with the provided format:
```
SELECT result FROM table_name_79 WHERE date = 'November 24, 2002';
```
Please r... | 17,227 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR)\n\n Question: What were the results for November 24, 2002?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (lane INTEGER, athlete VARCHAR, time VARCHAR)
Question: What is the greatest lane that David Payne was in when he ran longer than 13.17?
Here is the SQLite... | Here is the SQLite query that answers the question regarding the greatest lane that David Payne was in when he ran longer than 13.17:
```
SELECT MAX(lane) FROM table_name_99 WHERE athlete = "David Payne" AND time > "13.17"
``` | 17,228 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (lane INTEGER, athlete VARCHAR, time VARCHAR)\n\n Question: What is the greatest lane that David Payne was in when h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR)
Question: Who had the time 13.6?
Here is the SQLite query to answer to the question: Who had the time 13.6?:
```
SELECT ath... | Here is the corrected SQLite query to answer the question "Who had the time 13.6?":
```
SELECT athlete FROM table_name_76 WHERE time = '13.6';
```
Note that I enclosed `13.6` in single quotes since `time` is defined as a `VARCHAR` in the schema. | 17,229 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR)\n\n Question: Who had the time 13.6?\n\nHere is the SQLite query to answer to the qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR)
Question: What is the position of the player for the Baltimore Orioles?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the position of the player for the Baltimore Orioles:
```
SELECT position FROM table_name_6 WHERE team = "Baltimore Orioles";
``` | 17,230 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR)\n\n Question: What is the position of the player for the Baltimore Orioles?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (player VARCHAR, school VARCHAR)
Question: What is the name of the player from Vanderbilt University?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the name of the player from Vanderbilt University:
```
SELECT player FROM table_name_43 WHERE school = "Vanderbilt University";
``` | 17,231 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (player VARCHAR, school VARCHAR)\n\n Question: What is the name of the player from Vanderbilt University?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (pick INTEGER, player VARCHAR, position VARCHAR, team VARCHAR)
Question: What is the lowest pick number for Arturo McDowell, who plays the OF position for t... | Here is the SQLite query to answer the question regarding the lowest pick number for Arturo McDowell, who plays the OF position for the San Francisco Giants:
```
SELECT MIN(pick) FROM table_name_13 WHERE lower(position) = "of" AND lower(team) = "san francisco giants" AND lower(player) = "arturo mcdowell"
``` | 17,232 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (pick INTEGER, player VARCHAR, position VARCHAR, team VARCHAR)\n\n Question: What is the lowest pick number for Artu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (school VARCHAR, team VARCHAR)
Question: What school did the player drafted for the New York Mets attend?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the school attended by the player drafted for the New York Mets:
```
SELECT school FROM table_name_4 WHERE team = "new york mets";
``` | 17,233 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (school VARCHAR, team VARCHAR)\n\n Question: What school did the player drafted for the New York Mets attend?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (round_of_32 VARCHAR, event VARCHAR, quarterfinals VARCHAR, finals VARCHAR, semifinals VARCHAR)
Question: What's the round of 32 during the 56kg when the qu... | Your SQLite query is correctly structured to retrieve the round of 32 for the specific conditions you specified regarding the "56kg" event. Here is the wrapped SQL code for clarity:
```
SELECT round_of_32
FROM table_name_10
WHERE finals = "did not advance"
AND semifinals = "did not advance"
AND quarterfinals =... | 17,234 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (round_of_32 VARCHAR, event VARCHAR, quarterfinals VARCHAR, finals VARCHAR, semifinals VARCHAR)\n\n Question: What's... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (athlete VARCHAR, finals VARCHAR, event VARCHAR)
Question: Who was the athlete in the 56kg event having a did not advance in the finals?
Here is the SQLite... | Here is the SQLite query to answer the question:
```
SELECT athlete FROM table_name_65 WHERE finals = "did not advance" AND event = "56kg"
``` | 17,235 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (athlete VARCHAR, finals VARCHAR, event VARCHAR)\n\n Question: Who was the athlete in the 56kg event having a did no... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (round_of_16 VARCHAR, event VARCHAR)
Question: What's the 69kg of Round 16?
Here is the SQLite query to answer to the question: What's the 69kg of Round 16... | Here is the SQLite query to answer the question "What's the 69kg of Round 16?":
```
SELECT round_of_16 FROM table_name_16 WHERE event = "69kg";
``` | 17,236 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (round_of_16 VARCHAR, event VARCHAR)\n\n Question: What's the 69kg of Round 16?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (quarterfinals VARCHAR, rank VARCHAR)
Question: What's the quarterfinals when the rank was bronze?
Here is the SQLite query to answer to the question: What... | Here's the SQLite query you need to answer the question about the quarterfinals when the rank was bronze:
```
SELECT quarterfinals FROM table_name_79 WHERE rank = "bronze";
``` | 17,237 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (quarterfinals VARCHAR, rank VARCHAR)\n\n Question: What's the quarterfinals when the rank was bronze?\n\nHere is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (date_of_appointment VARCHAR, name VARCHAR)
Question: What is Hon. Vicente Q. Roxas appointment date?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question regarding Hon. Vicente Q. Roxas's appointment date:
```
SELECT date_of_appointment FROM table_name_25 WHERE name = "Hon. Vicente Q. Roxas";
``` | 17,238 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (date_of_appointment VARCHAR, name VARCHAR)\n\n Question: What is Hon. Vicente Q. Roxas appointment date?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (draw INTEGER, place VARCHAR, points VARCHAR, artist VARCHAR)
Question: What is the Draw number of the song by Artist of "Loudest Whisper" with 68 or less P... | Your query aims to retrieve the Draw number of a song by the artist "Loudest Whisper" with specific conditions on points and place. However, it seems that you want the Draw directly rather than the average, and there is also an inconsistency with the comparison of points since they are stored as VARCHAR. You should con... | 17,239 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (draw INTEGER, place VARCHAR, points VARCHAR, artist VARCHAR)\n\n Question: What is the Draw number of the song by A... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR)
Question: What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger?
Here is the SQLite... | The provided query attempts to count the number of records that match the criteria instead of selecting the "Place" of the songs. If you're looking to retrieve the "Place" of the song instead, here's the correct query:
```sql
SELECT place FROM table_name_10 WHERE artist = "rosie hunter" AND draw >= 1;
```
This query ... | 17,240 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR)\n\n Question: What is the Place of the Song by Artist Rosie Hunter wit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)
Question: Which Bronze has a Total larger than 7 and a Silver of 3, and a Games... | Here is the SQLite query to answer your question:
```
SELECT bronze FROM table_name_65 WHERE total > 7 AND silver = 3 AND games = "summer" AND gold = 5;
``` | 17,241 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)\n\n Question: Which Bronze has a Total ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (tonnage__grt_ VARCHAR, name VARCHAR)
Question: What is the tonnage of the Eldena?
Here is the SQLite query to answer to the question: What is the tonnage ... | Here is the SQLite query to answer the question regarding the tonnage of the Eldena:
```
SELECT tonnage__grt_ FROM table_name_15 WHERE name = "Eldena";
```
Note that the name "Eldena" is capitalized based on common naming conventions, but if your data includes different cases, you may want to use a case-insensitive ... | 17,242 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (tonnage__grt_ VARCHAR, name VARCHAR)\n\n Question: What is the tonnage of the Eldena?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (show_name VARCHAR, time VARCHAR)
Question: What show has a time of 4:00pm–5:00am?
Here is the SQLite query to answer to the question: What show has a time... | Here is the SQLite query to answer the question regarding which show has a time of 4:00pm–5:00am:
```
SELECT show_name FROM table_name_54 WHERE time = "4:00pm–5:00am";
``` | 17,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (show_name VARCHAR, time VARCHAR)\n\n Question: What show has a time of 4:00pm–5:00am?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (show_name VARCHAR, news_freq VARCHAR)
Question: What's the show that has 60 minutes as the news freq?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the show that has 60 minutes as the news frequency:
```
SELECT show_name FROM table_name_25 WHERE news_freq = '60 minutes';
``` | 17,244 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (show_name VARCHAR, news_freq VARCHAR)\n\n Question: What's the show that has 60 minutes as the news freq?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (time VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)
Question: What time that is networked has an ad freq of 20 minutes until 7pm?
Here is the SQLite q... | Here's the correct SQLite query based on your provided schema and question:
```sql
SELECT time FROM table_name_13 WHERE local_networked = "networked" AND ad_freq = "20 minutes until 7pm";
``` | 17,245 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (time VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)\n\n Question: What time that is networked has an ad freq of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR)
Question: What's time is Best Mix Overnight?
Here is the SQLite query to answer to the question: What's time is Best Mix ... | Your query should correctly find the time for the show "Best Mix Overnight." However, make sure the casing matches exactly with the data in your database. SQLite is case-sensitive by default for the string comparison. Here's the corrected query using proper casing for the show name:
```sql
SELECT time FROM table_name_... | 17,246 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (time VARCHAR, show_name VARCHAR)\n\n Question: What's time is Best Mix Overnight?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (res VARCHAR, record VARCHAR, time VARCHAR, method VARCHAR)
Question: Which res has a Time of 5:00, and a Method of decision (unanimous), and a Record of 1–... | Here is the SQLite query to answer the question provided, wrapped as requested:
```
SELECT res FROM table_name_25 WHERE time = "5:00" AND method = "decision (unanimous)" AND record = "1–0"
``` | 17,247 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (res VARCHAR, record VARCHAR, time VARCHAR, method VARCHAR)\n\n Question: Which res has a Time of 5:00, and a Method... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (event VARCHAR, opponent VARCHAR, res VARCHAR, time VARCHAR)
Question: Which Event has Res of loss, and a Time of 5:00, and an Opponent of lance everson?
H... | Here is the SQLite query to answer the question:
```
SELECT event FROM table_name_37 WHERE res = "loss" AND time = "5:00" AND opponent = "lance everson"
``` | 17,248 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (event VARCHAR, opponent VARCHAR, res VARCHAR, time VARCHAR)\n\n Question: Which Event has Res of loss, and a Time o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (heat VARCHAR, time VARCHAR)
Question: What is the heat for the time 57.97?
Here is the SQLite query to answer to the question: What is the heat for the ti... | Here is the SQLite query to answer the question about the heat for the time 57.97:
```
SELECT heat FROM table_name_62 WHERE time = "57.97";
``` | 17,249 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (heat VARCHAR, time VARCHAR)\n\n Question: What is the heat for the time 57.97?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)
Question: How many heats does Julia Wilkinson have?
Here is the SQLite query to answer to the question: How many heats does Ju... | Your query looks good, but please ensure that the name used in the query matches the case in the database, as SQLite string comparisons are case-sensitive unless otherwise configured. Here's your query wrapped correctly:
```
SELECT COUNT(heat) FROM table_name_88 WHERE name = "Julia Wilkinson";
```
Make sure to check... | 17,250 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)\n\n Question: How many heats does Julia Wilkinson have?\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (name VARCHAR, lane VARCHAR, heat VARCHAR, nationality VARCHAR)
Question: Who has more than 4 heat for Germany and 7 lanes?
Here is the SQLite query to answ... | To answer the question correctly, the query needs to count the heats and lanes for each athlete with the German nationality. Here's the correct SQL query:
```sql
SELECT name
FROM table_name_6
WHERE nationality = 'Germany'
GROUP BY name
HAVING COUNT(DISTINCT heat) > 4 AND COUNT(DISTINCT lane) > 7;
```
This query group... | 17,251 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (name VARCHAR, lane VARCHAR, heat VARCHAR, nationality VARCHAR)\n\n Question: Who has more than 4 heat for Germany an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (name VARCHAR, nationality VARCHAR, lane VARCHAR)
Question: Who has less than 3 lanes for France?
Here is the SQLite query to answer to the question: Who h... | The query you provided has a logical flaw in how it checks for the number of lanes. Instead of using `lane < 3`, you should group the results by name and count the lanes for each person. Here's the corrected query:
```sql
SELECT name
FROM table_name_88
WHERE nationality = 'france'
GROUP BY name
HAVING COUNT(lane) ... | 17,252 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (name VARCHAR, nationality VARCHAR, lane VARCHAR)\n\n Question: Who has less than 3 lanes for France?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (player VARCHAR, college VARCHAR)
Question: Who is the Cincinnati College player?
Here is the SQLite query to answer to the question: Who is the Cincinnati... | Here is the SQLite query to answer the question: Who is the Cincinnati College player?:
```
SELECT player FROM table_name_71 WHERE college = "Cincinnati College";
``` | 17,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (player VARCHAR, college VARCHAR)\n\n Question: Who is the Cincinnati College player?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (set_1 VARCHAR, time VARCHAR, total VARCHAR)
Question: What is the set 1 when the time is 13:00, and total is 97–74?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the set_1 when the time is 13:00 and total is 97–74:
```sql
SELECT set_1 FROM table_name_42 WHERE time = "13:00" AND total = "97–74";
``` | 17,254 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (set_1 VARCHAR, time VARCHAR, total VARCHAR)\n\n Question: What is the set 1 when the time is 13:00, and total is 97... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (set_2 VARCHAR, total VARCHAR)
Question: What set 2 has a total of 97–74?
Here is the SQLite query to answer to the question: What set 2 has a total of 97–... | Your SQLite query to find the `set_2` that has a `total` of "97–74" is correct. Here’s the query formatted as you requested:
```
SELECT set_2 FROM table_name_85 WHERE total = "97–74"
``` | 17,255 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (set_2 VARCHAR, total VARCHAR)\n\n Question: What set 2 has a total of 97–74?\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (time VARCHAR, set_1 VARCHAR)
Question: What time has a Set 1 of 18–25?
Here is the SQLite query to answer to the question: What time has a Set 1 of 18–25?... | Your SQLite query to find the time that has a Set 1 of 18–25 is correctly written. Here it is wrapped in the requested format:
```
SELECT time FROM table_name_30 WHERE set_1 = "18–25";
``` | 17,256 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (time VARCHAR, set_1 VARCHAR)\n\n Question: What time has a Set 1 of 18–25?\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (time VARCHAR, set_3 VARCHAR)
Question: What time has a Set 3 of 25–16?
Here is the SQLite query to answer to the question: What time has a Set 3 of 25–16?... | Your SQLite query to find the time that corresponds to a Set 3 of 25–16 is correct. Here’s the query wrapped in the requested format:
```
SELECT time FROM table_name_14 WHERE set_3 = "25–16";
``` | 17,257 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (time VARCHAR, set_3 VARCHAR)\n\n Question: What time has a Set 3 of 25–16?\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (code__iata_icao_ VARCHAR)
Question: What was the value in 2010 for the airport coded OTP/LROP?
Here is the SQLite query to answer to the question: What wa... | The SQLite query you've provided appears to have some issues. It seems you're attempting to get a value for the airport with the code "OTP/LROP" for the year 2010, but the syntax and logic are incorrect.
Assuming that your database records include a year column, you would typically join that year criterion with your a... | 17,258 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (code__iata_icao_ VARCHAR)\n\n Question: What was the value in 2010 for the airport coded OTP/LROP?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (city VARCHAR, rank VARCHAR)
Question: What is the value in 2010 for an airport ranked higher than 3 located in Cluj-Napoca?
Here is the SQLite query to an... | Based on your question, it seems like you are trying to count the number of airports ranked higher than 3 located in Cluj-Napoca for the year 2010. However, the schema you've provided does not indicate that there is a year column (like "2010") in the `table_name_84` table. To properly answer your question, I will assum... | 17,259 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (city VARCHAR, rank VARCHAR)\n\n Question: What is the value in 2010 for an airport ranked higher than 3 located in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (venue VARCHAR, semi_final_heat_host VARCHAR)
Question: What was the venue when David Jacobs was the host?
Here is the SQLite query to answer to the questi... | Your SQLite query looks correct for the given question. Here it is wrapped in code format:
```
SELECT venue FROM table_name_30 WHERE semi_final_heat_host = "david jacobs";
``` | 17,260 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (venue VARCHAR, semi_final_heat_host VARCHAR)\n\n Question: What was the venue when David Jacobs was the host?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (semi_final_heat_host VARCHAR, national_final_main_host VARCHAR, national_final_co_host VARCHAR)
Question: What was the host for the semi final heat, when T... | Here is the SQLite query to answer the question regarding the host for the semi final heat when Terry Wogan was the National Final main host and Gaby Roslin was the National Final co-host:
```
SELECT semi_final_heat_host
FROM table_name_24
WHERE national_final_main_host = "Terry Wogan"
AND national_final_co_host = ... | 17,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (semi_final_heat_host VARCHAR, national_final_main_host VARCHAR, national_final_co_host VARCHAR)\n\n Question: What ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)
Question: What is the name of the national final main host when the semi f... | Here is the SQLite query to answer your question:
```
SELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = "internal selection" AND year_s_ = "2011"
``` | 17,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)\n\n Question: What is the name of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (national_final_co_host VARCHAR, year_s_ VARCHAR, national_final_main_host VARCHAR, selection_show VARCHAR)
Question: What is the name of the national final... | Here is the SQLite query to answer the question:
```
SELECT national_final_co_host FROM table_name_85 WHERE national_final_main_host = "David Jacobs" AND selection_show = "A Song for Europe" AND year_s_ = "1966";
``` | 17,263 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (national_final_co_host VARCHAR, year_s_ VARCHAR, national_final_main_host VARCHAR, selection_show VARCHAR)\n\n Ques... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (selection_show VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)
Question: What is the selection show in 1969 when the Semi final/heat host shows the... | Here is the SQLite query to answer the question regarding the selection show in 1969 when the Semi final/heat host indicates there was no semi final/heat:
```
SELECT selection_show FROM table_name_86 WHERE semi_final_heat_host = "no semi final/heat" AND year_s_ = "1969"
``` | 17,264 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (selection_show VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)\n\n Question: What is the selection show in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (national_final_main_host VARCHAR, venue VARCHAR, selection_show VARCHAR)
Question: What is the name of the national final main host at BBC Television Centr... | Here is the SQLite query that answers the question you provided:
```
SELECT national_final_main_host FROM table_name_75 WHERE venue = "BBC Television Centre" AND selection_show = "Eurovision: Your Country Needs You"
``` | 17,265 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (national_final_main_host VARCHAR, venue VARCHAR, selection_show VARCHAR)\n\n Question: What is the name of the nati... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)
Question: Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.0... | Here is the SQLite query to answer the question regarding the Total that has the A Score larger than 6.4 and the B Score smaller than 9.025:
```sql
SELECT total FROM table_name_31 WHERE a_score > 6.4 AND b_score < 9.025
``` | 17,266 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (total VARCHAR, a_score VARCHAR, b_score VARCHAR)\n\n Question: Can you tell me the Total that has the A Score large... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (total VARCHAR, b_score VARCHAR)
Question: Can you tell me the total number of Total that has the B Score of 9.15?
Here is the SQLite query to answer to th... | Here is the corrected SQLite query to answer your question:
```sql
SELECT COUNT(total) FROM table_name_16 WHERE b_score = '9.15';
```
Please note that since `b_score` is defined as a `VARCHAR`, we should enclose the number in quotes. | 17,267 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (total VARCHAR, b_score VARCHAR)\n\n Question: Can you tell me the total number of Total that has the B Score of 9.1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (b_score INTEGER, position VARCHAR, total VARCHAR)
Question: Can you tell me the average B Score that has the Position of 2nd, and the Total smaller than 15... | Here's the SQLite query to find the average B Score for records where the Position is "2nd" and the Total is smaller than 15.525:
```
SELECT AVG(b_score) FROM table_name_47 WHERE position = '2nd' AND total < 15.525;
``` | 17,268 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (b_score INTEGER, position VARCHAR, total VARCHAR)\n\n Question: Can you tell me the average B Score that has the Po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (year_s__of_manufacture VARCHAR, type VARCHAR, quantity VARCHAR)
Question: Which Year(s) of manufacture has a Type of 1b n2, and a Quantity of 10?
Here is ... | Here is the SQLite query to answer the question regarding which Year(s) of manufacture has a Type of "1b n2" and a Quantity of 10:
```
SELECT year_s__of_manufacture FROM table_name_26 WHERE type = "1b n2" AND quantity = "10"
```
Note that I've enclosed the quantity in quotes to treat it as a string, as the `quantity... | 17,269 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (year_s__of_manufacture VARCHAR, type VARCHAR, quantity VARCHAR)\n\n Question: Which Year(s) of manufacture has a Ty... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
Question: Which Railway number(s) has a Year(s) of manufacture of 1899–1907?
Here is the SQLite... | Here is the corrected SQL query to find the railway numbers with years of manufacture between 1899 and 1907. The years should be treated as a range, so we can check if the year is between 1899 and 1907 inclusively. Assuming the years are stored as strings, we need to make sure to convert them to integers for proper com... | 17,270 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)\n\n Question: Which Railway number(s) has a Year(s) of m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (league VARCHAR, goals VARCHAR)
Question: What is the league listed that has goals of 10?
Here is the SQLite query to answer to the question: What is the l... | Here is the SQLite query to answer the question regarding which league has goals of 10:
```
SELECT league FROM table_name_53 WHERE goals = "10"
``` | 17,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (league VARCHAR, goals VARCHAR)\n\n Question: What is the league listed that has goals of 10?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (team VARCHAR, games VARCHAR)
Question: What is the team name that as games of 7?
Here is the SQLite query to answer to the question: What is the team name... | Here is the SQLite query to answer the question of which team has 7 games:
```
SELECT team FROM table_name_32 WHERE games = '7';
``` | 17,272 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (team VARCHAR, games VARCHAR)\n\n Question: What is the team name that as games of 7?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (season VARCHAR, games VARCHAR)
Question: What season has a Games listed of 10?
Here is the SQLite query to answer to the question: What season has a Games... | Here is the SQLite query formatted as you requested:
```
SELECT season FROM table_name_39 WHERE games = "10";
``` | 17,273 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (season VARCHAR, games VARCHAR)\n\n Question: What season has a Games listed of 10?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (league VARCHAR, games VARCHAR)
Question: What is the league name that has a Games listing of 10?
Here is the SQLite query to answer to the question: What ... | Your SQLite query to find the league name that has a Games listing of 10 is correct. Here it is wrapped in the appropriate format:
```
SELECT league FROM table_name_47 WHERE games = "10";
```
This query selects the `league` from `table_name_47` where the `games` column has a value of "10". | 17,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (league VARCHAR, games VARCHAR)\n\n Question: What is the league name that has a Games listing of 10?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (season VARCHAR, league VARCHAR, goals VARCHAR)
Question: What is the Season with goals of 6 and BCLA as the league?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question based on the provided schema:
```
SELECT season FROM table_name_63 WHERE league = "BCLA" AND goals = "6";
``` | 17,275 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (season VARCHAR, league VARCHAR, goals VARCHAR)\n\n Question: What is the Season with goals of 6 and BCLA as the lea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR)
Question: What is the name of the team with a Games listing of 7?
Here is the SQLite query to answer to the question: What is... | Sure! Here is the SQLite query wrapped in code formatting:
```
SELECT team FROM table_name_27 WHERE games = "7"
``` | 17,276 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (team VARCHAR, games VARCHAR)\n\n Question: What is the name of the team with a Games listing of 7?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (season VARCHAR, position VARCHAR)
Question: What season had a 14th position?
Here is the SQLite query to answer to the question: What season had a 14th po... | ```sql
SELECT season FROM table_name_47 WHERE position = "14th"
``` | 17,277 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (season VARCHAR, position VARCHAR)\n\n Question: What season had a 14th position?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (poles INTEGER, series VARCHAR, season VARCHAR)
Question: What is the sum of poles of the firestone indy lights series before the 2009 season?
Here is the ... | Here is the SQLite query to answer the question about the sum of poles of the firestone indy lights series before the 2009 season:
```
SELECT SUM(poles) FROM table_name_73 WHERE series = "firestone indy lights series" AND season < '2009';
``` | 17,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (poles INTEGER, series VARCHAR, season VARCHAR)\n\n Question: What is the sum of poles of the firestone indy lights ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (f_laps INTEGER, wins INTEGER)
Question: What is the highest f/laps with less than 0 wins?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to find the highest `f_laps` with less than 0 wins:
```sql
SELECT MAX(f_laps) FROM table_name_53 WHERE wins < 0;
``` | 17,279 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (f_laps INTEGER, wins INTEGER)\n\n Question: What is the highest f/laps with less than 0 wins?\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (wins INTEGER, position VARCHAR, f_laps VARCHAR)
Question: What is the average wins with a 20th position and more than 0 f/laps?
Here is the SQLite query t... | Here is the SQLite query to answer the question regarding the average wins for entries with a 20th position and more than 0 f/laps:
```sql
SELECT AVG(wins) FROM table_name_31 WHERE position = '20th' AND f_laps > 0;
``` | 17,280 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (wins INTEGER, position VARCHAR, f_laps VARCHAR)\n\n Question: What is the average wins with a 20th position and mor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR)
Question: What is the lowest poles of team comtec racing, which has a nc position?
Here is the SQLite query... | Here is the SQLite query to answer the question regarding the lowest poles of the team "comtec racing" with the position "nc":
```
SELECT MIN(poles) FROM table_name_84 WHERE position = "nc" AND team = "comtec racing"
``` | 17,281 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (poles INTEGER, position VARCHAR, team VARCHAR)\n\n Question: What is the lowest poles of team comtec racing, which ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, time__greatest_ VARCHAR, magnitude VARCHAR, saros VARCHAR, type VARCHAR)
Question: what is the date when saros is more than 124, the type is ... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_21 WHERE saros > 124 AND type = "total" AND magnitude > 1.0535 AND time__greatest_ = "20:55:28"
``` | 17,282 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (date VARCHAR, time__greatest_ VARCHAR, magnitude VARCHAR, saros VARCHAR, type VARCHAR)\n\n Question: what is the da... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (member INTEGER, magnitude VARCHAR, saros VARCHAR, gamma VARCHAR)
Question: what is the sum of the member when the saros is more than 127, gamma is less tha... | Here is the SQLite query to answer the question regarding the sum of the member under the specified conditions:
```
SELECT SUM(member) FROM table_name_11 WHERE saros > 127 AND gamma < 1.1508 AND magnitude = '0.742'
```
Note: In SQLite, it's often necessary to enclose string-values (like VARCHAR) in single quotes. Si... | 17,283 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (member INTEGER, magnitude VARCHAR, saros VARCHAR, gamma VARCHAR)\n\n Question: what is the sum of the member when t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (pick INTEGER, player VARCHAR)
Question: When Travis Lee was picked, what was the highest pick?
Here is the SQLite query to answer to the question: When Tr... | The SQLite query you provided has a flaw because it attempts to find the maximum pick of the player "Travis Lee" rather than the maximum pick at the time he was drafted. Instead, we need to get the pick number for "Travis Lee" and find the maximum pick from the entire table for that specific time.
Here's the corrected... | 17,284 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (pick INTEGER, player VARCHAR)\n\n Question: When Travis Lee was picked, what was the highest pick?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (pick VARCHAR, team VARCHAR)
Question: What is the total number pick for seattle mariners team?
Here is the SQLite query to answer to the question: What is... | Your SQLite query to find the total number of picks for the "seattle mariners" team looks correct. Here it is wrapped in code formatting:
```
SELECT COUNT(pick) FROM table_name_13 WHERE team = "seattle mariners";
``` | 17,285 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (pick VARCHAR, team VARCHAR)\n\n Question: What is the total number pick for seattle mariners team?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (points INTEGER, scored VARCHAR, wins VARCHAR)
Question: What is the sum of points for teams with 10 goals scored and under 3 wins?
Here is the SQLite quer... | Here is the SQLite query to answer the question about the sum of points for teams with 10 goals scored and under 3 wins:
```sql
SELECT SUM(points) FROM table_name_52 WHERE scored = '10' AND CAST(wins AS INTEGER) < 3;
```
Please note that I've included a `CAST` for the `wins` field assuming it's stored as a string, w... | 17,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (points INTEGER, scored VARCHAR, wins VARCHAR)\n\n Question: What is the sum of points for teams with 10 goals score... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (losses INTEGER, points VARCHAR, draws VARCHAR)
Question: What is the average number of losses for teams with under 16 points and under 3 draws?
Here is the... | Here is the SQLite query to answer the question about the average number of losses for teams with under 16 points and under 3 draws, properly formatted:
```
SELECT AVG(losses) FROM table_name_8 WHERE CAST(points AS INTEGER) < 16 AND CAST(draws AS INTEGER) < 3
``` | 17,287 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (losses INTEGER, points VARCHAR, draws VARCHAR)\n\n Question: What is the average number of losses for teams with und... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (country VARCHAR, time VARCHAR)
Question: What country has a time of 8:03.61?
Here is the SQLite query to answer to the question: What country has a time o... | Here is the SQLite query to answer the question: What country has a time of 8:03.61?:
```
SELECT country FROM table_name_61 WHERE time = "8:03.61";
``` | 17,288 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (country VARCHAR, time VARCHAR)\n\n Question: What country has a time of 8:03.61?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (notes VARCHAR, country VARCHAR)
Question: What are the notes for Zimbabwe?
Here is the SQLite query to answer to the question: What are the notes for Zimb... | Here is the SQLite query to answer the question about the notes for Zimbabwe:
```
SELECT notes FROM table_name_74 WHERE country = "Zimbabwe";
``` | 17,289 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (notes VARCHAR, country VARCHAR)\n\n Question: What are the notes for Zimbabwe?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (time VARCHAR, country VARCHAR)
Question: What is the time for South Korea?
Here is the SQLite query to answer to the question: What is the time for South K... | Here is the SQLite query to answer the question about the time for South Korea:
```sql
SELECT time FROM table_name_3 WHERE country = "South Korea";
``` | 17,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (time VARCHAR, country VARCHAR)\n\n Question: What is the time for South Korea?\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (athlete VARCHAR, time VARCHAR)
Question: The time of 8:34.27 was set by what athlete?
Here is the SQLite query to answer to the question: The time of 8:34... | Here is the SQLite query to answer the question about which athlete set the time of 8:34.27:
```sql
SELECT athlete FROM table_name_90 WHERE time = "8:34.27"
``` | 17,291 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (athlete VARCHAR, time VARCHAR)\n\n Question: The time of 8:34.27 was set by what athlete?\n\nHere is the SQLite que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (time VARCHAR, athlete VARCHAR, rank VARCHAR, notes VARCHAR)
Question: The Athlete Shin Yeong-eun with a rank larger than 3 and notes of FD had what time?
... | Here is the SQLite query to answer the question:
```
SELECT time FROM table_name_79 WHERE rank > 3 AND notes = "FD" AND athlete = "Shin Yeong-eun";
``` | 17,292 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (time VARCHAR, athlete VARCHAR, rank VARCHAR, notes VARCHAR)\n\n Question: The Athlete Shin Yeong-eun with a rank la... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (event VARCHAR, horse VARCHAR, result VARCHAR)
Question: In which event did Fabuleux 5 get a result smaller than 70.88?
Here is the SQLite query to answer ... | Here is the corrected SQLite query to answer the question about in which event Fabuleux 5 got a result smaller than 70.88:
```sql
SELECT event FROM table_name_69 WHERE horse = "Fabuleux 5" AND result < 70.88;
```
Make sure to check the casing of "Fabuleux 5" if needed, and ensure that the `result` column is of a num... | 17,293 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (event VARCHAR, horse VARCHAR, result VARCHAR)\n\n Question: In which event did Fabuleux 5 get a result smaller than... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (class VARCHAR, horse VARCHAR, event VARCHAR, result VARCHAR)
Question: What is the class of Fabuleux 5 get less than 70.277 in the freestyle test?
Here is... | Here is the SQLite query to answer the question regarding the class of Fabuleux 5 with a result of less than 70.277 in the freestyle test:
```
SELECT class FROM table_name_11 WHERE event = "freestyle test" AND result < 70.277 AND horse = "Fabuleux 5"
``` | 17,294 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (class VARCHAR, horse VARCHAR, event VARCHAR, result VARCHAR)\n\n Question: What is the class of Fabuleux 5 get less... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)
Question: What horse was shown by with Britta Näpel and got less than 71.909?
Here is the SQLite query to ... | Here is the SQLite query to answer the question:
```
SELECT horse FROM table_name_61 WHERE athlete = "Britta Näpel" AND result < 71.909;
``` | 17,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)\n\n Question: What horse was shown by with Britta Näpel and got les... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (result VARCHAR, horse VARCHAR, event VARCHAR)
Question: What is the result of Waldemar 27´s freestyle test?
Here is the SQLite query to answer to the ques... | To answer the question about the result of Waldemar 27's freestyle test, an appropriate SQLite query would look like this:
```
SELECT result FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test";
```
This query retrieves the result of the specified horse and event without counting the results, a... | 17,296 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (result VARCHAR, horse VARCHAR, event VARCHAR)\n\n Question: What is the result of Waldemar 27´s freestyle test?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)
Question: what is the date for the tournament acapulco?
Here is the SQLite query to answer to the question: what is the ... | Here is the SQLite query to answer the question about the date for the tournament "acapulco":
```
SELECT date FROM table_name_94 WHERE tournament = "acapulco";
``` | 17,297 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)\n\n Question: what is the date for the tournament acapulco?\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Question: who is the opponent in the final when the tournament is cagnes-sur-mer?
Here is the SQLite qu... | Here is the SQLite query to answer the question about who is the opponent in the final when the tournament is cagnes-sur-mer:
```
SELECT opponent_in_the_final FROM table_name_64 WHERE tournament = "cagnes-sur-mer"
``` | 17,298 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (opponent_in_the_final VARCHAR, tournament VARCHAR)\n\n Question: who is the opponent in the final when the tourname... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)
Question: what is the date for the tournament joué-lès-tours?
Here is the SQLite query to answer to the question: what i... | Here is the SQLite query to answer the question regarding the date for the tournament "joué-lès-tours":
```
SELECT date FROM table_name_52 WHERE tournament = "joué-lès-tours"
``` | 17,299 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR)\n\n Question: what is the date for the tournament joué-lès-tours?\n\nHere is the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.