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_76 (laps INTEGER, grid VARCHAR, team VARCHAR)
Question: What is the average Laps for the Mexico team with a grid number of more than 1?
Here is the SQLite que... | Your SQL query looks good but needs a small correction regarding the case sensitivity for the team name. Assuming team names are case-sensitive, ensure "Mexico" matches the actual case in the database records. Here's the corrected version:
```sql
SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = 'Mexico';
... | 44,200 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR)\n\n Question: What is the average Laps for the Mexico team with a grid nu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR)
Question: What is name of the drive with a Time of +13.315?
Here is the SQLite query to answer to the question: What is name... | Here is the SQLite query to answer the question about the driver with a time of +13.315:
```sql
SELECT driver FROM table_name_85 WHERE time = '+13.315';
``` | 44,201 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR)\n\n Question: What is name of the drive with a Time of +13.315?\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_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)
Question: What is the total grid number that has 14 laps and a time of +29.483?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the total grid number that has 14 laps and a time of +29.483:
```
SELECT COUNT(grid) FROM table_name_6 WHERE laps = '14' AND time = '+29.483';
```
Note: I've ensured that the values for `laps` and `time` are treated as strings since they are defined as VARCHAR in... | 44,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)\n\n Question: What is the total grid number that has 14 laps and a time of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR)
Question: What is the total number of Laps when collision shows for time for Switzerland and less t... | Here is the corrected SQLite query based on your requirements:
```sql
SELECT SUM(laps) FROM table_name_39 WHERE time = "collision" AND team = "Switzerland" AND grid < 11;
```
In this query, I used `SUM(laps)` instead of `COUNT(laps)` to calculate the total number of laps, assuming that the `laps` column contains nume... | 44,203 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR)\n\n Question: What is the total number of Laps when collisi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)
Question: What is the time of the game after week 4 against the Baltimore Ravens?
Here is the SQLite ... | Here is the SQLite query to answer the question regarding the time of the game after week 4 against the Baltimore Ravens:
```
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "Baltimore Ravens"
``` | 44,204 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR)\n\n Question: What is the time of the game after week 4 agains... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR)
Question: What nominated work has seattle international film festival as the award?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding what nominated work has the Seattle International Film Festival as the award:
```
SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival"
``` | 44,205 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR)\n\n Question: What nominated work has seattle international film festival as... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR)
Question: What award has breakthrough performance as the category?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding which award has "breakthrough performance" as the category:
```
SELECT award FROM table_name_52 WHERE category = 'breakthrough performance';
``` | 44,206 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR)\n\n Question: What award has breakthrough performance as the category?\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_9 (category VARCHAR, award VARCHAR)
Question: What category has showest award for the category awards?
Here is the SQLite query to answer to the question: Wha... | Your SQLite query seems to address the question correctly by selecting the `category` where the `award` is "showest award".
Here’s the query wrapped in code format:
```sql
SELECT category FROM table_name_9 WHERE award = 'showest award';
```
This query retrieves the category associated with the "showest award". If y... | 44,207 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR)\n\n Question: What category has showest award for the category awards?\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_33 (category VARCHAR, year INTEGER)
Question: What category has a year after 2004?
Here is the SQLite query to answer to the question: What category has a yea... | Here is the SQLite query to answer the question "What category has a year after 2004?":
```
SELECT category FROM table_name_33 WHERE year > 2004
``` | 44,208 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (category VARCHAR, year INTEGER)\n\n Question: What category has a year after 2004?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)
Question: Which Opponent had a Score of 6-3, 6-2?
Here is the SQLite query to answer to the question: Which Opponent had ... | Here is the SQLite query to answer the question:
```
SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2";
``` | 44,209 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)\n\n Question: Which Opponent had a Score of 6-3, 6-2?\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_53 (score VARCHAR, opponent VARCHAR)
Question: Which Score had an Opponent of chris evert-lloyd?
Here is the SQLite query to answer to the question: Which Sco... | Here is the SQLite query to answer the question: Which Score had an Opponent of chris evert-lloyd?:
```
SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd"
``` | 44,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR)\n\n Question: Which Score had an Opponent of chris evert-lloyd?\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_45 (surface VARCHAR, opponent VARCHAR)
Question: Which Surface had an Opponent of chris evert-lloyd?
Here is the SQLite query to answer to the question: Which... | Here is the SQLite query to answer the question: Which Surface had an Opponent of chris evert-lloyd?:
```
SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd";
``` | 44,211 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR)\n\n Question: Which Surface had an Opponent of chris evert-lloyd?\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_14 (surface VARCHAR, date VARCHAR)
Question: Which Surface had a Date of june 13, 1983?
Here is the SQLite query to answer to the question: Which Surface had ... | Here is the SQLite query to answer the question "Which Surface had a Date of june 13, 1983?":
```
SELECT surface FROM table_name_14 WHERE date = "june 13, 1983";
``` | 44,212 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR)\n\n Question: Which Surface had a Date of june 13, 1983?\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_25 (crowd INTEGER, home_team VARCHAR)
Question: What was the highest attendance for a game where Geelong was the home team?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question regarding the highest attendance for a game where Geelong was the home team:
```
SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong"
``` | 44,213 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)\n\n Question: What was the highest attendance for a game where Geelong was the ho... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
Question: What was the away team score when the home team was the Brisbane Lions?
Here is the SQLite query to answer... | Your query is close, but it seems there might be a misunderstanding since the original schema does not include any columns for scores. It only includes `away_team` and `home_team`. If you wanted to assume the structure allows for scores, you’d need to include those in your schema.
However, based on the current schema ... | 44,214 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)\n\n Question: What was the away team score when the home team was the Brisban... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR)
Question: What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldog... | Here is the SQLite query to answer the question regarding the largest attendance at the Telstra Dome for the home team, the Western Bulldogs:
```
SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs";
``` | 44,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR)\n\n Question: What was the largest attendance at the Telstra Dome... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)
Question: What is the full amount of Total Cargo (in Metric Tonnes) where the ... | Here is the SQLite query to answer the question regarding the total amount of cargo in metric tonnes for the specified conditions:
```
SELECT SUM(total_cargo__metric_tonnes_)
FROM table_name_13
WHERE code__iata_icao_ = 'pvg/zspd' AND rank < '3';
``` | 44,216 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)\n\n Question: What is the full amount ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)
Question: What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,00... | Here is the SQLite query to answer the question about the date at Memorial Stadium in Minneapolis, MN, with an attendance of 20,000 and a result of W52-0:
```
SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0"
``` | 44,217 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)\n\n Question: What is the Date at memorial stadium •... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR)
Question: What is the Opponent name at memorial stadium • minneapolis, mn on 10/20/1928?
Here is the ... | Here is the SQLite query to retrieve the opponent name at Memorial Stadium in Minneapolis, MN on 10/20/1928:
```sql
SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium • minneapolis, mn" AND date = "10/20/1928"
``` | 44,218 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR)\n\n Question: What is the Opponent name at memorial stadium • ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)
Question: What is the Attendance number when the Opponent was purdue?
Here is the SQLite query to answer to t... | Your provided SQL query is correct for the given question. Here it is wrapped in the appropriate format:
```
SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue";
``` | 44,219 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)\n\n Question: What is the Attendance number when the Opponent was purd... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR)
Question: What is the Site when the Result was w52-0?
Here is the SQLite query to answer to the question: What is the Site w... | Here is the SQLite query to answer the question about the Site when the Result was w52-0:
```
SELECT site FROM table_name_92 WHERE result = 'w52-0';
``` | 44,220 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR)\n\n Question: What is the Site when the Result was w52-0?\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_42 (attendance VARCHAR, date VARCHAR)
Question: What is the Attendance on 11/10/1928?
Here is the SQLite query to answer to the question: What is the Attendan... | Here is the SQLite query to answer the question: What is the Attendance on 11/10/1928?:
```
SELECT attendance FROM table_name_42 WHERE date = "11/10/1928"
``` | 44,221 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (attendance VARCHAR, date VARCHAR)\n\n Question: What is the Attendance on 11/10/1928?\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_74 (winner VARCHAR, venue VARCHAR)
Question: Who was the Winner at Campbelltown Sports Stadium?
Here is the SQLite query to answer to the question: Who was th... | Here is the SQLite query to answer the question: Who was the Winner at Campbelltown Sports Stadium?:
```
SELECT winner FROM table_name_74 WHERE venue = 'Campbelltown Sports Stadium';
``` | 44,222 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)\n\n Question: Who was the Winner at Campbelltown Sports Stadium?\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_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR)
Question: When Sydney Roosters won with a Crown of more than 7,426, what was the Venue?
Here is the SQLite q... | It looks like there is a small error in the SQL query you provided. The condition for the "crowd" column should compare the value directly, rather than using "OFFSET". Here’s the corrected SQL query:
```
SELECT venue FROM table_name_74 WHERE winner = 'sydney roosters' AND crowd > '7426'
```
This query will select the... | 44,223 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (venue VARCHAR, winner VARCHAR, crowd VARCHAR)\n\n Question: When Sydney Roosters won with a Crown of more than 7,42... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR)
Question: What was the second leg score from the group stage on matchday 5?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the second leg score from the group stage on matchday 5:
```
SELECT second_leg FROM table_name_35 WHERE phase = "group stage" AND round = "matchday 5"
``` | 44,224 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (second_leg VARCHAR, phase VARCHAR, round VARCHAR)\n\n Question: What was the second leg score from the group stage ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR)
Question: what year did enrique alciati make a statue
Here is the SQLite query to answer to the question: what year ... | Here is the SQLite query to answer the question about the year Enrique Alciati made a statue:
```
SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati";
``` | 44,225 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR)\n\n Question: what year did enrique alciati make a statue\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_81 (artist VARCHAR, country VARCHAR)
Question: what artist cam from uruguay
Here is the SQLite query to answer to the question: what artist cam from uruguay:
... | Here is the SQLite query to answer the question: what artist came from Uruguay:
```
SELECT artist FROM table_name_81 WHERE country = 'uruguay'
``` | 44,226 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (artist VARCHAR, country VARCHAR)\n\n Question: what artist cam from uruguay\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_55 (year INTEGER, mixed_doubles VARCHAR)
Question: When did mika heinonen susanna dahlberg win mixed doubles?
Here is the SQLite query to answer to the questi... | To answer the question "When did Mika Heinonen and Susanna Dahlberg win mixed doubles?", you should actually use the `SELECT` statement to retrieve the `year` rather than calculating the average year, as it may imply there were multiple years. Here’s the corrected SQLite query:
```
SELECT year FROM table_name_55 WHERE... | 44,227 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR)\n\n Question: When did mika heinonen susanna dahlberg win mixed doubles?\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_32 (outcome VARCHAR, score VARCHAR)
Question: Score of 0–3 (11–21, 14–21) had what outcome?
Here is the SQLite query to answer to the question: Score of 0–3 (... | Your SQLite query is not quite correct, as it assumes that the score is stored in exactly that format. If you want to find the outcome for the scores within the range of 0–3 (which includes the two specific scores of 11–21 and 14–21), you need to consider a condition that encompasses scores in that range rather than an... | 44,228 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (outcome VARCHAR, score VARCHAR)\n\n Question: Score of 0–3 (11–21, 14–21) had what outcome?\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_99 (score VARCHAR, venue VARCHAR)
Question: Venue of thessaloniki (without participation) had what score?
Here is the SQLite query to answer to the question: ... | Your query is correct for retrieving the score associated with the specified venue. Here it is wrapped in the code block:
```
SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)"
```
This query will return the score from the `table_name_99` table where the venue is exactly "thessaloni... | 44,229 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)\n\n Question: Venue of thessaloniki (without participation) had what score?\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_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR)
Question: Outcome of 13, and a Year of 2007 happened in what venue?
Here is the SQLite query to answer to th... | Your SQLite query to find the venue where the outcome was "13" and the year was "2007" is correctly written. Here it is wrapped in code formatting:
```
SELECT venue FROM table_name_51 WHERE outcome = "13" AND year = "2007";
```
This query will return the venue(s) from the `table_name_51` table that meet those criter... | 44,230 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (venue VARCHAR, outcome VARCHAR, year VARCHAR)\n\n Question: Outcome of 13, and a Year of 2007 happened in what venu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)
Question: Which Eruptions have a Location of pacific ring of fire... | Here is the SQLite query to answer the question:
```
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
``` | 44,231 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)\n\n Question: Which Erupt... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)
Question: How many fatalities does Italy have?
Here is the SQLite query to answer to the question: How many fatalitie... | Here is the SQLite query to answer the question about how many fatalities Italy has:
```sql
SELECT fatalities FROM table_name_50 WHERE country = "Italy";
``` | 44,232 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (fatalities VARCHAR, country VARCHAR)\n\n Question: How many fatalities does Italy have?\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_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)
Question: How many years have a Location of pacific ring of fire, and Eruptions of pinatubo?
Here is th... | The provided query seems incorrect for counting the number of years that meet the criteria. Instead of summing the years, you should count the distinct years that match the specified location and eruptions. Here is the corrected query:
```
SELECT COUNT(DISTINCT year) FROM table_name_22 WHERE location = "pacific ring o... | 44,233 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR, eruptions VARCHAR)\n\n Question: How many years have a Location of pacific ring of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR)
Question: What is the Standings of Eintracht Braunschweig?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question: What is the Standings of Eintracht Braunschweig?:
```
SELECT standings FROM table_name_28 WHERE champions = "Eintracht Braunschweig";
``` | 44,234 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (standings VARCHAR, champions VARCHAR)\n\n Question: What is the Standings of Eintracht Braunschweig?\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_92 (points INTEGER, year INTEGER)
Question: Year larger than 2001 has what average points?
Here is the SQLite query to answer to the question: Year larger tha... | Here is the SQLite query to answer the question regarding the average points for years larger than 2001:
```
SELECT AVG(points) FROM table_name_92 WHERE year > 2001
``` | 44,235 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (points INTEGER, year INTEGER)\n\n Question: Year larger than 2001 has what average points?\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_69 (year INTEGER, team VARCHAR, points VARCHAR)
Question: Team of Honda and a point total of 238 is what highest year?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the team Honda and a point total of 238 to find the highest year:
```sql
SELECT MAX(year) FROM table_name_69 WHERE team = "Honda" AND points = '238'
```
Make sure that the value for `points` is enclosed in quotes since it is stored as a VARCHAR type in the da... | 44,236 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (year INTEGER, team VARCHAR, points VARCHAR)\n\n Question: Team of Honda and a point total of 238 is what highest ye... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)
Question: Wins of 0 involves what team?
Here is the SQLite query to answer to the question: Wins of 0 involves what team?:
```... | It looks like there is a small issue in your query. The `wins` column is defined as `VARCHAR`, which means it stores string values rather than numerical values. Therefore, you need to use quotes to compare it with '0', which is a string. Here is the corrected SQLite query:
```
SELECT team FROM table_name_96 WHERE wins... | 44,237 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (team VARCHAR, wins VARCHAR)\n\n Question: Wins of 0 involves what team?\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)
Question: what player has a pick of 5
Here is the SQLite query to answer to the question: what player has a pick of 5:
```
S... | Here is the SQLite query to answer the question "what player has a pick of 5":
```sql
SELECT player FROM table_name_75 WHERE pick = '5';
```
Note: In SQLite, values in VARCHAR columns are typically enclosed in single quotes. | 44,238 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (player VARCHAR, pick VARCHAR)\n\n Question: what player has a pick of 5\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)
Question: Which District has a First elected of 1858, and a Result of retired re... | Here is the SQLite query to answer the question:
```
SELECT district FROM table_name_2 WHERE first_elected = '1858' AND result = 'retired republican gain' AND incumbent = 'william millward';
``` | 44,239 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)\n\n Question: Which District has a First... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
Question: Which Result has a District of pennsylvania 13?
Here is the SQLite query to answer to the question: Which Resul... | Here is the SQLite query to answer the question regarding which Result has a District of pennsylvania 13:
```
SELECT result FROM table_name_5 WHERE district = "pennsylvania 13";
``` | 44,240 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)\n\n Question: Which Result has a District of pennsylvania 13?\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_9 (first_elected INTEGER, incumbent VARCHAR)
Question: Which First elected is the lowest one that has an Incumbent of william stewart?
Here is the SQLite quer... | Here is the SQLite query to answer the question about the lowest `first_elected` for the incumbent "william stewart":
```sql
SELECT MIN(first_elected) FROM table_name_9 WHERE incumbent = "william stewart";
``` | 44,241 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (first_elected INTEGER, incumbent VARCHAR)\n\n Question: Which First elected is the lowest one that has an Incumbent ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
Question: Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?
Here... | Your provided SQLite query to answer the question is correct. Here it is wrapped as requested:
```
SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)"
``` | 44,242 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)\n\n Question: Who was the Player when College/Junior/Clu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER)
Question: What is the date of the game with an attendance larger than 62,491?
Here is the SQLite query to answer to the ... | It looks like there is a small mistake in your SQL query regarding the offset. The query should filter for attendance greater than 62,491, but the use of `OFFSET` is incorrect in this context; you probably intended to use a simple `WHERE` clause. Here’s the corrected query:
```sql
SELECT date FROM table_name_55 WHERE ... | 44,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (date VARCHAR, attendance INTEGER)\n\n Question: What is the date of the game with an attendance larger than 62,491?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR)
Question: What is the attendance of the game on week 4?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to answer the question about the attendance of the game on week 4:
```
SELECT attendance FROM table_name_10 WHERE week = '4'
``` | 44,244 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (attendance VARCHAR, week VARCHAR)\n\n Question: What is the attendance of the game on week 4?\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_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR)
Question: How many extra points are there that Herrnstein had with less than... | Your query has a slight issue, as the field goals should be treated as a numerical value, not a string. Also, to count how many extra points there are, you might want to use the `SUM` or `COUNT` function instead of `AVG`. Assuming you want to get the total of extra points, here's the corrected query:
```sql
SELECT SUM... | 44,245 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (extra_points INTEGER, field_goals VARCHAR, touchdowns VARCHAR, player VARCHAR)\n\n Question: How many extra points ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)
Question: How many touchdowns are there that has field goals less than 0 and 0 extra points?... | Here is the corrected SQLite query to answer the question:
```sql
SELECT SUM(touchdowns) FROM table_name_53 WHERE extra_points = '0' AND field_goals < '0';
```
In this query, I have ensured that the `extra_points` and `field_goals` are compared as strings because the schema specifies that these columns are of type `... | 44,246 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR)\n\n Question: How many touchdowns are there that has... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
Question: How many field goals are there that have 8 touchdowns and more than 49 points?
Here is ... | Here is the corrected SQLite query to answer the question about how many field goals are there with 8 touchdowns and more than 49 points:
```
SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = '8' AND points > '49'
```
Note: In the provided schema, `touchdowns` and `points` are of type `VARCHAR`, so it is... | 44,247 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)\n\n Question: How many field goals are there that have 8 t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)
Question: What's the number of touchdowns that Snow made tha... | It looks like you want to count the number of touchdowns that meet specific conditions. You should use the `COUNT()` function instead of `MIN()` in your query. Here's the corrected SQLite query:
```sql
SELECT COUNT(touchdowns) FROM table_name_66
WHERE points > 5
AND field_goals = 0
AND player = "Snow"
AND extra_po... | 44,248 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (touchdowns INTEGER, extra_points VARCHAR, player VARCHAR, points VARCHAR, field_goals VARCHAR)\n\n Question: What's... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)
Question: For an IATA of MLE, what is the ICAO?
Here is the SQLite query to answer to the question: For an IATA of MLE, what i... | Here is the SQLite query to answer the question:
```
SELECT icao FROM table_name_21 WHERE iata = "MLE"
``` | 44,249 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)\n\n Question: For an IATA of MLE, what is the ICAO?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR)
Question: For an ICAO of VCCT, what is the IATA?
Here is the SQLite query to answer to the question: For an ICAO of VCCT, what... | Your SQLite query is almost correct. However, the ICAO code is typically in uppercase. It would be ideal to match the case by using `UPPER()` for consistency. Here's the refined version of your query:
```
SELECT iata FROM table_name_66 WHERE UPPER(icao) = "VCCT"
```
This query will retrieve the IATA code for the ICA... | 44,250 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (iata VARCHAR, icao VARCHAR)\n\n Question: For an ICAO of VCCT, what is the IATA?\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_96 (city VARCHAR, icao VARCHAR)
Question: Which city has an ICAO of VCCJ?
Here is the SQLite query to answer to the question: Which city has an ICAO of VCCJ?:... | Here is the SQLite query to answer the question:
```
SELECT city FROM table_name_96 WHERE icao = "VCCJ";
``` | 44,251 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (city VARCHAR, icao VARCHAR)\n\n Question: Which city has an ICAO of VCCJ?\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_97 (icao VARCHAR, city VARCHAR)
Question: Which ICAO is found in Vavuniya?
Here is the SQLite query to answer to the question: Which ICAO is found in Vavuniya... | Here is the SQLite query to answer the question: Which ICAO is found in Vavuniya?:
```
SELECT icao FROM table_name_97 WHERE city = "Vavuniya";
``` | 44,252 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (icao VARCHAR, city VARCHAR)\n\n Question: Which ICAO is found in Vavuniya?\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_76 (country VARCHAR, airport VARCHAR)
Question: Which country has Weerawila Airport?
Here is the SQLite query to answer to the question: Which country has Wee... | ```sql
SELECT country FROM table_name_76 WHERE airport = "Weerawila Airport";
``` | 44,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR)\n\n Question: Which country has Weerawila Airport?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)
Question: Which opponent has april 1 as the date?
Here is the SQLite query to answer to the question: Which opponent has a... | Here is the SQLite query to answer the question about which opponent has April 1 as the date:
```
SELECT opponent FROM table_name_39 WHERE date = "april 1";
``` | 44,254 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR)\n\n Question: Which opponent has april 1 as the date?\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_24 (opponent VARCHAR, loss VARCHAR)
Question: What opponent has tomko (1-1) as a loss?
Here is the SQLite query to answer to the question: What opponent has t... | Here is the SQLite query to answer the question about what opponent has "tomko (1-1)" as a loss:
```
SELECT opponent FROM table_name_24 WHERE loss = "tomko (1-1)"
``` | 44,255 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (opponent VARCHAR, loss VARCHAR)\n\n Question: What opponent has tomko (1-1) as a loss?\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_76 (opponent VARCHAR, record VARCHAR)
Question: What opponent has 8-10 as the record?
Here is the SQLite query to answer to the question: What opponent has 8-... | Here is the SQLite query to answer the question regarding which opponent has the record of "8-10":
```sql
SELECT opponent FROM table_name_76 WHERE record = '8-10';
``` | 44,256 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (opponent VARCHAR, record VARCHAR)\n\n Question: What opponent has 8-10 as the record?\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_85 (class_aAA VARCHAR, school_year VARCHAR)
Question: Whcih was the Class AAA in school year 2006-07?
Here is the SQLite query to answer to the question: Whci... | Here is the SQLite query to answer the question regarding the Class AAA in the school year 2006-07:
```
SELECT class_aAA FROM table_name_85 WHERE school_year = '2006-07';
``` | 44,257 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (class_aAA VARCHAR, school_year VARCHAR)\n\n Question: Whcih was the Class AAA in school year 2006-07?\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_52 (class_aA VARCHAR, school_year VARCHAR)
Question: What team was class AA in years 1994-95?
Here is the SQLite query to answer to the question: What team wa... | Here is the SQLite query to answer the question about what team class AA was in the years 1994-95:
```
SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95";
``` | 44,258 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR)\n\n Question: What team was class AA in years 1994-95?\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_26 (class_aA VARCHAR, school_year VARCHAR)
Question: Who was Class AA in School Year 1994-95?
Here is the SQLite query to answer to the question: Who was Clas... | Here is the SQLite query to answer the question: Who was Class AA in School Year 1994-95?:
```
SELECT class_aA FROM table_name_26 WHERE school_year = '1994-95';
``` | 44,259 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)\n\n Question: Who was Class AA in School Year 1994-95?\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_48 (date VARCHAR, visitor VARCHAR)
Question: What's the date of the game that has the Bulls as a visiting team?
Here is the SQLite query to answer to the ques... | Your SQLite query looks correct. Here it is, formatted properly:
```
SELECT date FROM table_name_48 WHERE visitor = "bulls";
```
Make sure that the case of the team name matches what's in the database, as SQL can be case-sensitive depending on the settings. If the team name can appear in different cases (e.g., "Bull... | 44,260 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (date VARCHAR, visitor VARCHAR)\n\n Question: What's the date of the game that has the Bulls as a visiting team?\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_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR)
Question: What is the average game number that took place after February 13 against the To... | Here is the SQLite query to answer the question regarding the average game number that took place after February 13 against the Toronto Maple Leafs, and where more than 47 points were scored:
```sql
SELECT AVG(game)
FROM table_name_3
WHERE february > 13
AND LOWER(opponent) = "toronto maple leafs"
AND CAST(poin... | 44,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (game INTEGER, points VARCHAR, february VARCHAR, opponent VARCHAR)\n\n Question: What is the average game number that... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
Question: Who was the opponent at the game at Sullivan Stadium before week 11?
Here is the SQLite query... | Your provided SQLite query is mostly correct, but it's important to ensure that the comparison for the week is treated correctly. Assuming the week values are stored in a way that allows for direct comparison (as strings or integers), your syntax is valid. Here is your query formatted properly:
```
SELECT opponent FRO... | 44,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)\n\n Question: Who was the opponent at the game at Sullivan Stadi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR)
Question: What is the years coached by the person with a win percentage of 0.667 and 380 losses?
Here is the SQL... | It looks like you're trying to retrieve the years coached based on a specific win percentage and number of losses. However, the `pct` and `lost` columns in your schema are defined as `VARCHAR`, which means you need to treat them as strings in your query. Ensure to put quotes around the values you’re trying to match.
H... | 44,263 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR)\n\n Question: What is the years coached by the person with a win percenta... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR)
Question: What is the average percent for the coach from 1905 and more than 7 losses?
Here is the SQLite query t... | Your query is almost correct, but there's a small issue with the way you are comparing the 'lost' column. Since 'lost' is a VARCHAR type, you need to convert it to an integer for comparison. Here’s the corrected query:
```
SELECT AVG(pct) FROM table_name_97 WHERE years = "1905" AND CAST(lost AS INTEGER) > 7
``` | 44,264 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (pct INTEGER, years VARCHAR, lost VARCHAR)\n\n Question: What is the average percent for the coach from 1905 and mor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)
Question: How many percentages have 20 losses and more than 1 season?
Here is the SQLite query to answer to th... | Your SQLite query is almost correct, but there is a small issue regarding the comparison for losses. In your question, you want to count percentages with "20 losses and more than 1 season". However, in your query, you are checking for an exact match of `lost = 20`. To correctly capture percentages with "20 losses or mo... | 44,265 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR)\n\n Question: How many percentages have 20 losses and more than 1 seaso... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
Question: What home has February 10 as the date?
Here is the SQLite query to answer to the question: What home has February 10... | Here is the SQLite query to answer the question: What home has February 10 as the date?:
```
SELECT home FROM table_name_67 WHERE date = "February 10";
``` | 44,266 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)\n\n Question: What home has February 10 as the date?\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_66 (date VARCHAR, visitor VARCHAR)
Question: What date has ny islanders as the visitor?
Here is the SQLite query to answer to the question: What date has ny i... | Here is the SQLite query to answer the question about which date has "ny islanders" as the visitor:
```
SELECT date FROM table_name_66 WHERE visitor = "ny islanders"
``` | 44,267 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (date VARCHAR, visitor VARCHAR)\n\n Question: What date has ny islanders as the visitor?\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_57 (score VARCHAR, date VARCHAR)
Question: What score has February 10 as the date?
Here is the SQLite query to answer to the question: What score has February... | Here is the SQLite query to answer the question about what score has February 10 as the date:
```sql
SELECT score FROM table_name_57 WHERE date = "February 10";
``` | 44,268 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)\n\n Question: What score has February 10 as the date?\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_29 (course VARCHAR, date VARCHAR)
Question: Name the course for 24 july
Here is the SQLite query to answer to the question: Name the course for 24 july:
```
S... | Here is the SQLite query to answer the question: Name the course for 24 July:
```
SELECT course FROM table_name_29 WHERE date = "24 july";
``` | 44,269 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (course VARCHAR, date VARCHAR)\n\n Question: Name the course for 24 july\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)
Question: Name the course for team time trial
Here is the SQLite query to answer to the question: Name the course for team t... | Here is the SQLite query to answer the question about naming the course for team time trial:
```
SELECT course FROM table_name_58 WHERE type = "team time trial"
``` | 44,270 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (course VARCHAR, type VARCHAR)\n\n Question: Name the course for team time trial\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR)
Question: Name the winner for rest day for 13 july
Here is the SQLite query to answer to the question: Name ... | Here is the SQLite query to answer the question based on the provided schema:
```
SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july";
``` | 44,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR)\n\n Question: Name the winner for rest day for 13 july\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_86 (entered INTEGER, wrestler VARCHAR)
Question: Shawn Michaels entered the elimination chamber in what position?
Here is the SQLite query to answer to the qu... | The provided query does not accurately retrieve the position in which Shawn Michaels entered the elimination chamber. Instead, you want to select the `entered` value for Shawn Michaels directly. Here is the correct query:
```sql
SELECT entered FROM table_name_86 WHERE wrestler = "shawn michaels";
``` | 44,272 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR)\n\n Question: Shawn Michaels entered the elimination chamber in what position?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR)
Question: Who Eliminated Kurt Angle?
Here is the SQLite query to answer to the question: Who Eliminated Kurt Angl... | Here is the SQLite query to answer the question: Who Eliminated Kurt Angle?:
```
SELECT eliminated_by FROM table_name_49 WHERE wrestler = "Kurt Angle"
``` | 44,273 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (eliminated_by VARCHAR, wrestler VARCHAR)\n\n Question: Who Eliminated Kurt Angle?\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_63 (eliminated_by VARCHAR, wrestler VARCHAR)
Question: Who Eliminated Kane?
Here is the SQLite query to answer to the question: Who Eliminated Kane?:
```
SELE... | Here is the SQLite query to answer the question: Who Eliminated Kane?:
```
SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
``` | 44,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR)\n\n Question: Who Eliminated Kane?\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 (gold INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the sum of all gold medals for Algeria when total medals is less than 3?
Here is the SQLite... | Your query is almost correct, but the comparison for total medals should be done with the appropriate data type. Since `total` is a `VARCHAR`, you need to make sure you're comparing it as an integer. You can convert it to an integer while querying.
Here's the corrected query wrapped in code format:
```
SELECT SUM(gol... | 44,275 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR)\n\n Question: What is the sum of all gold medals for Algeria when tota... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)
Question: what is the population of Valencia, Spain?
Here is the SQLite query to answer to the qu... | The SQLite query you provided attempts to calculate the average population of Valencia, Spain, but to find the specific population of that urban area, you should use the following query instead:
```
SELECT population FROM table_name_56 WHERE country = "Spain" AND urban_area = "Valencia";
```
This query directly retr... | 44,276 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)\n\n Question: what is the population of Valencia, Spain?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR)
Question: which year holds rank 2?
Here is the SQLite query to answer to the question: which year holds rank 2?:
```
SELECT MA... | Your SQL query is correctly structured to retrieve the maximum year that holds the rank of "2". Here’s the query wrapped in code blocks as requested:
```
SELECT MAX(year) FROM table_name_89 WHERE rank = "2";
```
This query will give you the latest year where the rank is "2". If you want to see all years that hold ra... | 44,277 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (year INTEGER, rank VARCHAR)\n\n Question: which year holds rank 2?\n\nHere is the SQLite query to answer to the que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)
Question: with name meridian condominiums what is number of floors?
Here is the SQLite query to answer to the question: with... | Based on the provided schema and your request, the correct SQLite query to find the number of floors for entries with the name "meridian condominiums" is:
```sql
SELECT floors FROM table_name_19 WHERE name = "meridian condominiums";
```
This query directly selects the `floors` column for the specified name. The use ... | 44,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (floors INTEGER, name VARCHAR)\n\n Question: with name meridian condominiums what is number of floors?\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_48 (year VARCHAR, rank VARCHAR)
Question: with rank of 31 what is the year?
Here is the SQLite query to answer to the question: with rank of 31 what is the ye... | To answer the question "with rank of 31 what is the year?", the appropriate SQLite query should select the `year` where the `rank` is 31. Your provided query counts the number of years, but does not return the year itself. Here’s the correct query:
```
SELECT year FROM table_name_48 WHERE rank = "31"
``` | 44,279 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)\n\n Question: with rank of 31 what is the year?\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_78 (date VARCHAR, visitor VARCHAR)
Question: What was the date of the match against the visiting team, Toronto?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the date of the match against the visiting team, Toronto:
```
SELECT date FROM table_name_78 WHERE visitor = "Toronto"
```
Make sure to use "Toronto" with the correct case, as SQLite string comparisons are case-sensitive by default. | 44,280 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR)\n\n Question: What was the date of the match against the visiting team, Toronto?\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_56 (home VARCHAR, date VARCHAR)
Question: Who played the home team during the game on January 6?
Here is the SQLite query to answer to the question: Who playe... | Here is the SQLite query to answer the question: Who played the home team during the game on January 6?:
```
SELECT home FROM table_name_56 WHERE date = "January 6";
``` | 44,281 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)\n\n Question: Who played the home team during the game on January 6?\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_88 (record VARCHAR, visitor VARCHAR)
Question: What was the cougars record during the game where Boston were the visitors?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the cougars' record during the game where Boston were the visitors:
```
SELECT record FROM table_name_88 WHERE visitor = "boston";
``` | 44,282 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (record VARCHAR, visitor VARCHAR)\n\n Question: What was the cougars record during the game where Boston were the vi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER)
Question: What's the lowest Drawn that has a Lost that's less than 0?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question:
```
SELECT MIN(drawn) FROM table_name_1 WHERE lost < 0
``` | 44,283 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (drawn INTEGER, lost INTEGER)\n\n Question: What's the lowest Drawn that has a Lost that's less than 0?\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_23 (lost INTEGER, games INTEGER)
Question: What's the total Lost with Games that's less than 4?
Here is the SQLite query to answer to the question: What's the... | Here is the SQLite query to answer the question regarding the total Lost with Games that are less than 4:
```
SELECT SUM(lost) FROM table_name_23 WHERE games < 4
``` | 44,284 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (lost INTEGER, games INTEGER)\n\n Question: What's the total Lost with Games that's less than 4?\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_75 (games INTEGER, lost VARCHAR, points VARCHAR)
Question: What's the total of Games with a Lost that's larger than 2, and has Points that's smaller than 0?
H... | Sure! Here is the SQLite query that answers the question:
```
SELECT SUM(games) FROM table_name_75 WHERE lost > 2 AND points < 0
``` | 44,285 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (games INTEGER, lost VARCHAR, points VARCHAR)\n\n Question: What's the total of Games with a Lost that's larger than... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)
Question: What's the Lost average that has a Drawn less than 0?
Here is the SQLite query to answer to the question: What's th... | Here is the SQLite query to answer the question regarding the average of "lost" where "drawn" is less than 0:
```
SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
``` | 44,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)\n\n Question: What's the Lost average that has a Drawn less than 0?\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_93 (record VARCHAR, opponent VARCHAR)
Question: What record has @ ottawa senators as the opponent?
Here is the SQLite query to answer to the question: What re... | Here is the SQLite query wrapped in the appropriate code block:
```
SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators";
``` | 44,287 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)\n\n Question: What record has @ ottawa senators as the opponent?\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_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)
Question: What game has 28 points, and tampa bay lightning as the opponent?
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT game FROM table_name_50 WHERE points = '28' AND opponent = 'tampa bay lightning';
``` | 44,288 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (game VARCHAR, points VARCHAR, opponent VARCHAR)\n\n Question: What game has 28 points, and tampa bay lightning as t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR)
Question: What is the average points that have a December less than 6, with a game greater than 26?
Here i... | Here is the SQLite query that answers the question:
```
SELECT AVG(points) FROM table_name_17 WHERE december < 6 AND game > 26;
``` | 44,289 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (points INTEGER, december VARCHAR, game VARCHAR)\n\n Question: What is the average points that have a December less ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game with a loss of Sele (0-1)?
Here is the SQLite query to answer to the question: ... | Your SQLite query is correctly structured to find the opponent associated with the specified loss. Here's the query wrapped in the specified code format:
```
SELECT opponent FROM table_name_36 WHERE loss = "Sele (0-1)";
```
Make sure to match the case and spacing of "Sele (0-1)" accurately with what is in your datab... | 44,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (opponent VARCHAR, loss VARCHAR)\n\n Question: Who was the opponent at the game with a loss of Sele (0-1)?\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_95 (points INTEGER, record VARCHAR, march VARCHAR)
Question: Record of 42–16–8, and a March larger than 5 has what average points?
Here is the SQLite query to... | Here is the SQLite query to answer the question:
```
SELECT AVG(points) FROM table_name_95 WHERE record = "42–16–8" AND march > 5
``` | 44,291 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (points INTEGER, record VARCHAR, march VARCHAR)\n\n Question: Record of 42–16–8, and a March larger than 5 has what ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR)
Question: Points smaller than 96, and a Record of 43–16–8 belongs to what game?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding points smaller than 96 and a record of 43–16–8:
```
SELECT game FROM table_name_30 WHERE points < 96 AND record = '43–16–8';
``` | 44,292 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR)\n\n Question: Points smaller than 96, and a Record of 43–16–8 belongs... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR)
Question: Game smaller than 70, and a Record of 43–16–8 is what opponent?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question given the provided schema:
```
SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8";
``` | 44,293 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR)\n\n Question: Game smaller than 70, and a Record of 43–16–8 is what... | |
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, record VARCHAR)
Question: Record of 44–18–8 involves which score?
Here is the SQLite query to answer to the question: Record of 44–18–8 inv... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_name_95 WHERE record = "44–18–8"
``` | 44,294 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)\n\n Question: Record of 44–18–8 involves which score?\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_44 (college VARCHAR, player VARCHAR)
Question: Which college is Kellen Davis from?
Here is the SQLite query to answer to the question: Which college is Kellen... | Here is the SQLite query to answer the question about which college Kellen Davis is from:
```
SELECT college FROM table_name_44 WHERE player = "Kellen Davis";
``` | 44,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR)\n\n Question: Which college is Kellen Davis from?\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_30 (round VARCHAR, position VARCHAR)
Question: Which round's position is according to official website?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding which round's position is according to the official website:
```sql
SELECT round FROM table_name_30 WHERE position = "according to official website";
``` | 44,296 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR)\n\n Question: Which round's position is according to official website?\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_29 (position VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which position's round was 3 when pick was 70?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about which position's round was 3 when the pick was 70:
```
SELECT position FROM table_name_29 WHERE round = "3" AND pick = "70";
``` | 44,297 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR)\n\n Question: Which position's round was 3 when pick was 70?\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_40 (pick VARCHAR, round VARCHAR, player VARCHAR)
Question: Which pick's round was 5 when Kellen Davis was a player?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question of which pick's round was 5 when Kellen Davis was a player:
```
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "Kellen Davis"
``` | 44,298 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (pick VARCHAR, round VARCHAR, player VARCHAR)\n\n Question: Which pick's round was 5 when Kellen Davis was a player?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
Question: Which college's pick was 14?
Here is the SQLite query to answer to the question: Which college's pick was 14?:
``... | Here is the SQLite query to answer the question:
```sql
SELECT college FROM table_name_86 WHERE pick = "14";
``` | 44,299 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)\n\n Question: Which college's pick was 14?\n\nHere is the SQLite query to answer to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.