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_59 (drawn INTEGER, lost VARCHAR, points VARCHAR) Question: How many total drawn has less than 4 lost and 8 points? Here is the SQLite query to answer to the q...
Here is the corrected SQLite query to answer the question about how many total drawn has less than 4 lost and 8 points: ``` SELECT SUM(drawn) FROM table_name_59 WHERE CAST(lost AS INTEGER) < 4 AND CAST(points AS INTEGER) = 8 ``` In this query, we use `CAST` to ensure that the values in the `lost` and `points` column...
10,400
[ { "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_59 (drawn INTEGER, lost VARCHAR, points VARCHAR)\n\n Question: How many total drawn has less than 4 lost and 8 points?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (lost INTEGER, games INTEGER) Question: How many lost are there before game 7? Here is the SQLite query to answer to the question: How many lost are there b...
Your query is correct. Here it is wrapped in code formatting: ``` SELECT SUM(lost) FROM table_name_5 WHERE games < 7 ``` This query will return the total number of losses recorded in the `lost` column for all entries in `table_name_5` where the `games` column has a value less than 7.
10,401
[ { "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_5 (lost INTEGER, games INTEGER)\n\n Question: How many lost are there before game 7?\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_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR) Question: How many touchdowns did the player with less than 4495 yards, long of less th...
Here is the SQLite query to answer the question about how many touchdowns the specified player had: ``` SELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND yds_att < 5.5; ```
10,402
[ { "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 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)\n\n Question: How many touchdowns did the playe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (attempts INTEGER, rank VARCHAR, start VARCHAR, yds_att VARCHAR) Question: How many attempts did the player ranking with a number higher than 1, who started...
Here is the correct SQLite query to answer the question: ``` SELECT SUM(attempts) FROM table_name_66 WHERE start > '1997' AND yds_att = '5' AND rank > '1'; ```
10,403
[ { "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_66 (attempts INTEGER, rank VARCHAR, start VARCHAR, yds_att VARCHAR)\n\n Question: How many attempts did the player rank...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (net_yds INTEGER, long VARCHAR, start VARCHAR) Question: What is the average net yds for the player who had a long of 68 and started after 1984? Here is th...
Your query is almost correct, but the `long` column is defined as `VARCHAR`, so you'll want to ensure you're comparing it properly, treating it as a string. Also, the `start` column should be expressed in a way that allows for comparison with integers representing years. Here is the refined query: ```sql SELECT AVG(ne...
10,404
[ { "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_59 (net_yds INTEGER, long VARCHAR, start VARCHAR)\n\n Question: What is the average net yds for the player who had a lo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (attempts INTEGER, yds_att VARCHAR, rank VARCHAR, start VARCHAR) Question: What is the lowest number of attempts for the player with a rank number larger th...
Here is the corrected SQLite query wrapped as requested: ``` SELECT MIN(attempts) FROM table_name_57 WHERE rank > 3 AND start > '1984' AND yds_att < '6.1'; ``` Note: In SQLite, the comparison of `start` and `yds_att` fields should be performed as strings (assuming they are stored as VARCHAR) or converted to the ap...
10,405
[ { "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_57 (attempts INTEGER, yds_att VARCHAR, rank VARCHAR, start VARCHAR)\n\n Question: What is the lowest number of attempts...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (film VARCHAR, year INTEGER) Question: Which film was made before 2002? Here is the SQLite query to answer to the question: Which film was made before 2002?...
Here is the SQLite query to answer the question: Which film was made before 2002?: ``` SELECT film FROM table_name_1 WHERE year < 2002; ```
10,406
[ { "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 (film VARCHAR, year INTEGER)\n\n Question: Which film was made before 2002?\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_68 (film VARCHAR, role VARCHAR) Question: Which film has a role named Taylor? Here is the SQLite query to answer to the question: Which film has a role named ...
Here is the SQLite query to answer the question: Which film has a role named Taylor?: ``` SELECT film FROM table_name_68 WHERE role = "Taylor"; ```
10,407
[ { "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_68 (film VARCHAR, role VARCHAR)\n\n Question: Which film has a role named Taylor?\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_3 (notes VARCHAR, film VARCHAR) Question: What notes does the film Touch & go have? Here is the SQLite query to answer to the question: What notes does the fi...
Here is the SQLite query to answer the question about the notes for the film "Touch & Go": ``` SELECT notes FROM table_name_3 WHERE film = "Touch & Go" ```
10,408
[ { "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 (notes VARCHAR, film VARCHAR)\n\n Question: What notes does the film Touch & go 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_46 (language VARCHAR, film VARCHAR) Question: What language is the film Marion Bridge? Here is the SQLite query to answer to the question: What language is th...
Here is the SQLite query to answer the question about the language of the film "Marion Bridge": ``` SELECT language FROM table_name_46 WHERE film = "Marion Bridge"; ```
10,409
[ { "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_46 (language VARCHAR, film VARCHAR)\n\n Question: What language is the film Marion Bridge?\n\nHere is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (language VARCHAR, role VARCHAR) Question: What language is the film with a character named Annabelle? Here is the SQLite query to answer to the question: ...
Your query looks good, but it's important to note that SQL is case-sensitive for string comparisons by default. If "Annabelle" is the exact casing in your data, your query is accurate. However, to ensure it captures variations in casing, you might want to use a case-insensitive approach. Here’s the improved version: `...
10,410
[ { "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 (language VARCHAR, role VARCHAR)\n\n Question: What language is the film with a character named Annabelle?\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_83 (pick INTEGER, school VARCHAR, round VARCHAR) Question: What is the lowest pick from the Furman School that is a round smaller than 8? Here is the SQLite q...
Your query to find the lowest pick from the Furman School that is a round smaller than 8 is mostly correct, but it is important to make sure that the round is treated as an integer for comparison. Here’s the refined query wrapped properly: ``` SELECT MIN(pick) FROM table_name_83 WHERE school = "furman" AND CAST(roun...
10,411
[ { "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 (pick INTEGER, school VARCHAR, round VARCHAR)\n\n Question: What is the lowest pick from the Furman School that is a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (round VARCHAR, school VARCHAR) Question: What is the total number of round picks from the Morris Brown School? Here is the SQLite query to answer to the q...
Your SQLite query is almost correct, but it's important to ensure that the school name is accurately represented in your query. Here's the corrected version: ```sql SELECT COUNT(round) FROM table_name_59 WHERE school = 'Morris Brown'; ``` Make sure to replace "Morris Brown" with the exact case as it appears in your d...
10,412
[ { "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_59 (round VARCHAR, school VARCHAR)\n\n Question: What is the total number of round picks from the Morris Brown School?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR) Question: What is the total number of rounds for the player of Rell Tipton? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about the total number of rounds for the player of Rell Tipton: ``` SELECT COUNT(round) FROM table_name_58 WHERE player = "Rell Tipton"; ```
10,413
[ { "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 (round VARCHAR, player VARCHAR)\n\n Question: What is the total number of rounds for the player of Rell Tipton?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (date VARCHAR, game VARCHAR) Question: On what date was game 3 played? Here is the SQLite query to answer to the question: On what date was game 3 played?:...
Here's the SQLite query to answer the question of on what date game 3 was played: ```sql SELECT date FROM table_name_44 WHERE game = '3'; ```
10,414
[ { "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_44 (date VARCHAR, game VARCHAR)\n\n Question: On what date was game 3 played?\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_8 (game VARCHAR, date VARCHAR) Question: Which game took place on April 22? Here is the SQLite query to answer to the question: Which game took place on April...
Here is the SQLite query to answer the question: Which game took place on April 22?: ``` SELECT game FROM table_name_8 WHERE date = "April 22"; ```
10,415
[ { "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 (game VARCHAR, date VARCHAR)\n\n Question: Which game took place on April 22?\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (series VARCHAR, game VARCHAR) Question: What was the standing in the series after game 1? Here is the SQLite query to answer to the question: What was the ...
To find the standing in the series after game 1, you need to group the results by the series and count the occurrences of each team that has won a game. Assuming that the winning game is indicated somehow (for instance, if the series or game information denotes which team won), we'll need to use a proper aggregation. H...
10,416
[ { "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 (series VARCHAR, game VARCHAR)\n\n Question: What was the standing in the series after game 1?\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_90 (race VARCHAR, time VARCHAR) Question: Which race had a time of 1:24.35? Here is the SQLite query to answer to the question: Which race had a time of 1:24....
Here is the SQLite query to answer the question "Which race had a time of 1:24.35?": ``` SELECT race FROM table_name_90 WHERE time = "1:24.35"; ```
10,417
[ { "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 (race VARCHAR, time VARCHAR)\n\n Question: Which race had a time of 1:24.35?\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (date VARCHAR, group VARCHAR, venue VARCHAR) Question: What was the date for the G1 group race at Flemington? Here is the SQLite query to answer to the que...
Your SQLite query looks almost correct, but it's good practice to ensure the string comparisons are consistent with the casing in your database. Here's the revised query wrapped in code blocks: ``` SELECT date FROM table_name_98 WHERE group = "G1" AND venue = "Flemington"; ``` Make sure the case for "G1" and "Flemin...
10,418
[ { "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 (date VARCHAR, group VARCHAR, venue VARCHAR)\n\n Question: What was the date for the G1 group race at Flemington?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (weight__kg_ VARCHAR, race VARCHAR) Question: What was the combined weight in kilograms of the horses in the race at Chelmsford stakes? Here is the SQLite ...
The query you've provided is counting the number of entries instead of calculating the combined weight. To compute the total weight of the horses in the specified race, you should use the `SUM` function instead of `COUNT`. Here's the correct SQLite query: ``` SELECT SUM(weight__kg_) FROM table_name_42 WHERE race = "Ch...
10,419
[ { "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 (weight__kg_ VARCHAR, race VARCHAR)\n\n Question: What was the combined weight in kilograms of the horses in the rac...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (year VARCHAR, artist VARCHAR) Question: In what year was the artist Afro-dite? Here is the SQLite query to answer to the question: In what year was the ar...
Here is the SQLite query to answer the question about the year the artist Afro-dite was active: ```sql SELECT year FROM table_name_54 WHERE artist = "Afro-dite"; ```
10,420
[ { "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 (year VARCHAR, artist VARCHAR)\n\n Question: In what year was the artist Afro-dite?\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_2 (stadium VARCHAR, date VARCHAR) Question: What stadium was the game held at on December 23, 2001? Here is the SQLite query to answer to the question: What s...
Here is the SQLite query to answer the question about the stadium where the game was held on December 23, 2001: ```sql SELECT stadium FROM table_name_2 WHERE date = "December 23, 2001" ```
10,421
[ { "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_2 (stadium VARCHAR, date VARCHAR)\n\n Question: What stadium was the game held at on December 23, 2001?\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_52 (record VARCHAR, date VARCHAR) Question: What is the Record for the game held on December 2, 2001? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question regarding the record for the game held on December 2, 2001: ``` SELECT record FROM table_name_52 WHERE date = "December 2, 2001"; ```
10,422
[ { "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 (record VARCHAR, date VARCHAR)\n\n Question: What is the Record for the game held on December 2, 2001?\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_24 (game INTEGER, attendance VARCHAR) Question: What is the average Game where there were 65,666 in attendance? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question about the average Game where there were 65,666 in attendance: ``` SELECT AVG(game) FROM table_name_24 WHERE attendance = "65,666"; ```
10,423
[ { "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 (game INTEGER, attendance VARCHAR)\n\n Question: What is the average Game where there were 65,666 in attendance?\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_46 (feature VARCHAR, driving_force_ex VARCHAR) Question: Driving Force EX of 25cm (10-inch) involves what feature? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question: ``` SELECT feature FROM table_name_46 WHERE driving_force_ex = "25cm (10-inch)" ```
10,424
[ { "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_46 (feature VARCHAR, driving_force_ex VARCHAR)\n\n Question: Driving Force EX of 25cm (10-inch) involves what feature?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (driving_force_gt VARCHAR, g27_racing_wheel VARCHAR, gt_force VARCHAR, driving_force_pro VARCHAR) Question: GT Force of no, and a Driving Force Pro of no, an...
Here is the SQLite query to answer the question regarding the conditions specified: ``` SELECT driving_force_gt FROM table_name_2 WHERE gt_force = "no" AND driving_force_pro = "no" AND g27_racing_wheel = "no" ```
10,425
[ { "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_2 (driving_force_gt VARCHAR, g27_racing_wheel VARCHAR, gt_force VARCHAR, driving_force_pro VARCHAR)\n\n Question: GT Fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (driving_force_gt VARCHAR, feature VARCHAR) Question: Feature of gear stick involves which driving force gt? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding the driving force gt associated with the feature of the gear stick: ``` SELECT driving_force_gt FROM table_name_34 WHERE feature = "gear stick"; ```
10,426
[ { "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_34 (driving_force_gt VARCHAR, feature VARCHAR)\n\n Question: Feature of gear stick involves which driving force gt?\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_64 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR) Question: Driving Force EX of no, and a Driving Force GT of...
Here is the SQLite query to answer the question regarding the Driving Force EX, GT, and Pro values: ``` SELECT feature FROM table_name_64 WHERE driving_force_ex = "no" AND driving_force_gt = "yes" AND driving_force_pro = "yes" ```
10,427
[ { "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 (feature VARCHAR, driving_force_pro VARCHAR, driving_force_ex VARCHAR, driving_force_gt VARCHAR)\n\n Question: Drivi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (g27_racing_wheel VARCHAR, g25_racing_wheel VARCHAR, driving_force_ex VARCHAR, driving_force_pro VARCHAR) Question: Driving Force EX of no, and a Driving Fo...
Here is the SQLite query to answer the question regarding the `G27 Racing Wheel` based on the specified conditions: ``` SELECT g27_racing_wheel FROM table_name_45 WHERE driving_force_ex = "no" AND driving_force_pro = "no" AND g25_racing_wheel = "no" ```
10,428
[ { "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_45 (g27_racing_wheel VARCHAR, g25_racing_wheel VARCHAR, driving_force_ex VARCHAR, driving_force_pro VARCHAR)\n\n Questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR) Question: GT Force of yes, and a G27 Racing Wheel of 16 involves which driving force ...
Sure! Here is the SQLite query wrapped as you requested: ``` SELECT driving_force_ex FROM table_name_87 WHERE gt_force = "yes" AND g27_racing_wheel = "16" ```
10,429
[ { "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_87 (driving_force_ex VARCHAR, gt_force VARCHAR, g27_racing_wheel VARCHAR)\n\n Question: GT Force of yes, and a G27 Raci...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) Question: What is the score on october 7? Here is the SQLite query to answer to the question: What is the score on october 7?...
Here is the SQLite query to answer the question about the score on October 7: ``` SELECT score FROM table_name_95 WHERE date = "october 7"; ```
10,430
[ { "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 (score VARCHAR, date VARCHAR)\n\n Question: What is the score on october 7?\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_39 (attendance INTEGER, score VARCHAR) Question: How many people went to the game that had 17-13? Here is the SQLite query to answer to the question: How many...
Here is the SQLite query to answer the question about how many people went to the game that had a score of 17-13: ```sql SELECT SUM(attendance) FROM table_name_39 WHERE score = '17-13'; ```
10,431
[ { "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 (attendance INTEGER, score VARCHAR)\n\n Question: How many people went to the game that had 17-13?\n\nHere is the SQ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (rank INTEGER, code__iata_icao_ VARCHAR) Question: What is the highest rank for the airport with a code of HKG/VHHH? Here is the SQLite query to answer to ...
Your SQLite query looks mostly correct, but SQL string comparison is usually case-sensitive in SQLite. If you want to ensure that the query is case-insensitive, you can use the `LOWER` function. Here’s an updated version of the query: ``` SELECT MAX(rank) FROM table_name_56 WHERE LOWER(code__iata_icao_) = "hkg/vhhh" `...
10,432
[ { "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_56 (rank INTEGER, code__iata_icao_ VARCHAR)\n\n Question: What is the highest rank for the airport with a code of HKG/V...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (points VARCHAR, played VARCHAR, drawn VARCHAR, team VARCHAR) Question: How many Points have Drawn of 7, and a Team of corinthians, and a Played larger than...
Here is the SQLite query to answer the question: ``` SELECT COUNT(points) FROM table_name_72 WHERE drawn = '7' AND team = 'corinthians' AND played > '18' ```
10,433
[ { "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_72 (points VARCHAR, played VARCHAR, drawn VARCHAR, team VARCHAR)\n\n Question: How many Points have Drawn of 7, and a T...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (points INTEGER, position VARCHAR, played VARCHAR) Question: Which Points is the highest one that has a Position of 5, and a Played smaller than 18? Here i...
Here is the SQLite query to answer the question regarding the highest points with the specified conditions: ``` SELECT MAX(points) FROM table_name_80 WHERE position = '5' AND played < '18' ```
10,434
[ { "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_80 (points INTEGER, position VARCHAR, played VARCHAR)\n\n Question: Which Points is the highest one that has a Position...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR) Question: Which Drawn is the average one that has a Position smaller than 9...
Here is the SQLite query that answers the question: ``` SELECT AVG(drawn) FROM table_name_76 WHERE position < 9 AND points < 22 AND lost < 9 AND against > 29; ```
10,435
[ { "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 (drawn INTEGER, against VARCHAR, lost VARCHAR, position VARCHAR, points VARCHAR)\n\n Question: Which Drawn is the av...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (against VARCHAR, played INTEGER) Question: How many Against have Played smaller than 18? Here is the SQLite query to answer to the question: How many Agai...
Here's your SQLite query wrapped in code formatting: ``` SELECT COUNT(against) FROM table_name_54 WHERE played < 18; ```
10,436
[ { "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 (against VARCHAR, played INTEGER)\n\n Question: How many Against have Played smaller than 18?\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_66 (points_difference VARCHAR, points VARCHAR, lost VARCHAR) Question: What is the points difference associated with more than 3 points and more than 0 losses?...
Here is the SQLite query to answer the question about the points difference associated with more than 3 points and more than 0 losses: ``` SELECT points_difference FROM table_name_66 WHERE points > 3 AND lost > 0 ```
10,437
[ { "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_66 (points_difference VARCHAR, points VARCHAR, lost VARCHAR)\n\n Question: What is the points difference associated wit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (points_difference VARCHAR, lost VARCHAR, points VARCHAR) Question: What is the difference associated with more than 2 losses and more than 1 point? Here i...
Your provided SQLite query is almost correct, but you need to ensure that the `lost` and `points` columns are interpreted as numeric values since they are defined as `VARCHAR`. You should cast these columns to integers for the comparison. Here’s the corrected query: ```sql SELECT points_difference FROM table_name_45 W...
10,438
[ { "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_45 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)\n\n Question: What is the difference associated with more ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (location VARCHAR, game VARCHAR) Question: What location did game 64 take place Here is the SQLite query to answer to the question: What location did game ...
Certainly! Here’s the SQLite query to find out what location game 64 took place: ``` SELECT location FROM table_name_34 WHERE game = 64 ```
10,439
[ { "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_34 (location VARCHAR, game VARCHAR)\n\n Question: What location did game 64 take place\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_27 (attendance VARCHAR, game_site VARCHAR, week VARCHAR) Question: What was the Attendance after Week 7 at Tiger Stadium? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the attendance after Week 7 at Tiger Stadium: ``` SELECT attendance FROM table_name_27 WHERE game_site = "Tiger Stadium" AND week > '7'; ```
10,440
[ { "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 (attendance VARCHAR, game_site VARCHAR, week VARCHAR)\n\n Question: What was the Attendance after Week 7 at Tiger St...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (attendance INTEGER, result VARCHAR) Question: What was the Attendance at the Game with a Result of w 21–7? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding the Attendance at the Game with a Result of "w 21–7": ``` SELECT attendance FROM table_name_71 WHERE result = "w 21–7" ```
10,441
[ { "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 (attendance INTEGER, result VARCHAR)\n\n Question: What was the Attendance at the Game with a Result of w 21–7?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (year VARCHAR, make__model VARCHAR) Question: How many years have a Make/ Model of new flyer c40lfr? Here is the SQLite query to answer to the question: How...
Your SQLite query looks correct for counting the number of years that have a Make/Model of "new flyer c40lfr". Here it is wrapped in code format for clarity: ``` SELECT COUNT(year) FROM table_name_4 WHERE make__model = "new flyer c40lfr"; ```
10,442
[ { "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 (year VARCHAR, make__model VARCHAR)\n\n Question: How many years have a Make/ Model of new flyer c40lfr?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (make__model VARCHAR, numbers__quantity_ordered_ VARCHAR) Question: Which Make/ Model that Numbers (Quantity Ordered) of 1461–1500 (40 buses)? Here is the ...
Here is the SQLite query to answer the question about which Make/Model corresponds to the quantity ordered of 1461–1500 (40 buses): ``` SELECT make__model FROM table_name_36 WHERE numbers__quantity_ordered_ = '1461–1500 (40 buses)'; ```
10,443
[ { "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 (make__model VARCHAR, numbers__quantity_ordered_ VARCHAR)\n\n Question: Which Make/ Model that Numbers (Quantity Ord...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR) Question: Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)? Here ...
Here is the SQLite query to answer the question regarding which Fuel Propulsion has the specified quantity ordered: ```sql SELECT fuel_propulsion FROM table_name_34 WHERE numbers__quantity_ordered_ = '7124-7156 (33 buses)'; ```
10,444
[ { "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_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR)\n\n Question: Which Fuel Propulsion has Numbers (Quant...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR) Question: Which Numbers (Quantity Ordered) have a Fuel Prop...
The SQLite query you provided is correct for the specified criteria. Here it is wrapped as requested: ``` SELECT numbers__quantity_ordered_ FROM table_name_96 WHERE fuel_propulsion = "cng" AND year < 2008 AND make__model = "nabi 40-lfw" ```
10,445
[ { "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_96 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR, fuel_propulsion VARCHAR, year VARCHAR)\n\n Question: Which...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR) Question: Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport? Here...
Here is the SQLite query to answer the question regarding which Numbers (Quantity Ordered) have a Make/Model of "eldorado national passport": ``` SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = 'eldorado national passport'; ```
10,446
[ { "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 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR)\n\n Question: Which Numbers (Quantity Ordered) have a Make...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (year INTEGER, college VARCHAR, pick VARCHAR) Question: What is the earliest year for Alabama with a pick under 26? Here is the SQLite query to answer to t...
Your SQLite query is almost correct but needs a slight adjustment with the comparison operator for the `pick` field, as it is stored as a VARCHAR. You should convert the pick to an INTEGER before making the comparison. Here’s the corrected version: ``` SELECT MIN(year) FROM table_name_78 WHERE college = "alabama" AND ...
10,447
[ { "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 (year INTEGER, college VARCHAR, pick VARCHAR)\n\n Question: What is the earliest year for Alabama with a pick under ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR) Question: Which player was pick 2 later than 2010? Here is the SQLite query to answer to the question: Which p...
Here is the SQLite query to answer the question: Which player was pick 2 later than 2010?: ``` SELECT player FROM table_name_23 WHERE year > '2010' AND pick = '2' ```
10,448
[ { "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_23 (player VARCHAR, year VARCHAR, pick VARCHAR)\n\n Question: Which player was pick 2 later than 2010?\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_31 (position VARCHAR, pick INTEGER) Question: Which position has a pick greater than 28? Here is the SQLite query to answer to the question: Which position ha...
Your query is correct. Here it is wrapped in code formatting: ``` SELECT position FROM table_name_31 WHERE pick > 28; ```
10,449
[ { "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 (position VARCHAR, pick INTEGER)\n\n Question: Which position has a pick greater than 28?\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_14 (opponent VARCHAR, date VARCHAR) Question: what team played on august 25 Here is the SQLite query to answer to the question: what team played on august 25:...
Here is the SQLite query to answer the question of which team played on August 25: ```sql SELECT opponent FROM table_name_14 WHERE date = "august 25"; ```
10,450
[ { "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 (opponent VARCHAR, date VARCHAR)\n\n Question: what team played on august 25\n\nHere is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (class VARCHAR, year VARCHAR, stages_won VARCHAR, vehicle VARCHAR) Question: What class is associated with 0 stages won, a hummer, and before 2009? Here is...
Here is the SQLite query to answer the question about the class associated with 0 stages won, a hummer, and before 2009: ``` SELECT class FROM table_name_83 WHERE stages_won = "0" AND vehicle = "hummer" AND year < '2009' ```
10,451
[ { "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 (class VARCHAR, year VARCHAR, stages_won VARCHAR, vehicle VARCHAR)\n\n Question: What class is associated with 0 sta...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (position VARCHAR, year VARCHAR) Question: What position did he finish in 2012? Here is the SQLite query to answer to the question: What position did he fi...
Here is the SQLite query to answer the question regarding the position finished in 2012: ``` SELECT position FROM table_name_59 WHERE year = '2012' ```
10,452
[ { "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_59 (position VARCHAR, year VARCHAR)\n\n Question: What position did he finish in 2012?\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_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR) Question: What year did he compete in the car class and win 0 stages? Here is the SQLite query to answer ...
Your SQLite query to find the year in which he competed in the car class and won 0 stages is correct. Here’s the formatted version: ``` SELECT year FROM table_name_59 WHERE class = "car" AND stages_won = "0" ```
10,453
[ { "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_59 (year VARCHAR, class VARCHAR, stages_won VARCHAR)\n\n Question: What year did he compete in the car class and win 0 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (position VARCHAR, division VARCHAR, week VARCHAR) Question: on week of february 12, in the west division, what is the position? Here is the SQLite query t...
Here is the SQLite query that answers the question regarding the position in the west division for the week of February 12: ``` SELECT position FROM table_name_16 WHERE division = 'west' AND week = 'february 12'; ```
10,454
[ { "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 (position VARCHAR, division VARCHAR, week VARCHAR)\n\n Question: on week of february 12, in the west division, what ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR) Question: What is the listed Location with a # found of 4? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the listed Location with a # found of 4: ``` SELECT location FROM table_name_47 WHERE _number_found = "4" ```
10,455
[ { "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 (location VARCHAR, _number_found VARCHAR)\n\n Question: What is the listed Location with a # found of 4?\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_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR) Question: What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE? H...
Here is the SQLite query to answer the question about the Ball Diameter with the Location of El Manati and the Period of 1200 BCE: ```sql SELECT ball_diameter FROM table_name_87 WHERE location = "El Manati" AND period = "1200 BCE"; ```
10,456
[ { "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_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR)\n\n Question: What's the Ball Diameter with the Location o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (ball_diameter VARCHAR, culture VARCHAR) Question: What's the Ball Diameter with the Culture of Olmec? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question "What's the Ball Diameter with the Culture of Olmec?": ``` SELECT ball_diameter FROM table_name_54 WHERE culture = "Olmec" ```
10,457
[ { "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 (ball_diameter VARCHAR, culture VARCHAR)\n\n Question: What's the Ball Diameter with the Culture of Olmec?\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_81 (period VARCHAR, _number_found VARCHAR) Question: What's the Period with # found of 5? Here is the SQLite query to answer to the question: What's the Perio...
```sql SELECT period FROM table_name_81 WHERE _number_found = "5" ```
10,458
[ { "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_81 (period VARCHAR, _number_found VARCHAR)\n\n Question: What's the Period with # found of 5?\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_61 (country VARCHAR, name VARCHAR) Question: Which Country has azeri tv tower? Here is the SQLite query to answer to the question: Which Country has azeri tv ...
Here is the SQLite query to answer the question: Which Country has azeri tv tower?: ``` SELECT country FROM table_name_61 WHERE name = "azeri tv tower" ```
10,459
[ { "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, name VARCHAR)\n\n Question: Which Country has azeri tv tower?\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_31 (pinnacle_height VARCHAR, name VARCHAR) Question: What is Pinnacle height of chimney of orot rabin? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question about the pinnacle height of the chimney of Orot Rabin: ``` SELECT pinnacle_height FROM table_name_31 WHERE name = "chimney of orot rabin" ```
10,460
[ { "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 (pinnacle_height VARCHAR, name VARCHAR)\n\n Question: What is Pinnacle height of chimney of orot rabin?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR) Question: Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower? Here is...
Here is the SQLite query to answer the question about which country has a pinnacle height of "metres (ft)" and a name of "azeri tv tower": ```sql SELECT country FROM table_name_37 WHERE pinnacle_height = 'metres (ft)' AND name = 'azeri tv tower'; ```
10,461
[ { "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 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)\n\n Question: Which Country has a Pinnacle height of metres...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR) Question: Which Town has a Structural type of guyed mast and a Country of belgium? Here is the SQL...
Here is the SQLite query to answer the question regarding towns with a structural type of "guyed mast" and a country of "Belgium": ``` SELECT town FROM table_name_29 WHERE structural_type = 'guyed mast' AND country = 'belgium' ```
10,462
[ { "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 (town VARCHAR, structural_type VARCHAR, country VARCHAR)\n\n Question: Which Town has a Structural type of guyed mas...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (main_use VARCHAR, name VARCHAR) Question: What is the Main use of emley moor tower (mk.3)? Here is the SQLite query to answer to the question: What is the...
Here is the SQLite query to answer the question about the main use of Emley Moor Tower (Mk.3): ``` SELECT main_use FROM table_name_54 WHERE name = "emley moor tower (mk.3)" ```
10,463
[ { "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 (main_use VARCHAR, name VARCHAR)\n\n Question: What is the Main use of emley moor tower (mk.3)?\n\nHere is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (main_use VARCHAR, country VARCHAR, name VARCHAR) Question: What is the Main use of transmitter solt in Hungary? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question about the Main use of transmitter solt in Hungary: ``` SELECT main_use FROM table_name_75 WHERE country = "Hungary" AND name = "transmitter solt"; ```
10,464
[ { "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 (main_use VARCHAR, country VARCHAR, name VARCHAR)\n\n Question: What is the Main use of transmitter solt in Hungary?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (date VARCHAR, race_title VARCHAR) Question: what day was the sandown Here is the SQLite query to answer to the question: what day was the sandown: ``` SEL...
Here is the SQLite query to answer the question: what day was the sandown: ``` SELECT date FROM table_name_56 WHERE race_title = "sandown"; ```
10,465
[ { "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_56 (date VARCHAR, race_title VARCHAR)\n\n Question: what day was the sandown\n\nHere is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (birth VARCHAR, became_duchess VARCHAR) Question: What is the Birth of the lady that has a Became Duchess on 18 august 1593 husband's accession? Here is th...
Your SQL query looks correct based on the given schema. Here it is wrapped in code format: ``` SELECT birth FROM table_name_52 WHERE became_duchess = "18 august 1593 husband's accession" ``` This query will retrieve the `birth` of the lady who became a duchess on the specified date.
10,466
[ { "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 (birth VARCHAR, became_duchess VARCHAR)\n\n Question: What is the Birth of the lady that has a Became Duchess on 18 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (spouse VARCHAR, birth VARCHAR) Question: Who is the Spouse of the Duchess that has a Birth on 29 october 1451? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question: Who is the Spouse of the Duchess that has a Birth on 29 October 1451?: ``` SELECT spouse FROM table_name_47 WHERE birth = "29 october 1451" ```
10,467
[ { "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 (spouse VARCHAR, birth VARCHAR)\n\n Question: Who is the Spouse of the Duchess that has a Birth on 29 october 1451?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (spouse VARCHAR, became_duchess VARCHAR) Question: Who is The Spouse of the Duchess that has a Became Duchess on 31 october 1733 husband's accession? Here...
Your SQLite query looks correct for the question you are trying to answer. Here it is wrapped in code formatting: ``` SELECT spouse FROM table_name_31 WHERE became_duchess = "31 october 1733 husband's accession"; ``` This query selects the `spouse` from `table_name_31` where the `became_duchess` matches the specifie...
10,468
[ { "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 (spouse VARCHAR, became_duchess VARCHAR)\n\n Question: Who is The Spouse of the Duchess that has a Became Duchess o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (became_duchess VARCHAR, death VARCHAR) Question: WHo Became Duchess that has a Death of 26 october 1614? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question: ``` SELECT became_duchess FROM table_name_84 WHERE death = "26 october 1614"; ```
10,469
[ { "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 (became_duchess VARCHAR, death VARCHAR)\n\n Question: WHo Became Duchess that has a Death of 26 october 1614?\n\nHer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (spouse VARCHAR, death VARCHAR) Question: What is the Spouse of the Duchess that has a Death on 6 april 1780? Here is the SQLite query to answer to the que...
Your SQLite query looks mostly correct, but it needs to specify that you are looking for the spouse of a Duchess. To refine the query, you would typically need to check if the term "Duchess" is associated with the specific row, assuming there's a column that designates titles or a way to identify the Duchess. However,...
10,470
[ { "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 (spouse VARCHAR, death VARCHAR)\n\n Question: What is the Spouse of the Duchess that has a Death on 6 april 1780?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (season VARCHAR, races VARCHAR, points VARCHAR, percentage_of_possible_points VARCHAR) Question: Which season with 16 races had less than 321 points and a l...
Your SQL query is almost correct but requires a small adjustment to ensure the comparison with `races`. Since `races` is defined as a VARCHAR in the table schema, you should compare it as a string literal. Here’s the corrected query wrapped in the appropriate code format: ``` SELECT season FROM table_name_17 WHERE p...
10,471
[ { "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_17 (season VARCHAR, races VARCHAR, points VARCHAR, percentage_of_possible_points VARCHAR)\n\n Question: Which season wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (season VARCHAR, points VARCHAR, races VARCHAR) Question: What season had less than 301 points and 17 races? Here is the SQLite query to answer to the ques...
Here is the SQLite query to answer the question regarding the season with less than 301 points and 17 races: ``` SELECT season FROM table_name_28 WHERE points < '301' AND races = '17'; ```
10,472
[ { "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 (season VARCHAR, points VARCHAR, races VARCHAR)\n\n Question: What season had less than 301 points and 17 races?\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_88 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR) Question: What time did bruce anstey complete in a honda 1000cc? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the time Bruce Anstey completed on a Honda 1000cc: ``` SELECT time FROM table_name_88 WHERE machine = "honda 1000cc" AND rider_s_ = "bruce anstey" ```
10,473
[ { "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 (time VARCHAR, machine VARCHAR, rider_s_ VARCHAR)\n\n Question: What time did bruce anstey complete in a honda 1000c...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (race VARCHAR, time VARCHAR) Question: Who holds the time of 17:11.572? Here is the SQLite query to answer to the question: Who holds the time of 17:11.572...
```sql SELECT race FROM table_name_88 WHERE time = "17:11.572"; ```
10,474
[ { "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 (race VARCHAR, time VARCHAR)\n\n Question: Who holds the time of 17:11.572?\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_83 (race VARCHAR, time VARCHAR) Question: Who holds the time of 17:11.572? Here is the SQLite query to answer to the question: Who holds the time of 17:11.572...
Here is the SQLite query to answer the question of who holds the time of 17:11.572: ``` SELECT race FROM table_name_83 WHERE time = "17:11.572"; ```
10,475
[ { "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 (race VARCHAR, time VARCHAR)\n\n Question: Who holds the time of 17:11.572?\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_75 (machine VARCHAR, trophy VARCHAR) Question: What machine did susan jenness trophy earn the trophy? Here is the SQLite query to answer to the question: What...
Your SQLite query looks correct for answering the question about which machine earned the "susan jenness trophy". Here is the query wrapped in code formatting: ``` SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy"; ``` This will return the machine associated with that specific trophy in the `ta...
10,476
[ { "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 (machine VARCHAR, trophy VARCHAR)\n\n Question: What machine did susan jenness trophy earn the trophy?\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_14 (vehicles__per_1000__d INTEGER, agri_culture_b INTEGER) Question: Agri culture b larger than 12.6, what is the lowest vehicles per 1000? Here is the SQLite...
Your query to find the lowest number of vehicles per 1000 when agriculture value is larger than 12.6 is correctly structured. Here it is wrapped in code format: ``` SELECT MIN(vehicles__per_1000__d) FROM table_name_14 WHERE agri_culture_b > 12.6 ```
10,477
[ { "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 (vehicles__per_1000__d INTEGER, agri_culture_b INTEGER)\n\n Question: Agri culture b larger than 12.6, what is the l...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR) Question: Income poverty f smaller than 13.6, and a Minin...
Here is the SQLite query that answers the specified question: ``` SELECT COUNT(agri_culture_b) FROM table_name_10 WHERE income_poverty_f < 13.6 AND mining_b = 1 AND structural_poverty_g < 7.8 ```
10,478
[ { "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 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR)\n\n Question: Inc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (bulgarian_name VARCHAR, english_name VARCHAR) Question: What's the bulgarian word for January? Here is the SQLite query to answer to the question: What's ...
Here is the SQLite query to answer the question: What's the Bulgarian word for January?: ``` SELECT bulgarian_name FROM table_name_95 WHERE english_name = "January" ```
10,479
[ { "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 (bulgarian_name VARCHAR, english_name VARCHAR)\n\n Question: What's the bulgarian word for January?\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_56 (bulgarian_name VARCHAR, english_name VARCHAR) Question: What's the Bulgarian word for september? Here is the SQLite query to answer to the question: What'...
Here is the SQLite query to answer the question "What's the Bulgarian word for september?": ``` SELECT bulgarian_name FROM table_name_56 WHERE english_name = "september" ```
10,480
[ { "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_56 (bulgarian_name VARCHAR, english_name VARCHAR)\n\n Question: What's the Bulgarian word for september?\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_26 (opponent VARCHAR, save VARCHAR) Question: Who was the Opponent when the Save was || 36,388 ||15-7||? Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question regarding the opponent when the save was "|| 36,388 ||15-7||": ``` SELECT opponent FROM table_name_26 WHERE save = "|| 36,388 ||15-7||" ```
10,481
[ { "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 (opponent VARCHAR, save VARCHAR)\n\n Question: Who was the Opponent when the Save was || 36,388 ||15-7||?\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_55 (opponent VARCHAR, date VARCHAR) Question: What Opponent played on the Date May 21? Here is the SQLite query to answer to the question: What Opponent playe...
Here is the SQLite query to answer the question about the opponent that played on the date May 21: ```sql SELECT opponent FROM table_name_55 WHERE date = "May 21"; ```
10,482
[ { "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_55 (opponent VARCHAR, date VARCHAR)\n\n Question: What Opponent played on the Date May 21?\n\nHere is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR) Question: What was the Score when the Loss was ruthven (1-4)? Here is the SQLite query to answer to the question: What was th...
Here's the SQLite query to answer the question about the score when the loss was "ruthven (1-4)": ```sql SELECT score FROM table_name_68 WHERE loss = "ruthven (1-4)"; ```
10,483
[ { "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_68 (score VARCHAR, loss VARCHAR)\n\n Question: What was the Score when the Loss was ruthven (1-4)?\n\nHere is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (pick__number INTEGER, college VARCHAR) Question: What was the highest pick for Penn State? Here is the SQLite query to answer to the question: What was th...
Here is the SQLite query to answer the question about the highest pick for Penn State: ``` SELECT MAX(pick__number) FROM table_name_57 WHERE college = "penn state"; ```
10,484
[ { "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_57 (pick__number INTEGER, college VARCHAR)\n\n Question: What was the highest pick for Penn State?\n\nHere is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (position VARCHAR, pick__number VARCHAR) Question: What position does pick number 12 play? Here is the SQLite query to answer to the question: What positio...
Here is the SQLite query to answer the question: What position does pick number 12 play?: ``` SELECT position FROM table_name_87 WHERE pick__number = '12' ```
10,485
[ { "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_87 (position VARCHAR, pick__number VARCHAR)\n\n Question: What position does pick number 12 play?\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_45 (pick__number VARCHAR, college VARCHAR) Question: What is the pick number for the College of Central Missouri State? Here is the SQLite query to answer to ...
```sql SELECT pick__number FROM table_name_45 WHERE college = "Central Missouri State"; ```
10,486
[ { "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_45 (pick__number VARCHAR, college VARCHAR)\n\n Question: What is the pick number for the College of Central Missouri St...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (pick__number INTEGER, player VARCHAR) Question: What was Rich Voltzke's highest pick number? Here is the SQLite query to answer to the question: What was ...
Here is the SQLite query to answer the question regarding Rich Voltzke's highest pick number: ``` SELECT MAX(pick__number) FROM table_name_79 WHERE player = "rich voltzke" ```
10,487
[ { "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 (pick__number INTEGER, player VARCHAR)\n\n Question: What was Rich Voltzke's highest pick number?\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_44 (games VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR) Question: How many Games has Points larger than 0 and a Lost smaller than 4? Here is the SQLit...
It looks like your query has a small mistake in the WHERE clause. The condition `drawn < 0` does not seem to be relevant to your question. The correct query should filter based only on the `points` and `lost` conditions. Here's the corrected query: ```sql SELECT COUNT(games) FROM table_name_44 WHERE points > 0 AND los...
10,488
[ { "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_44 (games VARCHAR, drawn VARCHAR, points VARCHAR, lost VARCHAR)\n\n Question: How many Games has Points larger than 0 a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (points INTEGER, games INTEGER) Question: which Points has Games smaller than 7? Here is the SQLite query to answer to the question: which Points has Games...
Your provided query is correct for finding the maximum points from the `table_name_32` where the number of games is smaller than 7. Here’s the query wrapped in code format: ``` SELECT MAX(points) FROM table_name_32 WHERE games < 7; ``` If you wanted to retrieve all the points where the game count is less than 7, you...
10,489
[ { "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 (points INTEGER, games INTEGER)\n\n Question: which Points has Games smaller than 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_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR) Question: How many Drawns have Points smaller than 5 and a Lost larger than 7? Here is the SQLite query to an...
Here is the SQLite query to answer the question: ``` SELECT COUNT(drawn) FROM table_name_87 WHERE CAST(points AS INTEGER) < 5 AND CAST(lost AS INTEGER) > 7; ```
10,490
[ { "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_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR)\n\n Question: How many Drawns have Points smaller than 5 and a Lost la...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (record VARCHAR, date VARCHAR) Question: Which record has a date of January 29? Here is the SQLite query to answer to the question: Which record has a date...
Here is the SQLite query to answer the question: Which record has a date of January 29?: ``` SELECT record FROM table_name_35 WHERE date = "January 29"; ```
10,491
[ { "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 (record VARCHAR, date VARCHAR)\n\n Question: Which record has a date of January 29?\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_62 (score VARCHAR, visitor VARCHAR) Question: Which score has a visitor of New York? Here is the SQLite query to answer to the question: Which score has a vis...
Here is the SQLite query to answer the question about which score has a visitor of New York: ``` SELECT score FROM table_name_62 WHERE visitor = "New York"; ```
10,492
[ { "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 (score VARCHAR, visitor VARCHAR)\n\n Question: Which score has a visitor of New York?\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_40 (visitor VARCHAR, date VARCHAR) Question: What is the name of the visitor on January 24? Here is the SQLite query to answer to the question: What is the na...
Sure! The SQLite query to find the name of the visitor on January 24 is as follows: ``` SELECT visitor FROM table_name_40 WHERE date = "January 24"; ```
10,493
[ { "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_40 (visitor VARCHAR, date VARCHAR)\n\n Question: What is the name of the visitor on January 24?\n\nHere is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (home VARCHAR, date VARCHAR) Question: Which home game has a date of January 7? Here is the SQLite query to answer to the question: Which home game has a da...
Here is the SQLite query to answer the question about which home game has a date of January 7: ``` SELECT home FROM table_name_3 WHERE date = "January 7"; ```
10,494
[ { "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 (home VARCHAR, date VARCHAR)\n\n Question: Which home game has a date of January 7?\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_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) Question: What is the highest number of doctorates the college of informatics and ...
The provided SQLite query has a minor error in how it checks for the number of masters degrees. Since `masters` is of type `VARCHAR`, you'll want to count the number of master's degrees instead of directly comparing it to a number. Here's the corrected SQLite query: ```sql SELECT MAX(doctorate) FROM table_name_10 W...
10,495
[ { "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 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR)\n\n Question: What is the highest number 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 (date VARCHAR, blue_coalition VARCHAR) Question: On what Date is the Blue Coalition 8,80%? Here is the SQLite query to answer to the question: On what Date...
Here is the SQLite query to answer the question "On what Date is the Blue Coalition 8,80%?": ``` SELECT date FROM table_name_62 WHERE blue_coalition = "8,80%" ```
10,496
[ { "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 (date VARCHAR, blue_coalition VARCHAR)\n\n Question: On what Date is the Blue Coalition 8,80%?\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_8 (source VARCHAR, attack VARCHAR) Question: What Source has an Attack of 9,77%? Here is the SQLite query to answer to the question: What Source has an Attack...
Here is the SQLite query to answer the question "What Source has an Attack of 9,77%?": ``` SELECT source FROM table_name_8 WHERE attack = "9,77%" ```
10,497
[ { "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 (source VARCHAR, attack VARCHAR)\n\n Question: What Source has an Attack of 9,77%?\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_71 (attack VARCHAR, source VARCHAR) Question: What Attack has a Source of NCIOM? Here is the SQLite query to answer to the question: What Attack has a Source ...
Here is the SQLite query to answer the question: What Attack has a Source of NCIOM?: ``` SELECT attack FROM table_name_71 WHERE source = "NCIOM"; ```
10,498
[ { "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 (attack VARCHAR, source VARCHAR)\n\n Question: What Attack has a Source of NCIOM?\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 (attack VARCHAR, gerb VARCHAR) Question: What Attack has a 30,00% GERB? Here is the SQLite query to answer to the question: What Attack has a 30,00% GERB?:...
Your query has the right idea, but the value for `gerb` should likely be in a format that SQLite recognizes. In SQLite, it’s common to use period `.` as the decimal separator instead of a comma. Assuming your `gerb` values are stored as strings that represent percentages, you might want to modify your query slightly. B...
10,499
[ { "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 (attack VARCHAR, gerb VARCHAR)\n\n Question: What Attack has a 30,00% GERB?\n\nHere is the SQLite query to answer to...