instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | response stringlengths 7 2.05k | __original_row_idx int64 0 50k | conversations listlengths 2 2 |
|---|---|---|---|---|
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (final_round VARCHAR, year VARCHAR)
Question: In 1975, what was the final round?
Here is the SQLite query to answer to the question: In 1975, what was the f... | Here is the SQLite query to answer the question: In 1975, what was the final round?:
```
SELECT final_round FROM table_name_1 WHERE year = "1975"
``` | 41,500 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (final_round VARCHAR, year VARCHAR)\n\n Question: In 1975, what was the final round?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (event_place VARCHAR, time VARCHAR)
Question: Where did someone run a 61:32
Here is the SQLite query to answer to the question: Where did someone run a 61:... | Here is the SQLite query to answer the question about where someone ran a 61:32:
```sql
SELECT event_place FROM table_name_61 WHERE time = "61:32";
``` | 41,501 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (event_place VARCHAR, time VARCHAR)\n\n Question: Where did someone run a 61:32\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (time VARCHAR, name VARCHAR)
Question: What was Derek Graham's time?
Here is the SQLite query to answer to the question: What was Derek Graham's time?:
```... | Your SQLite query looks good, but make sure to match the case in the name correctly, as SQLite is case-sensitive by default for string comparisons. Depending on the data in the table, you may want to adjust for case sensitivity. Here’s the query wrapped as requested:
```
SELECT time FROM table_name_95 WHERE name = "De... | 41,502 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (time VARCHAR, name VARCHAR)\n\n Question: What was Derek Graham's time?\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (event_place VARCHAR, time VARCHAR)
Question: Where did someone run a 58:33?
Here is the SQLite query to answer to the question: Where did someone run a 58... | Here is the SQLite query to answer the question "Where did someone run a 58:33?":
```
SELECT event_place FROM table_name_25 WHERE time = "58:33";
``` | 41,503 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (event_place VARCHAR, time VARCHAR)\n\n Question: Where did someone run a 58:33?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)
Question: Tell me the player for pick number less than 29 and mls team of chicago fire
Here is the... | Your SQLite query is almost correct, but you need to ensure that the `pick__number` is treated as a numeric value since it is defined as a VARCHAR in the schema. To compare it correctly, you can cast it to an integer. Here is the revised query:
```sql
SELECT player FROM table_name_97 WHERE CAST(pick__number AS INTEGER... | 41,504 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)\n\n Question: Tell me the player for pick number less than ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (opponents VARCHAR, partner VARCHAR)
Question: Tell me the opponents for partner of yvonne meusburger
Here is the SQLite query to answer to the question: T... | Here is the SQLite query correctly wrapped in code blocks:
```
SELECT opponents FROM table_name_21 WHERE partner = "yvonne meusburger"
``` | 41,505 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (opponents VARCHAR, partner VARCHAR)\n\n Question: Tell me the opponents for partner of yvonne meusburger\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR)
Question: Tell me the date for opponents of raffaella bindi biljana pawlowa-dimitrova
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the date for opponents of Raffaella Bindi Biljana Pawlowa-Dimitrova:
```
SELECT date FROM table_name_46 WHERE opponents = "raffaella bindi biljana pawlowa-dimitrova"
``` | 41,506 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR)\n\n Question: Tell me the date for opponents of raffaella bindi biljana pawlowa-di... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (time INTEGER, heat_rank VARCHAR, lane VARCHAR)
Question: Tell me the highest time for heat rank of 8 and lane more than 2
Here is the SQLite query to answ... | Here is the SQLite query to answer the question you provided:
```
SELECT MAX(time) FROM table_name_48 WHERE heat_rank = '8' AND lane > '2'
``` | 41,507 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (time INTEGER, heat_rank VARCHAR, lane VARCHAR)\n\n Question: Tell me the highest time for heat rank of 8 and lane m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (time INTEGER, swimmer VARCHAR, lane VARCHAR)
Question: Tell me the least time for apostolos tsagkarakis for lane less than 6
Here is the SQLite query to a... | Here is the SQLite query to answer the question about the least time for Apostolos Tsagkarakis for lanes less than 6:
```sql
SELECT MIN(time) FROM table_name_63 WHERE swimmer = "apostolos tsagkarakis" AND lane < 6;
``` | 41,508 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (time INTEGER, swimmer VARCHAR, lane VARCHAR)\n\n Question: Tell me the least time for apostolos tsagkarakis for lan... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (method VARCHAR, event VARCHAR)
Question: Tell me the method for pride 33
Here is the SQLite query to answer to the question: Tell me the method for pride ... | Here is the SQLite query to answer the question: Tell me the method for pride 33:
```
SELECT method FROM table_name_28 WHERE event = "pride 33";
``` | 41,509 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (method VARCHAR, event VARCHAR)\n\n Question: Tell me the method for pride 33\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (round INTEGER, event VARCHAR)
Question: Tell me the lowest round for total combat 15
Here is the SQLite query to answer to the question: Tell me the lowes... | Your SQLite query is correct. Here it is wrapped in the code block as requested:
```
SELECT MIN(round) FROM table_name_97 WHERE event = "total combat 15"
``` | 41,510 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (round INTEGER, event VARCHAR)\n\n Question: Tell me the lowest round for total combat 15\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_name_34 (week VARCHAR, opponent VARCHAR)
Question: Tell me the week for pittsburgh steelers opponent
Here is the SQLite query to answer to the question: Tell me th... | Here is the SQLite query to answer the question: Tell me the week for pittsburgh steelers opponent:
```
SELECT week FROM table_name_34 WHERE opponent = "pittsburgh steelers";
``` | 41,511 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (week VARCHAR, opponent VARCHAR)\n\n Question: Tell me the week for pittsburgh steelers opponent\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (week VARCHAR, record VARCHAR)
Question: Tell me the week for record of 0-1
Here is the SQLite query to answer to the question: Tell me the week for record... | Here is the SQLite query to answer the question: Tell me the week for record of 0-1:
```
SELECT week FROM table_name_19 WHERE record = '0-1';
``` | 41,512 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (week VARCHAR, record VARCHAR)\n\n Question: Tell me the week for record of 0-1\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR)
Question: Tell me the time for buffalo bills
Here is the SQLite query to answer to the question: Tell me the time for buffa... | Here is the SQLite query to answer the question: Tell me the time for buffalo bills:
```sql
SELECT time FROM table_name_9 WHERE opponent = "buffalo bills";
``` | 41,513 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR)\n\n Question: Tell me the time for buffalo bills\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (record VARCHAR, week VARCHAR)
Question: Tell me thee record for week of hf
Here is the SQLite query to answer to the question: Tell me thee record for wee... | Here is the SQLite query to answer the question: Tell me the record for the week of "hf":
```
SELECT record FROM table_name_87 WHERE week = 'hf';
``` | 41,514 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (record VARCHAR, week VARCHAR)\n\n Question: Tell me thee record for week of hf\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (game_site VARCHAR, week VARCHAR)
Question: Tell me the game site for week of 1
Here is the SQLite query to answer to the question: Tell me the game site f... | Your SQLite query looks correct. Here it is wrapped properly as requested:
```
SELECT game_site FROM table_name_98 WHERE week = "1";
``` | 41,515 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (game_site VARCHAR, week VARCHAR)\n\n Question: Tell me the game site for week of 1\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR)
Question: What was the result of the 1990 world cup qualifying competition?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the result of the 1990 world cup qualifying competition:
```
SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying";
``` | 41,516 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR)\n\n Question: What was the result of the 1990 world cup qualifying competition... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score VARCHAR, venue VARCHAR)
Question: What was the Score of the match in Torrance, California?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question regarding the Score of the match in Torrance, California:
```
SELECT score FROM table_name_92 WHERE venue = "Torrance, California";
``` | 41,517 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (score VARCHAR, venue VARCHAR)\n\n Question: What was the Score of the match in Torrance, California?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR)
Question: Tell me the score for international friendly 17 august 2013
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the score for international friendly on 17 August 2013:
```
SELECT score FROM table_name_70 WHERE type = "international friendly" AND date = "17 august 2013"
``` | 41,518 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR)\n\n Question: Tell me the score for international friendly 17 august 201... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (position VARCHAR, mls_team VARCHAR)
Question: What position did the MLS team metrostars pick?
Here is the SQLite query to answer to the question: What pos... | Here is the SQLite query to answer the question about the position that the MLS team Metrostars picked:
```
SELECT position FROM table_name_84 WHERE mls_team = "metrostars"
``` | 41,519 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (position VARCHAR, mls_team VARCHAR)\n\n Question: What position did the MLS team metrostars pick?\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_name_97 (mls_team VARCHAR, affiliation VARCHAR)
Question: What MLS team is affiliated with yale university?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about which MLS team is affiliated with Yale University:
```
SELECT mls_team FROM table_name_97 WHERE affiliation = "yale university"
``` | 41,520 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (mls_team VARCHAR, affiliation VARCHAR)\n\n Question: What MLS team is affiliated with yale university?\n\nHere is t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER)
Question: What affiliations have Pick #s under 32?
Here is the SQLite query to answer to the question: What aff... | Here is the SQLite query to answer the question about which affiliations have Pick #s under 32:
```sql
SELECT affiliation FROM table_name_28 WHERE pick__number < 32;
``` | 41,521 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (affiliation VARCHAR, pick__number INTEGER)\n\n Question: What affiliations have Pick #s under 32?\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_name_2 (player VARCHAR, position VARCHAR)
Question: What players have a position of F?
Here is the SQLite query to answer to the question: What players have a posi... | Here is the SQLite query to answer the question of what players have a position of F:
```
SELECT player FROM table_name_2 WHERE position = 'F';
``` | 41,522 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR)\n\n Question: What players have a position of F?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR)
Question: How many goals were scored when there were 73 caps?
Here is the SQLite query to answer to the question: How many go... | Here is the corrected SQLite query to answer the question about how many goals were scored when there were 73 caps:
```sql
SELECT SUM(goals) AS total_goals FROM table_name_63 WHERE caps = "73"
```
This query will sum up the goals corresponding to the rows where caps equal 73, giving you the total number of goals scor... | 41,523 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (goals VARCHAR, caps VARCHAR)\n\n Question: How many goals were scored when there were 73 caps?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR)
Question: Tell me the build year for total production of 150
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the build year for total production of 150:
```sql
SELECT build_year FROM table_name_44 WHERE total_production = '150';
```
Please note that since the `total_production` column is of type `VARCHAR`, the value '150' is wrapped in quotes. If the values in `total_pr... | 41,524 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (build_year VARCHAR, total_production VARCHAR)\n\n Question: Tell me the build year for total production of 150\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (power_output_(kw) VARCHAR, total_production VARCHAR)
Question: Tell me the power output for total production of 100
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the power output for a total production of 100:
```
SELECT power_output_(kw) FROM table_name_38 WHERE total_production = '100'
```
(Note: In the query, I enclosed '100' in single quotes because `total_production` is a VARCHAR type, and thus the comparison should ... | 41,525 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (power_output_(kw) VARCHAR, total_production VARCHAR)\n\n Question: Tell me the power output for total production of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (total_production VARCHAR, model VARCHAR)
Question: Name the total production for model nd5
Here is the SQLite query to answer to the question: Name the to... | ```sql
SELECT total_production FROM table_name_72 WHERE model = "nd5";
``` | 41,526 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (total_production VARCHAR, model VARCHAR)\n\n Question: Name the total production for model nd5\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR)
Question: What is the nationality of the player who played guard in 2006?
Here is the SQLite ... | Your SQLite query is correctly formulated to retrieve the nationality of the player who played guard in 2006. Here’s the formatted query again:
```
SELECT nationality FROM table_name_85 WHERE position_s_ = "guard" AND season_s_ = "2006"
``` | 41,527 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (nationality VARCHAR, position_s_ VARCHAR, season_s_ VARCHAR)\n\n Question: What is the nationality of the player wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR)
Question: Tell me the sum of bp 2nd comp with bp azeo of 57.5
Here is the SQLite query to answer to the quest... | The SQLite query you provided has a small issue. The `bp_azeo__˚c_` column is defined as `VARCHAR`, so you need to compare it against a string value instead of a numeric one. You should wrap `57.5` in single quotes to treat it as a string. Here is the corrected query:
```sql
SELECT SUM(bp_2nd_comp__) AS total_bp_2nd_c... | 41,528 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (bp_2nd_comp__ INTEGER, bp_azeo__˚c_ VARCHAR)\n\n Question: Tell me the sum of bp 2nd comp with bp azeo of 57.5\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR)
Question: Which rider went 18 laps ending +25.165 behind the leader?
Here is the SQLite query to answer to the ... | Here's the corrected SQLite query to answer the question:
```sql
SELECT rider FROM table_name_24 WHERE laps = '18' AND time = '+25.165';
```
Make sure to use single quotes for string literals in the SQL query. | 41,529 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR)\n\n Question: Which rider went 18 laps ending +25.165 behind the leader?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (result VARCHAR, year INTEGER)
Question: What is the result for a year later than 2002?
Here is the SQLite query to answer to the question: What is the resu... | Here is the SQLite query to answer the question about the result for a year later than 2002:
```
SELECT result FROM table_name_1 WHERE year > 2002
``` | 41,530 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (result VARCHAR, year INTEGER)\n\n Question: What is the result for a year later than 2002?\n\nHere is the SQLite que... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR)
Question: What is the result for the year 1999?
Here is the SQLite query to answer to the question: What is the result for t... | Here is the SQLite query to answer the question regarding the result for the year 1999:
```
SELECT result FROM table_name_56 WHERE year = '1999'
``` | 41,531 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (result VARCHAR, year VARCHAR)\n\n Question: What is the result for the year 1999?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR)
Question: Tell me the engine for dhg tom's racing
Here is the SQLite query to answer to the question: Tell me the engine for... | Here is the SQLite query to answer the question: Tell me the engine for dhg tom's racing:
```
SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing"
``` | 41,532 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR)\n\n Question: Tell me the engine for dhg tom's racing\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR)
Question: Name the team for toshihiro kaneishi
Here is the SQLite query to answer to the question: Name the team for toshihi... | Here is the SQLite query to answer the question about naming the team for toshihiro kaneishi:
```
SELECT team FROM table_name_21 WHERE driver = "toshihiro kaneishi"
``` | 41,533 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (team VARCHAR, driver VARCHAR)\n\n Question: Name the team for toshihiro kaneishi\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR)
Question: I want the average year of 敗犬女王
Here is the SQLite query to answer to the question: I want the average year... | Here is the SQLite query to answer the question regarding the average year of 敗犬女王:
```
SELECT AVG(year) FROM table_name_14 WHERE chinese_title = "敗犬女王";
``` | 41,534 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR)\n\n Question: I want the average year of 敗犬女王\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR)
Question: Tell me the role for 2005
Here is the SQLite query to answer to the question: Tell me the role for 2005:
```
SELECT ... | Here is the SQLite query to answer the question: Tell me the role for 2005:
```
SELECT role FROM table_name_38 WHERE year = '2005'
``` | 41,535 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (role VARCHAR, year VARCHAR)\n\n Question: Tell me the role for 2005\n\nHere is the SQLite query to answer to the qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)
Question: Tell me the average year for my queen
Here is the SQLite query to answer to the question: Tell me the avera... | Here is the SQLite query to answer the question "Tell me the average year for my queen":
```sql
SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen";
``` | 41,536 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)\n\n Question: Tell me the average year for my queen\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_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR)
Question: Tell me singles W-L that has years larger than 1 and highest singles r... | Here is the SQLite query to answer the question:
```sql
SELECT singles_w_l FROM table_name_7 WHERE years_played > '1' AND highest_singles_ranking = '1346';
``` | 41,537 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR)\n\n Question: Tell me singles W-L that h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR)
Question: When the Top 10s is larger than 0 and the scoring average 73.04, what is the best ... | Your SQLite query is almost correct, but there's a minor issue regarding the data types for `top_10s` and `scoring_average`. Since these columns are defined as `VARCHAR`, you need to treat numeric comparisons accordingly. Here's the corrected query:
```sql
SELECT best_finish
FROM table_name_10
WHERE CAST(top_10s AS ... | 41,538 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR)\n\n Question: When the Top 10s is larger than 0 and ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, competition VARCHAR)
Question: Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier
Here is t... | Here is the SQLite query to answer the question about the score of praterstadion, vienna, and the competition of euro 1980 qualifier:
```
SELECT result FROM table_name_54 WHERE venue = "praterstadion, vienna" AND competition = "euro 1980 qualifier"
``` | 41,539 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, competition VARCHAR)\n\n Question: Tell me the score of praterstadion, vienna, and c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)
Question: I want the score for 28 march 1979
Here is the SQLite query to answer to the question: I want the score for 28 marc... | Here is the SQLite query to answer the question regarding the score for 28 March 1979:
```
SELECT score FROM table_name_37 WHERE date = "28 march 1979"
``` | 41,540 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)\n\n Question: I want the score for 28 march 1979\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)
Question: I want the score for 30 april 1977
Here is the SQLite query to answer to the question: I want the score for 30 apri... | Here is the SQLite query to get the score for 30 April 1977:
```
SELECT score FROM table_name_72 WHERE date = "30 april 1977";
``` | 41,541 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)\n\n Question: I want the score for 30 april 1977\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)
Question: What competition was the World Championships before 2011?
Here is the SQLite query to answer t... | ```sql
SELECT event FROM table_name_38 WHERE competition = "world championships" AND year < '2011'
``` | 41,542 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)\n\n Question: What competition was the World Championships before... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR)
Question: What event took place in Erfurt, Germany?
Here is the SQLite query to answer to the question: What event took plac... | Here is the SQLite query to answer the question about what event took place in Erfurt, Germany:
```
SELECT event FROM table_name_56 WHERE venue = "Erfurt, Germany";
``` | 41,543 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR)\n\n Question: What event took place in Erfurt, Germany?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER)
Question: Name the team nickname for enrollment more than 42,326
Here is the SQLite query to answer to the ques... | It looks like there is a small mistake in your SQL query regarding the use of `OFFSET` in the `WHERE` clause. Instead, you should just be filtering records where the enrollment is greater than 42,326 without using `OFFSET`. Here is the corrected SQL query:
```
SELECT team_nickname FROM table_name_21 WHERE enrollment >... | 41,544 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER)\n\n Question: Name the team nickname for enrollment more than 42,326\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR)
Question: With the lost of 3, how many points?
Here is the SQLite query to answer to the question: With the lost of 3... | Here is the SQLite query to answer the question: With the lost of 3, how many points?:
```
SELECT points_against FROM table_name_9 WHERE lost = '3'
``` | 41,545 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR)\n\n Question: With the lost of 3, how many points?\n\nHere is the SQLite query... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR)
Question: How many against points for 16 matches?
Here is the SQLite query to answer to the question: How many ag... | Your provided SQL query is almost correct but will retrieve only the `points_against` for matches specifically labeled as "16". If you want to sum or count the points against for all matches labeled as "16", you would typically need to aggregate the results.
If `points_against` is a string representing numbers, you mi... | 41,546 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR)\n\n Question: How many against points for 16 matches?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR)
Question: The 51 points against, how many are for?
Here is the SQLite query to answer to the question: The 51 ... | The SQLite query you provided is almost correct, but it needs a slight modification for clarity. To specifically find the `points_for` corresponding to `points_against` of "51", the query should be updated to return both points if needed. Here's how you might structure it:
```sql
SELECT points_for FROM table_name_36 W... | 41,547 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR)\n\n Question: The 51 points against, how many are for?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR)
Question: For the played in, what are the total points?
Here is the SQLite query to answer to the question: For the... | The query you provided does not accurately compute the total points for each value in the `played_in` column. Instead, you need to sum the `points_for` values grouped by `played_in`. Here’s the corrected query:
```sql
SELECT played_in, SUM(points_for) AS total_points
FROM table_name_36
GROUP BY played_in;
```
This qu... | 41,548 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR)\n\n Question: For the played in, what are the total points?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)
Question: What country is the Eurasia Astana team from?
Here is the SQLite query to answer to the question: What country is... | Here is the SQLite query to answer the question about the country that the Eurasia Astana team is from:
```
SELECT country FROM table_name_69 WHERE team = "Eurasia Astana";
``` | 41,549 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)\n\n Question: What country is the Eurasia Astana team from?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (Id VARCHAR)
Question: Tell me the 2008 for 2012 of 4r and 2009 of a
Here is the SQLite query to answer to the question: Tell me the 2008 for 2012 of 4r an... | It seems there is a misunderstanding regarding the query and the schema provided. In the context of your question, it appears you are trying to retrieve a value for certain conditions. However, the schema given only includes a column named `Id` and no other columns corresponding to the numeric values you mentioned (200... | 41,550 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (Id VARCHAR)\n\n Question: Tell me the 2008 for 2012 of 4r and 2009 of a\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (Id VARCHAR)
Question: Tell me the 2008 of 2001 olympic games
Here is the SQLite query to answer to the question: Tell me the 2008 of 2001 olympic games:
`... | The provided query does not seem to align correctly with the question asked. Based on the request, it looks like you're attempting to fetch information related to the "2008 Olympic Games" in connection with data from 2001. However, given the schema provided (`CREATE TABLE table_name_69 (Id VARCHAR)`), the approach woul... | 41,551 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (Id VARCHAR)\n\n Question: Tell me the 2008 of 2001 olympic games\n\nHere is the SQLite query to answer to the quest... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (tournament VARCHAR)
Question: Tell me the tournament of 2009 of atp masters series
Here is the SQLite query to answer to the question: Tell me the tournam... | It seems there is a slight misunderstanding in the query you've provided. You would typically want to filter based on specific values for the year and the type of tournament. However, based on the schema you've provided (`CREATE TABLE table_name_26 (tournament VARCHAR)`), there seems to be no specific columns for the y... | 41,552 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (tournament VARCHAR)\n\n Question: Tell me the tournament of 2009 of atp masters series\n\nHere is the SQLite query ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (tournament VARCHAR)
Question: Tell me the 2011 tournament of monte carlo masters
Here is the SQLite query to answer to the question: Tell me the 2011 tour... | The SQLite query you provided needs slight modification to correctly retrieve the information based on the schema given. The column names and data types should be considered.
Assuming that you want to retrieve the relevant tournament data for the year 2011 from the table `table_name_73`, the query should be structure... | 41,553 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (tournament VARCHAR)\n\n Question: Tell me the 2011 tournament of monte carlo masters\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (Id VARCHAR)
Question: Tell me the 2011 with 2012 of 2r
Here is the SQLite query to answer to the question: Tell me the 2011 with 2012 of 2r:
```
SELECT 20... | It seems there are some inconsistencies in your question and the SQL query you've provided. Specifically, the schema defines a table with a single column named `Id`, which doesn't align with the columns referenced in the query (i.e., `2011`, `2012`, `2010`, `2009`).
If we assume you're trying to select data from this ... | 41,554 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (Id VARCHAR)\n\n Question: Tell me the 2011 with 2012 of 2r\n\nHere is the SQLite query to answer to the question: T... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)
Question: What was the latest round with a running back from a California college?
Here is the SQLite qu... | The SQLite query to answer the question about the latest round with a running back from a California college is as follows:
```sql
SELECT MAX(round)
FROM table_name_55
WHERE position = "running back" AND college LIKE "%California%";
``` | 41,555 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)\n\n Question: What was the latest round with a running back from ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)
Question: What were the results for november 25, 1973?
Here is the SQLite query to answer to the question: What were the res... | Here is the SQLite query to answer the question about the results for November 25, 1973:
```
SELECT result FROM table_name_36 WHERE date = "november 25, 1973";
``` | 41,556 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)\n\n Question: What were the results for november 25, 1973?\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_name_60 (opponent VARCHAR, week VARCHAR)
Question: Which Opponent had a week of 14?
Here is the SQLite query to answer to the question: Which Opponent had a week o... | Here is the SQLite query to answer the question "Which Opponent had a week of 14?":
```sql
SELECT opponent FROM table_name_60 WHERE week = '14';
``` | 41,557 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR)\n\n Question: Which Opponent had a week of 14?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR)
Question: Tell me the date for new orleans saints
Here is the SQLite query to answer to the question: Tell me the date for... | Here is the SQLite query to answer the question regarding the date for the New Orleans Saints:
```
SELECT date FROM table_name_22 WHERE opponent = "new orleans saints"
``` | 41,558 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR)\n\n Question: Tell me the date for new orleans saints\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)
Question: Tell me the result for week of 4
Here is the SQLite query to answer to the question: Tell me the result for week o... | Here is the SQLite query to answer the question about the result for the week of 4:
```
SELECT result FROM table_name_46 WHERE week = '4';
``` | 41,559 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)\n\n Question: Tell me the result for week of 4\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (week INTEGER, result VARCHAR)
Question: Tell me the lowest week for w 10-3
Here is the SQLite query to answer to the question: Tell me the lowest week for... | Your SQLite query looks correct for retrieving the lowest week for the specified result "w 10-3." Here it is wrapped as requested:
```
SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-3";
``` | 41,560 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (week INTEGER, result VARCHAR)\n\n Question: Tell me the lowest week for w 10-3\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (heat_rank INTEGER, lane VARCHAR, time VARCHAR)
Question: Tell me the average heat rank with a lane of 2 and time less than 27.66
Here is the SQLite query ... | Your SQLite query to calculate the average heat rank with a lane of 2 and a time less than 27.66 is almost correct, but you need to ensure that the `time` column is treated as a numeric value for the comparison, since it's defined as a VARCHAR in the schema. Here's the corrected query:
```sql
SELECT AVG(heat_rank) FRO... | 41,561 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (heat_rank INTEGER, lane VARCHAR, time VARCHAR)\n\n Question: Tell me the average heat rank with a lane of 2 and tim... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR)
Question: Tell me the highest overall rank for lane less than 8 and time less than 27.16
Here is the SQL... | Here is the SQLite query to answer the question: Tell me the highest overall rank for lane less than 8 and time less than 27.16:
```
SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < '27:16';
```
Please note that in the time comparison, the proper format must be considered (e.g., using a time for... | 41,562 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR)\n\n Question: Tell me the highest overall rank for lane less than... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)
Question: Tell me the total number of time for luke hall overall rank being larger than 105
Here is t... | Here is the SQLite query wrapped in code formatting:
```
SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105
``` | 41,563 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)\n\n Question: Tell me the total number of time for luke hall o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR)
Question: Tell me the left team for josh vanlandingham
Here is the SQLite query to answer to the question: Tell me the le... | Here is the SQLite query to answer the question about the left team for josh vanlandingham:
```
SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham"
``` | 41,564 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR)\n\n Question: Tell me the left team for josh vanlandingham\n\nHere is the SQLite q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR)
Question: Who had less than 7 goals, was ranked under 7, and had more than 8 appearances?
... | Your SQLite query needs a slight adjustment in terms of type conversion, since `goals`, `rank`, and `appearances` are stored as `VARCHAR`. You need to convert them to integers for proper comparison. Here's the corrected query:
```
SELECT name
FROM table_name_86
WHERE CAST(goals AS INTEGER) < 7
AND CAST(rank AS IN... | 41,565 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR)\n\n Question: Who had less than 7 goals, was ranked... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)
Question: What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
Here is t... | Here is the SQLite query wrapped in code format:
```
SELECT SUM(rank) FROM table_name_5 WHERE name = "Fernando Cavenaghi" AND appearances < 7;
```
Please ensure that the name matches the case as it is stored in the database, and consider that `appearances` is stored as a string (VARCHAR), so you may need to convert ... | 41,566 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)\n\n Question: What was the sum of ranks of those called Fernando Ca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR)
Question: How many appearances were made by people that had 5 goals and less than 7 rank?
Here is the SQ... | Your provided SQL query has a small issue with how it handles the `goals` and `rank` fields, which are defined as VARCHAR in the schema. To correctly compare numeric values, it's often better to cast these fields to integers. Here is the corrected query:
```sql
SELECT SUM(CAST(appearances AS INTEGER))
FROM table_name... | 41,567 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR)\n\n Question: How many appearances were made by people that had 5... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR)
Question: What was the surface for the game that had a partner of vania king?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the surface for the game that had a partner of "vania king":
```
SELECT surface FROM table_name_85 WHERE partner = "vania king"
``` | 41,568 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR)\n\n Question: What was the surface for the game that had a partner of vania king?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR)
Question: Who was the partner for the game on October 20, 2013?
Here is the SQLite query to answer to the question: Who was... | Here is the SQLite query to answer the question: Who was the partner for the game on October 20, 2013?:
```
SELECT partner FROM table_name_80 WHERE date = "October 20, 2013";
``` | 41,569 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR)\n\n Question: Who was the partner for the game on October 20, 2013?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)
Question: Tell me the name for round of e
Here is the SQLite query to answer to the question: Tell me the name for round of e... | Here is the SQLite query to answer the question: Tell me the name for round of e:
```
SELECT name FROM table_name_29 WHERE round = "e";
``` | 41,570 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)\n\n Question: Tell me the name for round of e\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR)
Question: Name the team one for preliminary final
Here is the SQLite query to answer to the question: Name the team one for ... | ```sql
SELECT team_1 FROM table_name_74 WHERE name = "preliminary final";
``` | 41,571 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR)\n\n Question: Name the team one for preliminary final\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR)
Question: Name the team 1 for round 3
Here is the SQLite query to answer to the question: Name the team 1 for round 3:
```
... | Here is the SQLite query to answer the question: Name the team 1 for round 3:
```
SELECT team_1 FROM table_name_64 WHERE round = "3"
``` | 41,572 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR)\n\n Question: Name the team 1 for round 3\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR)
Question: Name the round for 2nd elimination final
Here is the SQLite query to answer to the question: Name the round for 2n... | Your SQLite query to name the round for the 2nd elimination final looks good. Here it is wrapped in code formatting as you requested:
```
SELECT round FROM table_name_36 WHERE match = "2nd elimination final";
``` | 41,573 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR)\n\n Question: Name the round for 2nd elimination final\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: In less than 58 laps, what is the highest grid for Alexander Wurz?
Here is the SQLite query to answe... | Your SQLite query to find the highest grid for Alexander Wurz in less than 58 laps looks good! Here it is wrapped properly:
```sql
SELECT MAX(grid) FROM table_name_32 WHERE driver = "alexander wurz" AND laps < 58;
```
Make sure to check that the `laps` column is stored in a format that allows for numeric comparison ... | 41,574 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (grid INTEGER, driver VARCHAR, laps VARCHAR)\n\n Question: In less than 58 laps, what is the highest grid for Alexan... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR)
Question: What is the total laps for grid 19?
Here is the SQLite query to answer to the question: What is the total laps for g... | Here is the SQLite query to answer the question regarding the total laps for grid 19:
```
SELECT COUNT(laps) FROM table_name_24 WHERE grid = '19'
```
Note: If the `grid` column is stored as a text (VARCHAR), it is appropriate to use quotes around the value '19'. | 41,575 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR)\n\n Question: What is the total laps for grid 19?\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)
Question: Name the winning driver for mobilecast impul and twin ring motegi
Here is the SQL... | Here is the SQLite query to answer the question about the winning driver for "mobilecast impul" at "twin ring motegi":
```
SELECT winning_driver FROM table_name_98 WHERE winning_team = 'mobilecast impul' AND circuit = 'twin ring motegi';
``` | 41,576 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)\n\n Question: Name the winning driver for mobilecast... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR)
Question: Name the winning driver for round 7
Here is the SQLite query to answer to the question: Name the winning ... | Here is the SQLite query to answer the question of naming the winning driver for round 7:
```
SELECT winning_driver FROM table_name_24 WHERE round = '7'
``` | 41,577 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR)\n\n Question: Name the winning driver for round 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_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Name the number of total for 3 gold and rank less than 3
Here is the SQLite query to answer to the qu... | The provided SQLite query has a small issue with the data type used for the comparison. If `gold` is stored as a `VARCHAR`, comparing it to an integer like `3` might not yield the correct results. Instead, you should compare it as a string. Assuming that `gold` is stored as a string representation of the value, the que... | 41,578 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)\n\n Question: Name the number of total for 3 gold and rank less than 3\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR)
Question: Tell me the naame of Investigation of thrombus imaging
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer your question about the name of the investigation for thrombus imaging:
```
SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging";
``` | 41,579 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR)\n\n Question: Tell me the naame of Investigation of thrombus imaging\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
Question: Tell me the name for Investigation of thrombus imaging and Route of adminis... | Here is the SQLite query to answer your question:
```
SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging";
``` | 41,580 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)\n\n Question: Tell me the name for Investigat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
Question: Tell me the in-vitro for Route of administration of iv and In... | Here is the SQLite query that answers the question:
```
SELECT in_vitro___in_vivo FROM table_name_96 WHERE route_of_administration = "iv" AND investigation = "somatostatin receptor imaging"
``` | 41,581 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)\n\n Question: Tell me the in-vi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR)
Question: The player is Tim Regan and the pick # is position of d, what's the sum?
Here is the SQL... | Here's the SQLite query to answer the question about the player Tim Regan and the pick number for position 'd':
```sql
SELECT SUM(pick__number) FROM table_name_37 WHERE position = 'd' AND player = 'Tim Regan';
``` | 41,582 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR)\n\n Question: The player is Tim Regan and the pick # is pos... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR)
Question: The position that has a pick # of 16 is what?
Here is the SQLite query to answer to the question: The po... | Here is the SQLite query to answer the question:
```
SELECT position FROM table_name_66 WHERE pick__number = '16'
``` | 41,583 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR)\n\n Question: The position that has a pick # of 16 is what?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)
Question: Damani Ralph is associated with which lowest pick #?
Here is the SQLite query to answer to the question: D... | Here is the SQLite query to answer the question about Damani Ralph's lowest pick number:
```
SELECT MIN(pick__number) FROM table_name_39 WHERE player = "Damani Ralph";
``` | 41,584 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)\n\n Question: Damani Ralph is associated with which lowest pick #?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR)
Question: Chicago fire has a total of a total of how many #s?
Here is the SQLite query to answer to the question: C... | Here is the SQLite query to answer the question about how many picks Chicago Fire has:
```
SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = "chicago fire";
``` | 41,585 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR)\n\n Question: Chicago fire has a total of a total of how many #s?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)
Question: Tell me the score for score in legs and year les... | The SQLite query you've provided contains an incorrect syntax for selecting columns. If you are looking to retrieve the scores in legs and sets for years less than 2012, you should simply select the appropriate columns without attempting to perform any equality checks.
Here is the corrected SQL query:
```
SELECT scor... | 41,586 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)\n\n Question: Tell... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR)
Question: Tell me the championship for runner-up outcome of 2010
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the championship for the runner-up outcome of 2010, wrapped in code format:
```
SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = "2010"
``` | 41,587 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR)\n\n Question: Tell me the championship for runner-up outcome o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR)
Question: Tell me the outcome for premier league darts
Here is the SQLite query to answer to the question: Tell me ... | Here is the SQLite query to answer the question regarding the outcome for the premier league darts:
```
SELECT outcome FROM table_name_12 WHERE championship = "premier league darts"
``` | 41,588 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR)\n\n Question: Tell me the outcome for premier league darts\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_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR)
Question: Tell me the sum of Year for outcome of runner-up for world darts championship
Here is the S... | Here is the SQLite query to answer the question about the sum of Year for the outcome of runner-up for the world darts championship:
```
SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship"
``` | 41,589 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR)\n\n Question: Tell me the sum of Year for outcome of runner-up... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR)
Question: In 2007, how many points were won when more than 5 matches were played?
Here is the SQL... | Your SQL query is almost correct, but it looks like you want to sum the points rather than count them. Assuming that the `points_won` column contains numeric values stored as strings, you should convert them to integers in order to sum them up. Here's the corrected query:
```
SELECT SUM(CAST(points_won AS INTEGER))
F... | 41,590 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR)\n\n Question: In 2007, how many points were won when more ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR)
Question: In 2007, what is the average total matches with points % larger than 33.3?
Here... | Your provided SQLite query is almost correct, but there's a small issue regarding the data type of `points__percentage`. Since it's defined as `VARCHAR`, you will need to convert it to a numeric type before performing the comparison. You can use `CAST` to convert it to a real number for comparison.
Here's the correcte... | 41,591 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR)\n\n Question: In 2007, what is the average total m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR)
Question: Which player attended school at Georgia Tech?
Here is the SQLite query to answer to the question: Whic... | Here is the SQLite query to answer the question: Which player attended school at Georgia Tech?:
```sql
SELECT player FROM table_name_74 WHERE school_club_team = "Georgia Tech";
``` | 41,592 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR)\n\n Question: Which player attended school at Georgia Tech?\n\nHere is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)
Question: What position does Ed Stokes hold?
Here is the SQLite query to answer to the question: What position does Ed S... | Here is the SQLite query to answer the question about what position Ed Stokes holds:
```
SELECT position FROM table_name_87 WHERE player = "Ed Stokes";
``` | 41,593 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)\n\n Question: What position does Ed Stokes hold?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR)
Question: What is Michael Stewart's school or club team?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about Michael Stewart's school or club team:
```
SELECT school_club_team FROM table_name_93 WHERE player = "Michael Stewart";
``` | 41,594 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR)\n\n Question: What is Michael Stewart's school or club team?\n\nHere is t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)
Question: What tournament was played on May 29, 2010?
Here is the SQLite query to answer to the question: What tournament... | Here is the SQLite query to answer the question: What tournament was played on May 29, 2010?:
```
SELECT tournament FROM table_name_8 WHERE date = "May 29, 2010";
``` | 41,595 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)\n\n Question: What tournament was played on May 29, 2010?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR)
Question: What was the surface made of in the contest where Paula Ormaechea was the partner?
Here is the SQLite query to... | Here is the SQLite query to answer the question you posed:
```
SELECT surface FROM table_name_50 WHERE partner = "Paula Ormaechea";
``` | 41,596 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR)\n\n Question: What was the surface made of in the contest where Paula Ormaechea w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (method VARCHAR, record VARCHAR)
Question: Tell me the method with a record of 4-2
Here is the SQLite query to answer to the question: Tell me the method wi... | Here is the SQLite query to answer the question: Tell me the method with a record of 4-2:
```
SELECT method FROM table_name_1 WHERE record = "4-2";
``` | 41,597 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (method VARCHAR, record VARCHAR)\n\n Question: Tell me the method with a record of 4-2\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)
Question: Tell me the record for yukiya naito
Here is the SQLite query to answer to the question: Tell me the record for... | Here is the SQLite query to answer the question: Tell me the record for yukiya naito:
```
SELECT record FROM table_name_78 WHERE opponent = "yukiya naito";
``` | 41,598 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)\n\n Question: Tell me the record for yukiya naito\n\nHere is the SQLite query to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR)
Question: Tell me the record for kazuhiro nakamura
Here is the SQLite query to answer to the question: Tell me the recor... | Here is the SQLite query to answer the question regarding the record for Kazuhiro Nakamura:
```sql
SELECT record FROM table_name_25 WHERE opponent = "kazuhiro nakamura";
``` | 41,599 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR)\n\n Question: Tell me the record for kazuhiro nakamura\n\nHere is the SQLite quer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.