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_27 (couple VARCHAR, style VARCHAR)
Question: Which couple participated in the Contemporary style of dance?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about which couple participated in the Contemporary style of dance:
```
SELECT couple FROM table_name_27 WHERE style = "Contemporary";
``` | 49,300 | [
{
"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 (couple VARCHAR, style VARCHAR)\n\n Question: Which couple participated in the Contemporary style of dance?\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_91 (couple VARCHAR, results VARCHAR, style VARCHAR)
Question: Which couple participated in the Paso Doble style and were safe?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding which couple participated in the Paso Doble style and were safe:
```
SELECT couple FROM table_name_91 WHERE results = "safe" AND style = "paso doble";
``` | 49,301 | [
{
"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 (couple VARCHAR, results VARCHAR, style VARCHAR)\n\n Question: Which couple participated in the Paso Doble style and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (week VARCHAR, date VARCHAR, attendance VARCHAR)
Question: How many weeks had a game on November 26, 1978, and an attendance higher than 26,248?
Here is th... | The provided SQLite query has a few issues, particularly with the condition for the attendance filter. The correct query should compare attendance numerically and ensure the condition is properly formed.
Here is the corrected SQLite query to answer the question:
```sql
SELECT COUNT(DISTINCT week)
FROM table_name_88 ... | 49,302 | [
{
"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 (week VARCHAR, date VARCHAR, attendance VARCHAR)\n\n Question: How many weeks had a game on November 26, 1978, and a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (attendance INTEGER, week VARCHAR)
Question: What was the lowest Attendance during Week 12?
Here is the SQLite query to answer to the question: What was th... | Here is the SQLite query to find the lowest attendance during Week 12:
```
SELECT MIN(attendance) FROM table_name_90 WHERE week = '12'
``` | 49,303 | [
{
"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 (attendance INTEGER, week VARCHAR)\n\n Question: What was the lowest Attendance during Week 12?\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_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the name of the tournament that the final was played against Yi Jingqian?
Here is th... | Here is the SQLite query that answers the question regarding the tournament played against Yi Jingqian:
```sql
SELECT tournament FROM table_name_89 WHERE opponent_in_the_final = "Yi Jingqian";
``` | 49,304 | [
{
"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_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What was the name of the tournament that the final... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR)
Question: Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1... | Here is the SQLite query to answer the question about the final opponent in the tournament in Taipei, Taiwan on November 14, 1994:
```
SELECT opponent_in_the_final FROM table_name_93 WHERE tournament = "taipei, taiwan" AND date = "november 14, 1994"
``` | 49,305 | [
{
"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 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR)\n\n Question: Who was the final opponent in the to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: On October 14, 1996 who was the opponent in the final?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about who was the opponent in the final on October 14, 1996:
```
SELECT opponent_in_the_final FROM table_name_47 WHERE date = "october 14, 1996";
``` | 49,306 | [
{
"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 (opponent_in_the_final VARCHAR, date VARCHAR)\n\n Question: On October 14, 1996 who was the opponent in the final?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
Question: When playing against Yi Jingqian in the final on a hard surface what was the score... | Here is the SQLite query to answer the question about the score when playing against Yi Jingqian in the final on a hard surface:
```
SELECT score FROM table_name_29 WHERE surface = "hard" AND opponent_in_the_final = "Yi Jingqian";
``` | 49,307 | [
{
"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 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: When playing against Yi Jingqian in th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who was played against in the final on November 14, 1994?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about who played against in the final on November 14, 1994:
```
SELECT opponent_in_the_final FROM table_name_17 WHERE date = "November 14, 1994"
``` | 49,308 | [
{
"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 (opponent_in_the_final VARCHAR, date VARCHAR)\n\n Question: Who was played against in the final on November 14, 1994... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)
Question: What is the total number of Entered when the eliminated number is 3?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question regarding the total number of Entered when the eliminated number is 3:
```
SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = '3'
``` | 49,309 | [
{
"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 (entered VARCHAR, eliminated VARCHAR)\n\n Question: What is the total number of Entered when the eliminated number i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR)
Question: What is the Eliminated when there are less than 4 entered and the wrestler was shawn micha... | It looks like you're trying to write a query to find the `eliminated` value for the conditions specified. However, the condition `entered < 4` doesn't correctly refer to the contents of the `entered` column because it's a string (VARCHAR). You likely want to count how many entries there are for "shawn michaels" and ret... | 49,310 | [
{
"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 (eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR)\n\n Question: What is the Eliminated when there are less tha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (frequency__per_hour_ VARCHAR, line VARCHAR, destination VARCHAR)
Question: How many frequencies have a line of East London and destination of Crystal Palac... | Here is the SQLite query to answer the question regarding how many frequencies have a line of East London and a destination of Crystal Palace:
```
SELECT COUNT(frequency__per_hour_) FROM table_name_18 WHERE line = "East London" AND destination = "Crystal Palace";
``` | 49,311 | [
{
"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_18 (frequency__per_hour_ VARCHAR, line VARCHAR, destination VARCHAR)\n\n Question: How many frequencies have a line of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (line VARCHAR, operator VARCHAR, destination VARCHAR)
Question: Which line has an operator of the London Overground and ends at the Crystal Palace?
Here is... | Here is the SQLite query to answer the question:
```
SELECT line FROM table_name_87 WHERE operator = "London Overground" AND destination = "Crystal Palace"
``` | 49,312 | [
{
"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 (line VARCHAR, operator VARCHAR, destination VARCHAR)\n\n Question: Which line has an operator of the London Overgro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (song VARCHAR, artist VARCHAR)
Question: Which song was by artist Gino Vannelli?
Here is the SQLite query to answer to the question: Which song was by arti... | Here is the SQLite query to answer the question: Which song was by artist Gino Vannelli?:
```
SELECT song FROM table_name_15 WHERE artist = "Gino Vannelli";
``` | 49,313 | [
{
"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 (song VARCHAR, artist VARCHAR)\n\n Question: Which song was by artist Gino Vannelli?\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_35 (tournament VARCHAR, top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)
Question: What tournament did Bill Rogers play in when he had less than 7 Cuts, 0 Wins... | Here is the corrected SQLite query based on the provided question and schema:
```sql
SELECT tournament
FROM table_name_35
WHERE top_25 = '0' AND cuts_made < '7' AND wins = '0'
AND tournament = 'Bill Rogers';
```
Make sure to adjust the data types accordingly, especially if `top_25`, `cuts_made`, and `wins` are ... | 49,314 | [
{
"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 (tournament VARCHAR, top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)\n\n Question: What tournament did Bill Rogers ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR)
Question: What are the number of losses that have Ties of 1 and 3 or more poll wins?
Here is the SQLite q... | Your SQLite query is almost correct, but there's a little adjustment needed. In SQLite, the column types VARCHAR are usually stored as text, so we should ensure that we're properly comparing the `ties` column to an integer and `poll_wins` column to a number. Here is the revised query wrapped as you requested:
```
SELE... | 49,315 | [
{
"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_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR)\n\n Question: What are the number of losses that have Ties of 1 an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (poll_losses INTEGER, wins VARCHAR, ties VARCHAR, poll_wins VARCHAR)
Question: What is the lowest poll losses of the 0 ties, poll wins greater than 1 and wi... | Here is the SQLite query to answer the question regarding the lowest poll losses with the specified conditions:
```sql
SELECT MIN(poll_losses) FROM table_name_15 WHERE ties = '0' AND poll_wins > 1 AND wins < '2';
``` | 49,316 | [
{
"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 (poll_losses INTEGER, wins VARCHAR, ties VARCHAR, poll_wins VARCHAR)\n\n Question: What is the lowest poll losses of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR)
Question: What is the highest poll of the advocate Andy Kindler with poll losses gr... | Here is the SQLite query to answer the question regarding the highest poll of the advocate Andy Kindler, with poll losses greater than 2 and ties less than 0:
```
SELECT MAX(poll_wins) FROM table_name_49 WHERE poll_losses > 2 AND advocate = "Andy Kindler" AND ties < 0
``` | 49,317 | [
{
"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_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR)\n\n Question: What is the highest poll of t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (pba_titles INTEGER, tv_finals VARCHAR, events VARCHAR)
Question: Which PBA Titles has a TV Finals larger than 6, and an Events larger than 20?
Here is the... | The given SQLite query seems to be aiming to calculate the average of `pba_titles` based on the specified conditions. However, the question asks for which PBA Titles meet the criteria, which implies that a simple `SELECT` statement listing the relevant `pba_titles` is required. Here’s how you would write that query:
`... | 49,318 | [
{
"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 (pba_titles INTEGER, tv_finals VARCHAR, events VARCHAR)\n\n Question: Which PBA Titles has a TV Finals larger than 6... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR)
Question: Which Events has Earnings of $113,259, and an Average larger than 229.5?
Here is the SQLite q... | Your SQLite query is almost correct, but you need to take care of the syntax when comparing the `earnings` and `average` values. Since `earnings` is stored as a `VARCHAR`, it’s best to ensure that you're using the correct format for comparisons. Here is the corrected version of your query:
```sql
SELECT MAX(events) FR... | 49,319 | [
{
"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_22 (events INTEGER, earnings VARCHAR, average VARCHAR)\n\n Question: Which Events has Earnings of $113,259, and an Aver... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (cashes VARCHAR, match_play VARCHAR, events VARCHAR)
Question: Which Cashes has a Match Play smaller than 13, and a Events of 7?
Here is the SQLite query t... | Your SQL query is almost correct, but it seems you're looking for the distinct `cashes` values instead of counting them. Here is the updated query to retrieve the cashes that meet the specified conditions:
```sql
SELECT cashes FROM table_name_97 WHERE match_play < 13 AND events = 7;
```
If you wanted to count the un... | 49,320 | [
{
"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_97 (cashes VARCHAR, match_play VARCHAR, events VARCHAR)\n\n Question: Which Cashes has a Match Play smaller than 13, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (finish VARCHAR, season VARCHAR)
Question: What is the Finish for the 1950–51? season?
Here is the SQLite query to answer to the question: What is the Fini... | Here is the SQLite query to answer the question about the Finish for the 1950–51 season:
```
SELECT finish FROM table_name_22 WHERE season = '1950–51';
``` | 49,321 | [
{
"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_22 (finish VARCHAR, season VARCHAR)\n\n Question: What is the Finish for the 1950–51? season?\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_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)
Question: What is the Losses at the western conference and the 2004–05 season?
Here is the SQLite quer... | Here is the SQLite query to answer the question regarding the Losses at the western conference and the 2004–05 season:
```
SELECT losses FROM table_name_51 WHERE conference = "western" AND season = "2004–05";
``` | 49,322 | [
{
"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_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)\n\n Question: What is the Losses at the western conference and ... | |
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, wins VARCHAR)
Question: What Season has wins as the philadelphia warriors (nba)?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about which season has wins as the Philadelphia Warriors (NBA):
```
SELECT season FROM table_name_28 WHERE wins = "philadelphia warriors (nba)"
``` | 49,323 | [
{
"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, wins VARCHAR)\n\n Question: What Season has wins as the philadelphia warriors (nba)?\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_61 (wins VARCHAR, season VARCHAR, conference VARCHAR, division VARCHAR)
Question: What shows for Wins when there was a Conference of —, western division, in th... | Here is the SQLite query you requested, correctly formatted:
```
SELECT wins FROM table_name_61 WHERE conference = "—" AND division = "western" AND season = "1967–68"
``` | 49,324 | [
{
"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 (wins VARCHAR, season VARCHAR, conference VARCHAR, division VARCHAR)\n\n Question: What shows for Wins when there wa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (conference VARCHAR, season VARCHAR)
Question: What is the Conference for the 1967–68 season?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer your question:
```
SELECT conference FROM table_name_71 WHERE season = "1967–68";
``` | 49,325 | [
{
"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 (conference VARCHAR, season VARCHAR)\n\n Question: What is the Conference for the 1967–68 season?\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_22 (location VARCHAR, time VARCHAR)
Question: What is the Location when the time was 11:55?
Here is the SQLite query to answer to the question: What is the Lo... | Here is the SQLite query to answer the question:
```
SELECT location FROM table_name_22 WHERE time = "11:55";
``` | 49,326 | [
{
"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_22 (location VARCHAR, time VARCHAR)\n\n Question: What is the Location when the time was 11:55?\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_5 (round VARCHAR, time VARCHAR, location VARCHAR)
Question: What Round has a Time of n/a, in rio de janeiro , brazil?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about which Round has a Time of n/a in Rio de Janeiro, Brazil:
```sql
SELECT round FROM table_name_5 WHERE time = "n/a" AND location = "rio de janeiro , brazil";
``` | 49,327 | [
{
"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 (round VARCHAR, time VARCHAR, location VARCHAR)\n\n Question: What Round has a Time of n/a, in rio de janeiro , brazi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR)
Question: What is the Round for the jiu-jitsu vs martial arts?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer the question about the Round for the jiu-jitsu vs martial arts:
```
SELECT round FROM table_name_20 WHERE event = 'jiu-jitsu vs martial arts';
``` | 49,328 | [
{
"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 (round VARCHAR, event VARCHAR)\n\n Question: What is the Round for the jiu-jitsu vs martial arts?\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_36 (location VARCHAR, event VARCHAR)
Question: What is the Location for the jiu-jitsu vs martial arts?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about the location for the jiu-jitsu vs martial arts event:
```
SELECT location FROM table_name_36 WHERE event = "jiu-jitsu vs martial arts"
``` | 49,329 | [
{
"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 (location VARCHAR, event VARCHAR)\n\n Question: What is the Location for the jiu-jitsu vs martial arts?\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_79 (event VARCHAR, opponent VARCHAR)
Question: What is the Event when the opponent was wesslan evaristo de oliveira?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the event when the opponent was "wesslan evaristo de oliveira":
```
SELECT event FROM table_name_79 WHERE opponent = "wesslan evaristo de oliveira";
``` | 49,330 | [
{
"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 (event VARCHAR, opponent VARCHAR)\n\n Question: What is the Event when the opponent was wesslan evaristo de oliveira... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (points VARCHAR, bike VARCHAR, riders VARCHAR)
Question: How many points does Kohta Nozane have with a Motobi TSR 6?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question of how many points Kohta Nozane has with a Motobi TSR 6:
```
SELECT points FROM table_name_42 WHERE bike = "Motobi TSR 6" AND riders = "Kohta Nozane";
``` | 49,331 | [
{
"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 (points VARCHAR, bike VARCHAR, riders VARCHAR)\n\n Question: How many points does Kohta Nozane have with a Motobi TS... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (average VARCHAR, band VARCHAR)
Question: Which Average has a Band of f?
Here is the SQLite query to answer to the question: Which Average has a Band of f?... | Here is the SQLite query to answer the question about which Average has a Band of 'f':
```
SELECT average FROM table_name_57 WHERE band = 'f'
``` | 49,332 | [
{
"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 (average VARCHAR, band VARCHAR)\n\n Question: Which Average has a Band of f?\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_76 (band VARCHAR, ratio VARCHAR)
Question: Which Band has a Ratio of 9/9?
Here is the SQLite query to answer to the question: Which Band has a Ratio of 9/9?:
... | Your SQLite query correctly addresses the question about which band has a ratio of 9/9. Here is the query wrapped as you requested:
```
SELECT band FROM table_name_76 WHERE ratio = "9/9";
``` | 49,333 | [
{
"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 (band VARCHAR, ratio VARCHAR)\n\n Question: Which Band has a Ratio of 9/9?\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_99 (band VARCHAR, ratio VARCHAR)
Question: Which Band has a Ratio of 13/9?
Here is the SQLite query to answer to the question: Which Band has a Ratio of 13/9?... | Here is the SQLite query to answer the question of which Band has a Ratio of 13/9:
```
SELECT band FROM table_name_99 WHERE ratio = "13/9";
``` | 49,334 | [
{
"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 (band VARCHAR, ratio VARCHAR)\n\n Question: Which Band has a Ratio of 13/9?\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_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR)
Question: What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost?
... | Here is the SQLite query to find the latest year that the Atlanta Braves won and the St. Louis Cardinals lost:
```
SELECT MAX(year) FROM table_name_70 WHERE winning_team = 'atlanta braves' AND losing_team = 'st. louis cardinals';
``` | 49,335 | [
{
"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_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR)\n\n Question: What was the latest year that the Atlanta Br... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (winning_team VARCHAR, losing_team VARCHAR)
Question: Who won the series when the San Francisco Giants lost?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Who won the series when the San Francisco Giants lost?:
```
SELECT winning_team FROM table_name_92 WHERE losing_team = "san francisco giants";
``` | 49,336 | [
{
"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_92 (winning_team VARCHAR, losing_team VARCHAR)\n\n Question: Who won the series when the San Francisco Giants lost?\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_65 (site VARCHAR, winning_team VARCHAR)
Question: Where was the series that the Kansas City Royals lost?
Here is the SQLite query to answer to the question: W... | To find the location of the series that the Kansas City Royals lost, we should look for rows where the winning team is not the Royals. This can be done by selecting sites where the winning team is different from the Royals. The query should look like this:
```sql
SELECT site FROM table_name_65 WHERE winning_team != "k... | 49,337 | [
{
"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 (site VARCHAR, winning_team VARCHAR)\n\n Question: Where was the series that the Kansas City Royals lost?\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_22 (winning_team VARCHAR, year VARCHAR)
Question: Who was the winning team in 2008?
Here is the SQLite query to answer to the question: Who was the winning te... | Here is the SQLite query to answer the question: Who was the winning team in 2008?:
```
SELECT winning_team FROM table_name_22 WHERE year = '2008';
``` | 49,338 | [
{
"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_22 (winning_team VARCHAR, year VARCHAR)\n\n Question: Who was the winning team in 2008?\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_49 (lost INTEGER, points INTEGER)
Question: What average lost has points greater than 108?
Here is the SQLite query to answer to the question: What average lo... | Here is the SQLite query to answer the question regarding the average of lost values for records where points are greater than 108:
```sql
SELECT AVG(lost) FROM table_name_49 WHERE points > 108
``` | 49,339 | [
{
"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_49 (lost INTEGER, points INTEGER)\n\n Question: What average lost has points greater than 108?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (lost INTEGER, goals_against VARCHAR, points VARCHAR)
Question: How many losses have 222 as the goals against, with points greater than 78?
Here is the SQL... | Your SQLite query is almost correct, but there is a small adjustment needed to ensure it correctly interprets the `points` field as a numerical value. Since `points` is defined as a `VARCHAR`, you may need to convert it to an integer before performing the comparison. You can achieve this using the `CAST` function. Here... | 49,340 | [
{
"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 (lost INTEGER, goals_against VARCHAR, points VARCHAR)\n\n Question: How many losses have 222 as the goals against, w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR)
Question: How many goals against have 64 for games, a loss less than 12, with points gr... | Your query looks good for the specified criteria. However, it's worth noting that the `points` column is defined as `VARCHAR`, which may affect how numeric comparisons work. Assuming that `points` will contain numeric strings that can be correctly compared to integers, your query should still function appropriately.
H... | 49,341 | [
{
"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 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR)\n\n Question: How many goals against have 64 fo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (place INTEGER, song VARCHAR)
Question: What is the place of the song 'Never Change'?
Here is the SQLite query to answer to the question: What is the place... | The query you provided is almost correct, but it should use the `SELECT place` instead of `SELECT SUM(place)` since you only want to retrieve the place of a specific song, not the sum of multiple places. Additionally, the song title should match the case as it appears in the database unless you intend to use a case-ins... | 49,342 | [
{
"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 (place INTEGER, song VARCHAR)\n\n Question: What is the place of the song 'Never Change'?\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_18 (song VARCHAR, artist VARCHAR)
Question: What is the name of Aleko Berdzenishvili's song?
Here is the SQLite query to answer to the question: What is the n... | Here is the SQLite query to answer the question about the name of Aleko Berdzenishvili's song:
```
SELECT song FROM table_name_18 WHERE artist = "Aleko Berdzenishvili"
``` | 49,343 | [
{
"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_18 (song VARCHAR, artist VARCHAR)\n\n Question: What is the name of Aleko Berdzenishvili's song?\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_67 (pick INTEGER, position VARCHAR, player VARCHAR)
Question: What was the lowest pick for the RHP position and player Mike Biko?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the lowest pick for the RHP position and player Mike Biko:
```
SELECT MIN(pick) FROM table_name_67 WHERE position = 'rhp' AND player = 'mike biko';
``` | 49,344 | [
{
"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_67 (pick INTEGER, position VARCHAR, player VARCHAR)\n\n Question: What was the lowest pick for the RHP position and pla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (martin_mcguinness VARCHAR, david_norris VARCHAR)
Question: What is the Martin McGuinness with a David Norris that is 10.3%?
Here is the SQLite query to an... | Your query needs a slight adjustment to use the correct clause for percentage matching. In SQL, to match a value that is exactly "10.3%", you would typically use the `LIKE` operator to accommodate wildcards in the string. Here’s how you would write the query:
```sql
SELECT martin_mcguinness FROM table_name_16 WHERE da... | 49,345 | [
{
"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 (martin_mcguinness VARCHAR, david_norris VARCHAR)\n\n Question: What is the Martin McGuinness with a David Norris th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR)
Question: What is the Martin mcGuinness with a Sean Gallagher that is 29.6%?
Here is the SQLite query to... | It looks like you want to retrieve the `martin_mcguinness` records where the `seán_gallagher` field matches the percentage criterion of "29.6%". Your query is almost correct, but note that in SQLite, you typically need to use a wildcard for pattern matching with the `LIKE` operator when using a percentage sign. Here's ... | 49,346 | [
{
"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 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR)\n\n Question: What is the Martin mcGuinness with a Sean Gallagher... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (david_norris VARCHAR, michael_d_higgins VARCHAR)
Question: What is the David Norris with a Michael D. Higgins that is 46.2%?
Here is the SQLite query to a... | Here is the corrected SQLite query to answer the question regarding retrieving the David Norris with a Michael D. Higgins value that matches "46.2%":
```sql
SELECT david_norris
FROM table_name_92
WHERE michael_d_higgins LIKE "46.2%";
``` | 49,347 | [
{
"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_92 (david_norris VARCHAR, michael_d_higgins VARCHAR)\n\n Question: What is the David Norris with a Michael D. Higgins t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (mary_davis VARCHAR, gay_mitchell VARCHAR)
Question: What is the Mary Davis with a Gay Mitchell that is 4.6%?
Here is the SQLite query to answer to the que... | It seems like you're trying to select `mary_davis` from the table where `gay_mitchell` matches "4.6%". However, percentage matching in SQL usually requires the use of an `LIKE` operator to catch variations or to account for the percentage sign properly.
If you want to find entries where `gay_mitchell` contains the st... | 49,348 | [
{
"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 (mary_davis VARCHAR, gay_mitchell VARCHAR)\n\n Question: What is the Mary Davis with a Gay Mitchell that is 4.6%?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (prev VARCHAR, chng VARCHAR, rating VARCHAR)
Question: Can you tell me the total number of Prev that has the Chng of +10, and the Rating larger than 2765?
... | Here is the SQLite query to answer the question regarding the total number of `Prev` that has a `Chng` of `+10`, and a `Rating` larger than `2765`:
```sql
SELECT COUNT(prev) FROM table_name_26 WHERE chng = '+10' AND rating > 2765;
``` | 49,349 | [
{
"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 (prev VARCHAR, chng VARCHAR, rating VARCHAR)\n\n Question: Can you tell me the total number of Prev that has the Chn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (second_member VARCHAR, election VARCHAR, second_party VARCHAR, third_party VARCHAR)
Question: Who is the second member for the Second Party Liberal, and th... | Here is the SQLite query to answer the question:
```
SELECT second_member FROM table_name_70 WHERE second_party = "Liberal" AND third_party = "Conservative" AND election > 1841;
``` | 49,350 | [
{
"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_70 (second_member VARCHAR, election VARCHAR, second_party VARCHAR, third_party VARCHAR)\n\n Question: Who is the second... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR)
Question: Who is the third member of the Liberal Party, a third part... | Here is the SQLite query to answer the question:
```
SELECT third_member FROM table_name_2 WHERE second_party = "liberal" AND third_party = "conservative" AND second_member = "humphrey mildmay"
``` | 49,351 | [
{
"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 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR)\n\n Question: Who is the thi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (third_member VARCHAR, third_party VARCHAR, second_party VARCHAR)
Question: Who is the third member of the third conservative party, and the second liberal ... | To correctly answer the question regarding the third member of the third conservative party and the second liberal party, we need to adjust the SQL query considering the requirement to identify specific instances of the conservative and liberal parties. However, the provided schema does not contain fields to specify th... | 49,352 | [
{
"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 (third_member VARCHAR, third_party VARCHAR, second_party VARCHAR)\n\n Question: Who is the third member of the third... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)
Question: What was the highest election with third party member Sir Robert Price, BT, and firs... | Here is the SQLite query to answer the question:
```
SELECT MAX(election) FROM table_name_97 WHERE third_member = "Sir Robert Price, BT" AND first_party = "conservative";
``` | 49,353 | [
{
"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_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)\n\n Question: What was the highest election with third... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (record VARCHAR, head_coach VARCHAR)
Question: What was the record of the team with head coach Steve Spurrier?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the record of the team with head coach Steve Spurrier:
```
SELECT record FROM table_name_8 WHERE head_coach = "Steve Spurrier"
``` | 49,354 | [
{
"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 (record VARCHAR, head_coach VARCHAR)\n\n Question: What was the record of the team with head coach Steve Spurrier?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (record VARCHAR, team VARCHAR, season VARCHAR)
Question: What was USC's record before the 1967 season?
Here is the SQLite query to answer to the question: ... | Here is the corrected SQLite query to answer the question "What was USC's record before the 1967 season?":
```sql
SELECT record FROM table_name_34 WHERE team = "usc" AND season < "1967";
``` | 49,355 | [
{
"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 (record VARCHAR, team VARCHAR, season VARCHAR)\n\n Question: What was USC's record before the 1967 season?\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_74 (record VARCHAR, season VARCHAR)
Question: What was the record during the 1973 season?
Here is the SQLite query to answer to the question: What was the rec... | Here is the SQLite query to answer the question about the record during the 1973 season:
```sql
SELECT record FROM table_name_74 WHERE season = '1973';
``` | 49,356 | [
{
"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 (record VARCHAR, season VARCHAR)\n\n Question: What was the record during the 1973 season?\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_49 (average VARCHAR, place VARCHAR, total VARCHAR)
Question: What is the average score for 6th place with a total of 165?
Here is the SQLite query to answer t... | ```sql
SELECT average FROM table_name_49 WHERE place = '6th' AND total = '165';
``` | 49,357 | [
{
"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_49 (average VARCHAR, place VARCHAR, total VARCHAR)\n\n Question: What is the average score for 6th place with a total o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)
Question: What is the total with a 74 rank by average for 8th place?
Here is the SQLite query to an... | Here is the SQLite query to answer the question about the total with a 74 rank by average for 8th place:
```
SELECT total FROM table_name_70 WHERE rank_by_average = "74" AND place = "8th"
``` | 49,358 | [
{
"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_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)\n\n Question: What is the total with a 74 rank by average fo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR)
Question: What was the place in season 8 with a rank by average at 139?
Here is the SQLite query t... | Here is the SQLite query to answer the question: What was the place in season 8 with a rank by average at 139?:
```
SELECT place FROM table_name_21 WHERE season = "8" AND rank_by_average = "139";
``` | 49,359 | [
{
"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 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR)\n\n Question: What was the place in season 8 with a rank by... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (total VARCHAR, place VARCHAR, season VARCHAR)
Question: What is the total for 3rd place on season 9?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the total for 3rd place on season 9:
```
SELECT total FROM table_name_41 WHERE place = "3rd" AND season = "9"
``` | 49,360 | [
{
"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 (total VARCHAR, place VARCHAR, season VARCHAR)\n\n Question: What is the total for 3rd place on season 9?\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_34 (rank_by_average VARCHAR, number_of_dances VARCHAR, season VARCHAR)
Question: What rank by average has 1 dance on season 9?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the rank by average for 1 dance on season 9:
```
SELECT rank_by_average FROM table_name_34 WHERE number_of_dances = "1" AND season = "9"
``` | 49,361 | [
{
"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 (rank_by_average VARCHAR, number_of_dances VARCHAR, season VARCHAR)\n\n Question: What rank by average has 1 dance o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (final_round VARCHAR, team VARCHAR)
Question: What was the final round score for the player from the Milwaukee Bucks?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the final round score for the player from the Milwaukee Bucks:
```
SELECT final_round FROM table_name_31 WHERE team = "Milwaukee Bucks";
``` | 49,362 | [
{
"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 (final_round VARCHAR, team VARCHAR)\n\n Question: What was the final round score for the player from the Milwaukee B... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR)
Question: What position does the player with a first round score of 35.7 play?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the position of the player with a first round score of 35.7:
```
SELECT pos FROM table_name_21 WHERE first_round = '35.7';
``` | 49,363 | [
{
"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 (pos VARCHAR, first_round VARCHAR)\n\n Question: What position does the player with a first round score of 35.7 play... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (height VARCHAR, first_round VARCHAR)
Question: What is the height of the player with a first round score of 44.1?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the height of the player with a first-round score of 44.1:
```
SELECT height FROM table_name_1 WHERE first_round = "44.1"
``` | 49,364 | [
{
"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 (height VARCHAR, first_round VARCHAR)\n\n Question: What is the height of the player with a first round score of 44.1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (player VARCHAR, weight VARCHAR)
Question: Which player weighs 187 pounds?
Here is the SQLite query to answer to the question: Which player weighs 187 poun... | Here is the corrected SQLite query to answer the question:
```
SELECT player FROM table_name_87 WHERE weight = '187';
```
Make sure to wrap the weight value in quotes since it is stored as a VARCHAR in the database schema. | 49,365 | [
{
"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 (player VARCHAR, weight VARCHAR)\n\n Question: Which player weighs 187 pounds?\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_79 (illustrator VARCHAR, year VARCHAR)
Question: Who was the illustrator in 1987?
Here is the SQLite query to answer to the question: Who was the illustrator ... | Here is the SQLite query to answer the question: Who was the illustrator in 1987?:
```
SELECT illustrator FROM table_name_79 WHERE year = '1987';
``` | 49,366 | [
{
"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 (illustrator VARCHAR, year VARCHAR)\n\n Question: Who was the illustrator in 1987?\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_94 (year VARCHAR, title VARCHAR)
Question: How many years was the title drop dead?
Here is the SQLite query to answer to the question: How many years was the ... | Here is the SQLite query to answer the question about how many years the title "drop dead" appears in the table:
```
SELECT COUNT(year) FROM table_name_94 WHERE title = "drop dead"
``` | 49,367 | [
{
"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 (year VARCHAR, title VARCHAR)\n\n Question: How many years was the title drop dead?\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_93 (publisher VARCHAR, title VARCHAR)
Question: Which publisher has a title of drop dead?
Here is the SQLite query to answer to the question: Which publisher ... | Here is the SQLite query to answer the question of which publisher has a title of "drop dead":
```
SELECT publisher FROM table_name_93 WHERE title = "drop dead";
``` | 49,368 | [
{
"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 (publisher VARCHAR, title VARCHAR)\n\n Question: Which publisher has a title of drop dead?\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_99 (greek VARCHAR, german VARCHAR)
Question: What Greek word means the same thing as the German word ebbe?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question "What Greek word means the same thing as the German word ebbe?":
```
SELECT greek FROM table_name_99 WHERE german = "ebbe"
``` | 49,369 | [
{
"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 (greek VARCHAR, german VARCHAR)\n\n Question: What Greek word means the same thing as the German word ebbe?\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 (german VARCHAR, icelandic VARCHAR)
Question: What word in German translates into the Icelandic word efja?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about what word in German translates into the Icelandic word "efja":
```
SELECT german FROM table_name_10 WHERE icelandic = "efja"
``` | 49,370 | [
{
"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 (german VARCHAR, icelandic VARCHAR)\n\n Question: What word in German translates into the Icelandic word efja?\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_3 (dutch VARCHAR, latin VARCHAR)
Question: What is the Dutch translation of the Latin word navigo?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question regarding the Dutch translation of the Latin word "navigo":
```
SELECT dutch FROM table_name_3 WHERE latin = "navigo";
``` | 49,371 | [
{
"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 (dutch VARCHAR, latin VARCHAR)\n\n Question: What is the Dutch translation of the Latin word navigo?\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_1 (dutch VARCHAR, greek VARCHAR)
Question: What Dutch word has the same meaning as the Greek word πλέω (pléō)?
Here is the SQLite query to answer to the quest... | Your SQLite query looks correct for retrieving the Dutch word that corresponds to the Greek word πλέω (pléō). Here is the query wrapped in code formatting:
```
SELECT dutch FROM table_name_1 WHERE greek = "πλέω (pléō)";
```
Make sure that the Greek word is exactly as it appears in the database, including any punctua... | 49,372 | [
{
"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 (dutch VARCHAR, greek VARCHAR)\n\n Question: What Dutch word has the same meaning as the Greek word πλέω (pléō)?\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_3 (english VARCHAR)
Question: What English word has the same meaning as the German word "german"?
Here is the SQLite query to answer to the question: What Eng... | It seems like there might be some confusion in your query. The condition `"german" = "german"` won't actually perform a lookup based on meaning.
If we are to find an English word that translates to the German word "german", we would expect there to be a method of matching that isn't based on a comparison of the same ... | 49,373 | [
{
"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 (english VARCHAR)\n\n Question: What English word has the same meaning as the German word \"german\"?\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_95 (wins VARCHAR, events VARCHAR, top_10 VARCHAR)
Question: How many wins are related to events of 7 and more than 2 top-10s?
Here is the SQLite query to answ... | The SQLite query you provided is almost correct, but it needs a slight adjustment to properly compare the `events` and `top_10` values. Since the columns `events` and `top_10` are defined as `VARCHAR`, you should convert them to integers for comparison. Here’s the corrected query:
```sql
SELECT COUNT(wins)
FROM table... | 49,374 | [
{
"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 (wins VARCHAR, events VARCHAR, top_10 VARCHAR)\n\n Question: How many wins are related to events of 7 and more than ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR)
Question: What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13... | Your query is almost correct, but it contains a couple of issues in the WHERE clause conditions. The fields `top_5` and `top_10` are probably stored as VARCHAR, so you should compare them to strings rather than integers. Additionally, you'll need to ensure that the condition for `events` is also correctly checking for ... | 49,375 | [
{
"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 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR)\n\n Question: What is the most cuts made for even... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR)
Question: Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 20... | Here is the SQLite query to answer the question:
```
SELECT name FROM table_name_22 WHERE rank < 71 AND year > 2005 AND out_of = "220";
``` | 49,376 | [
{
"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_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR)\n\n Question: Can you tell me the Name that has the Rank ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR)
Question: Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richnes... | The SQLite query you provided is almost correct, but there is a small adjustment needed to ensure that the rank is treated as an integer for comparison. Assuming the `rank` is stored as a string, you may want to convert it to an integer in the comparison. Here's the adjusted query:
```sql
SELECT MIN(year)
FROM table_... | 49,377 | [
{
"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 (year INTEGER, rank VARCHAR, name VARCHAR)\n\n Question: Can you tell me the lowest Year that has the Rank smaller t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (source VARCHAR, rank VARCHAR)
Question: Can you tell me the Source that has the Rank of 78?
Here is the SQLite query to answer to the question: Can you te... | Here is the SQLite query to answer the question regarding the Source that has the Rank of 78:
```
SELECT source FROM table_name_86 WHERE rank = '78'
```
(Note that the value '78' is enclosed in quotes because the `rank` column is defined as VARCHAR.) | 49,378 | [
{
"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 (source VARCHAR, rank VARCHAR)\n\n Question: Can you tell me the Source that has the Rank of 78?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR)
Question: Can you tell me the Out of that has the Source of united nations, and the Rank larger... | Your query looks good but it needs minor adjustments for SQLite. Here is the corrected version of your SQLite query wrapped properly:
```
SELECT out_of
FROM table_name_31
WHERE source = 'united nations'
AND rank > '47'
AND year < '2003';
```
Please note that in this context, the `rank` and `year` columns are ... | 49,379 | [
{
"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 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR)\n\n Question: Can you tell me the Out of that has 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_59 (tournament VARCHAR)
Question: Which Tournament has a 2004 of 1r?
Here is the SQLite query to answer to the question: Which Tournament has a 2004 of 1r?:
`... | It seems there is a misunderstanding in the query you're proposing. In SQL, column names cannot be numeric values directly, so your query wouldn't work as intended.
Assuming that the year (2004) is part of the data in the `tournament` column or related information in the table, you might need to adjust the schema or ... | 49,380 | [
{
"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 (tournament VARCHAR)\n\n Question: Which Tournament has a 2004 of 1r?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (Id VARCHAR)
Question: What is the 2005 that has a grand slam tournaments in 2007?
Here is the SQLite query to answer to the question: What is the 2005 tha... | It seems there is some misunderstanding in the provided SQL query. The structure of your question does not clearly relate to the data structure defined in the schema (`CREATE TABLE table_name_52 (Id VARCHAR)`), and it appears that you're looking for a relationship between different years and tournaments.
If we assume ... | 49,381 | [
{
"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 (Id VARCHAR)\n\n Question: What is the 2005 that has a grand slam tournaments in 2007?\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_84 (Id VARCHAR)
Question: What is the 2006 that has a 2r in 2004, and a 2r in 2005?
Here is the SQLite query to answer to the question: What is the 2006 that ... | It looks like there might be a misunderstanding in your SQLite query regarding the use of column names and values. If you are trying to find a value from the year 2006 where there are corresponding values of "2r" in 2004 and 2005, you would typically need to compare the values in those columns rather than using the yea... | 49,382 | [
{
"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 (Id VARCHAR)\n\n Question: What is the 2006 that has a 2r in 2004, and a 2r in 2005?\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_32 (Id VARCHAR)
Question: What is the 2007 that has a grand slam tournaments in 2006.
Here is the SQLite query to answer to the question: What is the 2007 tha... | It seems like there may be some confusion in the SQL query you provided, as the syntax and logic don't quite match typical SQL usage or the requirements of the question.
If we assume you need to find entries related to "grand slam tournaments" from 2006 and return a specific value associated with 2007 from the same r... | 49,383 | [
{
"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 (Id VARCHAR)\n\n Question: What is the 2007 that has a grand slam tournaments in 2006.\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_82 (Id VARCHAR)
Question: What is the 2004 that has a of grand slam tournaments in2006 ?
Here is the SQLite query to answer to the question: What is the 2004 ... | It seems that there was an error in the provided question and the corresponding SQL query. Based on standard database practices, it is unclear what "2004" and "grand slam tournaments in 2006" refer to regarding data in your schema.
If you're trying to check for a specific value (let's say an id) in 2004 related to gr... | 49,384 | [
{
"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_82 (Id VARCHAR)\n\n Question: What is the 2004 that has a of grand slam tournaments in2006 ?\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_48 (Id VARCHAR)
Question: What is 2006 has a 2007 of 3r?
Here is the SQLite query to answer to the question: What is 2006 has a 2007 of 3r?:
```
SELECT 2006 F... | The provided query appears to have a misunderstanding related to SQL syntax and possibly the nature of the columns in the table. Based on the schema `CREATE TABLE table_name_48 (Id VARCHAR)`, it seems that the table only contains a single column named `Id`.
If you want to check whether there exists a record with the ... | 49,385 | [
{
"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_48 (Id VARCHAR)\n\n Question: What is 2006 has a 2007 of 3r?\n\nHere is the SQLite query to answer to the question: Wha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR)
Question: What was the number of passengers going to MCO with a rank larger than 9?
Here is the SQLite ... | Here is the SQLite query to answer the question about the number of passengers going to MCO with a rank larger than 9:
```
SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "MCO" AND rank > 9
``` | 49,386 | [
{
"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 (passengers VARCHAR, airport VARCHAR, rank VARCHAR)\n\n Question: What was the number of passengers going to MCO wit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)
Question: What city had a rank before 3 and primary carrier JetBlue Airways?
Here is the SQLite query to ans... | Your SQLite query needs a slight adjustment to ensure that it properly interprets the conditions regarding the `rank`. In SQLite, the `rank` column is a VARCHAR type, so you need to convert it to an integer for proper comparison. Here is the corrected version of your query:
```sql
SELECT city FROM table_name_78 WHERE ... | 49,387 | [
{
"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 (city VARCHAR, rank VARCHAR, carriers VARCHAR)\n\n Question: What city had a rank before 3 and primary carrier JetBl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (launched VARCHAR, laid_down VARCHAR)
Question: What was launched and laid down in February 1819?
Here is the SQLite query to answer to the question: What ... | To answer the question regarding what was launched and laid down in February 1819, the SQLite query should also check the `launched` column against the same date. Here's the correct query, which selects both `launched` and `laid_down`:
```sql
SELECT launched, laid_down
FROM table_name_14
WHERE laid_down = "February ... | 49,388 | [
{
"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 (launched VARCHAR, laid_down VARCHAR)\n\n Question: What was launched and laid down in February 1819?\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_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR)
Question: What is the total number of positions with less than 10 points, ... | Your SQLite query looks good for the requirements you've outlined. Here's the code you provided, wrapped properly in code formatting:
```
SELECT COUNT(pos) FROM table_name_51 WHERE points < 10 AND qualifying > 7 AND race_1 = "ret" AND driver = "jonathan grant"
```
This query will count the number of positions that m... | 49,389 | [
{
"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_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR)\n\n Question: What is the total nu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR)
Question: What is Date, when Set 2 is 25-13?
Here is the SQLite query to answer to the question: What is Date, when Set 2 is ... | Here is the SQLite query to answer the question "What is Date, when Set 2 is 25-13?":
```
SELECT date FROM table_name_29 WHERE set_2 = "25-13"
``` | 49,390 | [
{
"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 (date VARCHAR, set_2 VARCHAR)\n\n Question: What is Date, when Set 2 is 25-13?\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_62 (total VARCHAR, set_5 VARCHAR, set_2 VARCHAR)
Question: What is Total, when Set 5 is NA, and when Set 2 is 25-13?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question you specified:
```
SELECT total FROM table_name_62 WHERE set_5 = "NA" AND set_2 = "25-13";
``` | 49,391 | [
{
"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 (total VARCHAR, set_5 VARCHAR, set_2 VARCHAR)\n\n Question: What is Total, when Set 5 is NA, and when Set 2 is 25-13... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR, set_4 VARCHAR)
Question: What is Score, when Date is Jun 16, and when Set 4 is 25-20?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_name_1 WHERE date = "Jun 16" AND set_4 = "25-20";
``` | 49,392 | [
{
"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 (score VARCHAR, date VARCHAR, set_4 VARCHAR)\n\n Question: What is Score, when Date is Jun 16, and when Set 4 is 25-2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)
Question: What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20?
Here ... | Here is the SQLite query to answer the specified question:
```
SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "May 11" AND set_1 = "25-20";
``` | 49,393 | [
{
"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 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)\n\n Question: What is Set 2, when Score is 3-0, when Dat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (set_4 VARCHAR, set_1 VARCHAR, date VARCHAR)
Question: What is Set 4, when Set 1 is 25-18, and when Date is Jun 2?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question:
```
SELECT set_4 FROM table_name_37 WHERE set_1 = "25-18" AND date = "Jun 2"
``` | 49,394 | [
{
"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 (set_4 VARCHAR, set_1 VARCHAR, date VARCHAR)\n\n Question: What is Set 4, when Set 1 is 25-18, and when Date is Jun ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (team VARCHAR, score VARCHAR)
Question: What is the Team with a Score that is w 101–97 (2ot)?
Here is the SQLite query to answer to the question: What is t... | Here's the SQLite query to find the team with a score of "w 101–97 (2ot)":
```
SELECT team FROM table_name_17 WHERE score = "w 101–97 (2ot)"
``` | 49,395 | [
{
"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 (team VARCHAR, score VARCHAR)\n\n Question: What is the Team with a Score that is w 101–97 (2ot)?\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_73 (high_points VARCHAR, score VARCHAR)
Question: What is the High points with a Score that is l 64–94 (ot)?
Here is the SQLite query to answer to the questio... | Your SQLite query seems correct based on the question. However, if you're looking for a query that checks for the score range "l 64–94 (ot)" in a more precise manner or ensuring that "score" matches that specific string, your syntax is already appropriate.
If "l 64–94 (ot)" is indeed the score you're looking for, then... | 49,396 | [
{
"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 (high_points VARCHAR, score VARCHAR)\n\n Question: What is the High points with a Score that is l 64–94 (ot)?\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_62 (played INTEGER, drawn INTEGER)
Question: What is the largest played when the drawn is less than 1?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question regarding the largest `played` when `drawn` is less than 1:
```
SELECT MAX(played) FROM table_name_62 WHERE drawn < 1
``` | 49,397 | [
{
"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 (played INTEGER, drawn INTEGER)\n\n Question: What is the largest played when the drawn is less than 1?\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_31 (points INTEGER, played INTEGER)
Question: What points average has a played greater than 20?
Here is the SQLite query to answer to the question: What point... | Here is the SQLite query to answer the question regarding the average points for records where played is greater than 20:
```
SELECT AVG(points) FROM table_name_31 WHERE played > 20
``` | 49,398 | [
{
"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 (points INTEGER, played INTEGER)\n\n Question: What points average has a played greater than 20?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (drawn INTEGER, position VARCHAR, played VARCHAR)
Question: What is the smallest drawn with a position bigger than 10 and a played less than 20?
Here is th... | Here is the SQLite query to answer the question about finding the smallest drawn with a position bigger than 10 and a played less than 20:
```
SELECT MIN(drawn) FROM table_name_51 WHERE position > 10 AND played < 20
``` | 49,399 | [
{
"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_51 (drawn INTEGER, position VARCHAR, played VARCHAR)\n\n Question: What is the smallest drawn with a position bigger th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.