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_1974545_2 (lec_sport VARCHAR, institution VARCHAR)
Question: What's Fitchburg State University's LEC sport?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about Fitchburg State University's LEC sport:
```
SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University";
``` | 33,700 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR)\n\n Question: What's Fitchburg State University's LEC sport?\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_1974545_2 (location VARCHAR, nickname VARCHAR)
Question: Where is the school whose students are nicknamed falcons located?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the location of the school whose students are nicknamed "falcons":
```
SELECT location FROM table_1974545_2 WHERE nickname = "falcons"
``` | 33,701 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974545_2 (location VARCHAR, nickname VARCHAR)\n\n Question: Where is the school whose students are nicknamed falcons locate... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974545_2 (primary_conference VARCHAR, institution VARCHAR)
Question: What's Salem State University's primary conference?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about Salem State University's primary conference:
```
SELECT primary_conference FROM table_1974545_2 WHERE institution = "Salem State University"
``` | 33,702 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974545_2 (primary_conference VARCHAR, institution VARCHAR)\n\n Question: What's Salem State University's primary conference... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_36 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for north carolina 9
Here is the SQLite query to answer to the question: Name the in... | Your provided SQLite query is correctly structured to obtain the incumbent for "North Carolina 9". Here's the query wrapped as requested:
```
SELECT incumbent FROM table_19753079_36 WHERE district = "North Carolina 9";
``` | 33,703 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_36 (incumbent VARCHAR, district VARCHAR)\n\n Question: Name the incumbent for north carolina 9\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_19753079_36 (party VARCHAR, district VARCHAR)
Question: Name the total party for north carolina 7
Here is the SQLite query to answer to the question: Name the tota... | Here is the SQLite query to answer the question: Name the total party for North Carolina 7:
```
SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 7";
``` | 33,704 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR)\n\n Question: Name the total party for north carolina 7\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_19753079_36 (incumbent VARCHAR, candidates VARCHAR)
Question: Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0%
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the incumbent for the candidates:
```
SELECT incumbent FROM table_19753079_36 WHERE candidates = "Sue Myrick (R) 69.0% Jeff Doctor (D) 31.0%"
``` | 33,705 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_36 (incumbent VARCHAR, candidates VARCHAR)\n\n Question: Name the incumbent for sue myrick (r) 69.0% jeff doctor (d... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR)
Question: Name the result for north carolina 7
Here is the SQLite query to answer to the question: Name the result f... | Here is the SQLite query to answer the question about naming the result for North Carolina 7:
```
SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7"
``` | 33,706 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR)\n\n Question: Name the result for north carolina 7\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_1974782_1 (enrollment INTEGER, institution VARCHAR)
Question: What's Babson College's enrollment?
Here is the SQLite query to answer to the question: What's Babson... | Here is the SQLite query to answer the question about Babson College's enrollment:
```
SELECT MAX(enrollment) FROM table_1974782_1 WHERE institution = 'Babson College';
``` | 33,707 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974782_1 (enrollment INTEGER, institution VARCHAR)\n\n Question: What's Babson College's enrollment?\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_1974782_1 (joined INTEGER, institution VARCHAR)
Question: When has Clark University joined the Conference?
Here is the SQLite query to answer to the question: When... | Here is the SQLite query to answer the question "When has Clark University joined the Conference?":
```
SELECT MAX(joined) FROM table_1974782_1 WHERE institution = 'Clark University';
``` | 33,708 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974782_1 (joined INTEGER, institution VARCHAR)\n\n Question: When has Clark University joined the Conference?\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_1974782_1 (type VARCHAR, location VARCHAR)
Question: What's the type of the school in New London, Connecticut?
Here is the SQLite query to answer to the question:... | Here is the SQLite query you can use to find the type of the school in New London, Connecticut:
```
SELECT type FROM table_1974782_1 WHERE location = "New London, Connecticut";
``` | 33,709 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974782_1 (type VARCHAR, location VARCHAR)\n\n Question: What's the type of the school in New London, Connecticut? \n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR)
Question: When was the school in Springfield, Massachusetts founded?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about when the school in Springfield, Massachusetts was founded:
```
SELECT MAX(founded) FROM table_1974782_1 WHERE location = "Springfield, Massachusetts";
``` | 33,710 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR)\n\n Question: When was the school in Springfield, Massachusetts founded?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974782_1 (institution VARCHAR, location VARCHAR)
Question: What school is located in Worcester, Massachusetts?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question of what school is located in Worcester, Massachusetts:
```
SELECT institution FROM table_1974782_1 WHERE location = "Worcester, Massachusetts";
``` | 33,711 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1974782_1 (institution VARCHAR, location VARCHAR)\n\n Question: What school is located in Worcester, Massachusetts?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)
Question: Who are the candidates in Florida 13 district?
Here is the SQLite query to answer to the question: Who... | Here is the SQLite query to answer the question: Who are the candidates in Florida 13 district?:
```
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 13";
``` | 33,712 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)\n\n Question: Who are the candidates in Florida 13 district?\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_19753079_12 (candidates VARCHAR, first_elected VARCHAR)
Question: How many different pairs of candidates were there for the district first elected in 1988?
Here is... | To determine how many different pairs of candidates there were for the district first elected in 1988, you need to find the number of distinct pairs of candidates. This can be achieved using a self-join on the table to create pairs and then counting those pairs. Here’s a corrected SQLite query:
```sql
SELECT COUNT(*)
... | 33,713 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_12 (candidates VARCHAR, first_elected VARCHAR)\n\n Question: How many different pairs of candidates were there for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)
Question: Who were candidates in Florida 10 district?
Here is the SQLite query to answer to the question: Who we... | Here is the SQLite query to answer the question regarding the candidates in Florida 10 district:
```
SELECT candidates FROM table_19753079_12 WHERE district = "Florida 10"
``` | 33,714 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_12 (candidates VARCHAR, district VARCHAR)\n\n Question: Who were candidates in Florida 10 district?\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_19753079_12 (party VARCHAR, district VARCHAR)
Question: What party got elected in Florida 9 district?
Here is the SQLite query to answer to the question: What part... | Here is the SQLite query to answer the question about which party got elected in Florida 9 district:
```
SELECT party FROM table_19753079_12 WHERE district = "Florida 9";
``` | 33,715 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_12 (party VARCHAR, district VARCHAR)\n\n Question: What party got elected in Florida 9 district?\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_19751479_4 (rnd INTEGER, fastest_lap VARCHAR)
Question: What is the first round that had #67 the racer's group with the fastest lap?
Here is the SQLite query to an... | Here is the SQLite query that answers the question regarding the first round that had #67 the racer's group with the fastest lap:
```sql
SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = '#67 The Racer''s Group';
``` | 33,716 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19751479_4 (rnd INTEGER, fastest_lap VARCHAR)\n\n Question: What is the first round that had #67 the racer's group with the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19751479_4 (fastest_lap VARCHAR, rnd VARCHAR, pole_position VARCHAR)
Question: How many races had #99 gainsco/bob stallings racing in round 10?
Here is the SQLite ... | Here is the corrected SQLite query based on the provided schema and question:
```sql
SELECT COUNT(*)
FROM table_19751479_4
WHERE rnd = '10' AND pole_position = '#99 GAINSCO/Bob Stallings Racing';
```
Please note that I ensured to use single quotes for the string literals according to SQL standards. Additionally, I... | 33,717 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19751479_4 (fastest_lap VARCHAR, rnd VARCHAR, pole_position VARCHAR)\n\n Question: How many races had #99 gainsco/bob stalli... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_8 (incumbent VARCHAR, first_elected VARCHAR)
Question: What incumbent was first elected in 2009?
Here is the SQLite query to answer to the question: What ... | It looks like you need to select the incumbent that was first elected in the year 2009. However, since the `first_elected` column is a `VARCHAR`, you should include the year as a string. Here’s the corrected query:
```
SELECT incumbent FROM table_19753079_8 WHERE first_elected = '2009';
```
Make sure that the value ... | 33,718 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_8 (incumbent VARCHAR, first_elected VARCHAR)\n\n Question: What incumbent was first elected in 2009?\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_19753079_8 (first_elected VARCHAR, district VARCHAR)
Question: How many were first elected in California 7?
Here is the SQLite query to answer to the question: How... | To count how many were first elected in California 7, you should use the `COUNT()` function in your SQL query. Here is the revised query:
```sql
SELECT COUNT(first_elected) FROM table_19753079_8 WHERE district = "California 7";
``` | 33,719 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_8 (first_elected VARCHAR, district VARCHAR)\n\n Question: How many were first elected in California 7?\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_19753079_8 (district VARCHAR, incumbent VARCHAR)
Question: What district did George Miller belong to?
Here is the SQLite query to answer to the question: What dist... | Here is the SQLite query to answer the question: What district did George Miller belong to?:
```
SELECT district FROM table_19753079_8 WHERE incumbent = "George Miller";
``` | 33,720 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR)\n\n Question: What district did George Miller belong to?\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_19753079_41 (party VARCHAR, candidates VARCHAR)
Question: When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party?
Here is the SQLite qu... | Here is the SQLite query to answer the question:
```
SELECT party FROM table_19753079_41 WHERE candidates = "Mark Critz (D) 50.8% Tim Burns (R) 49.2%"
``` | 33,721 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_41 (party VARCHAR, candidates VARCHAR)\n\n Question: When mark critz (d) 50.8% tim burns (r) 49.2% are the candidat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR)
Question: When chris carney is the incumbent what are the results?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question:
```
SELECT result FROM table_19753079_41 WHERE incumbent = "Chris Carney"
``` | 33,722 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_41 (result VARCHAR, incumbent VARCHAR)\n\n Question: When chris carney is the incumbent what are the results?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_41 (district VARCHAR, first_elected VARCHAR)
Question: When 1994 is the first elected what is the district?
Here is the SQLite query to answer to the ques... | The SQLite query to answer the question is as follows:
```
SELECT district FROM table_19753079_41 WHERE first_elected = '1994'
``` | 33,723 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_41 (district VARCHAR, first_elected VARCHAR)\n\n Question: When 1994 is the first elected what is the district?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_41 (incumbent VARCHAR, district VARCHAR)
Question: When pennsylvania 3 is the district who is the incumbent?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question: When Pennsylvania 3 is the district who is the incumbent?:
```
SELECT incumbent FROM table_19753079_41 WHERE district = "Pennsylvania 3";
``` | 33,724 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_41 (incumbent VARCHAR, district VARCHAR)\n\n Question: When pennsylvania 3 is the district who is the incumbent?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_41 (candidates VARCHAR, first_elected VARCHAR)
Question: When 1984 is the first elected who are the candidates?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question:
```
SELECT candidates FROM table_19753079_41 WHERE first_elected = '1984'
``` | 33,725 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19753079_41 (candidates VARCHAR, first_elected VARCHAR)\n\n Question: When 1984 is the first elected who are the candidates?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19763199_4 (result VARCHAR, artist VARCHAR)
Question: What is Salva Ortega's result?
Here is the SQLite query to answer to the question: What is Salva Ortega's res... | Here is the SQLite query to answer the question about Salva Ortega's result:
```
SELECT result FROM table_19763199_4 WHERE artist = "Salva Ortega"
``` | 33,726 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_4 (result VARCHAR, artist VARCHAR)\n\n Question: What is Salva Ortega's result?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19763199_4 (televotes VARCHAR, jury_votes VARCHAR)
Question: How many televotes are there where there is 4 jury votes?
Here is the SQLite query to answer to the qu... | The SQLite query you provided needs a slight correction to count the number of televotes where there are exactly 4 jury votes. The `SELECT` statement should use `COUNT()` to get the total number of rows that meet the criteria. Here is the corrected query:
```
SELECT COUNT(televotes) AS total_televotes
FROM table_1976... | 33,727 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_4 (televotes VARCHAR, jury_votes VARCHAR)\n\n Question: How many televotes are there where there is 4 jury votes?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19763199_4 (jury_votes VARCHAR, televotes VARCHAR)
Question: How many jury votes for the televote of 7?
Here is the SQLite query to answer to the question: How man... | Your SQLite query is almost correct, but it needs a slight modification to count the jury votes associated with the given televote of 7. You should use the `COUNT` function to get the total number of jury votes. Here’s the revised query:
```
SELECT COUNT(jury_votes) FROM table_19763199_4 WHERE televotes = '7'
```
Mak... | 33,728 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_4 (jury_votes VARCHAR, televotes VARCHAR)\n\n Question: How many jury votes for the televote of 7?\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_19763199_3 (result VARCHAR, artist VARCHAR)
Question: What is the result for Normativa Vigente?
Here is the SQLite query to answer to the question: What is the res... | Here is the SQLite query to answer the question about the result for Normativa Vigente:
```
SELECT result FROM table_19763199_3 WHERE artist = "Normativa Vigente"
``` | 33,729 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_3 (result VARCHAR, artist VARCHAR)\n\n Question: What is the result for Normativa Vigente?\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_19763199_3 (song VARCHAR, total_votes VARCHAR)
Question: What song has 24 votes?
Here is the SQLite query to answer to the question: What song has 24 votes?:
```
S... | Here is the SQLite query to answer the question about which song has 24 votes:
```
SELECT song FROM table_19763199_3 WHERE total_votes = '24'
``` | 33,730 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR)\n\n Question: What song has 24 votes?\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_19763199_3 (total_votes INTEGER)
Question: What is the least total votes?
Here is the SQLite query to answer to the question: What is the least total votes?:
```
S... | Your SQLite query to find the least total votes is correctly written. Here it is wrapped in code formatting:
```
SELECT MIN(total_votes) FROM table_19763199_3;
``` | 33,731 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_3 (total_votes INTEGER)\n\n Question: What is the least total votes?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR)
Question: How many votes does Carlos Ferrer Eai have?
Here is the SQLite query to answer to the question: How many... | Here's the SQLite query to find out how many votes Carlos Ferrer Eai has:
```
SELECT total_votes FROM table_19763199_3 WHERE artist = "Carlos Ferrer Eai";
``` | 33,732 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19763199_3 (total_votes VARCHAR, artist VARCHAR)\n\n Question: How many votes does Carlos Ferrer Eai have?\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_197638_6 (_number INTEGER)
Question: How many players are on this list?
Here is the SQLite query to answer to the question: How many players are on this list?:
```... | To count how many players are on the list in the given table, the correct query would be to use the `COUNT` function. The provided query using `MAX` does not return the total number of players but instead finds the maximum value in the `_number` column.
Here’s an appropriate SQLite query to count the number of player... | 33,733 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_197638_6 (_number INTEGER)\n\n Question: How many players are on this list?\n\nHere is the SQLite query to answer to the que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR)
Question: Who won the French Open in 1999?
Here is the SQLite query to answer to the question: Who won the French Op... | Your provided SQLite query is almost correct, but the value in the WHERE clause should be wrapped in quotes since the `french_open` column is of type `VARCHAR`. Additionally, you should use the proper year format, ensuring it's treated as a string. Here is the corrected query:
```
SELECT player FROM table_197638_6 WHE... | 33,734 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR)\n\n Question: Who won the French Open in 1999?\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_197638_6 (player VARCHAR, us_open VARCHAR)
Question: Who won the US Open in 1937?
Here is the SQLite query to answer to the question: Who won the US Open in 1937?:... | The provided SQLite query needs a slight correction to properly filter for the winner of the US Open in 1937. Specifically, the `us_open` column is likely a VARCHAR type and should be surrounded by quotes when specifying the year. Here's the corrected version of the query:
```
SELECT player FROM table_197638_6 WHERE u... | 33,735 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_197638_6 (player VARCHAR, us_open VARCHAR)\n\n Question: Who won the US Open in 1937?\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_197638_6 (australian_open VARCHAR, player VARCHAR)
Question: How many times did Roy Emerson win the Australian Open?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding how many times Roy Emerson won the Australian Open:
```
SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson"
``` | 33,736 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_197638_6 (australian_open VARCHAR, player VARCHAR)\n\n Question: How many times did Roy Emerson win the Australian Open?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_197638_6 (age INTEGER, player VARCHAR)
Question: At what age did Roy Emerson complete the Grand Slam?
Here is the SQLite query to answer to the question: At what a... | Your provided SQLite query is mostly correct, but if you're specifically interested in the age at which Roy Emerson completed the Grand Slam, you might want to look for the specific entry rather than the maximum age, assuming there is a record indicating the completion of the Grand Slam.
However, if `age` is the only ... | 33,737 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_197638_6 (age INTEGER, player VARCHAR)\n\n Question: At what age did Roy Emerson complete the Grand Slam?\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_19764939_1 (rank INTEGER, total VARCHAR)
Question: Name the least rank for 2
Here is the SQLite query to answer to the question: Name the least rank for 2:
```
SEL... | Your SQLite query is almost correct, but you need to ensure that the value '2' is treated as an integer since the `total` column is defined as `VARCHAR`. Here is the revised query:
```
SELECT MIN(rank) FROM table_19764939_1 WHERE total = '2'
```
In SQLite, you can use single quotes to indicate string literals. Since... | 33,738 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19764939_1 (rank INTEGER, total VARCHAR)\n\n Question: Name the least rank for 2\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)
Question: Name the total for jamie carragher
Here is the SQLite query to answer to the question: Name the total for jami... | Here's the SQLite query to find the total for Jamie Carragher:
```
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher"
``` | 33,739 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)\n\n Question: Name the total for jamie carragher\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_19764939_1 (club_world_cup VARCHAR, player VARCHAR)
Question: Name the total number of club worl cup for djibril cisse
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about the total number of club world cups for Djibril Cisse:
```
SELECT COUNT(club_world_cup) FROM table_19764939_1 WHERE player = "Djibril Cisse";
``` | 33,740 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19764939_1 (club_world_cup VARCHAR, player VARCHAR)\n\n Question: Name the total number of club worl cup for djibril cisse\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR)
Question: What's the post code of the county with the Chinese name 潜山县 / 潛山縣?
Here ... | Here's the SQLite query to find the post code of the county with the Chinese name 潜山县 / 潛山縣:
```
SELECT post_code FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "潜山县 / 潛山縣";
``` | 33,741 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR)\n\n Question: What's the post code of the cou... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR)
Question: What's the English name of the county called 太湖县 / 太湖縣 in Chinese?
Here... | Here is the SQLite query to answer the question about the English name of the county called 太湖县 / 太湖縣:
```
SELECT english_name FROM table_1976898_1 WHERE chinese_name__simplified___traditional_ = "太湖县" OR chinese_name__simplified___traditional_ = "太湖縣";
``` | 33,742 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1976898_1 (english_name VARCHAR, chinese_name__simplified___traditional_ VARCHAR)\n\n Question: What's the English name of t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (english_name VARCHAR, post_code VARCHAR)
Question: What's the English name of the county with a postcode 246400?
Here is the SQLite query to answer to t... | The SQLite query to answer the question about the English name of the county with the postcode 246400 is as follows:
```
SELECT english_name FROM table_1976898_1 WHERE post_code = '246400';
``` | 33,743 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1976898_1 (english_name VARCHAR, post_code VARCHAR)\n\n Question: What's the English name of the county with a postcode 2464... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR)
Question: What's the Chinese (simplified/traditional) name of Susong County?
Here... | Here is the SQLite query to answer the question about the Chinese (simplified/traditional) name of Susong County:
```
SELECT chinese_name__simplified___traditional_ FROM table_1976898_1 WHERE english_name = "Susong County"
``` | 33,744 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR)\n\n Question: What's the Chinese (simplifi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR)
Question: What's the Pinyin name of the county with a postcode 246500?
Here is the SQLite query to answer to the ques... | Here is the corrected SQLite query to retrieve the Pinyin name of the county with the postcode 246500:
```sql
SELECT pinyin FROM table_1976898_1 WHERE post_code = '246500';
```
Note that the postcode should be enclosed in quotes since it is stored as a `VARCHAR`. | 33,745 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR)\n\n Question: What's the Pinyin name of the county with a postcode 246500?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR)
Question: On how many different dates was a game against Houston played?
Here is the SQLite query to answer to the ques... | The query you've provided will count the number of entries with the same date against Houston, but if you want to find the number of different dates games were played against Houston, you should use the `DISTINCT` keyword. Here’s the corrected SQLite query:
```
SELECT COUNT(DISTINCT date) FROM table_19778010_5 WHERE o... | 33,746 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19778010_5 (date VARCHAR, opponent VARCHAR)\n\n Question: On how many different dates was a game against Houston played?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: How many different players did the high assists in games where the high rebounds were done by Sal... | Your SQLite query is close but needs a small adjustment to ensure you are counting distinct players who had high assists in games where high rebounds were done by "Sales (10)". You should use `COUNT(DISTINCT high_assists)` to count unique players. Here’s the corrected query:
```
SELECT COUNT(DISTINCT high_assists) FRO... | 33,747 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19778010_5 (high_assists VARCHAR, high_rebounds VARCHAR)\n\n Question: How many different players did the high assists in ga... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19778010_5 (game INTEGER, date VARCHAR)
Question: What's the number of the game played on June 22?
Here is the SQLite query to answer to the question: What's the n... | Here is the SQLite query to answer the question about the number of the game played on June 22:
```
SELECT game FROM table_19778010_5 WHERE date = "June 22";
``` | 33,748 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19778010_5 (game INTEGER, date VARCHAR)\n\n Question: What's the number of the game played on June 22?\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_19778010_5 (opponent VARCHAR, game VARCHAR)
Question: Who was game number 8 played against?
Here is the SQLite query to answer to the question: Who was game number... | Your query is almost correct, but you need to ensure that the game number is compared as a string since it is likely stored as a VARCHAR. Here is the corrected query:
```
SELECT opponent FROM table_19778010_5 WHERE game = '8'
```
This assumes that the game number is represented as a string in the database. If it is ... | 33,749 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR)\n\n Question: Who was game number 8 played against?\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_19778010_5 (high_rebounds VARCHAR, high_assists VARCHAR)
Question: Who did the high rebounds in the game in which five players (3) did the high assists?
Here is th... | Here is the corrected SQLite query based on the given question and schema:
```sql
SELECT high_rebounds
FROM table_19778010_5
WHERE high_assists = 'Five Players (3)';
```
Make sure to match the exact string format in your database for accurate results. | 33,750 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19778010_5 (high_rebounds VARCHAR, high_assists VARCHAR)\n\n Question: Who did the high rebounds in the game in which five p... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR)
Question: What are all the conjugated forms of the verb where the el/ ella/usted verb is piense?... | Here is the SQLite query to answer your question:
```
SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = "piense"
``` | 33,751 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR)\n\n Question: What are all the conjugated forms of the v... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1977630_2 (yo VARCHAR, vosotros___vosotras VARCHAR)
Question: What are all the conjugated forms of the verb moler where the vosotros / vosotras is moláis for the y... | Here is the SQLite query to answer the question regarding the conjugated forms of the verb "moler" where the "vosotros / vosotras" form is "moláis" for the "yo" tense:
```
SELECT yo FROM table_1977630_2 WHERE vosotros___vosotras = "moláis"
``` | 33,752 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1977630_2 (yo VARCHAR, vosotros___vosotras VARCHAR)\n\n Question: What are all the conjugated forms of the verb moler where... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR)
Question: how many verbs have the yo form as sienta?
Here is the SQLite query to answer to the question: how many verbs have ... | Here is the SQLite query to answer the question of how many verbs have the yo form as "sienta":
```
SELECT COUNT(verbs) FROM table_1977630_2 WHERE yo = 'sienta';
``` | 33,753 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1977630_2 (verbs VARCHAR, yo VARCHAR)\n\n Question: how many verbs have the yo form as sienta?\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_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)
Question: What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás?
H... | The SQLite query you provided has a small syntax issue. The multiplication operator `*` is not necessary in this context. You should use the `IN` operator to check for multiple values. Here’s the corrected query:
```sql
SELECT él___ella___usted
FROM table_1977630_2
WHERE vos__ IN ('muelas', 'molás');
```
This quer... | 33,754 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1977630_2 (él___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)\n\n Question: What us the conjucated form(s) of el/ella/ ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR)
Question: What are the forms of the conjucated vos(*) where él / ella / usted is muela
Here is the ... | It looks like there might be a small error in the SQL query you provided. The syntax `vos__ * _` is not valid in SQL. If your intention is to select both `vos__` and `_` columns where `él___ella___usted` is "muela", you should use a comma to separate the column names in the SELECT statement.
Here’s the corrected query... | 33,755 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR)\n\n Question: What are the forms of the conjucated vos(*) wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR)
Question: How many have the Till Agra of 500?
Here is the SQLite query to answer to the question: How many hav... | Here is the corrected SQLite query to answer the question:
```sql
SELECT COUNT(*) FROM table_19787093_1 WHERE till_agra = '500';
```
Note that I changed the condition to compare `till_agra` with a string `'500'`, since it is defined as a `VARCHAR` in the schema. | 33,756 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR)\n\n Question: How many have the Till Agra of 500?\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_19787093_1 (vehicle_category VARCHAR, till_agra VARCHAR)
Question: What kind of vehicle is the agra 1050?
Here is the SQLite query to answer to the question: What ... | Here is the correct SQLite query to answer the question regarding what kind of vehicle the agra 1050 is:
```
SELECT vehicle_category FROM table_19787093_1 WHERE till_agra = '1050'
``` | 33,757 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19787093_1 (vehicle_category VARCHAR, till_agra VARCHAR)\n\n Question: What kind of vehicle is the agra 1050?\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_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR)
Question: If the till aligarh is 150, what the mac till mathura?
Here is the SQLite query to answer to the ... | Here is the SQLite query that answers the question:
```
SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = '150'
```
Please note that if `till_aligarh` is an INTEGER field, you should not use quotes around the number. If it's a VARCHAR field, then quotes are appropriate. Adjust accordingly based on ... | 33,758 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR)\n\n Question: If the till aligarh is 150, what the mac till mathura?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19787093_1 (for_round_trip INTEGER, till_agra VARCHAR)
Question: If the till agra is 1050, what is the max round trip?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about the maximum round trip when the `till_agra` is 1050:
```sql
SELECT MAX(for_round_trip) FROM table_19787093_1 WHERE till_agra = '1050'
```
Note: In SQLite, the `till_agra` is a VARCHAR, so the value '1050' should be enclosed in quotes. | 33,759 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19787093_1 (for_round_trip INTEGER, till_agra VARCHAR)\n\n Question: If the till agra is 1050, what is the max round trip?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19787093_1 (till_aligarh INTEGER, vehicle_category VARCHAR)
Question: If the vehicle category is multi-axle vehicle, what is the till aligarh?
Here is the SQLite q... | Here is the SQLite query to answer the given question:
```
SELECT till_aligarh FROM table_19787093_1 WHERE vehicle_category = 'Multi-axle Vehicle';
``` | 33,760 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19787093_1 (till_aligarh INTEGER, vehicle_category VARCHAR)\n\n Question: If the vehicle category is multi-axle vehicle, wha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19789597_6 (game INTEGER, high_assists VARCHAR)
Question: What's the lowest number of a game where S. Johnson (3) did the most high assists?
Here is the SQLite qu... | It looks like you want to find the game with the lowest number where S. Johnson (3) had the highest assists. However, your SQL statement only retrieves the minimum game number based on the condition of assists being exactly "S. Johnson (3)" instead of computing the highest assists for S. Johnson (3).
In order to prop... | 33,761 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19789597_6 (game INTEGER, high_assists VARCHAR)\n\n Question: What's the lowest number of a game where S. Johnson (3) did t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)
Question: Who was the game on July 12 played against?
Here is the SQLite query to answer to the question: Who was the g... | Here is the SQLite query to answer the question: Who was the game on July 12 played against?:
```
SELECT opponent FROM table_19789597_6 WHERE date = "July 12";
``` | 33,762 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)\n\n Question: Who was the game on July 12 played against?\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_19789597_6 (record VARCHAR, high_rebounds VARCHAR)
Question: What was the record in the game where McWilliams (8) did the most high rebounds?
Here is the SQLite qu... | Your SQL query is close but it seems to have a misunderstanding regarding how to identify the highest rebounds. To find the record in the game where McWilliams had the most high rebounds, you need to also consider the concept of "high_rebounds" not just as a string indicating the player's name.
Assuming that `high_re... | 33,763 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19789597_6 (record VARCHAR, high_rebounds VARCHAR)\n\n Question: What was the record in the game where McWilliams (8) did th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)
Question: Who was the game on July 7 played against?
Here is the SQLite query to answer to the question: Who was the ga... | Here is the SQLite query to answer the question: Who was the game on July 7 played against?:
```
SELECT opponent FROM table_19789597_6 WHERE date = "July 7"
``` | 33,764 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)\n\n Question: Who was the game on July 7 played against?\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_1979203_1 (owner VARCHAR, callsign VARCHAR)
Question: what is the owner of the callsign wliw
Here is the SQLite query to answer to the question: what is the owner ... | Here is the SQLite query to answer the question about the owner of the callsign "WLIW":
```
SELECT owner FROM table_1979203_1 WHERE callsign = "WLIW";
``` | 33,765 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979203_1 (owner VARCHAR, callsign VARCHAR)\n\n Question: what is the owner of the callsign wliw\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_1979203_1 (callsign VARCHAR, branding VARCHAR)
Question: how many callsigns are for the branding telemundo 47
Here is the SQLite query to answer to the question: h... | Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT COUNT(callsign) FROM table_1979203_1 WHERE branding = "Telemundo 47"
``` | 33,766 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979203_1 (callsign VARCHAR, branding VARCHAR)\n\n Question: how many callsigns are for the branding telemundo 47\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_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)
Question: what is the virtual callsign if is wnet
Here is the SQLite query to answer to the question: what is the v... | Here is the SQLite query to answer the question regarding the virtual callsign if the callsign is "WNET":
```sql
SELECT _virtual_ FROM table_1979203_1 WHERE callsign = "WNET";
``` | 33,767 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)\n\n Question: what is the virtual callsign if is wnet\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_1979203_1 (branding VARCHAR, _virtual_ VARCHAR)
Question: what is the name of the branding where the virtual is 13.1
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question:
```
SELECT branding FROM table_1979203_1 WHERE _virtual_ = "13.1"
``` | 33,768 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979203_1 (branding VARCHAR, _virtual_ VARCHAR)\n\n Question: what is the name of the branding where the virtual is 13.1\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR)
Question: Name the district for newtown square
Here is the SQLite query to answer to the question: Name the distric... | Here is the SQLite query to answer the question about naming the district for Newtown Square:
```
SELECT district FROM table_1979619_3 WHERE residence = "Newtown Square";
``` | 33,769 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979619_3 (district INTEGER, residence VARCHAR)\n\n Question: Name the district for newtown square\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_1979619_3 (party VARCHAR, residence VARCHAR)
Question: Name the party for bensalem
Here is the SQLite query to answer to the question: Name the party for bensalem:... | Here is the SQLite query to answer the question of naming the party for Bensalem:
```
SELECT party FROM table_1979619_3 WHERE residence = "Bensalem";
``` | 33,770 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979619_3 (party VARCHAR, residence VARCHAR)\n\n Question: Name the party for bensalem\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_1979619_3 (term_ends VARCHAR, residence VARCHAR)
Question: Name the term ends for bethlehem
Here is the SQLite query to answer to the question: Name the term ends ... | To name the term ends for Bethlehem instead of counting them, you should select the `term_ends` directly. Here’s the corrected SQLite query:
```
SELECT term_ends FROM table_1979619_3 WHERE residence = "Bethlehem";
``` | 33,771 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979619_3 (term_ends VARCHAR, residence VARCHAR)\n\n Question: Name the term ends for bethlehem\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_1979619_3 (district VARCHAR, representative VARCHAR)
Question: Name the total number of districts for rob teplitz
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question regarding the total number of districts for Rob Teplitz:
```
SELECT COUNT(district) FROM table_1979619_3 WHERE representative = "Rob Teplitz"
``` | 33,772 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1979619_3 (district VARCHAR, representative VARCHAR)\n\n Question: Name the total number of districts for rob teplitz\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
Question: What was the result for the contestant whose background was as a business major?
Here is the SQLite query... | Here is the SQLite query to answer the question about the result for the contestant whose background was as a business major:
```sql
SELECT result FROM table_19810459_1 WHERE background = "Business major"
``` | 33,773 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)\n\n Question: What was the result for the contestant whose background was as... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (background VARCHAR, result VARCHAR)
Question: What was the background of the contestant whose result was 11th place?
Here is the SQLite query to answer... | Your SQLite query to find the background of the contestant whose result was 11th place is correct. Here it is wrapped in code formatting:
```
SELECT background FROM table_19810459_1 WHERE result = "11th place";
``` | 33,774 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19810459_1 (background VARCHAR, result VARCHAR)\n\n Question: What was the background of the contestant whose result was 11t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (contestant VARCHAR, background VARCHAR)
Question: For how many contestants was the background internet dreamer?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question regarding how many contestants have the background "internet dreamer":
```sql
SELECT COUNT(contestant) FROM table_19810459_1 WHERE background = 'internet dreamer';
``` | 33,775 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19810459_1 (contestant VARCHAR, background VARCHAR)\n\n Question: For how many contestants was the background internet dream... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
Question: What was the result for the contestant who was a small business owner?
Here is the SQLite query to answe... | ```sql
SELECT result FROM table_19810459_1 WHERE background = "Small business owner";
``` | 33,776 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)\n\n Question: What was the result for the contestant who was a small busines... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR)
Question: What team was the contestant who finished in 10th place originally on?
Here is the SQLite query to an... | Your SQLite query looks good for retrieving the original team of the contestant who finished in 10th place. Here it is, properly formatted:
```sql
SELECT original_team FROM table_19810459_1 WHERE result = "10th place";
```
This query will select the `original_team` from the `table_19810459_1` table where the `result... | 33,777 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR)\n\n Question: What team was the contestant who finished in 10th place ori... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19810459_1 (hometown VARCHAR, background VARCHAR)
Question: What is the hometown of the contestant whose background is as a financial consultant?
Here is the SQLi... | Here is the SQLite query to answer the question about the hometown of the contestant whose background is as a financial consultant:
```
SELECT hometown FROM table_19810459_1 WHERE background = "financial consultant";
``` | 33,778 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19810459_1 (hometown VARCHAR, background VARCHAR)\n\n Question: What is the hometown of the contestant whose background is a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19805130_3 (rating VARCHAR)
Question: If the rating/share is 3.8/10, what is the total number of rating?
Here is the SQLite query to answer to the question: If the... | Based on your request and the provided schema, it seems you are trying to count the total number of ratings where the ratio of rating to a certain share condition equals 3.8/10. However, from the schema provided, there is no mention of a `SHARE` column or field; therefore, the original query would not function correctl... | 33,779 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19805130_3 (rating VARCHAR)\n\n Question: If the rating/share is 3.8/10, what is the total number of rating?\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_19805130_3 (share VARCHAR, rank__night_ VARCHAR)
Question: If the night rank is 9, what is the total share number?
Here is the SQLite query to answer to the questi... | Your SQLite query is almost correct, but if you want to calculate the total share number (assuming the "share" column contains numeric values), you should use the `SUM` function instead of `COUNT`. Here's the corrected query:
```sql
SELECT SUM(CAST(share AS INTEGER)) FROM table_19805130_3 WHERE rank__night_ = '9';
```... | 33,780 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19805130_3 (share VARCHAR, rank__night_ VARCHAR)\n\n Question: If the night rank is 9, what is the total share number?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19805130_3 (episode VARCHAR, rank__night_ VARCHAR)
Question: What is the name of the episode with a night rank of 9?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the name of the episode with a night rank of 9:
```
SELECT episode FROM table_19805130_3 WHERE rank__night_ = "9";
``` | 33,781 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19805130_3 (episode VARCHAR, rank__night_ VARCHAR)\n\n Question: What is the name of the episode with a night rank of 9?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR)
Question: If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking?
Here... | It looks like you're trying to determine the ranking based on a specific viewer count and rating/share from a database. However, the provided query has a couple of issues, such as the attempt to perform arithmetic operations directly on string values.
First, let’s ensure that we address those issues. Assuming `rating... | 33,782 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19805130_3 (rating VARCHAR, viewers__millions_ VARCHAR)\n\n Question: If the amount of viewers is 5.14 million and the ratin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR)
Question: Name the writers for swedish sailor
Here is the SQLite query to answer to the question: Name the... | Here is the SQLite query to answer the question: Name the writers for Swedish sailor:
```
SELECT writer_s_ FROM table_19852975_3 WHERE arties_disguises = "Swedish sailor";
``` | 33,783 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR)\n\n Question: Name the writers for swedish sailor\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_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)
Question: Name the season number for herr ostropolyer, pastry chef
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the season number for herr ostropolyer, pastry chef:
```
SELECT season__number FROM table_19852975_3 WHERE arties_disguises = "Herr Ostropolyer, pastry chef";
``` | 33,784 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)\n\n Question: Name the season number for herr ostropolyer, pas... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_85 (principal VARCHAR, school VARCHAR)
Question: Name the principal of Northfield Junior-Senior High School.
Here is the SQLite query to answer to the ques... | Here is the corrected SQLite query to answer the question about the principal of Northfield Junior-Senior High School:
```
SELECT principal FROM table_1984697_85 WHERE school = "Northfield Junior-Senior High School";
```
Note that I've corrected the school name to match the typical casing, but you should ensure it m... | 33,785 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1984697_85 (principal VARCHAR, school VARCHAR)\n\n Question: Name the principal of Northfield Junior-Senior High School.\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_85 (school VARCHAR, city___town VARCHAR)
Question: What is the name of the school/s in North Manchester?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the names of the schools in North Manchester:
```
SELECT school FROM table_1984697_85 WHERE city___town = 'North Manchester';
``` | 33,786 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1984697_85 (school VARCHAR, city___town VARCHAR)\n\n Question: What is the name of the school/s in North Manchester?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)
Question: Name the school/s with is size of 604.
Here is the SQLite query to answer to the question: Name the school/s wi... | Here is the SQLite query to answer the question of naming the school or schools with a size of 604:
```
SELECT school FROM table_1984697_85 WHERE size = '604'
``` | 33,787 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)\n\n Question: Name the school/s with is size of 604.\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_1984697_85 (idoe_profile VARCHAR, city___town VARCHAR)
Question: What is the IDOE Profile in North Manchester?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the IDOE Profile in North Manchester:
```
SELECT idoe_profile FROM table_1984697_85 WHERE city___town = "North Manchester"
``` | 33,788 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1984697_85 (idoe_profile VARCHAR, city___town VARCHAR)\n\n Question: What is the IDOE Profile in North Manchester?\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_1984697_85 (grades VARCHAR, school VARCHAR)
Question: What are the grades served at Manchester Junior-Senior High School?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question regarding the grades served at Manchester Junior-Senior High School:
```
SELECT grades FROM table_1984697_85 WHERE school = "Manchester Junior-Senior High School";
``` | 33,789 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1984697_85 (grades VARCHAR, school VARCHAR)\n\n Question: What are the grades served at Manchester Junior-Senior High School... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19852975_4 (series__number INTEGER, writer_s_ VARCHAR)
Question: Writer Max Ehrlich, what is the minimum series number?
Here is the SQLite query to answer to the q... | Your SQLite query to find the minimum series number for the writer Max Ehrlich is correctly formatted. Here it is, wrapped as requested:
```
SELECT MIN(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich";
``` | 33,790 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19852975_4 (series__number INTEGER, writer_s_ VARCHAR)\n\n Question: Writer Max Ehrlich, what is the minimum series number?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)
Question: From writer Denne Bart Petitclerc, what is the maximum season number?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the maximum season number for the writer Denne Bart Petitclerc:
```
SELECT MAX(season__number) FROM table_19852975_4 WHERE writer_s_ = "Denne Bart Petitclerc"
``` | 33,791 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)\n\n Question: From writer Denne Bart Petitclerc, what is the maximum ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR)
Question: From writer Max Ehrlich, what is the total amount of series numbers?
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding the total amount of series numbers from writer Max Ehrlich:
```
SELECT COUNT(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich";
``` | 33,792 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR)\n\n Question: From writer Max Ehrlich, what is the total amount of se... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, rd VARCHAR)
Question: Who is the winning driver when rd. is 3?
Here is the SQLite query to answer to the question: Who is the w... | Here is the SQLite query to answer the question regarding the winning driver when rd is 3:
```
SELECT winning_driver FROM table_19850806_3 WHERE rd = "3";
``` | 33,793 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, rd VARCHAR)\n\n Question: Who is the winning driver when rd. is 3?\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_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)
Question: How many winning drivers are there when the winning team is Bryan herta autosport?
Here is the ... | Here is the SQLite query to answer the question about how many winning drivers there are when the winning team is Bryan Herta Autosport:
```
SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport";
``` | 33,794 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)\n\n Question: How many winning drivers are there when the winning ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR)
Question: Which report is where rd. is 9?
Here is the SQLite query to answer to the question: Which report is where rd. is ... | Here is the SQLite query to answer the question:
```
SELECT report FROM table_19850806_3 WHERE rd = "9"
``` | 33,795 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19850806_3 (report VARCHAR, rd VARCHAR)\n\n Question: Which report is where rd. is 9?\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_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR)
Question: Who held the fastest lap in the race in texas and dario franchitti is the winning d... | Here is the SQLite query to answer your question:
```
SELECT fastest_lap FROM table_19850806_3 WHERE race = "Texas" AND winning_driver = "Dario Franchitti"
``` | 33,796 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR)\n\n Question: Who held the fastest lap in the race in... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR)
Question: How many Huckleberry Hound episodes were aired on 1960.09.18?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about how many Huckleberry Hound episodes were aired on 1960.09.18:
```
SELECT COUNT(huckleberry_hound) FROM table_19860361_4 WHERE air_date = "1960.09.18";
``` | 33,797 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19860361_4 (huckleberry_hound VARCHAR, air_date VARCHAR)\n\n Question: How many Huckleberry Hound episodes were aired on 196... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR)
Question: What is the Pixie and Dixie skit in episode 7?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about the Pixie and Dixie skit in episode 7:
```
SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = '7';
``` | 33,798 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR)\n\n Question: What is the Pixie and Dixie skit in episode 7?\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_19860361_3 (yogi_bear VARCHAR, air_date VARCHAR)
Question: What is the Yogi Bear that aired on 1959.12.21?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question: What is the Yogi Bear that aired on 1959.12.21?:
```
SELECT yogi_bear FROM table_19860361_3 WHERE air_date = "1959.12.21";
``` | 33,799 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19860361_3 (yogi_bear VARCHAR, air_date VARCHAR)\n\n Question: What is the Yogi Bear that aired on 1959.12.21?\n\nHere is th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.