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_160510_5 (m_r_romaja VARCHAR, region VARCHAR)
Question: Name the m r romaja for kwanbuk
Here is the SQLite query to answer to the question: Name the m r romaja for... | Here is the SQLite query formatted as requested:
```
SELECT m_r_romaja FROM table_160510_5 WHERE region = "Kwanbuk"
``` | 31,200 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR)\n\n Question: Name the m r romaja for kwanbuk\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_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR, member_state VARCHAR)
Question: Name the population density where population % is ... | Here is the SQLite query to answer the question:
```
SELECT pop_density_people_km_2 FROM table_1606824_1 WHERE population__percentage_of_eu = "1.1%" AND member_state = "Slovakia"
``` | 31,201 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR, member_state VARCHAR)\n\n Question: Name t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR)
Question: Name the population density people where population % eu for 1.7%
Here ... | Here's the SQLite query that answers the given question:
```
SELECT pop_density_people_km_2 FROM table_1606824_1 WHERE population__percentage_of_eu = "1.7%"
``` | 31,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR)\n\n Question: Name the population density ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1606824_1 (area_km_2 VARCHAR, pop_density_people_km_2 VARCHAR)
Question: Name the number of area km 2 for population density is 87
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the number of area km² for a population density of 87:
```
SELECT COUNT(area_km_2) FROM table_1606824_1 WHERE pop_density_people_km_2 = "87"
``` | 31,203 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1606824_1 (area_km_2 VARCHAR, pop_density_people_km_2 VARCHAR)\n\n Question: Name the number of area km 2 for population den... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1606824_1 (population__percentage_of_eu VARCHAR, member_state VARCHAR)
Question: Name the population % of eu for greece
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about the population percentage of the EU for Greece:
```
SELECT population__percentage_of_eu FROM table_1606824_1 WHERE member_state = "Greece"
``` | 31,204 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1606824_1 (population__percentage_of_eu VARCHAR, member_state VARCHAR)\n\n Question: Name the population % of eu for greece\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_160728_4 (network VARCHAR, channel VARCHAR)
Question: How many networks are there that have a channel number 7?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about how many networks have a channel number 7:
```
SELECT COUNT(DISTINCT network) FROM table_160728_4 WHERE channel = '7';
```
Note: In the query, I've assumed that the channel should be treated as a string since it's defined as `VARCHAR`, so I used '7' (with quotes) ... | 31,205 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_160728_4 (network VARCHAR, channel VARCHAR)\n\n Question: How many networks are there that have a channel number 7?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_160728_4 (network VARCHAR, station VARCHAR)
Question: What station on the network is tv3?
Here is the SQLite query to answer to the question: What station on the n... | Here is the SQLite query to answer the question: What station on the network is TV3?:
```sql
SELECT network FROM table_160728_4 WHERE station = "TV3";
``` | 31,206 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_160728_4 (network VARCHAR, station VARCHAR)\n\n Question: What station on the network is tv3?\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_16078390_2 (founded INTEGER, team_nickname VARCHAR)
Question: What year was the team named the Raiders established?
Here is the SQLite query to answer to the quest... | Your SQLite query to find out the year the team named the Raiders was established looks perfect. Here it is wrapped in code format:
```
SELECT MAX(founded) FROM table_16078390_2 WHERE team_nickname = "Raiders";
``` | 31,207 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16078390_2 (founded INTEGER, team_nickname VARCHAR)\n\n Question: What year was the team named the Raiders established?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16078390_2 (primary_conference VARCHAR, institution VARCHAR)
Question: What conference does Gonzaga University play in?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question: What conference does Gonzaga University play in?:
```
SELECT primary_conference FROM table_16078390_2 WHERE institution = "Gonzaga University"
``` | 31,208 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16078390_2 (primary_conference VARCHAR, institution VARCHAR)\n\n Question: What conference does Gonzaga University play in?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR)
Question: How many Universities were founded in Tacoma, Washington?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question: How many Universities were founded in Tacoma, Washington?:
```
SELECT COUNT(founded) FROM table_16078390_2 WHERE location = "Tacoma, Washington";
``` | 31,209 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR)\n\n Question: How many Universities were founded in Tacoma, Washington?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16078390_2 (institution VARCHAR, team_nickname VARCHAR)
Question: Which school's team has the nickname of the Wildcats?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question:
```
SELECT institution FROM table_16078390_2 WHERE team_nickname = 'Wildcats';
``` | 31,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16078390_2 (institution VARCHAR, team_nickname VARCHAR)\n\n Question: Which school's team has the nickname of the Wildcats?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16078390_2 (founded INTEGER, location VARCHAR)
Question: What year was the university that is located in Ellensburg, Washington established?
Here is the SQLite que... | Here is the SQLite query to answer the question about the year the university located in Ellensburg, Washington was established:
```
SELECT MIN(founded) FROM table_16078390_2 WHERE location = "Ellensburg, Washington"
``` | 31,211 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16078390_2 (founded INTEGER, location VARCHAR)\n\n Question: What year was the university that is located in Ellensburg, Was... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16078390_2 (location VARCHAR, team_nickname VARCHAR)
Question: Where is the university located that's nicknamed the Wolves?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the location of the university nicknamed the Wolves:
```
SELECT location FROM table_16078390_2 WHERE team_nickname = "Wolves";
``` | 31,212 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16078390_2 (location VARCHAR, team_nickname VARCHAR)\n\n Question: Where is the university located that's nicknamed the Wolv... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16072430_1 (viewers VARCHAR, share VARCHAR, weekly_rank VARCHAR)
Question: What is the total number of viewers where the share is 7 and the week rank is 64?
Here i... | Your query is almost correct, but to get the total number of viewers, you might want to sum the viewers instead of counting them, especially if viewers is meant to be a numeric value. If viewers are stored as a VARCHAR and represent numbers, you will need to cast them to an INTEGER before summing. Here is the corrected... | 31,213 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16072430_1 (viewers VARCHAR, share VARCHAR, weekly_rank VARCHAR)\n\n Question: What is the total number of viewers where the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16072430_1 (_number VARCHAR, share INTEGER)
Question: How many episodes have a share bigger than 7.0?
Here is the SQLite query to answer to the question: How many ... | ```sql
SELECT COUNT(_number) FROM table_16072430_1 WHERE share > 7.0;
``` | 31,214 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16072430_1 (_number VARCHAR, share INTEGER)\n\n Question: How many episodes have a share bigger than 7.0?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16072430_1 (_number VARCHAR, weekly_rank VARCHAR, timeslot VARCHAR)
Question: How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.?
Here is the ... | Here is the SQLite query to answer the question: How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.?:
```
SELECT COUNT(_number) FROM table_16072430_1 WHERE weekly_rank = "TBA" AND timeslot = "8:00 P.M."
``` | 31,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16072430_1 (_number VARCHAR, weekly_rank VARCHAR, timeslot VARCHAR)\n\n Question: How many episodes have a weekly rank tba a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16072430_1 (timeslot VARCHAR, air_date VARCHAR)
Question: What are the timeslot(s) for broadcast on February 22, 2008?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the timeslots for broadcast on February 22, 2008:
```sql
SELECT timeslot FROM table_16072430_1 WHERE air_date = "February 22, 2008";
``` | 31,216 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16072430_1 (timeslot VARCHAR, air_date VARCHAR)\n\n Question: What are the timeslot(s) for broadcast on February 22, 2008?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16072430_1 (air_date VARCHAR, weekly_rank VARCHAR)
Question: What broadcast dates have a weekly rank of 73?
Here is the SQLite query to answer to the question: Wha... | To answer the question about which broadcast dates have a weekly rank of 73, you should actually select the `air_date` instead of counting them. Here is the correct SQLite query:
```
SELECT air_date FROM table_16072430_1 WHERE weekly_rank = "73";
``` | 31,217 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16072430_1 (air_date VARCHAR, weekly_rank VARCHAR)\n\n Question: What broadcast dates have a weekly rank of 73?\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_16075179_6 (date_of_appointment VARCHAR, team VARCHAR)
Question: When was the date of appointment for St. Johnstone's manager?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question about the date of appointment for St. Johnstone's manager:
```
SELECT date_of_appointment FROM table_16075179_6 WHERE team = 'St. Johnstone';
``` | 31,218 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, team VARCHAR)\n\n Question: When was the date of appointment for St. Johnstone's ma... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16075179_6 (outgoing_manager VARCHAR, team VARCHAR)
Question: Who was the outgoing manager for Aberdeen?
Here is the SQLite query to answer to the question: Who w... | Here is the SQLite query to answer the question: Who was the outgoing manager for Aberdeen?
```
SELECT outgoing_manager FROM table_16075179_6 WHERE team = "Aberdeen"
``` | 31,219 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16075179_6 (outgoing_manager VARCHAR, team VARCHAR)\n\n Question: Who was the outgoing manager for Aberdeen? \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_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: When was the date of appointment for the manager replacing Wim Jansen?
Here is the SQ... | Here is the SQLite query to answer the question regarding the date of appointment for the manager replacing Wim Jansen:
```
SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen";
``` | 31,220 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)\n\n Question: When was the date of appointment for the ma... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16083989_1 (citrate VARCHAR, species VARCHAR)
Question: What is the result for salmonella spp. if you use citrate?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the result for "salmonella spp." with respect to citrate:
```sql
SELECT COUNT(citrate) FROM table_16083989_1 WHERE species = "Salmonella spp."
``` | 31,221 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16083989_1 (citrate VARCHAR, species VARCHAR)\n\n Question: What is the result for salmonella spp. if you use citrate?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
Question: Which species show a negative result with both voges-proskauer and indole?
Here is ... | Here is the SQLite query to answer the question about which species show a negative result with both voges-proskauer and indole:
```
SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative"
``` | 31,222 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)\n\n Question: Which species show a negative result wit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR)
Question: What are the results for testing the species with voges-proskauer when citrate yields a positive res... | Your provided SQLite query is correctly formatted to retrieve the results from the specified table where the `citrate` yields a positive result. Here is the query wrapped as requested:
```
SELECT voges_proskauer FROM table_16083989_1 WHERE citrate = "Positive"
``` | 31,223 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR)\n\n Question: What are the results for testing the species with voges-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16083989_1 (indole VARCHAR, species VARCHAR)
Question: What is the result of proteus mirabilis tested with indole?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the result of Proteus mirabilis tested with indole:
```
SELECT indole FROM table_16083989_1 WHERE species = "Proteus mirabilis"
``` | 31,224 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16083989_1 (indole VARCHAR, species VARCHAR)\n\n Question: What is the result of proteus mirabilis tested with indole?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16090262_1 (originalairdate VARCHAR, tv_broadcast VARCHAR)
Question: When was the show originally aired that had a TV broadcast of S07E04?
Here is the SQLite query... | Your SQLite query to find the original air date for the show that had a TV broadcast of "S07E04" is correct. Here it is formatted as requested:
```
SELECT originalairdate FROM table_16090262_1 WHERE tv_broadcast = "S07E04"
``` | 31,225 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16090262_1 (originalairdate VARCHAR, tv_broadcast VARCHAR)\n\n Question: When was the show originally aired that had a TV br... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16090262_1 (title VARCHAR, no_in_season VARCHAR)
Question: Which title was No. 4 in season?
Here is the SQLite query to answer to the question: Which title was No.... | The SQLite query to find the title that was No. 4 in the season is as follows:
```
SELECT title FROM table_16090262_1 WHERE no_in_season = '4'
```
Note: I've used quotes around the number `4` because `no_in_season` is defined as a VARCHAR type in the schema. | 31,226 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16090262_1 (title VARCHAR, no_in_season VARCHAR)\n\n Question: Which title was No. 4 in season?\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_16090262_1 (directed_by VARCHAR, tv_broadcast VARCHAR)
Question: Who directed the show that had a TV broadcast of S07E04?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question: Who directed the show that had a TV broadcast of S07E04?:
```
SELECT directed_by FROM table_16090262_1 WHERE tv_broadcast = "S07E04"
``` | 31,227 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16090262_1 (directed_by VARCHAR, tv_broadcast VARCHAR)\n\n Question: Who directed the show that had a TV broadcast of S07E04... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, alaska___juneau__ VARCHAR, california__san_francisco_ VARCHAR)
Question: What was the emission rat... | Here is the SQLite query to answer the question regarding the emission rating in Mid-Atlantic South for the specified vehicle ratings in Alaska and California:
```
SELECT mid_atlantic_south__washington FROM table_16105186_2 WHERE alaska___juneau__ = "90 g/mi (56 g/km)" AND california__san_francisco_ = "110 g/mi (68 g/... | 31,228 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, alaska___juneau__ VARCHAR, california__san_francisco_ VARCHAR... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, midwest__des_moines_ VARCHAR)
Question: What was the emission rating in Mid-Atlantic South for the... | Here is the SQLite query to answer the question regarding the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest:
```
SELECT mid_atlantic_south__washington, _dc_
FROM table_16105186_2
WHERE midwest__des_moines_ = "300 g/mi (186 g/km)"
``` | 31,229 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16105186_2 (mid_atlantic_south__washington VARCHAR, _dc_ VARCHAR, midwest__des_moines_ VARCHAR)\n\n Question: What was the e... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (us_national_average_electric_mix VARCHAR, midwest__des_moines_ VARCHAR)
Question: What was the US national average electric mix rating for the vehicle t... | Here is the SQLite query to answer the question regarding the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest:
```
SELECT us_national_average_electric_mix FROM table_16105186_2 WHERE midwest__des_moines_ = "280 g/mi (174 g/km)"
``` | 31,230 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16105186_2 (us_national_average_electric_mix VARCHAR, midwest__des_moines_ VARCHAR)\n\n Question: What was the US national a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, vehicle VARCHAR)
Question: How many Ford Focus electric vehicle emission test scores were recorded in California?
H... | Your provided SQLite query is almost correct for counting the Ford Focus electric vehicle emission test scores. However, you may want to specify that you are only interested in entries from California if the schema suggests there could be entries outside of California.
Assuming that all entries in `table_16105186_2` p... | 31,231 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, vehicle VARCHAR)\n\n Question: How many Ford Focus electric vehicle emission... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)
Question: What was the emission rating in California for the... | Here is the SQLite query to answer your question:
```
SELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = "80 g/mi (50 g/km)" AND southeast__atlanta_ = "250 g/mi (155 g/km)"
``` | 31,232 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)\n\n Question: What w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16119656_1 (attendance INTEGER)
Question: What was the lowest no. of attendance on record?
Here is the SQLite query to answer to the question: What was the lowest ... | Here is the SQLite query to answer the question regarding the lowest number of attendance on record:
```
SELECT MIN(attendance) FROM table_16119656_1;
``` | 31,233 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16119656_1 (attendance INTEGER)\n\n Question: What was the lowest no. of attendance on record?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16119656_1 (date VARCHAR, attendance INTEGER)
Question: When was the game played if the attendance is less than 6427.0?
Here is the SQLite query to answer to the q... | Your SQLite query to find the date of the game played with an attendance of less than 6427.0 is correctly formulated. Here it is wrapped in the requested code block:
```
SELECT date FROM table_16119656_1 WHERE attendance < 6427.0;
``` | 31,234 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16119656_1 (date VARCHAR, attendance INTEGER)\n\n Question: When was the game played if the attendance is less than 6427.0?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16119656_1 (attendance VARCHAR, date VARCHAR)
Question: How many were in attendance during the game on January 9, 1988?
Here is the SQLite query to answer to the q... | To determine the number of attendees during the game on January 9, 1988, you'll want to count the number of records where the date matches that specific date. Here is the appropriate SQLite query:
```sql
SELECT COUNT(attendance) FROM table_16119656_1 WHERE date = "January 9, 1988";
``` | 31,235 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16119656_1 (attendance VARCHAR, date VARCHAR)\n\n Question: How many were in attendance during the game on January 9, 1988?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610301_1 (headquarters VARCHAR, code VARCHAR)
Question: Where is the headquarters of the place whose abbreviation is hy?
Here is the SQLite query to answer to the... | Certainly! Here is the SQLite query wrapped as requested:
```
SELECT headquarters FROM table_1610301_1 WHERE code = "HY";
``` | 31,236 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610301_1 (headquarters VARCHAR, code VARCHAR)\n\n Question: Where is the headquarters of the place whose abbreviation is hy... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610301_1 (headquarters VARCHAR, population__2011_ VARCHAR)
Question: Where is the headquarters of the place whose population in 2011 was 3811738?
Here is the SQLi... | Here is the SQLite query to answer the question:
```
SELECT headquarters FROM table_1610301_1 WHERE population__2011_ = '3811738'
```
Note: The population is stored as a VARCHAR, so the value should be enclosed in quotes. | 31,237 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610301_1 (headquarters VARCHAR, population__2011_ VARCHAR)\n\n Question: Where is the headquarters of the place whose popul... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610301_1 (population__2011_ INTEGER, district VARCHAR)
Question: What was the minimum population in 2011 of the district of Prakasam?
Here is the SQLite query to ... | Here is the SQLite query to find the minimum population in 2011 of the district of Prakasam:
```
SELECT MIN(population__2011_) FROM table_1610301_1 WHERE district = 'Prakasam';
``` | 31,238 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610301_1 (population__2011_ INTEGER, district VARCHAR)\n\n Question: What was the minimum population in 2011 of the distric... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610301_1 (code VARCHAR, district VARCHAR)
Question: What is the abbreviation of the district of Mahbubnagar?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to find the abbreviation of the district of Mahbubnagar:
```
SELECT code FROM table_1610301_1 WHERE district = 'Mahbubnagar';
``` | 31,239 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610301_1 (code VARCHAR, district VARCHAR)\n\n Question: What is the abbreviation of the district of Mahbubnagar?\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_1610301_1 (population__2011_ VARCHAR, district VARCHAR)
Question: What is the 2011 population of the district of East Godavari?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question about the 2011 population of the district of East Godavari:
```
SELECT population__2011_ FROM table_1610301_1 WHERE district = "East Godavari"
``` | 31,240 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610301_1 (population__2011_ VARCHAR, district VARCHAR)\n\n Question: What is the 2011 population of the district of East Go... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR)
Question: What is the adjusted GDP when the nominal GDP per capita is 2874?
Here ... | Your query is almost correct, but when comparing a column with a numeric value, you should remove the quotes around the numeric value in the SQL statement for proper data type matching. Additionally, it's important to ensure that the value in the `gdp_per_capita_nominal__$_` column is stored in the correct numeric form... | 31,241 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR)\n\n Question: What is the adjusted GDP whe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR)
Question: What is the adjusted GDP per capita when the population is 37.376 million?
... | Here is the SQLite query to answer the question regarding the adjusted GDP per capita when the population is 37.376 million:
```
SELECT gdp_per_capita_adjusted__$_ FROM table_1610496_3 WHERE population__millions_ = '37.376';
``` | 31,242 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610496_3 (gdp_per_capita_adjusted__$_ VARCHAR, population__millions_ VARCHAR)\n\n Question: What is the adjusted GDP per ca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR)
Question: What is the nominal GDP per capita when the population is 63.056 million?
Her... | Here is the SQLite query to answer the question regarding the nominal GDP per capita when the population is 63.056 million:
```
SELECT gdp_per_capita_nominal__ FROM table_1610496_3 WHERE population__millions_ = "63.056"
``` | 31,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610496_3 (gdp_per_capita_nominal__ INTEGER, population__millions_ VARCHAR)\n\n Question: What is the nominal GDP per capita... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR)
Question: What is the adjusted GDP when the population is 5.141 million?
Here is the S... | Here is the SQLite query to answer the question regarding the adjusted GDP when the population is 5.141 million:
```
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE population__millions_ = "5.141"
``` | 31,244 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, population__millions_ VARCHAR)\n\n Question: What is the adjusted GDP when the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610496_3 (population__millions_ VARCHAR, gdp_adjusted__$_billions_ VARCHAR)
Question: What is the population in millions when the adjusted GDP is 492 billion?
Her... | Here is the SQLite query to answer the question about the population in millions when the adjusted GDP is 492 billion:
```
SELECT population__millions_ FROM table_1610496_3 WHERE gdp_adjusted__$_billions_ = "492"
``` | 31,245 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610496_3 (population__millions_ VARCHAR, gdp_adjusted__$_billions_ VARCHAR)\n\n Question: What is the population in million... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR)
Question: What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?
Here... | Here is the SQLite query to answer the question about the adjusted GDP when the nominal GDP is 8.43 (in billions):
```
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_nominal__$_billions_ = "8.43"
``` | 31,246 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_nominal__$_billions_ VARCHAR)\n\n Question: What is the adjusted GDP when ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_161591_2 (operating_profit__s$m_ VARCHAR, expenditure__s$m_ VARCHAR)
Question: What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?
... | Here is the SQLite query to retrieve the operating profit associated with an expenditure of 12,127.8:
```
SELECT operating_profit__s$m_ FROM table_161591_2 WHERE expenditure__s$m_ = "12,127.8"
``` | 31,247 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_161591_2 (operating_profit__s$m_ VARCHAR, expenditure__s$m_ VARCHAR)\n\n Question: What was the opearint profit (s$m) associ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_161591_2 (expenditure__s$m_ VARCHAR, operating_profit__s$m_ VARCHAR)
Question: What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?
H... | Here is the SQLite query to answer the question about the expenditure associated with an operating profit of 717.1:
```
SELECT expenditure__s$m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.1"
``` | 31,248 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_161591_2 (expenditure__s$m_ VARCHAR, operating_profit__s$m_ VARCHAR)\n\n Question: What was the expenditure (s$m) associated... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_161591_2 (profit_before_taxation__s VARCHAR, operating_profit__s$m_ VARCHAR)
Question: How many years was the operating profit (s$m) 717.1?
Here is the SQLite quer... | Your provided SQLite query has a slight issue regarding the column being counted. Instead of counting `profit_before_taxation__s`, you should count the number of occurrences of the rows that match the criterion for `operating_profit__s$m_`. Here's the corrected version of the query:
```sql
SELECT COUNT(*) AS years FRO... | 31,249 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_161591_2 (profit_before_taxation__s VARCHAR, operating_profit__s$m_ VARCHAR)\n\n Question: How many years was the operating ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
Question: Name the simplified characters for wade giles is ch'ing-yüan … i-ma
Here is the SQLite que... | Here is the SQLite query to answer the question about naming the simplified characters for Wade-Giles "ch'ing-yüan … i-ma":
```
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "ch'ing-yüan … i-ma"
``` | 31,250 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)\n\n Question: Name the simplified characters for wade giles i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR)
Question: Name the pinyin for 657 date
Here is the SQLite query to answer to the question: Name the pinyin for 657 d... | Here is the SQLite query to answer the question: Name the pinyin for 657 date:
```
SELECT pinyin FROM table_16162581_1 WHERE date__ce_ = "657";
``` | 31,251 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR)\n\n Question: Name the pinyin for 657 date\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16162581_1 (text VARCHAR, simplified_characters VARCHAR)
Question: Name the text for 心猿意马
Here is the SQLite query to answer to the question: Name the text for 心猿意... | Here is the SQLite query to answer the question "Name the text for 心猿意马":
```
SELECT text FROM table_16162581_1 WHERE simplified_characters = "心猿意马";
``` | 31,252 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16162581_1 (text VARCHAR, simplified_characters VARCHAR)\n\n Question: Name the text for 心猿意马\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_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)
Question: Name the simplified charaacters being hsin-yüan … i-ma
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question about the simplified characters corresponding to "hsin-yüan … i-ma":
```sql
SELECT simplified_characters FROM table_16162581_1 WHERE wade_giles = "hsin-yüan … i-ma";
``` | 31,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16162581_1 (simplified_characters VARCHAR, wade_giles VARCHAR)\n\n Question: Name the simplified charaacters being hsin-yüan... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR)
Question: Name the total number of pinyin for hsin-yüan-i-ma
Here is the SQLite query to answer to the question: Na... | Here is the SQLite query to answer the question about the total number of pinyin for "hsin-yüan-i-ma":
```
SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = "hsin-yüan-i-ma";
``` | 31,254 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16162581_1 (pinyin VARCHAR, wade_giles VARCHAR)\n\n Question: Name the total number of pinyin for hsin-yüan-i-ma\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_16162581_1 (date__ce_ VARCHAR, pinyin VARCHAR)
Question: Name the date for qíngyuán … yìmǎ
Here is the SQLite query to answer to the question: Name the date for qí... | Here is the SQLite query to answer the question regarding the date for "qíngyuán … yìmǎ":
```
SELECT date__ce_ FROM table_16162581_1 WHERE pinyin = "qíngyuán … yìmǎ";
``` | 31,255 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16162581_1 (date__ce_ VARCHAR, pinyin VARCHAR)\n\n Question: Name the date for qíngyuán … yìmǎ\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_1612760_1 (line VARCHAR, service_pattern VARCHAR)
Question: Which line offers Fast to Norwood Junction?
Here is the SQLite query to answer to the question: Which l... | Here is the SQLite query to answer the question regarding which line offers Fast to Norwood Junction:
```
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction";
``` | 31,256 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)\n\n Question: Which line offers Fast to Norwood Junction?\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_1612760_1 (operator VARCHAR, destination VARCHAR)
Question: Who is the operator to Highbury & Islington?
Here is the SQLite query to answer to the question: Who is... | Here is the SQLite query to answer the question: Who is the operator to Highbury & Islington?:
```
SELECT operator FROM table_1612760_1 WHERE destination = "Highbury & Islington";
``` | 31,257 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)\n\n Question: Who is the operator to Highbury & Islington?\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_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)
Question: How many frequency figures are given for next station service pattern?
Here is the SQLi... | Your query looks good, but please note that the column name in the COUNT function should match the exact name defined in your schema. Since the column name is `frequency__per_hour_`, it should be enclosed in backticks if you want to avoid any potential conflicts with SQLite reserved keywords, although in this case, it'... | 31,258 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)\n\n Question: How many frequency figures are given for nex... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)
Question: Who is the operator to destination Dalston Junction?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question: Who is the operator to destination Dalston Junction?:
```
SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction";
``` | 31,259 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)\n\n Question: Who is the operator to destination Dalston Junction?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)
Question: How many tournament wins were at Volvo Masters Andalucia?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the number of tournament wins at Volvo Masters Andalucia:
```
SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = 'Volvo Masters Andalucia';
``` | 31,260 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1615980_4 (no VARCHAR, tournament VARCHAR)\n\n Question: How many tournament wins were at Volvo Masters Andalucia?\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_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)
Question: Who was the runner up at the Volvo Masters Andalucia?
Here is the SQLite query to answer to the ques... | Your SQLite query to retrieve the runner-up at the Volvo Masters Andalucia is correctly written. Here it is wrapped as you requested:
```
SELECT runner_s__up FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia";
``` | 31,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1615980_4 (runner_s__up VARCHAR, tournament VARCHAR)\n\n Question: Who was the runner up at the Volvo Masters Andalucia?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR)
Question: In what tournament was the winning score 68-67-65-66=266?
Here is the SQLite query to answer to the... | It looks like there's a small mistake in your SQL query. In SQL, we can't use the `=` operator in the middle of an expression like that. Instead, we should simply use the string representation of the winning score. Here’s the correct query:
```sql
SELECT tournament FROM table_1615980_4 WHERE winning_score = '68-67-65-... | 31,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR)\n\n Question: In what tournament was the winning score 68-67-65-66=266... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)
Question: Name the joined for blue hose
Here is the SQLite query to answer to the question: Name the joined for blue ... | Here is the SQLite query to answer the question: Name the joined for blue hose:
```
SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose";
``` | 31,263 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)\n\n Question: Name the joined for blue hose\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)
Question: Name the maximum founded for blue hose
Here is the SQLite query to answer to the question: Name the maximu... | Here is the SQLite query to answer the question "Name the maximum founded for blue hose":
```
SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose";
``` | 31,264 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)\n\n Question: Name the maximum founded for blue hose\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_16168849_1 (enrollment INTEGER, institution VARCHAR)
Question: Name the maximum enrollment for st. andrews university
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the maximum enrollment for St. Andrews University:
```sql
SELECT MAX(enrollment) FROM table_16168849_1 WHERE institution = "St. Andrews University";
``` | 31,265 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16168849_1 (enrollment INTEGER, institution VARCHAR)\n\n Question: Name the maximum enrollment for st. andrews university\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (current_conference VARCHAR, left VARCHAR)
Question: Name the current conference for 1974, 1989
Here is the SQLite query to answer to the question: Name... | The SQL query you provided does not seem to accurately reflect the intended question, as it is looking for rows where the `left` column equals the string "1974, 1989". This is not typically how you are likely to find a conference associated with the years you provided.
Assuming that the `left` column contains years an... | 31,266 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16168849_1 (current_conference VARCHAR, left VARCHAR)\n\n Question: Name the current conference for 1974, 1989\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_16175064_3 (series__number VARCHAR, writer_s_ VARCHAR)
Question: What is the total number of episodes where alexa wyatt is the writer?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the total number of episodes where Alexa Wyatt is the writer:
```
SELECT COUNT(series__number) FROM table_16175064_3 WHERE writer_s_ = "Alexa Wyatt"
``` | 31,267 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175064_3 (series__number VARCHAR, writer_s_ VARCHAR)\n\n Question: What is the total number of episodes where alexa wyatt ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175064_3 (director_s_ VARCHAR, writer_s_ VARCHAR)
Question: Who is the director when Chris Hawkshaw is the writer?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Who is the director when Chris Hawkshaw is the writer?:
```
SELECT director_s_ FROM table_16175064_3 WHERE writer_s_ = "Chris Hawkshaw"
``` | 31,268 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175064_3 (director_s_ VARCHAR, writer_s_ VARCHAR)\n\n Question: Who is the director when Chris Hawkshaw is the writer?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175064_3 (season__number VARCHAR, director_s_ VARCHAR, series__number VARCHAR)
Question: What is the season number of the episode directed by Donald Crombie and t... | Here is the SQLite query to answer the question about the season number of the episode directed by Donald Crombie and the series number is 40:
```
SELECT season__number FROM table_16175064_3 WHERE director_s_ = "Donald Crombie" AND series__number = "40"
``` | 31,269 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175064_3 (season__number VARCHAR, director_s_ VARCHAR, series__number VARCHAR)\n\n Question: What is the season number of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)
Question: What is the released date for Super Mario 64 DS?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the released date for Super Mario 64 DS:
```sql
SELECT released_date FROM table_1616608_2 WHERE western_title = "Super Mario 64 DS";
``` | 31,270 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)\n\n Question: What is the released date for Super Mario 64 DS?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1616608_2 (game_modes VARCHAR, released_date VARCHAR)
Question: What are the game modes for the game released in 2007?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about the game modes for the game released in 2007:
```
SELECT game_modes FROM table_1616608_2 WHERE released_date = "2007";
``` | 31,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1616608_2 (game_modes VARCHAR, released_date VARCHAR)\n\n Question: What are the game modes for the game released in 2007?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1616608_2 (western_title VARCHAR, chinese_title VARCHAR)
Question: How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?
Here is the SQLit... | To find out how many games share their western title with the Chinese title of "摸摸耀西-云中漫步", you would first need to select the Chinese title, then count how many games have a matching western title. The SQL query should be structured to look for matches based on the retrieved Chinese title. Here’s how the query should ... | 31,272 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1616608_2 (western_title VARCHAR, chinese_title VARCHAR)\n\n Question: How many games share their western title with the Chi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)
Question: What was the released date of Polarium?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question regarding the released date of Polarium:
```
SELECT released_date FROM table_1616608_2 WHERE western_title = "Polarium"
``` | 31,273 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1616608_2 (released_date VARCHAR, western_title VARCHAR)\n\n Question: What was the released date of Polarium?\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_1616608_2 (game_modes VARCHAR, pinyin VARCHAR)
Question: What game modes are there when the pinyin is zhígǎn yī bǐ ?
Here is the SQLite query to answer to the ques... | Here is the correct SQLite query to answer the question regarding the game modes when the pinyin is "zhígǎn yī bǐ":
```
SELECT game_modes FROM table_1616608_2 WHERE pinyin = "zhígǎn yī bǐ";
``` | 31,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1616608_2 (game_modes VARCHAR, pinyin VARCHAR)\n\n Question: What game modes are there when the pinyin is zhígǎn yī bǐ ?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)
Question: What is the status of donor payment in the country where there ... | Here is the SQLite query to answer the question regarding the status of donor payment in the specified conditions:
```sql
SELECT donor_payment
FROM table_16175217_1
WHERE children_per_donor = '6' AND allowed_recipients = 'no data';
``` | 31,275 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)\n\n Question: What is the status ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR)
Question: What are donor payments in the country where there are 12 children to 6 families (2 per fam... | Here is the SQLite query to answer the question regarding donor payments in the specified context:
```
SELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = "12 children to 6 families (2 per family)"
``` | 31,276 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR)\n\n Question: What are donor payments in the country where th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, country VARCHAR)
Question: What is the donor payment in Belgium?
Here is the SQLite query to answer to the question: What is the... | Here is the SQLite query to find the donor payment in Belgium:
```
SELECT donor_payment FROM table_16175217_1 WHERE country = "Belgium";
``` | 31,277 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, country VARCHAR)\n\n Question: What is the donor payment in Belgium?\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_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)
Question: What is the country where there are 8 children per donor and no data for d... | Your SQLite query is almost correct, but it should account for the possibility that the 'donor_payment' field might have a NULL value or an empty string. To ensure it captures these cases correctly, the query should check for both conditions. Here’s an improved version:
```sql
SELECT country
FROM table_16175217_1
WH... | 31,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)\n\n Question: What is the country where ther... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)
Question: What are the children per donor in the country where the allowed recipients are marrie... | Here is the SQLite query to answer the question regarding the children per donor in the country where the allowed recipients are married or in cohabitation:
```
SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = 'Married or in cohabitation';
``` | 31,279 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)\n\n Question: What are the children per donor in the cou... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)
Question: List the possible children per donor levels for countries where the allowed recipients... | Here is the SQLite query to answer the question:
```
SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "no data"
``` | 31,280 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)\n\n Question: List the possible children per donor level... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_neutral_site VARCHAR)
Question: Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?
Here is the... | ```sql
SELECT missouri_vs FROM table_16201038_4 WHERE at_neutral_site = "MU, 2-1";
``` | 31,281 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_neutral_site VARCHAR)\n\n Question: Against which team does Missouri Tigers have a recor... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)
Question: Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's ve... | The query you provided is close, but it seems to misunderstand the structure of the desired query. Given the context, we need to find a specific opponent based on the condition that Missouri Tigers have a record of "4-1" at the opponent's venue.
Here's an updated version of the SQLite query that properly reflects thi... | 31,282 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_opponents_venue VARCHAR)\n\n Question: Which is the team against which Missouri Tigers h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)
Question: How many times did the team achieve an overrall record of mu, 21-19?
Here is the SQLite quer... | Here is the SQLite query to answer the question of how many times the team achieved an overall record of "MU, 21-19":
```
SELECT COUNT(*) FROM table_16201038_4 WHERE overall_record = "MU, 21-19";
``` | 31,283 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)\n\n Question: How many times did the team achieve an overrall r... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_4 (at_neutral_site VARCHAR, overall_record VARCHAR)
Question: What is the record at the neutral site for when the overall record is ui, 27-16?
Here is the... | Here is the SQLite query to answer the question regarding the record at the neutral site for the overall record "UI, 27-16":
```
SELECT at_neutral_site FROM table_16201038_4 WHERE overall_record = "UI, 27-16";
``` | 31,284 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_4 (at_neutral_site VARCHAR, overall_record VARCHAR)\n\n Question: What is the record at the neutral site for when t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_4 (at_opponents_venue VARCHAR, last_5_meetings VARCHAR, at_neutral_site VARCHAR)
Question: What is the record at the opponent's venue against the team for ... | Here is the SQLite query that addresses your question:
```
SELECT at_opponents_venue FROM table_16201038_4 WHERE last_5_meetings = "MU, 4-1" AND at_neutral_site = "Tied, 0-0"
``` | 31,285 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_4 (at_opponents_venue VARCHAR, last_5_meetings VARCHAR, at_neutral_site VARCHAR)\n\n Question: What is the record a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1618358_1 (stamp_duty_reserve_tax VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)
Question: What is the stamp duty reserve tax when the percentage over to... | Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT stamp_duty_reserve_tax FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.79"
``` | 31,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1618358_1 (stamp_duty_reserve_tax VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)\n\n Question: What is the stamp ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, standard_stamp_duty VARCHAR)
Question: When the standard stamp duty is 367 what is the percentage over gdp?
Here is t... | Here is the SQLite query to answer the question:
```
SELECT over_gdp__in__percentage_ FROM table_1618358_1 WHERE standard_stamp_duty = '367'
``` | 31,287 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, standard_stamp_duty VARCHAR)\n\n Question: When the standard stamp duty is 367... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR)
Question: When the stamp duty reserve tax is 3,669 what is the percentage over gdp?
H... | Here is the SQLite query to answer the question regarding the percentage over GDP when the stamp duty reserve tax is 3,669:
```
SELECT over_gdp__in__percentage_ FROM table_1618358_1 WHERE stamp_duty_reserve_tax = "3,669"
``` | 31,288 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1618358_1 (over_gdp__in__percentage_ VARCHAR, stamp_duty_reserve_tax VARCHAR)\n\n Question: When the stamp duty reserve tax ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1618358_1 (year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)
Question: During what years are the percentage over total tax revenue is 0.65?
Here is th... | Your SQLite query looks mostly correct for retrieving years with a total tax revenue percentage of 0.65. However, it's important to ensure that the comparison value matches the data type in the database. Given that the `over_total_tax_revenue__in__percentage_` column is defined as a `VARCHAR`, it's a good idea to use s... | 31,289 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1618358_1 (year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)\n\n Question: During what years are the percentage... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_3 (at_opponents_venue VARCHAR, missouri_vs VARCHAR)
Question: Name the total number of opponets venue for oklahoma
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the total number of opponents' venues for Oklahoma:
```sql
SELECT COUNT(at_opponents_venue) AS total_opponents_venue FROM table_16201038_3 WHERE missouri_vs = 'Oklahoma';
``` | 31,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_3 (at_opponents_venue VARCHAR, missouri_vs VARCHAR)\n\n Question: Name the total number of opponets venue for oklah... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_3 (last_5_meetings VARCHAR, missouri_vs VARCHAR)
Question: Name the total number of last 5 meetings for texas tech
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the total number of last 5 meetings for Texas Tech:
```
SELECT COUNT(last_5_meetings) FROM table_16201038_3 WHERE missouri_vs = 'Texas Tech';
``` | 31,291 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_3 (last_5_meetings VARCHAR, missouri_vs VARCHAR)\n\n Question: Name the total number of last 5 meetings for texas t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)
Question: Name the total number of series sorted for when released is april 2010
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = "April 2010"
``` | 31,292 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)\n\n Question: Name the total number of series sorted for when released i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (author VARCHAR, series_sorted VARCHAR)
Question: Name the author for 6y/ae
Here is the SQLite query to answer to the question: Name the author for 6y/ae... | Here is the SQLite query to answer the question about the author for "6y/ae":
```sql
SELECT author FROM table_1620397_2 WHERE series_sorted = "6y/ae";
``` | 31,293 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1620397_2 (author VARCHAR, series_sorted VARCHAR)\n\n Question: Name the author for 6y/ae\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (author VARCHAR, featuring VARCHAR, released VARCHAR)
Question: Name the author for peri and april 2010
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question of naming the author for "Peri" and "April 2010":
```
SELECT author FROM table_1620397_2 WHERE featuring = "Peri" AND released = "April 2010";
``` | 31,294 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1620397_2 (author VARCHAR, featuring VARCHAR, released VARCHAR)\n\n Question: Name the author for peri and april 2010\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (released VARCHAR, author VARCHAR)
Question: Name the released for pat mills
Here is the SQLite query to answer to the question: Name the released for pa... | Here is the SQLite query to answer the question "Name the released for Pat Mills":
```
SELECT released FROM table_1620397_2 WHERE author = "Pat Mills";
``` | 31,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1620397_2 (released VARCHAR, author VARCHAR)\n\n Question: Name the released for pat mills\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (featuring VARCHAR, author VARCHAR)
Question: Name the featuring for pat mills
Here is the SQLite query to answer to the question: Name the featuring for... | Here's the SQLite query to answer the question about the featuring for Pat Mills, wrapped in code format:
```
SELECT featuring FROM table_1620397_2 WHERE author = "Pat Mills";
``` | 31,296 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1620397_2 (featuring VARCHAR, author VARCHAR)\n\n Question: Name the featuring for pat mills\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_16201038_5 (last_5_meetings VARCHAR, overall_record VARCHAR)
Question: What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?
Here is th... | Your provided SQLite query is correct for retrieving the outcomes of the last 5 meetings where the overall record is "UM, 2-1". Here it is wrapped in the requested format:
```
SELECT last_5_meetings FROM table_16201038_5 WHERE overall_record = "UM, 2-1"
```
This query will return the `last_5_meetings` for the specif... | 31,297 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_5 (last_5_meetings VARCHAR, overall_record VARCHAR)\n\n Question: What are the outcomes of the last 5 meetings wher... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR)
Question: What is the record of wins/losses that were played at opponents venue (uf, 1-0)
Here is t... | Here is the SQLite query to answer the question about the record of wins/losses that were played at opponents' venue (uf, 1-0):
```
SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue = "UF, 1-0"
``` | 31,298 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR)\n\n Question: What is the record of wins/losses that were pl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16201038_5 (missouri_vs VARCHAR, overall_record VARCHAR)
Question: Who are the opponents of Missouri that have an overall record of MU, 3-1?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the opponents of Missouri with an overall record of "MU, 3-1":
```
SELECT missouri_vs FROM table_16201038_5 WHERE overall_record = "MU, 3-1";
``` | 31,299 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_16201038_5 (missouri_vs VARCHAR, overall_record VARCHAR)\n\n Question: Who are the opponents of Missouri that have an overal... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.