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_43 (february INTEGER, opponent VARCHAR, game VARCHAR)
Question: What is the highest Feb value having an opponent of the Philadelphia Flyers and is after game 6... | Here is the SQLite query to answer the question regarding the highest February value with an opponent of the Philadelphia Flyers and after game 63:
```
SELECT MAX(february) FROM table_name_43 WHERE opponent = 'Philadelphia Flyers' AND game > 63;
``` | 45,600 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR)\n\n Question: What is the highest Feb value having an opponent of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR)
Question: Who was the opponent in games over 58, after Feb 16, and having a record of 40-... | Here is the SQLite query to answer the question:
```
SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-4";
``` | 45,601 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR)\n\n Question: Who was the opponent in games over ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (year INTEGER, genre VARCHAR)
Question: Which Year has a Genre of rock (track)?
Here is the SQLite query to answer to the question: Which Year has a Genre o... | To find the years that have a genre of "rock (track)", you would typically want to select those years directly rather than summing them. The correct query should retrieve distinct years where the genre matches "rock (track)". Here's the revised SQLite query:
```
SELECT DISTINCT year FROM table_name_3 WHERE genre = "ro... | 45,602 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (year INTEGER, genre VARCHAR)\n\n Question: Which Year has a Genre of rock (track)?\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_28 (year INTEGER)
Question: Which Year Inducted is the highest one that has a Year smaller than 1965?
Here is the SQLite query to answer to the question: Whic... | Your SQLite query is correct for the given question. Here it is wrapped in the requested code format:
```
SELECT MAX(year) AS Inducted FROM table_name_28 WHERE year < 1965;
``` | 45,603 | [
{
"from": "human",
"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 (year INTEGER)\n\n Question: Which Year Inducted is the highest one that has a Year smaller than 1965?\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_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR)
Question: Which Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson... | Here is the SQLite query to answer the question you provided:
```
SELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = "mike pearson";
``` | 45,604 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR)\n\n Question: Which Overall is the highest one that has a Pick ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than... | Here is the SQLite query that answers the question of which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222:
```
SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222
``` | 45,605 | [
{
"from": "human",
"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 (round INTEGER, position VARCHAR, overall VARCHAR)\n\n Question: Which Round is the lowest one that has a Position o... | |
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, date VARCHAR)
Question: What was the Record on September 21?
Here is the SQLite query to answer to the question: What was the Record on Se... | Your SQLite query to answer the question about the record on September 21 is almost correct. However, it is essential to ensure the date format in the database matches the query format. Assuming the dates are stored in the format of "month day" (with lowercase), your query is good. Here it is wrapped properly:
```
SEL... | 45,606 | [
{
"from": "human",
"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, date VARCHAR)\n\n Question: What was the Record on September 21?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (record VARCHAR, save VARCHAR)
Question: What was the record the day David Weathers (15) had a save?
Here is the SQLite query to answer to the question: Wh... | The provided SQLite query does not correctly address the question as it filters based on the `save` column but does not properly relate to David Weathers. Instead, you want to find the record associated with a save attributed to David Weathers.
Here’s the corrected SQLite query to find the record for the day David Wea... | 45,607 | [
{
"from": "human",
"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 (record VARCHAR, save VARCHAR)\n\n Question: What was the record the day David Weathers (15) had a save?\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_49 (save VARCHAR, date VARCHAR)
Question: Who had a save on September 2?
Here is the SQLite query to answer to the question: Who had a save on September 2?:
`... | Here is the SQLite query to answer the question: Who had a save on September 2?:
```
SELECT save FROM table_name_49 WHERE date = 'September 2';
``` | 45,608 | [
{
"from": "human",
"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_49 (save VARCHAR, date VARCHAR)\n\n Question: Who had a save on September 2?\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_16 (loss VARCHAR, date VARCHAR)
Question: What was the loss on September 2?
Here is the SQLite query to answer to the question: What was the loss on September... | Your SQLite query is almost correct, but it's important to ensure that the date is formatted consistently, and also handle potential variations in the date format that might exist in your data. Assuming dates are stored in a consistent format (e.g., "YYYY-MM-DD"), you might want to adjust the comparison string accordin... | 45,609 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (loss VARCHAR, date VARCHAR)\n\n Question: What was the loss on September 2?\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (byes INTEGER, losses VARCHAR, draws VARCHAR, wins VARCHAR)
Question: What is the total number of byes that are associated with 1 draw, 5 wins, and fewer th... | Here is the correct SQLite query to answer the question based on the provided schema:
```
SELECT SUM(byes) FROM table_name_70 WHERE draws = '1' AND wins = '5' AND losses < '12';
```
Note that in SQLite, the `draws`, `wins`, and `losses` columns are defined as `VARCHAR`, so the comparison values should also be treate... | 45,610 | [
{
"from": "human",
"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 (byes INTEGER, losses VARCHAR, draws VARCHAR, wins VARCHAR)\n\n Question: What is the total number of byes that are ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (byes VARCHAR, draws VARCHAR, wins VARCHAR)
Question: What is the total number of byes associated with fewer than 8 wins and fewer than 1 draw?
Here is the... | Here is the corrected SQLite query to answer the question about the total number of byes associated with fewer than 8 wins and fewer than 1 draw:
```sql
SELECT SUM(CAST(byes AS INTEGER)) FROM table_name_67 WHERE CAST(wins AS INTEGER) < 8 AND CAST(draws AS INTEGER) < 1;
```
This query uses `SUM` to aggregate the total... | 45,611 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (byes VARCHAR, draws VARCHAR, wins VARCHAR)\n\n Question: What is the total number of byes associated with fewer tha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)
Question: What is the NTFA Div 1 team that has 15 wins and less than 1 draw?
Here is the SQLite query to ... | The SQLite query to find the NTFA Div 1 team that has 15 wins and less than 1 draw is as follows:
```
SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15;
``` | 45,612 | [
{
"from": "human",
"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 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)\n\n Question: What is the NTFA Div 1 team that has 15 wins and les... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (losses INTEGER, draws VARCHAR, byes VARCHAR)
Question: What is the average number of losses for teams with 0 draws and 0 byes?
Here is the SQLite query to... | It looks like there is a slight mistake in the SQL condition for filtering the rows based on `draws` and `byes`. Since both `draws` and `byes` are columns defined as `VARCHAR`, you should compare them to the string `'0'` rather than the integer `0`.
Here is the corrected SQLite query:
```
SELECT AVG(losses) FROM tabl... | 45,613 | [
{
"from": "human",
"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 (losses INTEGER, draws VARCHAR, byes VARCHAR)\n\n Question: What is the average number of losses for teams with 0 dr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (losses INTEGER, wins VARCHAR, against VARCHAR)
Question: What is the most number of losses for teams with 5 wins and an against value under 1607?
Here is ... | Here is the corrected SQLite query wrapped in code format:
```sql
SELECT MAX(losses)
FROM table_name_65
WHERE wins = '5' AND against < '1607';
```
Note: In the query, I've assumed that `wins` is a VARCHAR type and compared it properly. If `wins` were an integer type, you would not need the quotes around '5'. Simil... | 45,614 | [
{
"from": "human",
"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 (losses INTEGER, wins VARCHAR, against VARCHAR)\n\n Question: What is the most number of losses for teams with 5 win... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (race VARCHAR, flap VARCHAR, podium VARCHAR, season VARCHAR)
Question: Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1... | Your SQLite query looks correct and effectively answers the question based on the provided conditions. Here is the query wrapped in code formatting:
```
SELECT COUNT(race) FROM table_name_72 WHERE podium > 1 AND season = "1982" AND flap < 1;
```
This query counts the number of races from the `table_name_72` table th... | 45,615 | [
{
"from": "human",
"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 (race VARCHAR, flap VARCHAR, podium VARCHAR, season VARCHAR)\n\n Question: Race that has a Podium larger than 1, and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER)
Question: Pole smaller than 0 had what lowest podium?
Here is the SQLite query to answer to the question: Pole smaller than ... | Your SQLite query is correctly formulated to find the lowest podium value where the pole is smaller than 0. Here is your query wrapped in code formatting:
```
SELECT MIN(podium) FROM table_name_92 WHERE pole < 0
```
This query will return the minimum podium value for all records in the `table_name_92` table where th... | 45,616 | [
{
"from": "human",
"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 (podium INTEGER, pole INTEGER)\n\n Question: Pole smaller than 0 had what lowest podium?\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_10 (podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR)
Question: Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole ... | Here is the SQLite query to answer the question:
```
SELECT AVG(podium) FROM table_name_10 WHERE flap = 0 AND race < 2 AND season = '1989' AND pole < 0
``` | 45,617 | [
{
"from": "human",
"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 (podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR)\n\n Question: Flap of 0, and a Race small... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)
Question: What was the record on august 24?
Here is the SQLite query to answer to the question: What was the record on augus... | Here is the SQLite query to answer the question regarding the record on August 24:
```
SELECT record FROM table_name_73 WHERE date = "august 24";
``` | 45,618 | [
{
"from": "human",
"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 (record VARCHAR, date VARCHAR)\n\n Question: What was the record on august 24?\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_85 (route VARCHAR, elevation VARCHAR)
Question: Elevation of 11,158 feet 3401 m had what route?
Here is the SQLite query to answer to the question: Elevation ... | Here is the SQLite query to answer the question regarding the elevation of 11,158 feet (3401 m) and the associated route:
```
SELECT route FROM table_name_85 WHERE elevation = "11,158 feet 3401 m"
``` | 45,619 | [
{
"from": "human",
"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 (route VARCHAR, elevation VARCHAR)\n\n Question: Elevation of 11,158 feet 3401 m had what route?\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_24 (elevation VARCHAR, route VARCHAR, highway VARCHAR)
Question: Route larger than 24, and a Highway of trail ridge road had what elevation?
Here is the SQLit... | Here is the SQLite query to answer the question regarding routes larger than 24 and the highway "trail ridge road":
```
SELECT elevation FROM table_name_24 WHERE route > 24 AND highway = 'trail ridge road'
``` | 45,620 | [
{
"from": "human",
"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 (elevation VARCHAR, route VARCHAR, highway VARCHAR)\n\n Question: Route larger than 24, and a Highway of trail ridge... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR)
Question: Elevation of 12,183 feet 3713 m is what average route?
Here is the SQLite query to answer to the question: Ele... | Here is the SQLite query to answer the question regarding the average route for the elevation of 12,183 feet 3713 m:
```
SELECT AVG(route) FROM table_name_12 WHERE elevation = "12,183 feet 3713 m";
``` | 45,621 | [
{
"from": "human",
"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 (route INTEGER, elevation VARCHAR)\n\n Question: Elevation of 12,183 feet 3713 m is what average route?\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 (opponent VARCHAR, results¹ VARCHAR)
Question: What Opponent has a Results¹ of 1:3?
Here is the SQLite query to answer to the question: What Opponent has a... | Here is the SQLite query to answer the question about what opponent has a results of 1:3:
```
SELECT opponent FROM table_name_28 WHERE results¹ = "1:3"
``` | 45,622 | [
{
"from": "human",
"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 (opponent VARCHAR, results¹ VARCHAR)\n\n Question: What Opponent has a Results¹ of 1:3?\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_76 (date VARCHAR, results¹ VARCHAR)
Question: On what Date was the Results¹ 1:2?
Here is the SQLite query to answer to the question: On what Date was the Resu... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_76 WHERE results¹ = "1:2";
``` | 45,623 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (date VARCHAR, results¹ VARCHAR)\n\n Question: On what Date was the Results¹ 1:2?\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_39 (city VARCHAR, results¹ VARCHAR)
Question: What City had Results¹ of 1:2?
Here is the SQLite query to answer to the question: What City had Results¹ of 1:2... | Here is the SQLite query to answer the question about what city had Results¹ of 1:2:
```
SELECT city FROM table_name_39 WHERE results¹ = "1:2"
``` | 45,624 | [
{
"from": "human",
"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 (city VARCHAR, results¹ VARCHAR)\n\n Question: What City had Results¹ of 1:2?\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_76 (date VARCHAR, opponent VARCHAR)
Question: On what Date was Wales the Opponent?
Here is the SQLite query to answer to the question: On what Date was Wales ... | Here is the SQLite query to answer the question about the dates when Wales was the opponent:
```
SELECT date FROM table_name_76 WHERE opponent = "Wales";
``` | 45,625 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (date VARCHAR, opponent VARCHAR)\n\n Question: On what Date was Wales the Opponent?\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_6 (city VARCHAR, results¹ VARCHAR, opponent VARCHAR)
Question: In what City was Bulgaria the Opponent with Results¹ of 1:0?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question regarding the city where Bulgaria was the opponent with results of 1:0:
```
SELECT city FROM table_name_6 WHERE results¹ = "1:0" AND opponent = "bulgaria";
``` | 45,626 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (city VARCHAR, results¹ VARCHAR, opponent VARCHAR)\n\n Question: In what City was Bulgaria the Opponent with Results¹... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, november VARCHAR)
Question: What Vancouver canucks game was on a date closest to November 4?
Here is the SQLite query to a... | Your original query has the right idea, but to get the Vancouver Canucks game closest to November 4, we would want to find the game on or before November 4, and also consider games on the 4th itself, if available. Here's a corrected version of your query:
```sql
SELECT game
FROM table_name_60
WHERE opponent = "vanco... | 45,627 | [
{
"from": "human",
"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 (game INTEGER, opponent VARCHAR, november VARCHAR)\n\n Question: What Vancouver canucks game was on a date closest t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (year VARCHAR, color_commentator_s_ VARCHAR)
Question: Name the year for jerry sichting
Here is the SQLite query to answer to the question: Name the year f... | Here is the SQLite query to answer the question:
```sql
SELECT year FROM table_name_26 WHERE color_commentator_s_ = "jerry sichting"
``` | 45,628 | [
{
"from": "human",
"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 (year VARCHAR, color_commentator_s_ VARCHAR)\n\n Question: Name the year for jerry sichting\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_91 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, color_commentator_s_ VARCHAR)
Question: Name the studio host for glenn ordway and jerry sichting w... | Here is the SQLite query to answer the question:
```
SELECT studio_host FROM table_name_91 WHERE play_by_play = "glenn ordway" AND color_commentator_s_ = "jerry sichting" AND year = "1993-94";
``` | 45,629 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, color_commentator_s_ VARCHAR)\n\n Question: Name the studi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (flagship_station VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR)
Question: Name the flagship station for cedric maxwell and year of 1995-96
Here is t... | Here is the SQLite query to answer the question regarding the flagship station for Cedric Maxwell in the year 1995-96:
```sql
SELECT flagship_station FROM table_name_74 WHERE color_commentator_s_ = 'cedric maxwell' AND year = '1995-96';
``` | 45,630 | [
{
"from": "human",
"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 (flagship_station VARCHAR, color_commentator_s_ VARCHAR, year VARCHAR)\n\n Question: Name the flagship station for c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (architect VARCHAR, floors VARCHAR, height_ VARCHAR, m VARCHAR)
Question: Who was the architect of the 10 floor building with a height of 42 M?
Here is the... | Here is the correct SQLite query to answer the question about the architect of the 10 floor building with a height of 42 M, given the schema:
```sql
SELECT architect FROM table_name_68 WHERE height_ = '42 M' AND floors = '10';
``` | 45,631 | [
{
"from": "human",
"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 (architect VARCHAR, floors VARCHAR, height_ VARCHAR, m VARCHAR)\n\n Question: Who was the architect of the 10 floor ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (height_ VARCHAR, m VARCHAR, architect VARCHAR)
Question: What is the height of the building built by architects Ross and Macfarlane?
Here is the SQLite qu... | To properly format your SQLite query, ensure you use the correct column name and the syntax for the `WHERE` clause for multiple architects. If you want to account for both names, you might need to use the `OR` operator. Here’s the appropriate SQLite query:
```sql
SELECT height_ FROM table_name_27 WHERE architect = 'Ro... | 45,632 | [
{
"from": "human",
"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_27 (height_ VARCHAR, m VARCHAR, architect VARCHAR)\n\n Question: What is the height of the building built by architects... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (architect VARCHAR, built VARCHAR, building VARCHAR)
Question: Who was the architect that built the Electric Railway Chambers before 1915?
Here is the SQLi... | Here is the SQLite query to answer the question:
```
SELECT architect FROM table_name_43 WHERE built < 1915 AND building = "Electric Railway Chambers";
``` | 45,633 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (architect VARCHAR, built VARCHAR, building VARCHAR)\n\n Question: Who was the architect that built the Electric Rai... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (time VARCHAR, date VARCHAR, loss VARCHAR)
Question: What is the Time on july 18 that has a Loss of lilly (3-3)?
Here is the SQLite query to answer to the ... | Here's the SQLite query to answer the question about the Time on July 18 that has a Loss of lilly (3-3):
```
SELECT time FROM table_name_34 WHERE date = "july 18" AND loss = "lilly (3-3)"
``` | 45,634 | [
{
"from": "human",
"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 (time VARCHAR, date VARCHAR, loss VARCHAR)\n\n Question: What is the Time on july 18 that has a Loss of lilly (3-3)?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (opponent VARCHAR, record VARCHAR)
Question: Which Opponent has a Record of 43-56?
Here is the SQLite query to answer to the question: Which Opponent has a... | Here is the SQLite query to answer the question: Which Opponent has a Record of 43-56?:
```
SELECT opponent FROM table_name_75 WHERE record = "43-56";
``` | 45,635 | [
{
"from": "human",
"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_75 (opponent VARCHAR, record VARCHAR)\n\n Question: Which Opponent has a Record of 43-56?\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_71 (score VARCHAR, date VARCHAR, record VARCHAR)
Question: What is the Score on July 18 that has Record of 41-51?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question:
```sql
SELECT score FROM table_name_71 WHERE date = "july 18" AND record = "41-51";
``` | 45,636 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR, record VARCHAR)\n\n Question: What is the Score on July 18 that has Record of 41-51?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR)
Question: Which Record is on july 31?
Here is the SQLite query to answer to the question: Which Record is on july 31?:
```
S... | Here is the SQLite query to answer the question "Which Record is on July 31?":
```
SELECT record FROM table_name_23 WHERE date = "july 31";
``` | 45,637 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR)\n\n Question: Which Record is on july 31?\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_18 (opponent VARCHAR, loss VARCHAR)
Question: Which Opponent has a Loss of weaver (9-9)?
Here is the SQLite query to answer to the question: Which Opponent ha... | Here is the SQLite query to answer the question "Which Opponent has a Loss of weaver (9-9)?":
```
SELECT opponent FROM table_name_18 WHERE loss = 'weaver (9-9)';
``` | 45,638 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_18 (opponent VARCHAR, loss VARCHAR)\n\n Question: Which Opponent has a Loss of weaver (9-9)?\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_27 (season VARCHAR, poles INTEGER)
Question: Which Season was the Poles greater than 14?
Here is the SQLite query to answer to the question: Which Season was ... | Here is the SQLite query to answer the question: Which Season was the Poles greater than 14?:
```
SELECT season FROM table_name_27 WHERE poles > 14;
``` | 45,639 | [
{
"from": "human",
"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_27 (season VARCHAR, poles INTEGER)\n\n Question: Which Season was the Poles greater than 14?\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 (season INTEGER, percentage VARCHAR, driver VARCHAR)
Question: Which is the highest Season with a Percentage of 67% and Alberto Ascari as a Driver?
Here is ... | Here is the SQLite query to answer the question about the highest season with a percentage of 67% and Alberto Ascari as a driver:
```
SELECT MAX(season) FROM table_name_7 WHERE percentage = "67%" AND driver = "Alberto Ascari"
``` | 45,640 | [
{
"from": "human",
"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 (season INTEGER, percentage VARCHAR, driver VARCHAR)\n\n Question: Which is the highest Season with a Percentage of 6... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER)
Question: Name the Driver that has Races greater than 16?
Here is the SQLite query to answer to the question: Name the Driv... | Here is the SQLite query to answer the question "Name the Driver that has Races greater than 16?":
```
SELECT driver FROM table_name_16 WHERE races > 16;
``` | 45,641 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (driver VARCHAR, races INTEGER)\n\n Question: Name the Driver that has Races greater than 16?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (long INTEGER, loss VARCHAR, gain VARCHAR, gp_gs VARCHAR, avg_g VARCHAR)
Question: What is the average Long that has a GP-GS less than 14, a AVg/G less than... | Here is the SQLite query to answer the question:
```
SELECT AVG(long) FROM table_name_34 WHERE gp_gs < 14 AND avg_g < 0.8 AND gain < 3 AND loss > 8
``` | 45,642 | [
{
"from": "human",
"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 (long INTEGER, loss VARCHAR, gain VARCHAR, gp_gs VARCHAR, avg_g VARCHAR)\n\n Question: What is the average Long that... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (avg_g INTEGER, long INTEGER)
Question: What is the lowest Avg/G with a Long less than 0?
Here is the SQLite query to answer to the question: What is the l... | Your provided SQLite query is correct for answering the question. Here it is wrapped in the requested format:
```
SELECT MIN(avg_g) FROM table_name_99 WHERE long < 0
``` | 45,643 | [
{
"from": "human",
"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_99 (avg_g INTEGER, long INTEGER)\n\n Question: What is the lowest Avg/G with a Long less than 0?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (avg_g INTEGER, name VARCHAR, long VARCHAR)
Question: What is the amount of Avg/G with a Name of blaine gabbert and a Long greater than 30?
Here is the SQL... | Your SQLite query is almost correct, but there is a small issue. In your schema, the `long` column is defined as a string (VARCHAR), so to perform a numerical comparison against 30, you'll need to cast it to an integer. Here is the corrected query:
```sql
SELECT SUM(avg_g) FROM table_name_79 WHERE name = "blaine gabbe... | 45,644 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (avg_g INTEGER, name VARCHAR, long VARCHAR)\n\n Question: What is the amount of Avg/G with a Name of blaine gabbert ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (long VARCHAR, loss VARCHAR, avg_g VARCHAR)
Question: What is the total number of Long with a Av/g of 124.9 but Loss greater than 0?
Here is the SQLite quer... | Here is the SQLite query to answer the question about the total number of `Long` with an `avg_g` of 124.9 but `Loss` greater than 0:
```sql
SELECT COUNT(long) FROM table_name_3 WHERE loss > 0 AND avg_g = '124.9'
```
Make sure to use quotes around `124.9` as it is stored as a VARCHAR in the database schema. | 45,645 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (long VARCHAR, loss VARCHAR, avg_g VARCHAR)\n\n Question: What is the total number of Long with a Av/g of 124.9 but L... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (date VARCHAR, label VARCHAR, format VARCHAR)
Question: What date has parlophone as the label, and lp as a format?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question regarding the date with "parlophone" as the label and "lp" as the format:
```
SELECT date FROM table_name_17 WHERE label = "parlophone" AND format = "lp"
``` | 45,646 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (date VARCHAR, label VARCHAR, format VARCHAR)\n\n Question: What date has parlophone as the label, and lp as a forma... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (school VARCHAR, state VARCHAR, city VARCHAR)
Question: What school has oregon as the state, and ashland as the city?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about which school is located in Oregon and Ashland:
```
SELECT school FROM table_name_37 WHERE state = "oregon" AND city = "ashland"
``` | 45,647 | [
{
"from": "human",
"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 (school VARCHAR, state VARCHAR, city VARCHAR)\n\n Question: What school has oregon as the state, and ashland as the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (conference VARCHAR, school VARCHAR)
Question: What conference has mayville state as the school?
Here is the SQLite query to answer to the question: What c... | Here is the SQLite query to answer the question regarding which conference has Mayville State as the school:
```
SELECT conference FROM table_name_71 WHERE school = "mayville state";
``` | 45,648 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (conference VARCHAR, school VARCHAR)\n\n Question: What conference has mayville state as the school?\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_37 (school VARCHAR, city VARCHAR)
Question: What school has belleville as the city?
Here is the SQLite query to answer to the question: What school has bellev... | Here is the SQLite query to answer the question: What school has belleville as the city?:
```
SELECT school FROM table_name_37 WHERE city = "belleville"
``` | 45,649 | [
{
"from": "human",
"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 (school VARCHAR, city VARCHAR)\n\n Question: What school has belleville as the city?\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_43 (city VARCHAR, team VARCHAR, school VARCHAR)
Question: What city has trojans as the team, and taylor as the school?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question:
```
SELECT city FROM table_name_43 WHERE team = "trojans" AND school = "taylor";
``` | 45,650 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (city VARCHAR, team VARCHAR, school VARCHAR)\n\n Question: What city has trojans as the team, and taylor as the scho... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (team VARCHAR, conference VARCHAR, school VARCHAR)
Question: What team has great plains as the conference, and concordia (ne) as the school?
Here is the SQ... | Here is the SQLite query to answer the question about the team in the "great plains" conference and "concordia (ne)" school:
```
SELECT team FROM table_name_58 WHERE conference = "great plains" AND school = "concordia (ne)"
``` | 45,651 | [
{
"from": "human",
"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_58 (team VARCHAR, conference VARCHAR, school VARCHAR)\n\n Question: What team has great plains as the conference, 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_53 (school VARCHAR, city VARCHAR)
Question: What school is in hillsboro city?
Here is the SQLite query to answer to the question: What school is in hillsboro ... | Here is the SQLite query to answer the question: What school is in hillsboro city?:
```
SELECT school FROM table_name_53 WHERE city = "hillsboro"
``` | 45,652 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (school VARCHAR, city VARCHAR)\n\n Question: What school is in hillsboro city?\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_92 (game VARCHAR, february VARCHAR, record VARCHAR)
Question: How many games have a February larger than 11, and a Record of 23-7-8?
Here is the SQLite query ... | Here is the SQLite query to answer the question about how many games have a February larger than 11 and a Record of 23-7-8:
```
SELECT COUNT(game) FROM table_name_92 WHERE february > 11 AND record = '23-7-8';
``` | 45,653 | [
{
"from": "human",
"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 (game VARCHAR, february VARCHAR, record VARCHAR)\n\n Question: How many games have a February larger than 11, and a ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (february VARCHAR, game VARCHAR, opponent VARCHAR)
Question: How much February has a Game larger than 37, and an Opponent of chicago black hawks?
Here is t... | Here is the SQLite query formatted as requested:
```
SELECT COUNT(february) FROM table_name_95 WHERE game > 37 AND opponent = "chicago black hawks"
``` | 45,654 | [
{
"from": "human",
"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 (february VARCHAR, game VARCHAR, opponent VARCHAR)\n\n Question: How much February has a Game larger than 37, and an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR)
Question: Which February has a Game of 40?
Here is the SQLite query to answer to the question: Which February has a Game o... | Your query is almost correct, but since `game` is defined as a `VARCHAR`, you should compare it as a string. Here is the corrected SQLite query wrapped in code formatting:
```
SELECT february FROM table_name_91 WHERE game = '40'
``` | 45,655 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR)\n\n Question: Which February has a Game of 40?\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_51 (record VARCHAR, february VARCHAR, opponent VARCHAR)
Question: Which Record has a February smaller than 8, and an Opponent of montreal canadiens?
Here is t... | Here's the SQLite query you need to answer the question about which Record has a February smaller than 8, and an Opponent of Montreal Canadiens:
```
SELECT record FROM table_name_51 WHERE february < 8 AND opponent = "montreal canadiens"
``` | 45,656 | [
{
"from": "human",
"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 (record VARCHAR, february VARCHAR, opponent VARCHAR)\n\n Question: Which Record has a February smaller than 8, and a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR, record VARCHAR)
Question: Which Score has a Game larger than 40, and a Record of 25-10-8?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question "Which Score has a Game larger than 40, and a Record of 25-10-8?":
```
SELECT score FROM table_name_81 WHERE game > 40 AND record = "25-10-8"
``` | 45,657 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (score VARCHAR, game VARCHAR, record VARCHAR)\n\n Question: Which Score has a Game larger than 40, and a Record of 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (team_performance VARCHAR, year VARCHAR)
Question: What was the team performance in 1977?
Here is the SQLite query to answer to the question: What was the ... | Here is the SQLite query to answer the question about the team performance in 1977:
```
SELECT team_performance FROM table_name_28 WHERE year = '1977'
``` | 45,658 | [
{
"from": "human",
"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 (team_performance VARCHAR, year VARCHAR)\n\n Question: What was the team performance in 1977?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (position VARCHAR, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR)
Question: What was the position of the player whose team lost super bo... | Your SQL query looks good, but you might want to include the year condition correctly to ensure it fits the specific context of the Super Bowl XXV, which took place in January 1991. If you're looking for teams that lost in that Super Bowl and were also ranked with a defense rank larger than 3, here’s how you could stru... | 45,659 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (position VARCHAR, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR)\n\n Question: What was the pos... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (round VARCHAR, pick VARCHAR, player VARCHAR)
Question: What round was Joe Patton selected with a pick over 68?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about what round Joe Patton was selected with a pick over 68:
```sql
SELECT round FROM table_name_94 WHERE pick > 68 AND player = "Joe Patton"
``` | 45,660 | [
{
"from": "human",
"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_94 (round VARCHAR, pick VARCHAR, player VARCHAR)\n\n Question: What round was Joe Patton selected with a pick over 68?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (sail_number VARCHAR, position INTEGER)
Question: Which Sail number has a Position smaller than 2?
Here is the SQLite query to answer to the question: Whic... | Here is the SQLite query to answer the question regarding which sail number has a position smaller than 2:
```
SELECT sail_number FROM table_name_47 WHERE position < 2
``` | 45,661 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (sail_number VARCHAR, position INTEGER)\n\n Question: Which Sail number has a Position smaller than 2?\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_43 (state_country VARCHAR, skipper VARCHAR)
Question: WHICH State/country that has ray roberts?
Here is the SQLite query to answer to the question: WHICH Stat... | Here is the SQLite query to answer the question "WHICH State/country that has ray roberts?":
```
SELECT state_country FROM table_name_43 WHERE skipper = "ray roberts"
``` | 45,662 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (state_country VARCHAR, skipper VARCHAR)\n\n Question: WHICH State/country that has ray roberts?\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_30 (surface VARCHAR, tournament VARCHAR)
Question: What surface did Smeets play on during the Kuwait tournament?
Here is the SQLite query to answer to the que... | Here's the SQLite query to answer the question about the surface Smeets played on during the Kuwait tournament:
```
SELECT surface FROM table_name_30 WHERE tournament = "Kuwait" AND player = "Smeets";
```
(Note: In the original schema provided, there is no indication of a 'player' column. If no player-specific infor... | 45,663 | [
{
"from": "human",
"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 (surface VARCHAR, tournament VARCHAR)\n\n Question: What surface did Smeets play on during the Kuwait tournament?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament did Smeets play against Mark nielsen?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question: What tournament did Smeets play against Mark Nielsen?:
```sql
SELECT tournament FROM table_name_11 WHERE opponent_in_the_final = "Mark Nielsen";
``` | 45,664 | [
{
"from": "human",
"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_11 (tournament VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What tournament did Smeets play against Mark niels... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (opponent_in_the_final VARCHAR, tournament VARCHAR)
Question: Who was the opponent during the tournament in Kuwait?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question: Who was the opponent during the tournament in Kuwait?:
```
SELECT opponent_in_the_final FROM table_name_91 WHERE tournament = "kuwait";
``` | 45,665 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (opponent_in_the_final VARCHAR, tournament VARCHAR)\n\n Question: Who was the opponent during the tournament in Kuwa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (weight VARCHAR, club VARCHAR)
Question: What is the weight of the player from the vk primorac kotor club?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the weight of the player from the vk primorac kotor club:
```
SELECT weight FROM table_name_42 WHERE club = "vk primorac kotor";
``` | 45,666 | [
{
"from": "human",
"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_42 (weight VARCHAR, club VARCHAR)\n\n Question: What is the weight of the player from the vk primorac kotor club?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (weight VARCHAR, club VARCHAR)
Question: What is the weight of the player from pvk jadran club?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question about the weight of the player from the pvk jadran club:
```
SELECT weight FROM table_name_96 WHERE club = "pvk jadran";
``` | 45,667 | [
{
"from": "human",
"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 (weight VARCHAR, club VARCHAR)\n\n Question: What is the weight of the player from pvk jadran club?\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_87 (name_v_t_e VARCHAR, club VARCHAR)
Question: What is the name of the player from club pro recco?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about the name of the player from club pro recco:
```
SELECT name_v_t_e FROM table_name_87 WHERE club = "pro recco"
``` | 45,668 | [
{
"from": "human",
"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 (name_v_t_e VARCHAR, club VARCHAR)\n\n Question: What is the name of the player from club pro recco?\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_96 (height VARCHAR, pos VARCHAR, club VARCHAR)
Question: What is the height of the player from club vk primorac kotor who plays gk?
Here is the SQLite query t... | Sure! Here is the SQLite query wrapped in the code format you specified:
```
SELECT height FROM table_name_96 WHERE pos = "gk" AND club = "vk primorac kotor"
``` | 45,669 | [
{
"from": "human",
"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 (height VARCHAR, pos VARCHAR, club VARCHAR)\n\n Question: What is the height of the player from club vk primorac kot... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (team_1 VARCHAR, team_2 VARCHAR)
Question: What is Team 1 where Team 2 is gombe united f.c.?
Here is the SQLite query to answer to the question: What is Te... | Here is the SQLite query to answer the question about what Team 1 is where Team 2 is "gombe united f.c.":
```
SELECT team_1 FROM table_name_23 WHERE team_2 = "gombe united f.c.";
``` | 45,670 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (team_1 VARCHAR, team_2 VARCHAR)\n\n Question: What is Team 1 where Team 2 is gombe united f.c.?\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_13 (team_1 VARCHAR, team_2 VARCHAR)
Question: What is Team 1 where Team 2 is al tahrir?
Here is the SQLite query to answer to the question: What is Team 1 whe... | Here is the SQLite query to answer the question "What is Team 1 where Team 2 is al tahrir?":
```
SELECT team_1 FROM table_name_13 WHERE team_2 = "al tahrir";
``` | 45,671 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR)\n\n Question: What is Team 1 where Team 2 is al tahrir?\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_9 (team_2 VARCHAR)
Question: What is the 2nd leg where Team 2 is fc 105 libreville?
Here is the SQLite query to answer to the question: What is the 2nd leg wh... | Here is the SQLite query to answer the question regarding the 2nd leg where Team 2 is "fc 105 libreville":
```
SELECT 2 AS nd_leg FROM table_name_9 WHERE team_2 = "fc 105 libreville"
``` | 45,672 | [
{
"from": "human",
"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 (team_2 VARCHAR)\n\n Question: What is the 2nd leg where Team 2 is fc 105 libreville?\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_68 (course VARCHAR, edition VARCHAR)
Question: What was the course called that had an Edition of 117th?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the course that had an edition of 117th:
```
SELECT course FROM table_name_68 WHERE edition = "117th";
``` | 45,673 | [
{
"from": "human",
"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 (course VARCHAR, edition VARCHAR)\n\n Question: What was the course called that had an Edition of 117th?\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_78 (year INTEGER, location VARCHAR)
Question: What was the earliest year that had a location of Brookline, Massachusetts?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the earliest year that had a location of Brookline, Massachusetts:
```
SELECT MIN(year) FROM table_name_78 WHERE location = "Brookline, Massachusetts"
``` | 45,674 | [
{
"from": "human",
"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 (year INTEGER, location VARCHAR)\n\n Question: What was the earliest year that had a location of Brookline, Massachu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (year INTEGER, edition VARCHAR)
Question: What year had an edition of 115th?
Here is the SQLite query to answer to the question: What year had an edition o... | The provided SQLite query seems to be using the `AVG` function, which is not necessary to answer the specific question of which year had an edition of "115th". You should instead be selecting the year directly.
Here is the corrected query:
```
SELECT year FROM table_name_21 WHERE edition = '115th';
```
This will re... | 45,675 | [
{
"from": "human",
"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 (year INTEGER, edition VARCHAR)\n\n Question: What year had an edition of 115th?\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_73 (points VARCHAR, class VARCHAR, rank VARCHAR)
Question: How many points did ginger have when she was ranked 5th on a 350cc class bike?
Here is the SQLite q... | The query you provided counts the number of entries for points rather than retrieving the points value for ginger. To get the points that ginger had when ranked 5th on a 350cc class bike, you should select the points directly. Here is the corrected SQLite query:
```
SELECT points FROM table_name_73 WHERE class = "350c... | 45,676 | [
{
"from": "human",
"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 (points VARCHAR, class VARCHAR, rank VARCHAR)\n\n Question: How many points did ginger have when she was ranked 5th ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (year VARCHAR, rank VARCHAR, points VARCHAR)
Question: What year was she ranked 16th with over 12 points?
Here is the SQLite query to answer to the questio... | The provided query seems to be counting the number of years instead of fetching the specific year when she was ranked 16th with over 12 points. To get the actual year, you should use the `SELECT` statement to retrieve the `year` from the table where the conditions are met. Here is the corrected query:
```
SELECT year ... | 45,677 | [
{
"from": "human",
"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 (year VARCHAR, rank VARCHAR, points VARCHAR)\n\n Question: What year was she ranked 16th with over 12 points?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)
Question: What year was she on a 350cc class bike, ranked 16th, with over 0 wins?
Here is the SQL... | The query you provided contains a slight issue. The `SUM(year)` function will not return the specific year you are looking for. Instead, you should select the year directly. Here’s the corrected query:
```sql
SELECT year FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0;
```
This will return th... | 45,678 | [
{
"from": "human",
"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 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR)\n\n Question: What year was she on a 350cc class bike, ran... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (points INTEGER, team VARCHAR, rank VARCHAR)
Question: How many points did she have with team bultaco, ranked 6th?
Here is the SQLite query to answer to th... | Your SQLite query is correctly written to sum the points for "team bultaco" with the rank "6th". Here it is wrapped in code blocks as you requested:
```
SELECT SUM(points) FROM table_name_40 WHERE team = "bultaco" AND rank = "6th"
``` | 45,679 | [
{
"from": "human",
"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 (points INTEGER, team VARCHAR, rank VARCHAR)\n\n Question: How many points did she have with team bultaco, ranked 6t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR)
Question: What is the Kashmiri word for the Indonesian word senin?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question of what the Kashmiri word is for the Indonesian word "senin":
```
SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin"
``` | 45,680 | [
{
"from": "human",
"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_90 (kashmiri VARCHAR, indonesian VARCHAR)\n\n Question: What is the Kashmiri word for the Indonesian word senin?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (turkish VARCHAR, bangla VARCHAR)
Question: What is the Turkish word for the Bangla word shombar সোমবার?
Here is the SQLite query to answer to the question... | Here is the SQLite query to find the Turkish word for the Bangla word "shombar সোমবার":
```
SELECT turkish FROM table_name_51 WHERE bangla = "shombar সোমবার"
``` | 45,681 | [
{
"from": "human",
"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 (turkish VARCHAR, bangla VARCHAR)\n\n Question: What is the Turkish word for the Bangla word shombar সোমবার?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (pashto VARCHAR, somali VARCHAR)
Question: What is the Pashto word for the Somali word talaado?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question "What is the Pashto word for the Somali word talaado?":
```
SELECT pashto FROM table_name_24 WHERE somali = 'talaado';
``` | 45,682 | [
{
"from": "human",
"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 (pashto VARCHAR, somali VARCHAR)\n\n Question: What is the Pashto word for the Somali word talaado?\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_58 (punjabi__pakistan_ VARCHAR, kurdish VARCHAR)
Question: What is the Punjabi (Pakistan) word for the Kurdish word یـــەک شـەمـمـە yak sham?
Here is the SQLi... | Here is the SQLite query you can use to find the Punjabi (Pakistan) word corresponding to the Kurdish word "یـــەک شـەمـمـە yak sham":
```
SELECT punjabi__pakistan_ FROM table_name_58 WHERE kurdish = "یـــەک شـەمـمـە yak sham"
``` | 45,683 | [
{
"from": "human",
"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_58 (punjabi__pakistan_ VARCHAR, kurdish VARCHAR)\n\n Question: What is the Punjabi (Pakistan) word for the Kurdish word... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (maltese VARCHAR, malay VARCHAR)
Question: What is the Maltese word for the Malay word rabu?
Here is the SQLite query to answer to the question: What is the... | Here is the SQLite query to answer the question about the Maltese word for the Malay word "rabu":
```
SELECT maltese FROM table_name_6 WHERE malay = "rabu";
``` | 45,684 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (maltese VARCHAR, malay VARCHAR)\n\n Question: What is the Maltese word for the Malay word rabu?\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_76 (pashto VARCHAR, malayalam VARCHAR)
Question: What is the Pashto word for the Malayalam word വ്യാഴം vyazham?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the Pashto word for the Malayalam word വ്യാഴം vyazham:
```
SELECT pashto FROM table_name_76 WHERE malayalam = "വ്യാഴം vyazham"
``` | 45,685 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR)\n\n Question: What is the Pashto word for the Malayalam word വ്യാഴം vyazham?\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_80 (score VARCHAR, date VARCHAR)
Question: Which Score has a Date of june 22?
Here is the SQLite query to answer to the question: Which Score has a Date of ju... | Here is the SQLite query to answer the question: Which Score has a Date of june 22?:
```
SELECT score FROM table_name_80 WHERE date = 'june 22';
``` | 45,686 | [
{
"from": "human",
"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 (score VARCHAR, date VARCHAR)\n\n Question: Which Score has a Date of june 22?\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
Question: How much Attendance has an Opponent of rockies, and a Record of 32-30?
Here is the SQLite ... | Here is the SQLite query to answer the question:
```
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30"
``` | 45,687 | [
{
"from": "human",
"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 (attendance INTEGER, opponent VARCHAR, record VARCHAR)\n\n Question: How much Attendance has an Opponent of rockies,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (opponent VARCHAR, round VARCHAR)
Question: Who was the opponent in which the bout ended in round 2?
Here is the SQLite query to answer to the question: Wh... | Your provided SQLite query is mostly correct, but you need to ensure that the `round` value is treated as a string since the round is defined as `VARCHAR` in your schema. Here's the corrected query to find the opponent in the bout that ended in round 2:
```
SELECT opponent FROM table_name_71 WHERE round = '2'
```
Ma... | 45,688 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (opponent VARCHAR, round VARCHAR)\n\n Question: Who was the opponent in which the bout ended in round 2?\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_82 (method VARCHAR, time VARCHAR)
Question: What was the method of the bout lasting 4:15?
Here is the SQLite query to answer to the question: What was the met... | Here is the SQLite query to answer the question about the method of the bout lasting 4:15:
```
SELECT method FROM table_name_82 WHERE time = "4:15";
``` | 45,689 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (method VARCHAR, time VARCHAR)\n\n Question: What was the method of the bout lasting 4:15?\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_57 (record VARCHAR, time VARCHAR)
Question: What was the record after the bout lasting 4:15?
Here is the SQLite query to answer to the question: What was the ... | To answer the question "What was the record after the bout lasting 4:15?", you might need to retrieve the record that comes immediately after the record with the time "4:15". This would typically involve a query that looks for the entry with a time greater than "4:15". Here’s how you can write that query:
```sql
SELEC... | 45,690 | [
{
"from": "human",
"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_57 (record VARCHAR, time VARCHAR)\n\n Question: What was the record after the bout lasting 4:15?\n\nHere is the SQLite ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (pick VARCHAR, round VARCHAR, position VARCHAR)
Question: How many Pick has a Round smaller than 13, and a Position of fullback?
Here is the SQLite query t... | Here is the SQLite query to answer the question:
```
SELECT COUNT(pick) FROM table_name_64 WHERE round < '13' AND position = 'fullback';
``` | 45,691 | [
{
"from": "human",
"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 (pick VARCHAR, round VARCHAR, position VARCHAR)\n\n Question: How many Pick has a Round smaller than 13, and a Posit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
Question: WHo has a Position of end and a School/Club Team of oregon state?
Here is the SQLite... | Here is the SQLite query to answer the question about who has a position of "end" and a school/club team of "oregon state":
```
SELECT player FROM table_name_22 WHERE position = "end" AND school_club_team = "oregon state"
``` | 45,692 | [
{
"from": "human",
"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 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)\n\n Question: WHo has a Position of end and a School/Cl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (round INTEGER, player VARCHAR, pick VARCHAR)
Question: Which Round has a Player of brunel christensen and a Pick smaller than 293?
Here is the SQLite quer... | Here's the SQLite query wrapped properly to answer your question:
```
SELECT MIN(round) FROM table_name_38 WHERE player = "brunel christensen" AND pick < 293
``` | 45,693 | [
{
"from": "human",
"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 (round INTEGER, player VARCHAR, pick VARCHAR)\n\n Question: Which Round has a Player of brunel christensen and a Pic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
Question: What score was on July 25?
Here is the SQLite query to answer to the question: What score was on July 25?:
```
SELE... | Here's the SQLite query to answer the question about the score on July 25:
```
SELECT score FROM table_name_26 WHERE date = "July 25";
``` | 45,694 | [
{
"from": "human",
"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 (score VARCHAR, date VARCHAR)\n\n Question: What score was on July 25?\n\nHere is the SQLite query to answer to the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR)
Question: Which rule has The Event of n/a, The Result of loss, and The Location of winsford ... | Here is the SQLite query to answer the question:
```
SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england";
``` | 45,695 | [
{
"from": "human",
"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 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR)\n\n Question: Which rule has The Event of n/a, The R... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (opponent VARCHAR, round VARCHAR, rules VARCHAR)
Question: Which Opponent has a Round of 4, and a Rules of thai boxing?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question "Which Opponent has a Round of 4, and a Rules of thai boxing?":
```
SELECT opponent FROM table_name_16 WHERE round = "4" AND rules = "thai boxing"
``` | 45,696 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (opponent VARCHAR, round VARCHAR, rules VARCHAR)\n\n Question: Which Opponent has a Round of 4, and a Rules of thai ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (opponent VARCHAR, rules VARCHAR, round VARCHAR, time VARCHAR)
Question: Which Opponent has a Round of 3, a Time of n/a, and a Rules of n/a?
Here is the SQ... | Here is the SQLite query to answer the question:
```
SELECT opponent FROM table_name_38 WHERE round = "3" AND time = "n/a" AND rules = "n/a"
``` | 45,697 | [
{
"from": "human",
"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 (opponent VARCHAR, rules VARCHAR, round VARCHAR, time VARCHAR)\n\n Question: Which Opponent has a Round of 3, a Time... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)
Question: Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everto... | Here is the SQLite query that answers your question:
```
SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawford";
``` | 45,698 | [
{
"from": "human",
"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_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)\n\n Question: Where has a Rules of thai boxing, a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (rules VARCHAR, method VARCHAR)
Question: WHich Rules has a Method of ko (punch)?
Here is the SQLite query to answer to the question: WHich Rules has a Met... | Here is the SQLite query to answer the question "Which Rules has a Method of ko (punch)?":
```
SELECT rules FROM table_name_26 WHERE method = "ko (punch)"
``` | 45,699 | [
{
"from": "human",
"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 (rules VARCHAR, method VARCHAR)\n\n Question: WHich Rules has a Method of ko (punch)?\n\nHere is the SQLite query to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.