text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26916717_1 (name VARCHAR, team_school VARCHAR)
Question: What player attended california university?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26916717_1 (name VARCHAR, team_school VARCHAR)
Question: What player attended california university?
Here is the SQLite query to answer to the question: What playe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR)
Question: What percentage of the EU's population lives in the country with ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR)
Question: What percentage of the EU's population lives in the country with a popu... | bugdaryan/sql-create-context-instruction | |
[INST] 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, country VARCHAR)
Question: What score has south africa as the country?
[/INST]
Here is the SQLite query to answer to the question: Wha... | 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, country VARCHAR)
Question: What score has south africa as the country?
Here is the SQLite query to answer to the question: What score has s... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Name the college for andrej podkonicky
[/INST]
Here 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_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Name the college for andrej podkonicky
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR)
Question: Which model has 175 seats?
[/INST]
Here is the SQLite query to answer to the question: Which model has 175 se... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR)
Question: Which model has 175 seats?
Here is the SQLite query to answer to the question: Which model has 175 seats?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Membership_card VARCHAR)
Question: Which membership card has more than 5 members?
[/INST]
Here is the SQLite query to answer to the question: Which membersh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Membership_card VARCHAR)
Question: Which membership card has more than 5 members?
Here is the SQLite query to answer to the question: Which membership card has m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13564637_5 (club VARCHAR, points VARCHAR)
Question: Who is the club that has 30 points?
[/INST]
Here is the SQLite query to answer to the question: Who is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13564637_5 (club VARCHAR, points VARCHAR)
Question: Who is the club that has 30 points?
Here is the SQLite query to answer to the question: Who is the club that ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (televote INTEGER, artist VARCHAR, draw VARCHAR)
Question: Artist Justinas Lapatinskas with a draw of greater than 9 got what as the highest televote?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (televote INTEGER, artist VARCHAR, draw VARCHAR)
Question: Artist Justinas Lapatinskas with a draw of greater than 9 got what as the highest televote?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)
Question: What final score was there on October 8, 2006?
[/INST]
Here 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_96 (score_in_the_final VARCHAR, date VARCHAR)
Question: What final score was there on October 8, 2006?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (year VARCHAR, role VARCHAR, title VARCHAR)
Question: What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (year VARCHAR, role VARCHAR, title VARCHAR)
Question: What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22824302_3 (steals VARCHAR, games_played VARCHAR)
Question: How many interceptions for the team who played 31 games?
[/INST]
Here 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_22824302_3 (steals VARCHAR, games_played VARCHAR)
Question: How many interceptions for the team who played 31 games?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the rider for laps less than 23 with grid greater than 21 that had... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the rider for laps less than 23 with grid greater than 21 that had a tim... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (term_start VARCHAR, name VARCHAR)
Question: When did Ismail Qemali Bej's term start?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (term_start VARCHAR, name VARCHAR)
Question: When did Ismail Qemali Bej's term start?
Here is the SQLite query to answer to the question: When did Ismail Q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE dorm (student_capacity INTEGER, gender VARCHAR)
Question: Find the average and total capacity of dorms for the students with gender X.
[/INST]
Here 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 dorm (student_capacity INTEGER, gender VARCHAR)
Question: Find the average and total capacity of dorms for the students with gender X.
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What is the average total number of medals when there were 4 bronze, more than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What is the average total number of medals when there were 4 bronze, more than 2 sil... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (event VARCHAR, opponent VARCHAR)
Question: Which event has Toa Naketoatama as an opponent?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (event VARCHAR, opponent VARCHAR)
Question: Which event has Toa Naketoatama as an opponent?
Here is the SQLite query to answer to the question: Which event... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR)
Question: What competition was held 1 March 1909?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR)
Question: What competition was held 1 March 1909?
Here is the SQLite query to answer to the question: What competition ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR)
Question: How much is the total ERP W for an 107.9 fm freqeuncy MHz?
[/INST]
Here 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_63 (erp_w VARCHAR, frequency_mhz VARCHAR)
Question: How much is the total ERP W for an 107.9 fm freqeuncy MHz?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR)
Question: What's the platform of Super Mario All-Stars?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR)
Question: What's the platform of Super Mario All-Stars?
Here is the SQLite query to answer to the question: What's the pl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (round INTEGER, time VARCHAR)
Question: What is the lowest round number for the fight that had a time of 1:09?
[/INST]
Here 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_12 (round INTEGER, time VARCHAR)
Question: What is the lowest round number for the fight that had a time of 1:09?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)
Question: Name the total number of round for against the netherlands
[/INST]
Here 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_22825058_23 (round VARCHAR, against VARCHAR)
Question: Name the total number of round for against the netherlands
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR)
Question: Name the average earnings for rank of 3 and wins less than 3
[/INST]
Here 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_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR)
Question: Name the average earnings for rank of 3 and wins less than 3
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (commentator VARCHAR, spokespersons VARCHAR)
Question: Who was the commentator when the spokesperson was michael aspel?
[/INST]
Here 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_35 (commentator VARCHAR, spokespersons VARCHAR)
Question: Who was the commentator when the spokesperson was michael aspel?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR)
Question: What was the report for an away team of Sydney Spirit and score of 96-87?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR)
Question: What was the report for an away team of Sydney Spirit and score of 96-87?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (highest_rank VARCHAR, name VARCHAR)
Question: What rank is Takatōriki?
[/INST]
Here is the SQLite query to answer to the question: What rank is Takat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (highest_rank VARCHAR, name VARCHAR)
Question: What rank is Takatōriki?
Here is the SQLite query to answer to the question: What rank is Takatōriki?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (attendance INTEGER, loss VARCHAR)
Question: How much attendance has a Loss of roloson (11–5)?
[/INST]
Here 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_70 (attendance INTEGER, loss VARCHAR)
Question: How much attendance has a Loss of roloson (11–5)?
Here is the SQLite query to answer to the question: How much... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR)
Question: Which country has a rollercoaster that opened in 2002, is a spinning coaster,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR)
Question: Which country has a rollercoaster that opened in 2002, is a spinning coaster, and i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR)
Question: what is the right ascension (j2000) when the apparent magnitude is 13?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR)
Question: what is the right ascension (j2000) when the apparent magnitude is 13?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)
Question: I want the average for evening gown of 7.52 and swimsuit larger than 7.78
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)
Question: I want the average for evening gown of 7.52 and swimsuit larger than 7.78
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR)
Question: Name the rank on channel for pilot
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24222929_4 (rank_on_channel VARCHAR, title VARCHAR)
Question: Name the rank on channel for pilot
Here is the SQLite query to answer to the question: Name the rank ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
Question: When there are 7.4 million viewers how many episodes are there?
[/INST]
Here 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_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
Question: When there are 7.4 million viewers how many episodes are there?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16388478_3 (away_team VARCHAR, home_team VARCHAR)
Question: What score did the away team receive against home team Port Adelaide?
[/INST]
Here 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_16388478_3 (away_team VARCHAR, home_team VARCHAR)
Question: What score did the away team receive against home team Port Adelaide?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (record VARCHAR, nationality VARCHAR, date VARCHAR)
Question: What is the record for Norway on 23 august 1981?
[/INST]
Here 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_56 (record VARCHAR, nationality VARCHAR, date VARCHAR)
Question: What is the record for Norway on 23 august 1981?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (viewership__millions_ INTEGER, broadcast_date VARCHAR)
Question: What is the lowest viewership in millions of the episode broadcast on 7 September 20... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (viewership__millions_ INTEGER, broadcast_date VARCHAR)
Question: What is the lowest viewership in millions of the episode broadcast on 7 September 2001?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (rd__number INTEGER, pl_gp VARCHAR, reg_gp VARCHAR)
Question: What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (rd__number INTEGER, pl_gp VARCHAR, reg_gp VARCHAR)
Question: What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR)
Question: What event had Wang Bingyu for the skip?
[/INST]
Here is the SQLite query to answer to the question: What even... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR)
Question: What event had Wang Bingyu for the skip?
Here is the SQLite query to answer to the question: What event had Wang Bi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (competition VARCHAR, venue VARCHAR)
Question: What competition has a venue in Hampden Park, Glasgow?
[/INST]
Here 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_55 (competition VARCHAR, venue VARCHAR)
Question: What competition has a venue in Hampden Park, Glasgow?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (purpose VARCHAR, freq_currently VARCHAR, area_served VARCHAR)
Question: What is the purpose for the katherine freq of 8rn?
[/INST]
Here 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_50 (purpose VARCHAR, freq_currently VARCHAR, area_served VARCHAR)
Question: What is the purpose for the katherine freq of 8rn?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR, venue VARCHAR)
Question: What is the Result of the Competition at MBPJ Stadium with a Score of 4–0?
[/INST]
Here 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_95 (result VARCHAR, score VARCHAR, venue VARCHAR)
Question: What is the Result of the Competition at MBPJ Stadium with a Score of 4–0?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
Question: What is Fleet Number(s), when Wheel Arrangement is "2-6-0", and when Cla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
Question: What is Fleet Number(s), when Wheel Arrangement is "2-6-0", and when Class is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14986292_1 (population_density_2010___km²_ VARCHAR, administrative_division VARCHAR)
Question: Name the number of population density 2010 for duque de caxias
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14986292_1 (population_density_2010___km²_ VARCHAR, administrative_division VARCHAR)
Question: Name the number of population density 2010 for duque de caxias
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (Id VARCHAR)
Question: What is the 2010 when the 2009 shows Q1?
[/INST]
Here is the SQLite query to answer to the question: What is the 2010 when the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (Id VARCHAR)
Question: What is the 2010 when the 2009 shows Q1?
Here is the SQLite query to answer to the question: What is the 2010 when the 2009 shows Q1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13665809_2 (season INTEGER, byu_uu_score VARCHAR)
Question: what is the maximum season with byu-uu score being 20–17 byu #19
[/INST]
Here 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_13665809_2 (season INTEGER, byu_uu_score VARCHAR)
Question: what is the maximum season with byu-uu score being 20–17 byu #19
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (run_2 INTEGER, athlete VARCHAR, run_3 VARCHAR)
Question: What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (run_2 INTEGER, athlete VARCHAR, run_3 VARCHAR)
Question: What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What was Gary Megson's manner of departure?
[/INST]
Here 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_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: What was Gary Megson's manner of departure?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (d_44 VARCHAR, d_41 VARCHAR)
Question: What is the D44 when D41 is D 16?
[/INST]
Here is the SQLite query to answer to the question: What is the D44 w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (d_44 VARCHAR, d_41 VARCHAR)
Question: What is the D44 when D41 is D 16?
Here is the SQLite query to answer to the question: What is the D44 when D41 is D ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (lane VARCHAR, mark VARCHAR, react VARCHAR)
Question: What is the total number of Lane, when Mark is "7.93", and when React is less than 0.145?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (lane VARCHAR, mark VARCHAR, react VARCHAR)
Question: What is the total number of Lane, when Mark is "7.93", and when React is less than 0.145?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
Question: What team does Anthony Redmond ride for?
[/INST]
Here is the SQLite query to answer to the question: What team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (team VARCHAR, rider VARCHAR)
Question: What team does Anthony Redmond ride for?
Here is the SQLite query to answer to the question: What team does Anthony... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (callback_venue VARCHAR, audition_city VARCHAR)
Question: What was the callback venue for the Phoenix, Arizona auditions?
[/INST]
Here 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_15 (callback_venue VARCHAR, audition_city VARCHAR)
Question: What was the callback venue for the Phoenix, Arizona auditions?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2679061_6 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What is the college/junior/club team for player don barber?
[/INST]
Here 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_2679061_6 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What is the college/junior/club team for player don barber?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (losses VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)
Question: What is the total number of losses and draws 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 (losses VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)
Question: What is the total number of losses and draws less than 7, poi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year VARCHAR, meeting VARCHAR, venue VARCHAR, extra VARCHAR)
Question: What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meet... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year VARCHAR, meeting VARCHAR, venue VARCHAR, extra VARCHAR)
Question: What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (power VARCHAR, year INTEGER)
Question: How powerful is the model before 1999?
[/INST]
Here is the SQLite query to answer to the question: How powerfu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (power VARCHAR, year INTEGER)
Question: How powerful is the model before 1999?
Here is the SQLite query to answer to the question: How powerful is the mode... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1816947_2 (season INTEGER, average_attendance_league VARCHAR)
Question: In which season was the average league attendance 2.572?
[/INST]
Here 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_1816947_2 (season INTEGER, average_attendance_league VARCHAR)
Question: In which season was the average league attendance 2.572?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25057928_1 (institute VARCHAR)
Question: Name the most 2012/13 for university of cambridge
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25057928_1 (institute VARCHAR)
Question: Name the most 2012/13 for university of cambridge
Here is the SQLite query to answer to the question: Name the most 2012/1... | bugdaryan/sql-create-context-instruction | |
[INST] 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 INTEGER, year_s__won VARCHAR)
Question: What was the average round score of the player who won in 1978?
[/INST]
Here 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_72 (total INTEGER, year_s__won VARCHAR)
Question: What was the average round score of the player who won in 1978?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, player VARCHAR)
Question: What is the pick with Dean Sears and round larger than 6?
[/INST]
Here 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_61 (pick INTEGER, round VARCHAR, player VARCHAR)
Question: What is the pick with Dean Sears and round larger than 6?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (year VARCHAR, slogan VARCHAR)
Question: What year has the wild side of soccer! as the slogan?
[/INST]
Here 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_89 (year VARCHAR, slogan VARCHAR)
Question: What year has the wild side of soccer! as the slogan?
Here is the SQLite query to answer to the question: What yea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at the game held at Brunswick Street Oval?
[/INST]
Here 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_45 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at the game held at Brunswick Street Oval?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR)
Question: What is Jonty Rhodes's batting style?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR)
Question: What is Jonty Rhodes's batting style?
Here is the SQLite query to answer to the question: What is Jonty R... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: Which manufacturer has 23 laps and a time of +45.195?
[/INST]
Here 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_52 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: Which manufacturer has 23 laps and a time of +45.195?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, points_classification VARCHAR)
Question: Name the mountains classification for alexander kristoff
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, points_classification VARCHAR)
Question: Name the mountains classification for alexander kristoff
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE evaluation (name VARCHAR, Employee_ID VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)
Question: Find the names of employees who never won any aw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE evaluation (name VARCHAR, Employee_ID VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)
Question: Find the names of employees who never won any award in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR)
Question: How many attempts for Bobby Layne?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR)
Question: How many attempts for Bobby Layne?
Here is the SQLite query to answer to the question: How many attempts for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR)
Question: Tell me the constructor for grid of 17
[/INST]
Here is the SQLite query to answer to the question: Tell m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR)
Question: Tell me the constructor for grid of 17
Here is the SQLite query to answer to the question: Tell me the constru... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (date VARCHAR, visitor VARCHAR, score VARCHAR)
Question: When did Montreal visit and have a score of 1-4?
[/INST]
Here 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_47 (date VARCHAR, visitor VARCHAR, score VARCHAR)
Question: When did Montreal visit and have a score of 1-4?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE track (LOCATION VARCHAR, seating INTEGER)
Question: Find the locations where have both tracks with more than 90000 seats and tracks with less than 70000 seats.
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE track (LOCATION VARCHAR, seating INTEGER)
Question: Find the locations where have both tracks with more than 90000 seats and tracks with less than 70000 seats.
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (school VARCHAR, location VARCHAR)
Question: What school is located in rossville?
[/INST]
Here is the SQLite query to answer to the question: What sch... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (school VARCHAR, location VARCHAR)
Question: What school is located in rossville?
Here is the SQLite query to answer to the question: What school is locate... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the average gold medals Uzbekistan, which has less than 24 total medals, has?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR, total VARCHAR)
Question: What is the average gold medals Uzbekistan, which has less than 24 total medals, has?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (numer_of_jamaicans_granted_british_citizenship INTEGER, year VARCHAR, registration_of_a_minor_child VARCHAR)
Question: Tell me the sum of number of j... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (numer_of_jamaicans_granted_british_citizenship INTEGER, year VARCHAR, registration_of_a_minor_child VARCHAR)
Question: Tell me the sum of number of jamaica... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (profits__billion_ INTEGER, company VARCHAR)
Question: Name the highest Profits (billion $) which has a Company of walmart?
[/INST]
Here 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_14 (profits__billion_ INTEGER, company VARCHAR)
Question: Name the highest Profits (billion $) which has a Company of walmart?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24850630_3 (venue VARCHAR, race VARCHAR)
Question: The MacKinnon Stakes races took place on how many venues?
[/INST]
Here 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_24850630_3 (venue VARCHAR, race VARCHAR)
Question: The MacKinnon Stakes races took place on how many venues?
Here is the SQLite query to answer to the question: Th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, loss VARCHAR)
Question: Name the date with loss of carman (3-12)
[/INST]
Here is the SQLite query to answer to the question: Name the d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, loss VARCHAR)
Question: Name the date with loss of carman (3-12)
Here is the SQLite query to answer to the question: Name the date with loss... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (time VARCHAR, record VARCHAR)
Question: What is the time where the record is 10-1?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (time VARCHAR, record VARCHAR)
Question: What is the time where the record is 10-1?
Here is the SQLite query to answer to the question: What is the time wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501971_2 (country VARCHAR, año VARCHAR)
Question: When the año was 2012, who was the county?
[/INST]
Here is the SQLite query to answer to the question: Whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501971_2 (country VARCHAR, año VARCHAR)
Question: When the año was 2012, who was the county?
Here is the SQLite query to answer to the question: When the año was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (place INTEGER, points VARCHAR)
Question: What is the aggregate of place for points being 35?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (place INTEGER, points VARCHAR)
Question: What is the aggregate of place for points being 35?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
Question: How many states that have some college students playing in the m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
Question: How many states that have some college students playing in the mid pos... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
Question: What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
Question: What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: What is the 1995 when the 1991 is Grand Slams?
[/INST]
Here is the SQLite query to answer to the question: What is the 1995 whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: What is the 1995 when the 1991 is Grand Slams?
Here is the SQLite query to answer to the question: What is the 1995 when the 1991 is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (south VARCHAR, season VARCHAR)
Question: Who was in the South in the 2004-05 season?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (south VARCHAR, season VARCHAR)
Question: Who was in the South in the 2004-05 season?
Here is the SQLite query to answer to the question: Who was in the So... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (result VARCHAR, date VARCHAR, competition VARCHAR, score VARCHAR)
Question: What is the Result of the Friendly Competition on October 27, 2005 with a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (result VARCHAR, date VARCHAR, competition VARCHAR, score VARCHAR)
Question: What is the Result of the Friendly Competition on October 27, 2005 with a Score... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Who is the Outgoing Manager replaced by Sandy Clark?
[/INST]
Here 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_66 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Who is the Outgoing Manager replaced by Sandy Clark?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR)
Question: Which Length has a Year of 2000?
[/INST]
Here is the SQLite query to answer to the question: Which Length has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (length VARCHAR, year VARCHAR)
Question: Which Length has a Year of 2000?
Here is the SQLite query to answer to the question: Which Length has a Year of 20... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (power VARCHAR, city_of_license VARCHAR)
Question: What is Power, when City of License is Sioux Lookout?
[/INST]
Here 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_93 (power VARCHAR, city_of_license VARCHAR)
Question: What is Power, when City of License is Sioux Lookout?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (pick VARCHAR, player VARCHAR)
Question: WHAT WAS THE PICK NUMBER FOR BRANDON RUSH?
[/INST]
Here is the SQLite query to answer to the question: WHAT W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (pick VARCHAR, player VARCHAR)
Question: WHAT WAS THE PICK NUMBER FOR BRANDON RUSH?
Here is the SQLite query to answer to the question: WHAT WAS THE PICK N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (tournament VARCHAR)
Question: What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament?
[/INST]
Here 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_72 (tournament VARCHAR)
Question: What is the value in 2006 when the value for 2009 is 0 with runner-ups for tournament?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR)
Question: What was the outcome for Jan Pisecky and his partner?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR)
Question: What was the outcome for Jan Pisecky and his partner?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (method VARCHAR, time VARCHAR)
Question: What is Method, when Time is "3:20"?
[/INST]
Here is the SQLite query to answer to the question: What is Meth... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (method VARCHAR, time VARCHAR)
Question: What is Method, when Time is "3:20"?
Here is the SQLite query to answer to the question: What is Method, when Time... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (grid INTEGER, time VARCHAR)
Question: What is the highest grid when the time is +45.162?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (grid INTEGER, time VARCHAR)
Question: What is the highest grid when the time is +45.162?
Here is the SQLite query to answer to the question: What is the h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)
Question: What is the total of wins where the top 25 is 6, top 10 is more than 2, and 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 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)
Question: What is the total of wins where the top 25 is 6, top 10 is more than 2, and the eve... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)
Question: Who was the opposing team at the match played at the Arden Street Oval?
[/INST]
Here 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_64 (away_team VARCHAR, venue VARCHAR)
Question: Who was the opposing team at the match played at the Arden Street Oval?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30007505_1 (mister_international INTEGER)
Question: Name the least mister international
[/INST]
Here is the SQLite query to answer to the question: Name the l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30007505_1 (mister_international INTEGER)
Question: Name the least mister international
Here is the SQLite query to answer to the question: Name the least mister i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR)
Question: on the span of 1992-2000, what was the conv ?
[/INST]
Here is the SQLite query to answer to the question: on th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR)
Question: on the span of 1992-2000, what was the conv ?
Here is the SQLite query to answer to the question: on the span of 199... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR)
Question: Name the lowest Year Joined which has a Mascot of pioneers?
[/INST]
Here 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_93 (year_joined INTEGER, mascot VARCHAR)
Question: Name the lowest Year Joined which has a Mascot of pioneers?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE participants_in_Events (participant_id VARCHAR)
Question: What are all the distinct participant ids who attended any events?
[/INST]
Here 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 participants_in_Events (participant_id VARCHAR)
Question: What are all the distinct participant ids who attended any events?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (date VARCHAR, opponent VARCHAR)
Question: On what date was the opponent the Green Bay Packers?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (date VARCHAR, opponent VARCHAR)
Question: On what date was the opponent the Green Bay Packers?
Here is the SQLite query to answer to the question: On what... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23950611_2 (market_cap_march_15__mil_usd__ VARCHAR, april_2013_cum_rank VARCHAR)
Question: How many companies had an april 2013 cumulative ranking of 3?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23950611_2 (market_cap_march_15__mil_usd__ VARCHAR, april_2013_cum_rank VARCHAR)
Question: How many companies had an april 2013 cumulative ranking of 3?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR, category VARCHAR)
Question: WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?
[/INST]
Here 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_79 (result VARCHAR, year VARCHAR, category VARCHAR)
Question: WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (week INTEGER, result VARCHAR)
Question: What's the average Week with the Result l 23–3?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (week INTEGER, result VARCHAR)
Question: What's the average Week with the Result l 23–3?
Here is the SQLite query to answer to the question: What's the ave... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (position VARCHAR, player VARCHAR, height VARCHAR, year_born VARCHAR)
Question: What position does Sergio Rodríguez, who is less than 1.96 tall and wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (position VARCHAR, player VARCHAR, height VARCHAR, year_born VARCHAR)
Question: What position does Sergio Rodríguez, who is less than 1.96 tall and was born... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.