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_1360997_2 (result VARCHAR, race VARCHAR)
Question: How many results were there for the Stan Fox Stakes race?
Here is the SQLite query to answer to the question: Ho... | Your provided SQLite query is correctly formulated to answer the question. Here is the query wrapped in code formatting as requested:
```
SELECT COUNT(result) FROM table_1360997_2 WHERE race = "Stan Fox Stakes";
``` | 5,300 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1360997_2 (result VARCHAR, race VARCHAR)\n\n Question: How many results were there for the Stan Fox Stakes race?\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_1360997_2 (result VARCHAR, venue VARCHAR)
Question: Was the rosehill venue a win or loss?
Here is the SQLite query to answer to the question: Was the rosehill venu... | Here is the SQLite query to answer the question: Was the rosehill venue a win or loss?:
```
SELECT result FROM table_1360997_2 WHERE venue = "Rosehill"
``` | 5,301 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1360997_2 (result VARCHAR, venue VARCHAR)\n\n Question: Was the rosehill venue a win or loss?\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_13606924_1 (total INTEGER, kerry__percentage VARCHAR)
Question: what is the minimum total with kerry % being 16.71%
Here is the SQLite query to answer to the quest... | Certainly! Here is the SQLite query formatted as you requested:
```
SELECT MIN(total) FROM table_13606924_1 WHERE kerry__percentage = "16.71%"
``` | 5,302 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13606924_1 (total INTEGER, kerry__percentage VARCHAR)\n\n Question: what is the minimum total with kerry % being 16.71%\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13606924_1 (kerry__number INTEGER, bush__percentage VARCHAR)
Question: what is the minimum kerry # with bush % being 78.40%
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the minimum kerry # with bush % being 78.40%:
```
SELECT MIN(kerry__number) FROM table_13606924_1 WHERE bush__percentage = "78.40%"
``` | 5,303 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13606924_1 (kerry__number INTEGER, bush__percentage VARCHAR)\n\n Question: what is the minimum kerry # with bush % being 78.... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13606924_1 (kerry__number VARCHAR, county VARCHAR)
Question: what's the kerry # with county being ness county, kansas
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the kerry number with the county being Ness County, Kansas:
```
SELECT kerry__number FROM table_13606924_1 WHERE county = "Ness county, Kansas"
``` | 5,304 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13606924_1 (kerry__number VARCHAR, county VARCHAR)\n\n Question: what's the kerry # with county being ness county, kansas\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13606924_1 (total VARCHAR, bush__number VARCHAR)
Question: how many total with bush # being 1552
Here is the SQLite query to answer to the question: how many tot... | Here is the SQLite query to answer the question of how many total records have the bush number being 1552:
```
SELECT COUNT(total) FROM table_13606924_1 WHERE bush__number = '1552'
```
Note: Since `bush__number` is defined as `VARCHAR`, the value should be enclosed in quotes. | 5,305 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13606924_1 (total VARCHAR, bush__number VARCHAR)\n\n Question: how many total with bush # being 1552\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_13606924_1 (bush__number INTEGER, kerry__number VARCHAR)
Question: what is the minimum bush # with kerry # being 3938
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the minimum bush # with kerry # being 3938:
```
SELECT MIN(bush__number) FROM table_13606924_1 WHERE kerry__number = '3938'
```
Note that the kerry number is a VARCHAR, so it should be enclosed in single quotes. | 5,306 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13606924_1 (bush__number INTEGER, kerry__number VARCHAR)\n\n Question: what is the minimum bush # with kerry # being 3938\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR)
Question: how many total with county being rooks county, kansas
Here is the SQLite query to answer to the question: ho... | Here is the SQLite query to answer the question of how many totals there are with the county being Rooks County, Kansas:
```
SELECT COUNT(total) FROM table_13606924_1 WHERE county = 'Rooks county, Kansas';
``` | 5,307 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR)\n\n Question: how many total with county being rooks county, kansas\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_13618584_1 (district VARCHAR, incumbent VARCHAR)
Question: In which district was the incumbent Dick Saslaw?
Here is the SQLite query to answer to the question: In... | Here is the SQLite query to answer the question regarding the district of the incumbent Dick Saslaw:
```
SELECT district FROM table_13618584_1 WHERE incumbent = "Dick Saslaw";
``` | 5,308 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR)\n\n Question: In which district was the incumbent Dick Saslaw? \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_13618584_1 (elected VARCHAR)
Question: What was the 2007 result in the district where the incumbent was elected in 1996?
Here is the SQLite query to answer to the... | Based on the provided schema and your requirement to find the 2007 result in the district where the incumbent was elected in 1996, the SQLite query needs to look for the 2007 results in the district corresponding to the value from the 1996 election.
However, your original query seems to have some misunderstandings re... | 5,309 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13618584_1 (elected VARCHAR)\n\n Question: What was the 2007 result in the district where the incumbent was elected in 1996?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13618584_1 (district VARCHAR)
Question: What was the 2007 result in the 28th district?
Here is the SQLite query to answer to the question: What was the 2007 resul... | The provided query seems to have a misunderstanding regarding the structure and data retrieval. Since the table only contains a `district` column and doesn't provide any data for results in 2007, you would typically need a column that stores the results for the year 2007. Assuming you had a different schema that includ... | 5,310 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13618584_1 (district VARCHAR)\n\n Question: What was the 2007 result in the 28th district? \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_13618584_1 (district VARCHAR, incumbent VARCHAR)
Question: In what district was the incumbent Charles Hawkins?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the district of the incumbent Charles Hawkins:
```
SELECT district FROM table_13618584_1 WHERE incumbent = "Charles Hawkins"
``` | 5,311 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13618584_1 (district VARCHAR, incumbent VARCHAR)\n\n Question: In what district was the incumbent Charles Hawkins? \n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR)
Question: What's the number of the game played on March 26?
Here is the SQLite query to answer to the question: What's the ... | Here is the SQLite query to answer the question regarding the game played on March 26:
```
SELECT game FROM table_13619027_9 WHERE date = "March 26"
```
This query will return the game number or numbers for the specified date. If you want to ensure that you only get one game number, you could use `LIMIT 1`, dependin... | 5,312 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13619027_9 (game INTEGER, date VARCHAR)\n\n Question: What's the number of the game played on March 26?\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_13619027_9 (high_rebounds VARCHAR, date VARCHAR)
Question: How many different values if the number is high rebounds can be found for the game on March 13?
Here is ... | To answer the question about how many different values for "high_rebounds" can be found for the game on March 13, you should use the `DISTINCT` keyword in your query. This ensures that you count only unique values. Here’s the corrected SQLite query:
```
SELECT COUNT(DISTINCT high_rebounds) FROM table_13619027_9 WHERE ... | 5,313 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR)\n\n Question: How many different values if the number is high rebounds can ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13619053_7 (high_points VARCHAR, record VARCHAR)
Question: Who ihad the highest points and what was the number when the record was 11-40?
Here is the SQLite query ... | It looks like you are asking for an SQLite query that returns the highest points associated with the record "11-40." To achieve this, you would need to use an `ORDER BY` clause combined with a `LIMIT` to get the maximum high points for that specific record.
Here is the corrected SQLite query that retrieves the highes... | 5,314 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13619053_7 (high_points VARCHAR, record VARCHAR)\n\n Question: Who ihad the highest points and what was the number when the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR)
Question: Who did the Raptors play when their record was 45-36?
Here is the SQLite query to answer to the question: Who ... | To find out who the Raptors played when their record was 45-36, you would typically want to select the opposing team from the same record entry. Assuming that the database contains both the Raptors' and the opponent's records, we can presume the team field holds either team name.
Here is the correct SQLite query to ac... | 5,315 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR)\n\n Question: Who did the Raptors play when their record was 45-36? \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_13619135_8 (game INTEGER, date VARCHAR)
Question: What number game of the season was played on April 12?
Here is the SQLite query to answer to the question: What ... | Your SQLite query looks good for retrieving the maximum game number played on April 12. However, if you're looking specifically for the game number without using the MAX function, you can simplify it to get the game number directly:
```sql
SELECT game FROM table_13619135_8 WHERE date = "April 12";
```
If you want to ... | 5,316 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13619135_8 (game INTEGER, date VARCHAR)\n\n Question: What number game of the season was played on April 12? \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_13625792_1 (total__number INTEGER, county VARCHAR)
Question: How many votes were cast in Wayne county?
Here is the SQLite query to answer to the question: How many... | The query you provided uses `MAX(total__number)`, which will return the maximum number of votes cast in Wayne county rather than the total number of votes. To find the total number of votes cast in Wayne county, you should use the `SUM` function instead.
Here’s the correct SQLite query to answer the question:
```
SE... | 5,317 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR)\n\n Question: How many votes were cast in Wayne county?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR)
Question: In the county where Bush won 77.76%, how many total votes were cast?
Here is the SQLite quer... | Your query looks mostly correct, but it is important to ensure that the percentage is stored as a string in the same format you've used in your query. Assuming that there are no typographical errors in the table and column names, the query you've provided should work. Below is the formatted SQL query:
```
SELECT total... | 5,318 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR)\n\n Question: In the county where Bush won 77.76%, how many tot... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR)
Question: In the country where Bush won 4333 votes, what percentage did other receive?
Here is the SQL... | Here is the corrected SQLite query to answer the question:
```sql
SELECT other__percentage FROM table_13625792_1 WHERE bush__number = '4333'
```
Note that since the column `bush__number` is defined as `VARCHAR`, the number `4333` should be enclosed in quotes to ensure proper string comparison. | 5,319 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR)\n\n Question: In the country where Bush won 4333 votes, what pe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)
Question: Who was the TO winning team when the TU winning team was Joe Richardson?
Here is the SQLit... | Your SQLite query is correctly written to retrieve the TO winning team when the TU winning team was Joe Richardson. Here it is wrapped in markdown for clarity:
```
SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson";
``` | 5,320 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)\n\n Question: Who was the TO winning team when the TU winning ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)
Question: On what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5?
Here ... | Here is the SQLite query wrapped in the requested format:
```
SELECT circuit FROM table_13642023_2 WHERE rnd = '5' AND gtu_winning_team = '#59 Brumos Porsche - Audi';
``` | 5,321 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)\n\n Question: On what circuit was the GTU winning team #... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)
Question: Who was the GTU winning team when the TO winning team was #3 Camaro?
Here is the SQLite q... | Your SQLite query is correct for retrieving the GTU winning team when the TO winning team was #3 Camaro. Here it is wrapped in code format:
```
SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "#3 Camaro";
``` | 5,322 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)\n\n Question: Who was the GTU winning team when the TO winnin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)
Question: Who was the GTU winning team when the TO winning team was Steve Ross?
Here is the SQLite ... | Here is the SQLite query to answer the question about who was the GTU winning team when the TO winning team was Steve Ross:
```
SELECT gtu_winning_team FROM table_13642023_2 WHERE to_winning_team = "Steve Ross";
``` | 5,323 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13642023_2 (gtu_winning_team VARCHAR, to_winning_team VARCHAR)\n\n Question: Who was the GTU winning team when the TO winnin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)
Question: Who was the GTO winning team in round 5 when the GTU winning team was #59 Bru... | Here is the SQLite query to answer the question:
```
SELECT gto_winning_team FROM table_13642023_2 WHERE rnd = '5' AND gtu_winning_team = '#59 Brumos Porsche - Audi';
``` | 5,324 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)\n\n Question: Who was the GTO winning team in r... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR)
Question: Who was the GTO winning team when the TO winning team was #84 Camaro?
Here is the SQLite ... | Here is the SQLite query to answer the question of who was the GTO winning team when the TO winning team was #84 Camaro:
```
SELECT gto_winning_team FROM table_13642023_2 WHERE to_winning_team = '#84 Camaro'
``` | 5,325 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13642023_2 (gto_winning_team VARCHAR, to_winning_team VARCHAR)\n\n Question: Who was the GTO winning team when the TO winnin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR)
Question: Name the results for steve millen
Here is the SQLite query to answer to the question: Name the res... | Here is the SQLite query to answer the question regarding the results for Steve Millen:
```
SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen";
``` | 5,326 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR)\n\n Question: Name the results for steve millen\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_13643154_2 (rnd INTEGER, circuit VARCHAR)
Question: What is the most rnd for watkins glen?
Here is the SQLite query to answer to the question: What is the most rnd... | It looks like you're looking to find the maximum value of the `rnd` column for the circuit named "Watkins Glen". However, the query you provided uses a `MIN` function instead of `MAX`. Here’s the correct SQL query:
```
SELECT MAX(rnd) FROM table_13643154_2 WHERE circuit = "Watkins Glen"
``` | 5,327 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13643154_2 (rnd INTEGER, circuit VARCHAR)\n\n Question: What is the most rnd for watkins glen?\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_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)
Question: What was the GTP winning team in the round in Portland during which Jack ... | Sure! Here is the SQLite query wrapped in code formatting:
```
SELECT gtp_winning_team
FROM table_13643320_2
WHERE circuit = "Portland"
AND gtu_winning_team = "Jack Baldwin";
``` | 5,328 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)\n\n Question: What was the GTP winning team... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)
Question: What us the number of the round during which #56 Blue Thunder Racing become t... | Here is the SQLite query to answer the question regarding the round during which #56 Blue Thunder Racing became the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team:
```
SELECT rnd
FROM table_13643320_2
WHERE gtp_winning_team = "#56 Blue Thunder Racing"
AND gto_winning_team = "#38 Mandevill... | 5,329 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)\n\n Question: What us the number of the round d... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)
Question: How many different results came out of the round in which #98 All American Racers became the GTU wi... | Your query is close, but to ensure that you are counting distinct results, you should use `COUNT(DISTINCT results)`. Here’s the corrected query:
```sql
SELECT COUNT(DISTINCT results)
FROM table_13643320_2
WHERE gtu_winning_team = "#98 All American Racers";
``` | 5,330 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)\n\n Question: How many different results came out of the round in whi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13643320_2 (gto_winning_team VARCHAR, gtu_winning_team VARCHAR)
Question: Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner?
... | ```sql
SELECT gto_winning_team
FROM table_13643320_2
WHERE gtu_winning_team = "Chris Cord";
``` | 5,331 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13643320_2 (gto_winning_team VARCHAR, gtu_winning_team VARCHAR)\n\n Question: Who was the GTO winner of the round that ended... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR)
Question: what are all the uu-usu score with winner is #5 brigham young (2–0)
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding all the `uu_usu_score` with the winner as "#5 Brigham Young (2–0)":
```
SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–0)"
``` | 5,332 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR)\n\n Question: what are all the uu-usu score with winner is #5 brigham youn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_usu_score VARCHAR)
Question: what is the maximum season with byu-usu score being 29–7
Here is the SQLite query to answer to the que... | Here is the SQLite query to find the maximum season with the BYU-USU score of 29–7:
```
SELECT MAX(season) FROM table_13665809_2 WHERE byu_usu_score = '29–7';
``` | 5,333 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_usu_score VARCHAR)\n\n Question: what is the maximum season with byu-usu score being 29–7\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_uu_score VARCHAR)
Question: what is the maximum season with byu-uu score being 20–17 byu #19
Here is the SQLite query to answer to ... | ```sql
SELECT MAX(season) FROM table_13665809_2 WHERE byu_uu_score = "20–17 BYU #19";
``` | 5,334 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_uu_score VARCHAR)\n\n Question: what is the maximum season with byu-uu score being 20–17 byu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, winner VARCHAR)
Question: how many byu-uu score with winner being utah state (2–1) won over byu by media vote
Here is the SQLite... | It looks like there may be a slight misunderstanding in the structure of your query regarding the `winner` condition. The correct query should focus on counting the instances of a specific `byu_uu_score` where the `winner` is specifically 'Utah State (2–1)'.
Here’s the corrected SQLite query:
```sql
SELECT COUNT(byu... | 5,335 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, winner VARCHAR)\n\n Question: how many byu-uu score with winner being utah state (2–1) wo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR)
Question: what's the byu-uu score with uu-usu score being 44–16
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about the `byu-uu` score with `uu-usu` score being `44–16`:
```
SELECT byu_uu_score FROM table_13665809_2 WHERE uu_usu_score = "44–16"
``` | 5,336 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13665809_2 (byu_uu_score VARCHAR, uu_usu_score VARCHAR)\n\n Question: what's the byu-uu score with uu-usu score being 44–16\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13700749_1 (language_s_ VARCHAR, film_title VARCHAR)
Question: What are all the languages for tsotsi?
Here is the SQLite query to answer to the question: What are ... | Here is the SQLite query to answer the question about all the languages for "Tsotsi":
```
SELECT language_s_ FROM table_13700749_1 WHERE film_title = "Tsotsi"
``` | 5,337 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13700749_1 (language_s_ VARCHAR, film_title VARCHAR)\n\n Question: What are all the languages for tsotsi?\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_13700749_1 (year__ceremony_ VARCHAR, film_title VARCHAR)
Question: What year featured the film tsotsi?
Here is the SQLite query to answer to the question: What yea... | Here is the SQLite query to answer the question: What year featured the film tsotsi?:
```
SELECT year__ceremony_ FROM table_13700749_1 WHERE film_title = "tsotsi"
``` | 5,338 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13700749_1 (year__ceremony_ VARCHAR, film_title VARCHAR)\n\n Question: What year featured the film tsotsi?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR)
Question: What was the result for the film life, above all?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about the result for the film "Life, Above All":
```
SELECT result FROM table_13700749_1 WHERE film_title = "Life, Above All";
``` | 5,339 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13700749_1 (result VARCHAR, film_title VARCHAR)\n\n Question: What was the result for the film life, above all?\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_13758243_1 (overall VARCHAR, player VARCHAR)
Question: What numer pick in the draft for jerry hill?
Here is the SQLite query to answer to the question: What numer ... | To find out the draft pick number for Jerry Hill, you need to retrieve the 'overall' value corresponding to the player "Jerry Hill". The query you've written counts the number of draft picks associated with Jerry Hill instead of retrieving the pick number itself. To get the specific draft pick for Jerry Hill, you shoul... | 5,340 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13758243_1 (overall VARCHAR, player VARCHAR)\n\n Question: What numer pick in the draft for jerry hill?\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_13758243_1 (player VARCHAR, position VARCHAR)
Question: What kicker was drafted?
Here is the SQLite query to answer to the question: What kicker was drafted?:
```
... | Here is the SQLite query to answer the question about which kicker was drafted:
```
SELECT player FROM table_13758243_1 WHERE position = "Kicker";
``` | 5,341 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13758243_1 (player VARCHAR, position VARCHAR)\n\n Question: What kicker was drafted?\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_13758243_1 (nfl_team VARCHAR, player VARCHAR)
Question: What team drafted steve scifres?
Here is the SQLite query to answer to the question: What team drafted stev... | Here is the SQLite query to answer the question: What team drafted Steve Scifres?:
```
SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres"
``` | 5,342 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR)\n\n Question: What team drafted steve scifres?\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_13758243_1 (draft_year INTEGER, player VARCHAR)
Question: What year was jerry marion drafted?
Here is the SQLite query to answer to the question: What year was jer... | Here is the SQLite query to answer the question about the draft year of Jerry Marion:
```sql
SELECT draft_year FROM table_13758243_1 WHERE player = "Jerry Marion";
``` | 5,343 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13758243_1 (draft_year INTEGER, player VARCHAR)\n\n Question: What year was jerry marion drafted?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13758243_1 (overall INTEGER, player VARCHAR)
Question: What numer pick in the draft for jerry marion
Here is the SQLite query to answer to the question: What numer... | Here is the SQLite query that answers the question regarding Jerry Marion's draft pick:
```
SELECT MAX(overall) FROM table_13758243_1 WHERE player = "Jerry Marion"
``` | 5,344 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13758243_1 (overall INTEGER, player VARCHAR)\n\n Question: What numer pick in the draft for jerry marion\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_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR)
Question: what's the record with high points being dwyane wade (27) and location atten... | Here is the SQLite query to answer the question regarding the record with high points being Dwyane Wade (27) and location attendance being ARCO Arena:
```
SELECT record FROM table_13762472_4 WHERE high_points = "Dwyane Wade (27)" AND location_attendance = "ARCO Arena"
``` | 5,345 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR)\n\n Question: what's the record with high poin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR)
Question: how many high assists with record being 15-11
Here is the SQLite query to answer to the question: how... | Here is the SQLite query to answer the question regarding how many high assists have a record of 15-11:
```
SELECT COUNT(high_assists) FROM table_13762472_4 WHERE record = "15-11"
``` | 5,346 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13762472_4 (high_assists VARCHAR, record VARCHAR)\n\n Question: how many high assists with record being 15-11\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_13762472_4 (high_points VARCHAR, date VARCHAR)
Question: who had high points on december 3
Here is the SQLite query to answer to the question: who had high points ... | Here is the SQLite query to answer the question: who had high points on December 3:
```sql
SELECT high_points FROM table_13762472_4 WHERE date = "December 3";
``` | 5,347 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13762472_4 (high_points VARCHAR, date VARCHAR)\n\n Question: who had high points on december 3\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_13762472_4 (high_rebounds VARCHAR, score VARCHAR)
Question: who had high rebounds when score is w 111–92 (ot)
Here is the SQLite query to answer to the question: w... | Here is the SQLite query wrapped in code blocks:
```
SELECT high_rebounds FROM table_13762472_4 WHERE score = "W 111–92 (OT)"
``` | 5,348 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, score VARCHAR)\n\n Question: who had high rebounds when score is w 111–92 (ot)\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_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: who had all the high rebounds when high assists is by dwyane wade (9)
Here is the SQLite query t... | Here is the SQLite query to answer the question of who had all the high rebounds when high assists is by Dwyane Wade (9):
```
SELECT high_rebounds FROM table_13762472_4 WHERE high_assists = "Dwyane Wade (9)"
``` | 5,349 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13762472_4 (high_rebounds VARCHAR, high_assists VARCHAR)\n\n Question: who had all the high rebounds when high assists is by... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR)
Question: what's the record with date being december 29
Here is the SQLite query to answer to the question: what's the re... | Here is the SQLite query to answer the question about the record with the date being December 29:
```
SELECT record FROM table_13762472_4 WHERE date = "December 29";
``` | 5,350 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR)\n\n Question: what's the record with date being december 29\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_13764346_1 (Id VARCHAR)
Question: What is the smallest population recorded back in 2002?
Here is the SQLite query to answer to the question: What is the smallest p... | It looks like you're trying to find the smallest population recorded in the year 2002 from a table. However, the SQL syntax you provided is incorrect for the given schema, which only includes a single column `Id` of type `VARCHAR`.
Assuming you meant to have a different schema that includes a population-related column... | 5,351 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13764346_1 (Id VARCHAR)\n\n Question: What is the smallest population recorded back in 2002?\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_13805432_2 (position VARCHAR, artist VARCHAR)
Question: what's the position with artbeingt being jim reeves
Here is the SQLite query to answer to the question: wha... | Here is the SQLite query to answer the question about the position with the artist being Jim Reeves:
```
SELECT position FROM table_13805432_2 WHERE artist = "Jim Reeves"
``` | 5,352 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13805432_2 (position VARCHAR, artist VARCHAR)\n\n Question: what's the position with artbeingt being jim reeves\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_13805432_2 (highest_position VARCHAR, artist VARCHAR)
Question: what's the highest position with artbeingt being frankie avalon
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question: what's the highest position with the artist being Frankie Avalon:
```sql
SELECT highest_position FROM table_13805432_2 WHERE artist = 'Frankie Avalon';
``` | 5,353 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13805432_2 (highest_position VARCHAR, artist VARCHAR)\n\n Question: what's the highest position with artbeingt being frankie... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR)
Question: what's the song title with artbeingt being pat boone
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question:
```
SELECT song_title FROM table_13805432_2 WHERE artist = "Pat Boone"
``` | 5,354 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13805432_2 (song_title VARCHAR, artist VARCHAR)\n\n Question: what's the song title with artbeingt being pat boone\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_13805432_2 (highest_position INTEGER, artist VARCHAR)
Question: what is the minimum highest position with artbeingt being paul evans
Here is the SQLite query to an... | Here is the SQLite query to answer the question about the minimum highest position with the artist being Paul Evans:
```
SELECT MIN(highest_position) FROM table_13805432_2 WHERE artist = "Paul Evans"
``` | 5,355 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13805432_2 (highest_position INTEGER, artist VARCHAR)\n\n Question: what is the minimum highest position with artbeingt bein... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13812785_5 (high_rebounds VARCHAR, date VARCHAR)
Question: Who was responsible and what was the number for the high rebounds on December 22?
Here is the SQLite que... | Your SQLite query correctly retrieves the "high_rebounds" for the specified date, but it seems you are looking for clarity regarding responsibility. Since the provided schema does not contain any column that indicates who was responsible for the high rebounds, I will provide you with the query as you proposed, along wi... | 5,356 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13812785_5 (high_rebounds VARCHAR, date VARCHAR)\n\n Question: Who was responsible and what was the number for the high rebo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13812785_8 (record VARCHAR, score VARCHAR)
Question: What is the record where the score is w 102–81 (ot)?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about the record where the score is "W 102–81 (OT)":
```
SELECT record FROM table_13812785_8 WHERE score = "W 102–81 (OT)"
``` | 5,357 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13812785_8 (record VARCHAR, score VARCHAR)\n\n Question: What is the record where the score is w 102–81 (ot)?\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_13812785_8 (high_points VARCHAR, date VARCHAR)
Question: Who had the high points dated march 13?
Here is the SQLite query to answer to the question: Who had the hi... | Here is the SQLite query to answer the question: Who had the high points dated March 13?:
```
SELECT high_points FROM table_13812785_8 WHERE date = "March 13";
``` | 5,358 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13812785_8 (high_points VARCHAR, date VARCHAR)\n\n Question: Who had the high points dated march 13?\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_13812785_8 (high_points VARCHAR, high_rebounds VARCHAR)
Question: Who had the most high points and rebounds than charles oakley (9)?
Here is the SQLite query to an... | The SQLite query provided seems to have a misunderstanding regarding the filtering criteria. You want to find players who had more high points and rebounds than Charles Oakley’s high points (9). Therefore, you would need to compare both high_points and high_rebounds values against 9.
Here’s the corrected query:
```
S... | 5,359 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13812785_8 (high_points VARCHAR, high_rebounds VARCHAR)\n\n Question: Who had the most high points and rebounds than charles... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)
Question: who is the the incumbent with opponent being anthony weiner (d) unopposed
Here is the SQLite query to an... | Here is the SQLite query to answer the question about the incumbent with the opponent being "Anthony Weiner (D) unopposed":
```
SELECT incumbent FROM table_13833770_3 WHERE opponent = "Anthony Weiner (D) unopposed"
``` | 5,360 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)\n\n Question: who is the the incumbent with opponent being anthony weiner (... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)
Question: who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0%
Here is the SQL... | Here is the SQLite query to answer the question, which finds the incumbent whose opponent is "peter king (r) 56.0% david mejias (d) 44.0%":
```
SELECT incumbent FROM table_13833770_3 WHERE opponent = "peter king (r) 56.0% david mejias (d) 44.0%"
``` | 5,361 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)\n\n Question: who is the the incumbent with opponent being peter king (r) 5... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13833770_3 (district VARCHAR, party VARCHAR, elected VARCHAR)
Question: what's the district with party being republican and elected being 1998
Here is the SQLite q... | Here is the SQLite query to answer the question of which district has the party as Republican and elected year as 1998:
```sql
SELECT district FROM table_13833770_3 WHERE party = 'Republican' AND elected = 1998;
``` | 5,362 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13833770_3 (district VARCHAR, party VARCHAR, elected VARCHAR)\n\n Question: what's the district with party being republican ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13833770_3 (district INTEGER, incumbent VARCHAR)
Question: what is the minimum district with incumbent being tom reynolds
Here is the SQLite query to answer to the... | Here is the SQLite query to find the minimum district where the incumbent is "Tom Reynolds":
```
SELECT MIN(district) FROM table_13833770_3 WHERE incumbent = "Tom Reynolds";
``` | 5,363 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13833770_3 (district INTEGER, incumbent VARCHAR)\n\n Question: what is the minimum district with incumbent being tom reynold... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13833770_3 (status VARCHAR, incumbent VARCHAR)
Question: what's the status with incumbent being eliot engel
Here is the SQLite query to answer to the question: wha... | Here is the SQLite query to answer the question about the status with incumbent being Eliot Engel:
```
SELECT status FROM table_13833770_3 WHERE incumbent = "Eliot Engel"
``` | 5,364 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13833770_3 (status VARCHAR, incumbent VARCHAR)\n\n Question: what's the status with incumbent being eliot engel\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_13845918_3 (womens_doubles VARCHAR, year VARCHAR)
Question: Name the number of women's doubles for 1986
Here is the SQLite query to answer to the question: Name th... | Here is the SQLite query to answer the question: Name the number of women's doubles for 1986:
```
SELECT COUNT(womens_doubles) FROM table_13845918_3 WHERE year = "1986"
``` | 5,365 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13845918_3 (womens_doubles VARCHAR, year VARCHAR)\n\n Question: Name the number of women's doubles for 1986\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_13870048_3 (elected INTEGER, incumbent VARCHAR)
Question: what was the lowest numbers for the winner gregory w. meeks
Here is the SQLite query to answer to the que... | Your SQLite query to find the lowest numbers for the winner Gregory W. Meeks is correctly structured. Here it is wrapped in code format:
```
SELECT MIN(elected) FROM table_13870048_3 WHERE incumbent = "Gregory W. Meeks";
``` | 5,366 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13870048_3 (elected INTEGER, incumbent VARCHAR)\n\n Question: what was the lowest numbers for the winner gregory w. meeks\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR)
Question: What is the frequency of the model whose part number is ado520biaa5do?
Here is the SQLite query t... | Here is the corrected SQLite query to answer the question regarding the frequency of the model with the specific part number:
```
SELECT frequency FROM table_13869651_3 WHERE part_number_s_ = "ado520biaa5do";
``` | 5,367 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR)\n\n Question: What is the frequency of the model whose part number is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13869651_3 (release_date VARCHAR, part_number_s_ VARCHAR)
Question: When's the release date of the model with part number adh485biaa5do?
Here is the SQLite query ... | Here is the SQLite query to answer the question about the release date of the model with part number `adh485biaa5do`:
```
SELECT release_date FROM table_13869651_3 WHERE part_number_s_ = "adh485biaa5do"
``` | 5,368 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13869651_3 (release_date VARCHAR, part_number_s_ VARCHAR)\n\n Question: When's the release date of the model with part numbe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13869651_3 (ht VARCHAR, model_number VARCHAR)
Question: What is the HT value of threw Athlon x2 5200b model?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question regarding the HT value of the Athlon X2 5200B model:
```
SELECT ht FROM table_13869651_3 WHERE model_number = "Athlon X2 5200B";
``` | 5,369 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13869651_3 (ht VARCHAR, model_number VARCHAR)\n\n Question: What is the HT value of threw Athlon x2 5200b model? \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_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR)
Question: How many different frequencies does the model with part number ado540biaa5do?
Here is the SQLite ... | To count the different frequencies for the model with part number `ado540biaa5do`, you can use the DISTINCT keyword in your query. Here's the correct SQLite query:
```
SELECT COUNT(DISTINCT frequency) FROM table_13869651_3 WHERE part_number_s_ = "ado540biaa5do";
```
This query will count the number of unique frequen... | 5,370 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13869651_3 (frequency VARCHAR, part_number_s_ VARCHAR)\n\n Question: How many different frequencies does the model with part... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)
Question: What is the entire inhabitants in Southeast Asia?
Here is the SQLite query to answer to the question... | Your query appears to be using the `MIN` function, which would return the smallest total population in Southeast Asia rather than the sum of the total population. To get the entire inhabitants in Southeast Asia, you should use the `SUM` function instead. Here’s the corrected SQLite query:
```
SELECT SUM(total_populati... | 5,371 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)\n\n Question: What is the entire inhabitants in Southeast Asia?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14003020_5 (average INTEGER, highest VARCHAR)
Question: what is the minimum average with highest being 2363
Here is the SQLite query to answer to the question: wha... | It looks like you're trying to find the minimum value in the `average` column for records where the `highest` column equals 2363. However, since the `highest` column is defined as `VARCHAR`, the comparison to the integer 2363 should be done as a string.
Here’s the corrected SQLite query:
```
SELECT MIN(average) FROM... | 5,372 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14003020_5 (average INTEGER, highest VARCHAR)\n\n Question: what is the minimum average with highest being 2363\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_14003020_5 (lowest INTEGER, highest VARCHAR)
Question: what is the minimum lowest with highest being 2363
Here is the SQLite query to answer to the question: what ... | Here is the SQLite query to answer the question: what is the minimum lowest with highest being 2363:
```
SELECT MIN(lowest) FROM table_14003020_5 WHERE highest = '2363'
``` | 5,373 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14003020_5 (lowest INTEGER, highest VARCHAR)\n\n Question: what is the minimum lowest with highest being 2363\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_14003020_5 (team VARCHAR, stadium VARCHAR)
Question: what's the team with stadium being glebe park
Here is the SQLite query to answer to the question: what's the t... | Here is the SQLite query to answer the question: what's the team with stadium being Glebe Park:
```
SELECT team FROM table_14003020_5 WHERE stadium = "Glebe Park";
``` | 5,374 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14003020_5 (team VARCHAR, stadium VARCHAR)\n\n Question: what's the team with stadium being glebe park\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_14035132_3 (production_code VARCHAR, no_in_series VARCHAR)
Question: What's the production code of the episode with a series number 37b?
Here is the SQLite query ... | Here's the SQLite query to retrieve the production code of the episode with a series number 37b:
```
SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b"
``` | 5,375 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR)\n\n Question: What's the production code of the episode with a se... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, storyboarded_by VARCHAR, no_in_series VARCHAR)
Question: On what date did the episode with a series number 31, with a story w... | Here is the SQLite query to answer the question:
```sql
SELECT original_air_date
FROM table_14035132_3
WHERE storyboarded_by = "William Reiss"
AND no_in_series = "31"
```
| 5,376 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, storyboarded_by VARCHAR, no_in_series VARCHAR)\n\n Question: On what date did the epi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: When did the episode with season number 10b air for the first time?
Here is the SQLite quer... | Your SQLite query is correct for retrieving the original air date of the episode with season number "10b." However, if you want to ensure that you get the first air date specifically, you can modify the query to order the results and limit it to the first occurrence. Here's the updated query wrapped in code blocks:
``... | 5,377 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_season VARCHAR)\n\n Question: When did the episode with season number 10b air f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR)
Question: When did the episode with series number 29a originally air?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about when the episode with series number 29a originally aired:
```
SELECT original_air_date FROM table_14035132_3 WHERE no_in_series = "29a";
``` | 5,378 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR)\n\n Question: When did the episode with series number 29a origi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR)
Question: How many episodes have been directed and written by Darrick Bachman and Brett Varon?
Here is the SQ... | The query you provided is not correctly structured for the question asked. To find how many episodes have been directed and written by both Darrick Bachman and Brett Varon, we need to check that both "Darrick Bachman" is in the `directed_by` column and "Brett Varon" is in the `written_by` column.
Assuming you meant to... | 5,379 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14035132_3 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: How many episodes have been directed and written by Darri... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140297_1 (density VARCHAR, principal_town VARCHAR)
Question: What is the population density in the Brighton area?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to find the population density in the Brighton area:
```
SELECT density FROM table_140297_1 WHERE principal_town = "Brighton";
``` | 5,380 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_140297_1 (density VARCHAR, principal_town VARCHAR)\n\n Question: What is the population density in the Brighton area?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)
Question: How many people live in the area of Sorell according to the Census of 2011?
Here... | Here is the SQLite query to answer the question about the population in the area of Sorell according to the Census of 2011:
```
SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell";
``` | 5,381 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)\n\n Question: How many people live in the area of S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1404486_1 (area__km_2__ VARCHAR, county VARCHAR)
Question: what is the number of area where the county is marsabit?
Here is the SQLite query to answer to the quest... | Your provided SQLite query is correct for counting the number of areas where the county is Marsabit. To ensure clarity and correctness, here is the same query formatted properly:
```sql
SELECT COUNT(area__km_2__)
FROM table_1404486_1
WHERE county = "Marsabit";
```
This query will return the count of non-null entri... | 5,382 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1404486_1 (area__km_2__ VARCHAR, county VARCHAR)\n\n Question: what is the number of area where the county is marsabit?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1404486_1 (code VARCHAR, population_census_2009 VARCHAR)
Question: what is the code of population census 2009 is 1356301?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the code of population census 2009 being 1356301:
```
SELECT code FROM table_1404486_1 WHERE population_census_2009 = '1356301'
```
(Note: Since `population_census_2009` is defined as a VARCHAR, the value should be enclosed in single quotes.) | 5,383 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1404486_1 (code VARCHAR, population_census_2009 VARCHAR)\n\n Question: what is the code of population census 2009 is 1356301... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR)
Question: What's the tries against count of the team with 396 points against?
Here is the SQLite query ... | Your SQLite query is almost correct but could be slightly misleading as it uses `COUNT(tries_against)` which will count all non-null values in the `tries_against` column. If you're looking for the specific count of `tries_against` entries for the team with 396 points against, you might just be interested in selecting t... | 5,384 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR)\n\n Question: What's the tries against count of the team with 396... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR)
Question: How many points does the club with a try bonus of 10 have?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding how many points the club with a try bonus of 10 has:
```
SELECT points FROM table_14070062_3 WHERE try_bonus = "10";
``` | 5,385 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR)\n\n Question: How many points does the club with a try bonus of 10 have? \n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14070062_3 (tries_for VARCHAR, points VARCHAR)
Question: What's the tries for count for the team with 70 points?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the tries for count for the team with 70 points:
```
SELECT tries_for FROM table_14070062_3 WHERE points = '70';
``` | 5,386 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14070062_3 (tries_for VARCHAR, points VARCHAR)\n\n Question: What's the tries for count for the team with 70 points? \n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14070062_3 (club VARCHAR, try_bonus VARCHAR)
Question: How many clubs have a try bonus value of 5?
Here is the SQLite query to answer to the question: How many clu... | Your provided SQLite query is correct for counting the number of clubs with a try bonus value of 5. Here it is wrapped in the requested format:
```
SELECT COUNT(club) FROM table_14070062_3 WHERE try_bonus = '5';
```
Note: In SQL, it's common practice to use single quotes for string literals, though double quotes do ... | 5,387 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14070062_3 (club VARCHAR, try_bonus VARCHAR)\n\n Question: How many clubs have a try bonus value of 5?\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_14070062_3 (losing_bonus VARCHAR, won VARCHAR)
Question: What's the losing bonus count for the club with 9 won games?
Here is the SQLite query to answer to the qu... | Your provided SQL query needs a minor adjustment. Specifically, to get the count of losing bonuses for the club that has won 9 games, you need to use the `COUNT` function to count the occurrences of the `losing_bonus` where `won` is 9.
Here is the corrected SQL query:
```
SELECT COUNT(losing_bonus) AS losing_bonus_co... | 5,388 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14070062_3 (losing_bonus VARCHAR, won VARCHAR)\n\n Question: What's the losing bonus count for the club with 9 won games? \n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14070062_3 (tries_for VARCHAR, club VARCHAR)
Question: How many tries for does Pontardawe RFC have?
Here is the SQLite query to answer to the question: How many t... | To count how many tries Pontardawe RFC has, you need to use the `COUNT()` function in your SQL query. Here's the correct query:
```
SELECT COUNT(tries_for) AS total_tries FROM table_14070062_3 WHERE club = "Pontardawe RFC"
``` | 5,389 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14070062_3 (tries_for VARCHAR, club VARCHAR)\n\n Question: How many tries for does Pontardawe RFC have? \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_1409106_2 (home_losses VARCHAR, pf VARCHAR)
Question: How many home losses occured when PF 13?
Here is the SQLite query to answer to the question: How many home lo... | Here is the SQLite query to answer the question of how many home losses occurred when PF is 13:
```
SELECT COUNT(home_losses) FROM table_1409106_2 WHERE pf = '13'
``` | 5,390 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1409106_2 (home_losses VARCHAR, pf VARCHAR)\n\n Question: How many home losses occured when PF 13?\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_140968_1 (copies_per_particle VARCHAR, location VARCHAR)
Question: How many copoes per particle are created in the segment that forms inner shell of the core?
Here... | It seems you are asking for an SQLite query to count the number of copies per particle for a specific location in your database. However, to provide the total count of copies per particle for a specific location, you typically would want to use an aggregate function like `SUM()` or `COUNT()` along with `GROUP BY` if yo... | 5,391 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR)\n\n Question: How many copoes per particle are created in the segme... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR)
Question: How many copies per particle are created by the enterotoxin?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question: How many copies per particle are created by the enterotoxin?:
```
SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin";
``` | 5,392 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR)\n\n Question: How many copies per particle are created by the enter... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR)
Question: How many base pairs are there if the molecular weight is 102?
Here is the SQLite qu... | Here is the SQLite query to answer the question about how many base pairs there are if the molecular weight is 102:
```
SELECT COUNT(size___s_base_pair__) FROM table_140968_1 WHERE molecular_weight_kda = "102";
``` | 5,393 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR)\n\n Question: How many base pairs are there if the mol... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR)
Question: How many copies per particle are there for the base pair that is size 1059?
Here is ... | Your SQLite query is almost correct, but since `size___s_base_pair__` is defined as a `VARCHAR`, you should enclose the value `1059` in quotes. Here's the corrected query:
```
SELECT COUNT(copies_per_particle) FROM table_140968_1 WHERE size___s_base_pair__ = '1059'
```
This will count the number of entries where the... | 5,394 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR)\n\n Question: How many copies per particle are there fo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14102379_4 (attendance INTEGER, stadium VARCHAR)
Question: what is the minimum attendance with stadium being cotton bowl
Here is the SQLite query to answer to the ... | Here is the SQLite query to find the minimum attendance with the stadium being Cotton Bowl:
```
SELECT MIN(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl";
``` | 5,395 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14102379_4 (attendance INTEGER, stadium VARCHAR)\n\n Question: what is the minimum attendance with stadium being cotton bowl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14102379_4 (opponent VARCHAR, stadium VARCHAR)
Question: what's the opponent with stadium being jeppesen stadium
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the opponent with the stadium being Jeppesen Stadium:
```sql
SELECT opponent FROM table_14102379_4 WHERE stadium = "Jeppesen stadium";
``` | 5,396 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14102379_4 (opponent VARCHAR, stadium VARCHAR)\n\n Question: what's the opponent with stadium being jeppesen stadium\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR)
Question: what's the stadium with record being 1–1
Here is the SQLite query to answer to the question: what's the stad... | Here is the SQLite query to answer the question about the stadium with a record of 1–1:
```
SELECT stadium FROM table_14102379_4 WHERE record = "1–1"
``` | 5,397 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14102379_4 (stadium VARCHAR, record VARCHAR)\n\n Question: what's the stadium with record being 1–1\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_14102379_4 (attendance VARCHAR, stadium VARCHAR)
Question: how many attendance with stadium being cotton bowl
Here is the SQLite query to answer to the question: ... | Your SQLite query looks accurate for counting the number of records where the stadium is "Cotton Bowl". Here's the query wrapped as you requested:
```
SELECT COUNT(attendance) FROM table_14102379_4 WHERE stadium = "Cotton Bowl";
``` | 5,398 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14102379_4 (attendance VARCHAR, stadium VARCHAR)\n\n Question: how many attendance with stadium being cotton bowl\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_14102379_4 (result VARCHAR, opponent VARCHAR)
Question: what's the result with opponent being at oakland raiders
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the result with the opponent being "at Oakland Raiders":
```sql
SELECT result FROM table_14102379_4 WHERE opponent = "at Oakland Raiders";
``` | 5,399 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_14102379_4 (result VARCHAR, opponent VARCHAR)\n\n Question: what's the result with opponent being at oakland raiders\n\nHere... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.