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_77 (year VARCHAR, national_champion VARCHAR)
Question: In what Year was Rhode Island the National Champion?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question: In what Year was Rhode Island the National Champion?:
```
SELECT year FROM table_name_77 WHERE national_champion = "Rhode Island";
``` | 44,000 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (year VARCHAR, national_champion VARCHAR)\n\n Question: In what Year was Rhode Island the National Champion?\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_59 (runner_up VARCHAR, host VARCHAR)
Question: What was the Runner-up in the Monroe County Sports Commission?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the runner-up in the Monroe County Sports Commission:
```
SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission";
``` | 44,001 | [
{
"from": "human",
"value": " 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 (runner_up VARCHAR, host VARCHAR)\n\n Question: What was the Runner-up in the Monroe County Sports Commission?\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 (location VARCHAR, runner_up VARCHAR)
Question: At what Location was the Runner-up TBD?
Here is the SQLite query to answer to the question: At what Location... | Here is the SQLite query to answer the question about the location where the Runner-up is "TBD":
```
SELECT location FROM table_name_3 WHERE runner_up = "TBD"
``` | 44,002 | [
{
"from": "human",
"value": " 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 (location VARCHAR, runner_up VARCHAR)\n\n Question: At what Location was the Runner-up TBD?\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_71 (location VARCHAR, host VARCHAR, national_champion VARCHAR)
Question: At what Location did Robert Morris University (Illinois) Host the Lindenwood National ... | Here is the SQLite query to answer the question regarding the location where Robert Morris University (Illinois) hosted the Lindenwood National Champion:
```
SELECT location FROM table_name_71 WHERE host = "robert morris university (illinois)" AND national_champion = "lindenwood";
``` | 44,003 | [
{
"from": "human",
"value": " 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 (location VARCHAR, host VARCHAR, national_champion VARCHAR)\n\n Question: At what Location did Robert Morris Univers... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (runner_up VARCHAR, national_champion VARCHAR, location VARCHAR)
Question: What was the Runner-up with Ohio as the National Champion in Tucson, AZ?
Here is... | Here is the SQLite query to answer the question regarding the Runner-up with Ohio as the National Champion in Tucson, AZ:
```
SELECT runner_up FROM table_name_53 WHERE national_champion = "ohio" AND location = "tucson, az"
``` | 44,004 | [
{
"from": "human",
"value": " 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 (runner_up VARCHAR, national_champion VARCHAR, location VARCHAR)\n\n Question: What was the Runner-up with Ohio 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_43 (graphics VARCHAR, vram VARCHAR)
Question: Which graphics spec has a VRAM spec of 512MB?
Here is the SQLite query to answer to the question: Which graphics... | Here is the SQLite query to answer the question: Which graphics spec has a VRAM spec of 512MB?:
```
SELECT graphics FROM table_name_43 WHERE vram = "512MB";
``` | 44,005 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (graphics VARCHAR, vram VARCHAR)\n\n Question: Which graphics spec has a VRAM spec of 512MB?\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_2 (msrp VARCHAR, storage VARCHAR)
Question: What is the MSRP for the laptop with storage of 128-512 GB SSD?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the MSRP for the laptop with storage of 128-512 GB SSD:
```
SELECT msrp FROM table_name_2 WHERE storage = "128-512 GB SSD"
``` | 44,006 | [
{
"from": "human",
"value": " 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 (msrp VARCHAR, storage VARCHAR)\n\n Question: What is the MSRP for the laptop with storage of 128-512 GB SSD?\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_25 (opponent VARCHAR, game VARCHAR)
Question: Name the opponent for game 5
Here is the SQLite query to answer to the question: Name the opponent for game 5:
`... | Here's the SQLite query to answer the question of naming the opponent for game 5:
```
SELECT opponent FROM table_name_25 WHERE game = '5';
```
(Note: In SQL, string literals should be enclosed in quotes, so '5' is used assuming `game` is a VARCHAR type. If `game` is stored as an integer, you can use `5` without quot... | 44,007 | [
{
"from": "human",
"value": " 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 VARCHAR, game VARCHAR)\n\n Question: Name the opponent for game 5\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_17 (status VARCHAR, name VARCHAR)
Question: What status is shown for Cadeby?
Here is the SQLite query to answer to the question: What status is shown for Cade... | Here is the SQLite query to answer the question about the status shown for Cadeby:
```
SELECT status FROM table_name_17 WHERE name = "Cadeby";
``` | 44,008 | [
{
"from": "human",
"value": " 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 (status VARCHAR, name VARCHAR)\n\n Question: What status is shown for Cadeby?\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_96 (former_local_authority VARCHAR, name VARCHAR)
Question: What is the Former local authority for Ecclesfield?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the former local authority for Ecclesfield:
```
SELECT former_local_authority FROM table_name_96 WHERE name = "Ecclesfield";
``` | 44,009 | [
{
"from": "human",
"value": " 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 (former_local_authority VARCHAR, name VARCHAR)\n\n Question: What is the Former local authority for Ecclesfield?\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_83 (status VARCHAR, name VARCHAR)
Question: What is the Status of Mexborough?
Here is the SQLite query to answer to the question: What is the Status of Mexbor... | Here is the SQLite query to answer the question about the status of Mexborough:
```sql
SELECT status FROM table_name_83 WHERE name = "mexborough";
``` | 44,010 | [
{
"from": "human",
"value": " 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 (status VARCHAR, name VARCHAR)\n\n Question: What is the Status of Mexborough?\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_36 (score VARCHAR, date VARCHAR)
Question: What is the score on December 1?
Here is the SQLite query to answer to the question: What is the score on December ... | Here's the SQLite query to find the score on December 1, wrapped in the appropriate code block:
```
SELECT score FROM table_name_36 WHERE date = "December 1";
``` | 44,011 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR)\n\n Question: What is the score on December 1?\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_63 (skip VARCHAR, second VARCHAR)
Question: Which skip has Oliver Dupont as a second?
Here is the SQLite query to answer to the question: Which skip has Olive... | The SQLite query you provided aims to find the "skip" associated with "Oliver Dupont" in the "second" column. However, it's important to ensure the correct case and format in the SQL query based on standard practices.
Here's the query wrapped in the appropriate format:
```
SELECT skip FROM table_name_63 WHERE second... | 44,012 | [
{
"from": "human",
"value": " 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 (skip VARCHAR, second VARCHAR)\n\n Question: Which skip has Oliver Dupont as a second?\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_91 (second VARCHAR, third VARCHAR)
Question: Which second's third is Jean-Michel Arsenault?
Here is the SQLite query to answer to the question: Which second's... | Here is the SQLite query to answer the question: Which second's third is Jean-Michel Arsenault?:
```
SELECT second FROM table_name_91 WHERE third = "Jean-Michel Arsenault";
``` | 44,013 | [
{
"from": "human",
"value": " 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 (second VARCHAR, third VARCHAR)\n\n Question: Which second's third is Jean-Michel Arsenault?\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_1 (skip VARCHAR, third VARCHAR)
Question: Which skip's third is Steffen Walstad?
Here is the SQLite query to answer to the question: Which skip's third is Ste... | Your query is almost correct, but please note that SQL is case-sensitive depending on the collation settings, and the name "Steffen Walstad" has capital letters. Here's the corrected version of your SQL query:
```
SELECT skip FROM table_name_1 WHERE third = "Steffen Walstad"
```
If you want to ensure that the query ... | 44,014 | [
{
"from": "human",
"value": " 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 (skip VARCHAR, third VARCHAR)\n\n Question: Which skip's third is Steffen Walstad?\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_51 (skip VARCHAR, second VARCHAR)
Question: Which skip's second is Martin Hejhal?
Here is the SQLite query to answer to the question: Which skip's second is M... | Here is the SQLite query to answer the question "Which skip's second is Martin Hejhal?":
```
SELECT skip FROM table_name_51 WHERE second = "Martin Hejhal"
``` | 44,015 | [
{
"from": "human",
"value": " 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 (skip VARCHAR, second VARCHAR)\n\n Question: Which skip's second is Martin Hejhal?\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_17 (skip VARCHAR, lead VARCHAR)
Question: Which skip's lead is Gordon McDougall?
Here is the SQLite query to answer to the question: Which skip's lead is Gord... | Here is the SQLite query to answer the question "Which skip's lead is Gordon McDougall?":
```
SELECT skip FROM table_name_17 WHERE lead = "Gordon McDougall";
``` | 44,016 | [
{
"from": "human",
"value": " 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 (skip VARCHAR, lead VARCHAR)\n\n Question: Which skip's lead is Gordon McDougall?\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_10 (second VARCHAR, skip VARCHAR)
Question: Which second's skip is Chris Plys?
Here is the SQLite query to answer to the question: Which second's skip is Chri... | Certainly! Here is the SQLite query to answer the question "Which second's skip is Chris Plys?":
```sql
SELECT second FROM table_name_10 WHERE skip = "Chris Plys";
``` | 44,017 | [
{
"from": "human",
"value": " 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 (second VARCHAR, skip VARCHAR)\n\n Question: Which second's skip is Chris Plys?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)
Question: How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points ... | Here is the SQLite query that answers the question based on the given schema:
```sql
SELECT SUM(poles)
FROM table_name_39
WHERE class = "125cc"
AND team = "matteoni racing team"
AND CAST(points AS INTEGER) > 3;
```
Note: The `CAST(points AS INTEGER)` is used to ensure that the points are compared as integers... | 44,018 | [
{
"from": "human",
"value": " 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 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)\n\n Question: How many Poles have a Class of 125cc, and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)
Question: How many Podiums have a Class of 250cc, and an F laps of 0?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about how many Podiums have a Class of 250cc, and an F laps of 0:
```
SELECT SUM(podiums) FROM table_name_18 WHERE class = '250cc' AND f_laps = '0';
``` | 44,019 | [
{
"from": "human",
"value": " 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 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)\n\n Question: How many Podiums have a Class of 250cc, and an F laps... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (average VARCHAR, team VARCHAR, highest VARCHAR)
Question: Team of elgin city, and a Highest smaller than 537 had what total number of average?
Here is the... | Your provided SQLite query is almost correct, but it’s important to ensure that the `highest` value is compared in the correct data type. Since your schema specifies that `highest` is a `VARCHAR`, you might need to cast it to an integer for an accurate comparison. Here’s the revised query:
```sql
SELECT COUNT(average)... | 44,020 | [
{
"from": "human",
"value": " 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 (average VARCHAR, team VARCHAR, highest VARCHAR)\n\n Question: Team of elgin city, and a Highest smaller than 537 ha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (average INTEGER, lowest VARCHAR, team VARCHAR)
Question: Lowest larger than 288, and a Team of east stirlingshire has what lowest average?
Here is the SQL... | Here is the SQLite query that answers your question:
```
SELECT MIN(average) FROM table_name_61 WHERE lowest > 288 AND team = "east stirlingshire"
``` | 44,021 | [
{
"from": "human",
"value": " 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 (average INTEGER, lowest VARCHAR, team VARCHAR)\n\n Question: Lowest larger than 288, and a Team of east stirlingshi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (owner VARCHAR, locomotive VARCHAR)
Question: what is the owner of the c501
Here is the SQLite query to answer to the question: what is the owner of the c50... | Here is the SQLite query to answer the question: what is the owner of the c501:
```
SELECT owner FROM table_name_2 WHERE locomotive = "c501";
``` | 44,022 | [
{
"from": "human",
"value": " 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 (owner VARCHAR, locomotive VARCHAR)\n\n Question: what is the owner of the c501\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_34 (record VARCHAR, game VARCHAR, december VARCHAR)
Question: Which Record has a Game larger than 32, and a December smaller than 21?
Here is the SQLite query... | Here is the SQLite query to answer the question:
```
SELECT record FROM table_name_34 WHERE game > 32 AND december < 21
``` | 44,023 | [
{
"from": "human",
"value": " 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, game VARCHAR, december VARCHAR)\n\n Question: Which Record has a Game larger than 32, and a Decembe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (score VARCHAR, december VARCHAR, points VARCHAR, game VARCHAR)
Question: Which Score has Points larger than 46, and a Game smaller than 35, and a December ... | Here is the SQLite query to answer the question you provided:
```
SELECT score FROM table_name_35 WHERE points > 46 AND game < 35 AND december = '21'
``` | 44,024 | [
{
"from": "human",
"value": " 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 (score VARCHAR, december VARCHAR, points VARCHAR, game VARCHAR)\n\n Question: Which Score has Points larger than 46,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (december INTEGER, points VARCHAR)
Question: Which December is the lowest one that has Points of 52?
Here is the SQLite query to answer to the question: Wh... | Your query is almost correct, but since the `points` column is defined as `VARCHAR`, you should compare it with '52' (as a string) instead of 52 (as an integer). Here is the corrected query:
```
SELECT MIN(december) FROM table_name_96 WHERE points = '52';
``` | 44,025 | [
{
"from": "human",
"value": " 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 (december INTEGER, points VARCHAR)\n\n Question: Which December is the lowest one that has Points of 52?\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_77 (december INTEGER, points VARCHAR, game VARCHAR)
Question: Which December has Points of 48, and a Game larger than 33?
Here is the SQLite query to answer t... | Your query aims to find the sum of the "december" column for records where "points" are 48 and "game" is greater than 33. However, if you are looking to simply return the December values that meet the criteria, you may just want to select the "december" column instead of summing it. Here’s a corrected version based on ... | 44,026 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (december INTEGER, points VARCHAR, game VARCHAR)\n\n Question: Which December has Points of 48, and a Game larger th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (regular_season_champion_s_ VARCHAR, year VARCHAR)
Question: WHich Regular Season Champions has a Year of 1943–44?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question regarding which Regular Season Champions has a Year of 1943–44:
```
SELECT regular_season_champion_s_ FROM table_name_70 WHERE year = '1943–44';
``` | 44,027 | [
{
"from": "human",
"value": " 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 (regular_season_champion_s_ VARCHAR, year VARCHAR)\n\n Question: WHich Regular Season Champions has a Year of 1943–4... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR)
Question: WHich Tournament venue has a Tournament Champion of duke and a Record of 1... | Here is the SQLite query to answer the question regarding the Tournament venue that has a Tournament Champion of "duke" and a Record of "15–1":
```sql
SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–1";
``` | 44,028 | [
{
"from": "human",
"value": " 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 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR)\n\n Question: WHich Tournament venue has a T... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR)
Question: When has a Tournament venue of richmond arena, and a ... | Here is the SQLite query to answer the question:
```
SELECT year FROM table_name_45
WHERE tournament_venue = "richmond arena"
AND record = "12–1"
AND regular_season_champion_s_ = "virginia tech"
``` | 44,029 | [
{
"from": "human",
"value": " 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 (year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR)\n\n Question: When has ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (year VARCHAR, record VARCHAR, tournament_champion VARCHAR)
Question: When has a Record of 9–1, and a Tournament Champion of duke?
Here is the SQLite query... | Your SQLite query is correctly structured to find the years when the record is "9–1" and the tournament champion is "duke". Here it is wrapped in the requested format:
```
SELECT year FROM table_name_50 WHERE record = "9–1" AND tournament_champion = "duke";
``` | 44,030 | [
{
"from": "human",
"value": " 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 (year VARCHAR, record VARCHAR, tournament_champion VARCHAR)\n\n Question: When has a Record of 9–1, and a Tournament... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (regular_season_champion_s_ VARCHAR, tournament_champion VARCHAR, year VARCHAR)
Question: Which Regular Season Champion(s) has a Tournament Champion of west ... | Here's the SQLite query for your question:
```
SELECT regular_season_champion_s_ FROM table_name_4 WHERE tournament_champion = "west virginia" AND year = "1955–56";
``` | 44,031 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (regular_season_champion_s_ VARCHAR, tournament_champion VARCHAR, year VARCHAR)\n\n Question: Which Regular Season Ch... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR)
Question: Which Regular Season Champion(s) has a Record of 9–0, and a Tour... | Here is the SQLite query to answer your question:
```sql
SELECT regular_season_champion_s_ FROM table_name_16 WHERE record = "9–0" AND tournament_champion = "north carolina";
``` | 44,032 | [
{
"from": "human",
"value": " 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 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR)\n\n Question: Which Regular Season... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (round INTEGER, college_junior_club_team__league_ VARCHAR)
Question: What is the lowest round for a player selected from a college of New Hampshire?
Here i... | Your provided SQLite query is mostly correct, but it's important to ensure that the comparison in the `WHERE` clause is case-sensitive and that it captures variations in case. Here’s a revised version of the query that accounts for potential case variations in the college name:
```sql
SELECT MIN(round)
FROM table_nam... | 44,033 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (round INTEGER, college_junior_club_team__league_ VARCHAR)\n\n Question: What is the lowest round for a player selec... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (nationality VARCHAR, player VARCHAR)
Question: What nationality is Rod Langway?
Here is the SQLite query to answer to the question: What nationality is Ro... | Here is the SQLite query to answer the question about Rod Langway's nationality:
```
SELECT nationality FROM table_name_79 WHERE player = "Rod Langway";
``` | 44,034 | [
{
"from": "human",
"value": " 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 (nationality VARCHAR, player VARCHAR)\n\n Question: What nationality is Rod Langway?\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_81 (position VARCHAR, round INTEGER)
Question: What position is the player selected that has a round value over 3?
Here is the SQLite query to answer to the q... | Your SQLite query is correctly formulated to retrieve the position of players selected in rounds greater than 3. Here it is wrapped in the code block as requested:
```
SELECT position FROM table_name_81 WHERE round > 3;
``` | 44,035 | [
{
"from": "human",
"value": " 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 (position VARCHAR, round INTEGER)\n\n Question: What position is the player selected that has a round value over 3?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (college_junior_club_team__league_ VARCHAR, round INTEGER)
Question: What college did the player selected in rounds over 3 play for?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding what college the player selected in rounds over 3 played for:
```
SELECT college_junior_club_team__league_ FROM table_name_59 WHERE round > 3
``` | 44,036 | [
{
"from": "human",
"value": " 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 (college_junior_club_team__league_ VARCHAR, round INTEGER)\n\n Question: What college did the player selected in rou... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (round INTEGER, college_junior_club_team__league_ VARCHAR)
Question: What is the highest round that has a player selected from Clarkson University?
Here is... | Your provided SQLite query is mostly correct, but just to ensure clarity and correctness, it’s important to check that the name you are filtering for is indeed "Clarkson University" with the proper casing or spelling as it appears in your database. Assuming "Clarkson University" is the exact string stored in the databa... | 44,037 | [
{
"from": "human",
"value": " 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 (round INTEGER, college_junior_club_team__league_ VARCHAR)\n\n Question: What is the highest round that has 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_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)
Question: What is the lowest rank of Deutsche Telekom with a market value over 209,628?
H... | It looks like there is a small mistake in the query you've provided, specifically concerning the condition for filtering based on market value. The value should be compared directly, not with an `OFFSET` clause, which is not applicable in this context.
Here’s the corrected SQLite query:
```sql
SELECT MIN(rank) FROM ... | 44,038 | [
{
"from": "human",
"value": " 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 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)\n\n Question: What is the lowest rank of Deutsche ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (market_value___usd_million_ VARCHAR, headquarters VARCHAR)
Question: What is the total market value of all corporations headquartered in Germany?
Here is ... | The query you provided seems to use the `COUNT()` function, which counts the number of records but does not sum the market values. To calculate the total market value of all corporations headquartered in Germany, you should use the `SUM()` function instead. Also, you may need to convert the `market_value___usd_million_... | 44,039 | [
{
"from": "human",
"value": " 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 (market_value___usd_million_ VARCHAR, headquarters VARCHAR)\n\n Question: What is the total market value of all corp... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (earnings___ INTEGER, player VARCHAR, wins VARCHAR)
Question: What is the lowest earnings of Vijay Singh who had more than 24 wins?
Here is the SQLite quer... | Here is the corrected SQLite query to answer the question about the lowest earnings of Vijay Singh who had more than 24 wins. Please note that I've assumed you want to compare the `wins` as an integer, so I will convert it using `CAST`.
```sql
SELECT MIN(earnings___) AS lowest_earnings
FROM table_name_34
WHERE player ... | 44,040 | [
{
"from": "human",
"value": " 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 (earnings___ INTEGER, player VARCHAR, wins VARCHAR)\n\n Question: What is the lowest earnings of Vijay Singh who had... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)
Question: Which Rank is the highest one that has a Change smaller than 44, and a Centre of bue... | Your SQLite query is correct for the given requirements. Here it is wrapped in the appropriate code block:
```
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628;
``` | 44,041 | [
{
"from": "human",
"value": " 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 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)\n\n Question: Which Rank is the highest one that has a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR)
Question: Which Centre has a Rank of 42?
Here is the SQLite query to answer to the question: Which Centre has a Rank of 42?:... | Here is the SQLite query to answer the question "Which Centre has a Rank of 42?":
```
SELECT centre FROM table_name_34 WHERE rank = '42';
``` | 44,042 | [
{
"from": "human",
"value": " 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 (centre VARCHAR, rank VARCHAR)\n\n Question: Which Centre has a Rank of 42?\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_88 (rating INTEGER, centre VARCHAR)
Question: Which Rating has a Centre of helsinki?
Here is the SQLite query to answer to the question: Which Rating has a Ce... | The provided query aims to compute the sum of ratings for records where the centre is "helsinki". However, if you're looking for the individual ratings instead of the sum, the query should be adjusted accordingly.
Here’s the correct query that retrieves the ratings for centres that match "helsinki":
```
SELECT rating... | 44,043 | [
{
"from": "human",
"value": " 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 (rating INTEGER, centre VARCHAR)\n\n Question: Which Rating has a Centre of helsinki?\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_31 (change INTEGER, centre VARCHAR, rank VARCHAR)
Question: Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46?
Her... | Here is the SQLite query to answer the question about the average change for the centre of Buenos Aires, with a rank smaller than 46:
```sql
SELECT AVG(change) FROM table_name_31 WHERE centre = "buenos aires" AND rank < 46;
``` | 44,044 | [
{
"from": "human",
"value": " 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 (change INTEGER, centre VARCHAR, rank VARCHAR)\n\n Question: Which Change is the average one that has a Centre of bu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)
Question: Operation of find-min has what Fibonacci?
Here is the SQLite query to answer to the question: Operation of... | Your SQLite query is correct for retrieving the Fibonacci value associated with the operation "find-min". Here is the wrapped code as you requested:
```
SELECT fibonacci FROM table_name_18 WHERE operation = "find-min";
``` | 44,045 | [
{
"from": "human",
"value": " 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 (fibonacci VARCHAR, operation VARCHAR)\n\n Question: Operation of find-min has what Fibonacci?\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_68 (pairing VARCHAR, binomial VARCHAR)
Question: Binomial of θ(1) has what pairing?
Here is the SQLite query to answer to the question: Binomial of θ(1) has w... | Your provided SQLite query is correct. Here it is wrapped in the requested format:
```
SELECT pairing FROM table_name_68 WHERE binomial = "θ(1)";
``` | 44,046 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (pairing VARCHAR, binomial VARCHAR)\n\n Question: Binomial of θ(1) has what pairing?\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_82 (binary VARCHAR, pairing VARCHAR, binomial VARCHAR)
Question: Pairing of θ(1), and a Binomial of θ(1) is what binary?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question "Pairing of θ(1), and a Binomial of θ(1) is what binary?":
```
SELECT binary FROM table_name_82 WHERE pairing = "θ(1)" AND binomial = "θ(1)"
``` | 44,047 | [
{
"from": "human",
"value": " 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 (binary VARCHAR, pairing VARCHAR, binomial VARCHAR)\n\n Question: Pairing of θ(1), and a Binomial of θ(1) is what bi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (binary VARCHAR, operation VARCHAR)
Question: Operation of find-min has what binary?
Here is the SQLite query to answer to the question: Operation of find-... | Here's the SQLite query you can use to find the binary associated with the operation "find-min":
```
SELECT binary FROM table_name_98 WHERE operation = "find-min";
``` | 44,048 | [
{
"from": "human",
"value": " 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 (binary VARCHAR, operation VARCHAR)\n\n Question: Operation of find-min has what binary?\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_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
Question: Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
Here is the SQLite query to a... | Here is the SQLite query to answer the question about the binomial given the conditions on binary and Fibonacci:
```
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"
``` | 44,049 | [
{
"from": "human",
"value": " 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 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)\n\n Question: Binary of θ(log n), and a Fibonacci of θ(1) has w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR)
Question: Which of the titles have a duration time of 4:57?
Here is the SQLite query to answer to the question: Which of ... | Here is the SQLite query to answer the question of which titles have a duration time of 4:57:
```
SELECT title FROM table_name_81 WHERE duration = "4:57"
``` | 44,050 | [
{
"from": "human",
"value": " 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 (title VARCHAR, duration VARCHAR)\n\n Question: Which of the titles have a duration time of 4:57?\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_8 (composer VARCHAR, duration VARCHAR)
Question: What composer has a duration time of 3:31?
Here is the SQLite query to answer to the question: What composer ... | Here is the SQLite query to answer the question regarding which composer has a duration time of 3:31:
```
SELECT composer FROM table_name_8 WHERE duration = "3:31"
``` | 44,051 | [
{
"from": "human",
"value": " 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 (composer VARCHAR, duration VARCHAR)\n\n Question: What composer has a duration time of 3:31?\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_73 (duration VARCHAR, translation VARCHAR)
Question: Which one of the duration has a translation of 1000 lies?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding which duration has a translation of "1000 lies":
```
SELECT duration FROM table_name_73 WHERE translation = "1000 lies"
``` | 44,052 | [
{
"from": "human",
"value": " 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 (duration VARCHAR, translation VARCHAR)\n\n Question: Which one of the duration has a translation of 1000 lies?\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_76 (title VARCHAR, translation VARCHAR)
Question: Which title has a translation of I know in it?
Here is the SQLite query to answer to the question: Which tit... | Here is the corrected SQLite query to find the title that has a translation of "I know" (matching case):
```
SELECT title FROM table_name_76 WHERE translation = "I know"
```
If you want to perform a case-insensitive search to include variations, you might want to use `LOWER` for both the translation column and the str... | 44,053 | [
{
"from": "human",
"value": " 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 (title VARCHAR, translation VARCHAR)\n\n Question: Which title has a translation of I know in it?\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_32 (title VARCHAR, translation VARCHAR)
Question: Which title has a translation in it of 1000 lies?
Here is the SQLite query to answer to the question: Which ... | Here is the SQLite query to answer the question of which title has a translation of "1000 lies":
```
SELECT title FROM table_name_32 WHERE translation = "1000 lies";
``` | 44,054 | [
{
"from": "human",
"value": " 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 (title VARCHAR, translation VARCHAR)\n\n Question: Which title has a translation in it of 1000 lies?\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_48 (gold VARCHAR, silver VARCHAR)
Question: Who won the gold when Bertil Ahlin Sweden won the silver?
Here is the SQLite query to answer to the question: Who ... | Your SQLite query looks almost correct, but make sure that the string values in the database match exactly with the ones you're querying. Here's the revised query wrapped in code formatting:
```
SELECT gold FROM table_name_48 WHERE silver = "Bertil Ahlin Sweden";
```
Note that I capitalized the name "Bertil Ahlin Sw... | 44,055 | [
{
"from": "human",
"value": " 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 (gold VARCHAR, silver VARCHAR)\n\n Question: Who won the gold when Bertil Ahlin Sweden won the silver?\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_13 (gold VARCHAR, bronze VARCHAR)
Question: Who won the gold when Jules van Dyk Belgium won bronze?
Here is the SQLite query to answer to the question: Who wo... | Here is the corrected SQLite query to answer the question about who won the gold when Jules van Dyk from Belgium won bronze:
```sql
SELECT gold FROM table_name_13 WHERE bronze = 'jules van dyk belgium';
```
Make sure to use single quotes for string literals in SQL. | 44,056 | [
{
"from": "human",
"value": " 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 (gold VARCHAR, bronze VARCHAR)\n\n Question: Who won the gold when Jules van Dyk Belgium won bronze?\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_48 (second VARCHAR, alternate VARCHAR)
Question: Who is the second for the curling team which has alternate Margarita Fomina?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question:
```
SELECT second FROM table_name_48 WHERE alternate = "Margarita Fomina";
``` | 44,057 | [
{
"from": "human",
"value": " 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 (second VARCHAR, alternate VARCHAR)\n\n Question: Who is the second for the curling team which has alternate Margari... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (second VARCHAR, alternate VARCHAR)
Question: Who is the second for the team with alternate Margarita Fomina?
Here is the SQLite query to answer to the que... | Your SQLite query is almost correct, but it's important to ensure that the name is matched correctly in terms of case sensitivity. SQLite string comparison is case-sensitive by default.
If we assume the case might vary, you can use SQLite's `LOWER()` function to ensure the comparison is case insensitive. Here’s how yo... | 44,058 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (second VARCHAR, alternate VARCHAR)\n\n Question: Who is the second for the team with alternate Margarita Fomina?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)
Question: Who is the alternate for the team for which Monika Wagner is the third?
Here is the SQLite query to answer to ... | Your given SQLite query is correct for retrieving the alternate for the team where Monika Wagner is listed as the third. Here's the code wrapped in the requested format:
```
SELECT alternate FROM table_name_60 WHERE third = "Monika Wagner"
```
Please note that I've capitalized "Monika" and "Wagner" to match typical ... | 44,059 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)\n\n Question: Who is the alternate for the team for which Monika Wagner is the th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (lead VARCHAR, second VARCHAR)
Question: Who is the lead for the team with Nkeiruka Ezekh as second?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question regarding the lead for the team with Nkeiruka Ezekh as second:
```sql
SELECT lead FROM table_name_59 WHERE second = "Nkeiruka Ezekh";
``` | 44,060 | [
{
"from": "human",
"value": " 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 (lead VARCHAR, second VARCHAR)\n\n Question: Who is the lead for the team with Nkeiruka Ezekh as second?\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_86 (lead VARCHAR, alternate VARCHAR)
Question: Who is the lead for the team with Christina Haller as alternate?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about who is the lead for the team with Christina Haller as alternate:
```
SELECT lead FROM table_name_86 WHERE alternate = "Christina Haller";
``` | 44,061 | [
{
"from": "human",
"value": " 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 (lead VARCHAR, alternate VARCHAR)\n\n Question: Who is the lead for the team with Christina Haller as alternate?\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_83 (latitude VARCHAR, year_built VARCHAR)
Question: What is the Latitude of the monument built in 1901?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the Latitude of the monument built in 1901:
```
SELECT latitude FROM table_name_83 WHERE year_built = '1901'
``` | 44,062 | [
{
"from": "human",
"value": " 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 (latitude VARCHAR, year_built VARCHAR)\n\n Question: What is the Latitude of the monument built in 1901?\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_71 (city_or_town VARCHAR, longitude VARCHAR)
Question: What is the City or Town of the monument with a Longitude of 89°11′w?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question:
```
SELECT city_or_town FROM table_name_71 WHERE longitude = '89°11′w';
``` | 44,063 | [
{
"from": "human",
"value": " 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 (city_or_town VARCHAR, longitude VARCHAR)\n\n Question: What is the City or Town of the monument with a Longitude of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR)
Question: What Monument was built after 1887 in Warren County?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding which monument was built after 1887 in Warren County:
```
SELECT monument_name FROM table_name_95 WHERE year_built > 1887 AND county = 'Warren';
```
Note: I used 'Warren' with a capital 'W' to match common conventions for county names, but if the data in the ... | 44,064 | [
{
"from": "human",
"value": " 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 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR)\n\n Question: What Monument was built after 1887 in Warr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)
Question: What County has a Longitude of 85°45′43″w?
Here is the SQLite query to answer to the question: What County ha... | Here is the SQLite query to answer the question: What County has a Longitude of 85°45′43″w?:
```
SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w"
``` | 44,065 | [
{
"from": "human",
"value": " 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 (county VARCHAR, longitude VARCHAR)\n\n Question: What County has a Longitude of 85°45′43″w?\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_83 (opponent_in_the_final VARCHAR, partner VARCHAR)
Question: What is the Opponent from the final with a Partner named jorgelina cravero?
Here is the SQLite q... | Here is the SQLite query that answers the question:
```
SELECT opponent_in_the_final FROM table_name_83 WHERE partner = "jorgelina cravero"
``` | 44,066 | [
{
"from": "human",
"value": " 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 (opponent_in_the_final VARCHAR, partner VARCHAR)\n\n Question: What is the Opponent from the final with a Partner na... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (outcome VARCHAR, tournament VARCHAR, score VARCHAR)
Question: What was the outcome for the match at the leipzig tournament with a score w/o?
Here is the S... | Here is the SQLite query to answer the question regarding the outcome for the match at the Leipzig tournament with a score of "w/o":
```
SELECT outcome FROM table_name_45 WHERE tournament = "leipzig" AND score = "w/o"
``` | 44,067 | [
{
"from": "human",
"value": " 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 (outcome VARCHAR, tournament VARCHAR, score VARCHAR)\n\n Question: What was the outcome for the match at the leipzig... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (opponent VARCHAR, tournament VARCHAR)
Question: Who was the opponent that anke huber played against in the leipzig tournament?
Here is the SQLite query to... | Here is the SQLite query to answer the question about who Anke Huber played against in the Leipzig tournament:
```sql
SELECT opponent FROM table_name_53 WHERE tournament = "leipzig" AND opponent = "anke huber";
```
Please note that I made an assumption based on your original question wording about Anke Huber. If you... | 44,068 | [
{
"from": "human",
"value": " 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 (opponent VARCHAR, tournament VARCHAR)\n\n Question: Who was the opponent that anke huber played against in the leip... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (outcome VARCHAR, opponent VARCHAR)
Question: What was the outcome of the match against Magdalena Maleeva?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the outcome of the match against Magdalena Maleeva:
```sql
SELECT outcome FROM table_name_73 WHERE opponent = "Magdalena Maleeva";
``` | 44,069 | [
{
"from": "human",
"value": " 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 (outcome VARCHAR, opponent VARCHAR)\n\n Question: What was the outcome of the match against Magdalena Maleeva?\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_8 (player VARCHAR, pick__number VARCHAR)
Question: What is the name of the player that was Pick 15?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding the player that was Pick 15:
```
SELECT player FROM table_name_8 WHERE pick__number = "15"
``` | 44,070 | [
{
"from": "human",
"value": " 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 (player VARCHAR, pick__number VARCHAR)\n\n Question: What is the name of the player that was Pick 15?\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_19 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: To which college/junior/club team did the player that was Pick 12 belong?
Here is the SQ... | Here is the SQLite query to answer the question regarding which college/junior/club team the player that was Pick 12 belonged to:
```
SELECT college_junior_club_team FROM table_name_19 WHERE pick__number = "12"
``` | 44,071 | [
{
"from": "human",
"value": " 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 (college_junior_club_team VARCHAR, pick__number VARCHAR)\n\n Question: To which college/junior/club team did the pla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
Question: What NHL team has a player in the position of Left Wing that came from the ... | Here is the SQLite query that answers the question:
```
SELECT nhl_team
FROM table_name_81
WHERE position = "Left Wing"
AND college_junior_club_team = "Toronto Marlboros (omjhl)";
``` | 44,072 | [
{
"from": "human",
"value": " 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 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)\n\n Question: What NHL team has a player in t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: To which college/junior/club team did the player that was Pick 16 belong?
Here is the SQL... | Here's the SQLite query that answers the question about which college/junior/club team the player that was Pick 16 belonged to:
```
SELECT college_junior_club_team FROM table_name_6 WHERE pick__number = "16";
``` | 44,073 | [
{
"from": "human",
"value": " 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 (college_junior_club_team VARCHAR, pick__number VARCHAR)\n\n Question: To which college/junior/club team did the play... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (company VARCHAR, director VARCHAR, year VARCHAR)
Question: What company does Simon Stone direct earlier than 2011?
Here is the SQLite query to answer to t... | Sure! Here's the SQLite query to answer the question about what company Simon Stone directs earlier than 2011:
```
SELECT company FROM table_name_14 WHERE director = "Simon Stone" AND year < '2011'
``` | 44,074 | [
{
"from": "human",
"value": " 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 (company VARCHAR, director VARCHAR, year VARCHAR)\n\n Question: What company does Simon Stone direct earlier than 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
Question: Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
Here is... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954";
``` | 44,075 | [
{
"from": "human",
"value": " 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 (result VARCHAR, competition VARCHAR, date VARCHAR)\n\n Question: Which Result has a Competition of world cup qualif... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)
Question: Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1... | Here is the SQLite query to answer your question:
```
SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954"
``` | 44,076 | [
{
"from": "human",
"value": " 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 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)\n\n Question: Which Competition has a Result of w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (result VARCHAR, score VARCHAR, competition VARCHAR)
Question: Which Result has a Score of 4-1, and a Competition of world cup qualifying?
Here is the SQLi... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_name_89 WHERE score = "4-1" AND competition = "world cup qualifying";
``` | 44,077 | [
{
"from": "human",
"value": " 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 (result VARCHAR, score VARCHAR, competition VARCHAR)\n\n Question: Which Result has a Score of 4-1, and a Competitio... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
Question: Which Score has a Competition of world cup qualifying, and a Brazil sco... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954"
``` | 44,078 | [
{
"from": "human",
"value": " 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 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)\n\n Question: Which Score has a Competiti... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
Question: Which Brazil scorers have a Result of w, and a Competition of world cup... | Here is the SQLite query to answer the question regarding the Brazil scorers:
```
SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954"
``` | 44,079 | [
{
"from": "human",
"value": " 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 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)\n\n Question: Which Brazil scorers have a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (district VARCHAR, first_elected VARCHAR)
Question: when first elected was 1900 what was the district?
Here is the SQLite query to answer to the question: w... | Here is the SQLite query to answer the question:
```
SELECT district FROM table_name_4 WHERE first_elected = "1900";
``` | 44,080 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (district VARCHAR, first_elected VARCHAR)\n\n Question: when first elected was 1900 what was the district?\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 (party VARCHAR, first_elected VARCHAR)
Question: when first elected was 1898 what was the party?
Here is the SQLite query to answer to the question: when fi... | Here is the SQLite query to answer the question:
```sql
SELECT party FROM table_name_9 WHERE first_elected = "1898";
``` | 44,081 | [
{
"from": "human",
"value": " 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 (party VARCHAR, first_elected VARCHAR)\n\n Question: when first elected was 1898 what was the party?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR)
Question: How many Games have a Lost of 6, and Points smaller than 7?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about how many games have a Lost of 6 and Points smaller than 7:
```
SELECT SUM(games) FROM table_name_31 WHERE lost = '6' AND points < '7'
```
Note: In this query, I wrapped the values for `lost` and `points` in quotes because they are defined as `VARCHAR` in the schem... | 44,082 | [
{
"from": "human",
"value": " 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 (games INTEGER, lost VARCHAR, points VARCHAR)\n\n Question: How many Games have a Lost of 6, and Points smaller than... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)
Question: What is Larry Centers' average number when there were less than 600 yards?
Here is the SQLite que... | Your SQLite query contains a minor issue regarding the data type of the `yards` column. Since `yards` is defined as a `VARCHAR`, you need to convert it to an integer to perform the comparison correctly. Here’s the corrected query:
```sql
SELECT AVG(number) FROM table_name_23 WHERE player = "Larry Centers" AND CAST(yar... | 44,083 | [
{
"from": "human",
"value": " 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 (number INTEGER, player VARCHAR, yards VARCHAR)\n\n Question: What is Larry Centers' average number when there were ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR)
Question: What is the highest number when there were more than 50 long and less than 762 yards?
Here is the S... | Your SQLite query is almost correct, but since `long` and `yards` are defined as `VARCHAR`, you need to cast them to integers for comparison. Here is the corrected version of the query:
```sql
SELECT MAX(number) FROM table_name_81 WHERE CAST(long AS INTEGER) > 50 AND CAST(yards AS INTEGER) < 762
```
This query will ... | 44,084 | [
{
"from": "human",
"value": " 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 (number INTEGER, long VARCHAR, yards VARCHAR)\n\n Question: What is the highest number when there were more than 50 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR)
Question: What is the highest amount of yards when the average is 9.5?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question:
```sql
SELECT MAX(yards) FROM table_name_12 WHERE average = '9.5';
``` | 44,085 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR)\n\n Question: What is the highest amount of yards when the average is 9.5?\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_67 (runner_up VARCHAR, date VARCHAR)
Question: Who was the runner-up on 5 aug 1990?
Here is the SQLite query to answer to the question: Who was the runner-up ... | Here is the SQLite query to answer the question: Who was the runner-up on 5 aug 1990?:
```
SELECT runner_up FROM table_name_67 WHERE date = "5 aug 1990"
``` | 44,086 | [
{
"from": "human",
"value": " 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 (runner_up VARCHAR, date VARCHAR)\n\n Question: Who was the runner-up on 5 aug 1990?\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_18 (tournament VARCHAR, winning_score VARCHAR)
Question: Which Tournament has a Winning score of −14 (65-69-72-68=274)?
Here is the SQLite query to answer to ... | The SQL query you provided contains an incorrect syntax for comparing the `winning_score`. In SQLite, you should use the correct representation for checking the score. Here's the corrected SQL query:
```
SELECT tournament FROM table_name_18 WHERE winning_score = '-14';
```
This query selects the `tournament` from `t... | 44,087 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR, winning_score VARCHAR)\n\n Question: Which Tournament has a Winning score of −14 (65-69-72-68=2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (runner_up VARCHAR, winning_score VARCHAR)
Question: Which Runner-up has a Winning score of −20 (70-69-64-65=268)?
Here is the SQLite query to answer to th... | It looks like there is a small mistake in your SQL query. The use of the equation `(70 - 69 - 64 - 65 = 268)` is not necessary in the WHERE clause, and the format for the `winning_score` should be corrected as well.
Here’s the corrected SQLite query to find the runner-up with a winning score of -20:
```sql
SELECT run... | 44,088 | [
{
"from": "human",
"value": " 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 (runner_up VARCHAR, winning_score VARCHAR)\n\n Question: Which Runner-up has a Winning score of −20 (70-69-64-65=268... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)
Question: Which Date has a Winning score of −15 (71-69-68-65=273)?
Here is the SQLite query to answer to the question... | It seems there are some issues with the SQL query you provided. The condition in the `WHERE` clause is not correctly formatted for a SQL query. Here’s the corrected version of the SQL query to find the date with a winning score of -15:
```sql
SELECT date FROM table_name_98 WHERE winning_score = '-15';
```
This query ... | 44,089 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)\n\n Question: Which Date has a Winning score of −15 (71-69-68-65=273)?\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_15 (tournament VARCHAR, runner_up VARCHAR)
Question: In which tournament was vijay singh a runner-up?
Here is the SQLite query to answer to the question: In w... | Here's the SQLite query to find out in which tournament Vijay Singh was a runner-up:
```
SELECT tournament FROM table_name_15 WHERE runner_up = "vijay singh";
``` | 44,090 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR, runner_up VARCHAR)\n\n Question: In which tournament was vijay singh a runner-up?\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_20 (tournament VARCHAR, runner_up VARCHAR)
Question: In which tournament was vijay singh a runner-up?
Here is the SQLite query to answer to the question: In w... | Your SQLite query is correctly structured to find the tournament where "vijay singh" was a runner-up. Here it is wrapped in code formatting:
```
SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh";
``` | 44,091 | [
{
"from": "human",
"value": " 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 (tournament VARCHAR, runner_up VARCHAR)\n\n Question: In which tournament was vijay singh a runner-up?\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_67 (description VARCHAR, year_of_issue VARCHAR, weight VARCHAR)
Question: Which Description has a Year of Issue of 1983, and a Weight of 3.50grams?
Here is th... | Here is the SQLite query to answer the question regarding which Description has a Year of Issue of 1983, and a Weight of 3.50 grams:
```
SELECT description FROM table_name_67 WHERE year_of_issue = '1983' AND weight = '3.50grams';
``` | 44,092 | [
{
"from": "human",
"value": " 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 (description VARCHAR, year_of_issue VARCHAR, weight VARCHAR)\n\n Question: Which Description has a Year of Issue of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)
Question: Which Thickness has a Year of Issue smaller than 1983?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question: Which Thickness has a Year of Issue smaller than 1983?:
```
SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983
``` | 44,093 | [
{
"from": "human",
"value": " 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 (thickness VARCHAR, year_of_issue INTEGER)\n\n Question: Which Thickness has a Year of Issue smaller than 1983?\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_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)
Question: Which Description has a Year of Issue of 1983, and a Thickness of 1... | Here is the SQLite query to answer the question:
```
SELECT description FROM table_name_8 WHERE year_of_issue = '1983' AND thickness = '1.7mm' AND weight = '3.50grams'
``` | 44,094 | [
{
"from": "human",
"value": " 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 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)\n\n Question: Which Description has a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (thickness VARCHAR, weight VARCHAR)
Question: Which Thickness has a Weight of 3.50grams?
Here is the SQLite query to answer to the question: Which Thickness... | Here is the SQLite query to answer the question: Which Thickness has a Weight of 3.50grams?:
```
SELECT thickness FROM table_name_3 WHERE weight = "3.50grams";
``` | 44,095 | [
{
"from": "human",
"value": " 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 (thickness VARCHAR, weight VARCHAR)\n\n Question: Which Thickness has a Weight of 3.50grams?\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_56 (thickness VARCHAR, diameter VARCHAR)
Question: Which Thickness has a Diameter of 21.9mm?
Here is the SQLite query to answer to the question: Which Thickne... | Here is the SQLite query to answer the question: Which Thickness has a Diameter of 21.9mm?:
```
SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm";
``` | 44,096 | [
{
"from": "human",
"value": " 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 (thickness VARCHAR, diameter VARCHAR)\n\n Question: Which Thickness has a Diameter of 21.9mm?\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_65 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who was on the Socialist Labor ticket in the race against W. Averell Harriman?
Here is t... | Here is the SQLite query formatted as requested:
```
SELECT socialist_labor_ticket FROM table_name_65 WHERE liberal_ticket = "w. averell harriman";
``` | 44,097 | [
{
"from": "human",
"value": " 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 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)\n\n Question: Who was on the Socialist Labor ticket in the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
Question: Who was the Republican candidate against the Democratic candidate Arthur Levitt?
Here is t... | Here is the SQLite query to answer the question about who the Republican candidate was against the Democratic candidate Arthur Levitt:
```
SELECT republican_ticket FROM table_name_65 WHERE democratic_ticket = "Arthur Levitt";
``` | 44,098 | [
{
"from": "human",
"value": " 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 (republican_ticket VARCHAR, democratic_ticket VARCHAR)\n\n Question: Who was the Republican candidate against the De... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (independent_socialist_ticket VARCHAR, office VARCHAR)
Question: Who was the Independent Socialist candidate for the office of comptroller?
Here is the SQL... | Here is the SQLite query to answer the question: Who was the Independent Socialist candidate for the office of comptroller?:
```
SELECT independent_socialist_ticket FROM table_name_35 WHERE office = "comptroller"
``` | 44,099 | [
{
"from": "human",
"value": " 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 (independent_socialist_ticket VARCHAR, office VARCHAR)\n\n Question: Who was the Independent Socialist candidate for... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.