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_name_91 (played VARCHAR, goal_difference VARCHAR) Question: What is Played, when Goal Difference is "+51"? [/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_91 (played VARCHAR, goal_difference VARCHAR) Question: What is Played, when Goal Difference is "+51"? 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_98 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR) Question: What is the average Top-5 for the open championship, and a Top-10 smaller than 2? [/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 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR) Question: What is the average Top-5 for the open championship, and a Top-10 smaller than 2? 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_52 (tie_no VARCHAR, home_team VARCHAR) Question: WHAT IS NO TIE FROM brighton & hove albion? [/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_52 (tie_no VARCHAR, home_team VARCHAR) Question: WHAT IS NO TIE FROM brighton & hove albion? Here is the SQLite query to answer to the question: WHAT IS NO TI...
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 (school_club_team VARCHAR, years_in_toronto VARCHAR) Question: What School/Club Team played in Toronto during 2012? [/INST] Here 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_43 (school_club_team VARCHAR, years_in_toronto VARCHAR) Question: What School/Club Team played in Toronto during 2012? Here is the SQLite query to answer to 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_62 (date VARCHAR, time VARCHAR, set_3 VARCHAR) Question: Which Date has a Time of 11:00, and a Set 3 of 25–18? [/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_62 (date VARCHAR, time VARCHAR, set_3 VARCHAR) Question: Which Date has a Time of 11:00, and a Set 3 of 25–18? 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_10 (earth VARCHAR, metal VARCHAR) Question: Which earth has west metal? [/INST] Here is the SQLite query to answer to the question: Which earth has west ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (earth VARCHAR, metal VARCHAR) Question: Which earth has west metal? Here is the SQLite query to answer to the question: Which earth has west metal?: ``` 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_12962773_2 (position VARCHAR, player VARCHAR) Question: What's Yotam Halperin's position? [/INST] Here is the SQLite query to answer to the question: What's Y...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12962773_2 (position VARCHAR, player VARCHAR) Question: What's Yotam Halperin's position? Here is the SQLite query to answer to the question: What's Yotam Halperin...
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_37 (opponent_team VARCHAR, scorers VARCHAR) Question: Who was the opposing team when the scorer was ronaldinho 90+3'? [/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_37 (opponent_team VARCHAR, scorers VARCHAR) Question: Who was the opposing team when the scorer was ronaldinho 90+3'? Here is the SQLite query to answer to 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 Students (personal_name VARCHAR) Question: How many students have personal names that contain the word "son"? [/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 Students (personal_name VARCHAR) Question: How many students have personal names that contain the word "son"? Here is the SQLite query to answer to the question: How man...
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_10 (laps INTEGER, rider VARCHAR, grid VARCHAR) Question: What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha [/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_10 (laps INTEGER, rider VARCHAR, grid VARCHAR) Question: What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha Here is the SQLite 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_15530244_5 (driver VARCHAR, race_2 VARCHAR) Question: Name the driver for race 2 7 [/INST] Here is the SQLite query to answer to the question: Name the driver...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15530244_5 (driver VARCHAR, race_2 VARCHAR) Question: Name the driver for race 2 7 Here is the SQLite query to answer to the question: Name the driver for race 2 7...
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 (club VARCHAR, goals VARCHAR, season VARCHAR) Question: What club had over 0 goals in 2011? [/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_40 (club VARCHAR, goals VARCHAR, season VARCHAR) Question: What club had over 0 goals in 2011? Here is the SQLite query to answer to the question: What club 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_1 (team VARCHAR, player VARCHAR) Question: What team does Bill Walker play for? [/INST] Here is the SQLite query to answer to the question: What team doe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (team VARCHAR, player VARCHAR) Question: What team does Bill Walker play for? Here is the SQLite query to answer to the question: What team does Bill Walker...
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_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR) Question: Name the song for safe result #8. [/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_23871828_1 (song_choice VARCHAR, result VARCHAR, order__number VARCHAR) Question: Name the song for safe result #8. 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_45 (goals INTEGER, leading_scorer VARCHAR) Question: Leading Scorer of Ian rush is what lowest # of goals? [/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_45 (goals INTEGER, leading_scorer VARCHAR) Question: Leading Scorer of Ian rush is what lowest # of goals? 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_80 (second VARCHAR, third VARCHAR) Question: Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)? [/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_80 (second VARCHAR, third VARCHAR) Question: Who is the second where the third of Kelly Wood (e) Anna Sloan (Jr)? 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_79 (competition VARCHAR, draws VARCHAR) Question: Which competition had 2 draws? [/INST] Here is the SQLite query to answer to the question: Which compet...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (competition VARCHAR, draws VARCHAR) Question: Which competition had 2 draws? Here is the SQLite query to answer to the question: Which competition had 2 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_10 (to_par VARCHAR, total VARCHAR) Question: What is the To par when there was a total of 291? [/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_10 (to_par VARCHAR, total VARCHAR) Question: What is the To par when there was a total of 291? Here is the SQLite query to answer to the question: What 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_42 (set_2 VARCHAR, total VARCHAR) Question: What is the Set 2 with a Total with 45–12? [/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_42 (set_2 VARCHAR, total VARCHAR) Question: What is the Set 2 with a Total with 45–12? Here is the SQLite query to answer to the question: What is the Set 2 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_53 (declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) Question: For the constellation scorpius and object of planetary nebula, w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR) Question: For the constellation scorpius and object of planetary nebula, what wa...
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 student (name VARCHAR, dept_name VARCHAR, tot_cred VARCHAR) Question: Find the name of the students and their department names sorted by their total credits in asce...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student (name VARCHAR, dept_name VARCHAR, tot_cred VARCHAR) Question: Find the name of the students and their department names sorted by their total credits in ascending ...
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_2668367_21 (district VARCHAR, incumbent VARCHAR) Question: Name the distrct for thomas wilson [/INST] Here is the SQLite query to answer to the question: Name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2668367_21 (district VARCHAR, incumbent VARCHAR) Question: Name the distrct for thomas wilson Here is the SQLite query to answer to the question: Name the distrct ...
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 matches (winner_name VARCHAR, tourney_name VARCHAR, winner_hand VARCHAR) Question: How many different winners both participated in the WTA Championships and were le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE matches (winner_name VARCHAR, tourney_name VARCHAR, winner_hand VARCHAR) Question: How many different winners both participated in the WTA Championships and were left han...
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_256286_21 (type VARCHAR, meas_num VARCHAR) Question: What type of proposal is measure number 3? [/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_256286_21 (type VARCHAR, meas_num VARCHAR) Question: What type of proposal is measure number 3? Here is the SQLite query to answer to the question: What type of pr...
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 performance (Date VARCHAR, LOCATION VARCHAR) Question: What are the dates and locations of performances? [/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 performance (Date VARCHAR, LOCATION VARCHAR) Question: What are the dates and locations of performances? Here is the SQLite query to answer to the question: What are 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_51 (league VARCHAR, playoffs VARCHAR) Question: Which league's playoffs was national semi-finals? [/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_51 (league VARCHAR, playoffs VARCHAR) Question: Which league's playoffs was national semi-finals? Here is the SQLite query to answer to the question: Which le...
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 (res VARCHAR, event VARCHAR) Question: Which Res has an Event of UFC 122? [/INST] Here is the SQLite query to answer to the question: Which Res has an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (res VARCHAR, event VARCHAR) Question: Which Res has an Event of UFC 122? Here is the SQLite query to answer to the question: Which Res has an Event of UFC...
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_57 (record VARCHAR, date VARCHAR) Question: What date was the nascar nationwide series held? [/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_57 (record VARCHAR, date VARCHAR) Question: What date was the nascar nationwide series held? Here is the SQLite query to answer to the question: What date 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_75 (score VARCHAR, date VARCHAR) Question: What is the score on May 18? [/INST] Here is the SQLite query to answer to the question: What is the score on ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) Question: What is the score on May 18? Here is the SQLite query to answer to the question: What is the score on May 18?: ``` ...
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_22756549_1 (party VARCHAR, margin VARCHAR) Question: What party won with a margin of 105731? [/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_22756549_1 (party VARCHAR, margin VARCHAR) Question: What party won with a margin of 105731? Here is the SQLite query to answer to the question: What party won wit...
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_27734769_8 (date VARCHAR, high_rebounds VARCHAR) Question: How many times was the high rebounds by marcus camby (18)? [/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_27734769_8 (date VARCHAR, high_rebounds VARCHAR) Question: How many times was the high rebounds by marcus camby (18)? 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_96 (decision VARCHAR, visitor VARCHAR) Question: What is the decision when new jersey was away? [/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_name_96 (decision VARCHAR, visitor VARCHAR) Question: What is the decision when new jersey was away? Here is the SQLite query to answer to the question: What 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_17323092_7 (high_assists VARCHAR, team VARCHAR) Question: Who had the high assists when the team was @ Minnesota? [/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_17323092_7 (high_assists VARCHAR, team VARCHAR) Question: Who had the high assists when the team was @ Minnesota? 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_8 (network VARCHAR, genre VARCHAR) Question: Which network's genre is music? [/INST] Here is the SQLite query to answer to the question: Which network's ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (network VARCHAR, genre VARCHAR) Question: Which network's genre is music? Here is the SQLite query to answer to the question: Which network's genre is musi...
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_5 (high_assists VARCHAR, game INTEGER) Question: Who had the high assists in the game less than 19? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (high_assists VARCHAR, game INTEGER) Question: Who had the high assists in the game less than 19? Here is the SQLite query to answer to the question: Who 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_63 (release_price___usd__ VARCHAR, socket VARCHAR) Question: Socket of without quickassist has what release price? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (release_price___usd__ VARCHAR, socket VARCHAR) Question: Socket of without quickassist has what release price? Here is the SQLite query to answer to the 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_63 (lost VARCHAR, against VARCHAR, played VARCHAR) Question: Which Lost has an Against of 49 and a Played smaller than 20? [/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_63 (lost VARCHAR, against VARCHAR, played VARCHAR) Question: Which Lost has an Against of 49 and a Played smaller than 20? 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_13657883_2 (gtu_winning_team VARCHAR, gto_winning_team VARCHAR) Question: What was the gtu winning team when the gto winning team was #48 greenwood racing? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13657883_2 (gtu_winning_team VARCHAR, gto_winning_team VARCHAR) Question: What was the gtu winning team when the gto winning team was #48 greenwood racing? 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_name_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER) Question: What is the league cup app with league cup goals more than 0? [/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_76 (league_cup_apps VARCHAR, league_cup_goals INTEGER) Question: What is the league cup app with league cup goals more than 0? 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 list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) Question: How many students does KAWA GORDON teaches? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) Question: How many students does KAWA GORDON teaches? 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_74 (gold INTEGER, silver VARCHAR, nation VARCHAR) Question: How many golds does Germany have with more than 1 silver? [/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_74 (gold INTEGER, silver VARCHAR, nation VARCHAR) Question: How many golds does Germany have with more than 1 silver? Here is the SQLite query to answer to 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_49 (score VARCHAR, result VARCHAR, date VARCHAR) Question: What score has won as the result on the date of December 14, 2004? [/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_49 (score VARCHAR, result VARCHAR, date VARCHAR) Question: What score has won as the result on the date of December 14, 2004? 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_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR) Question: What is the weight of the display that has an internal storage of 16-64...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR) Question: What is the weight of the display that has an internal storage of 16-64 GB an...
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_27734286_1 (location_attendance VARCHAR, team VARCHAR) Question: What's the location attendance of the @ portland team? [/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_27734286_1 (location_attendance VARCHAR, team VARCHAR) Question: What's the location attendance of the @ portland team? 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_56 (nation VARCHAR, time__sec_ VARCHAR) Question: Which nation finished with a time of 47.049? [/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_56 (nation VARCHAR, time__sec_ VARCHAR) Question: Which nation finished with a time of 47.049? Here is the SQLite query to answer to the question: Which natio...
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 enroll (stu_num VARCHAR, enroll_grade VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR) Question: Find names of all students wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR) Question: Find names of all students who took...
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_29141354_4 (_episode_2 VARCHAR, andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4 VARCHAR, episode VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29141354_4 (_episode_2 VARCHAR, andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4 VARCHAR, episode VARCHAR) 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_90 (yards INTEGER, player VARCHAR, rec VARCHAR, avg VARCHAR, long VARCHAR) Question: Which Yards has an Avg larger than 7, and a Long smaller than 60, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (yards INTEGER, player VARCHAR, rec VARCHAR, avg VARCHAR, long VARCHAR) Question: Which Yards has an Avg larger than 7, and a Long smaller than 60, and a Re...
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 (score VARCHAR, game INTEGER) Question: What was the score at the game earlier than 66? [/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_56 (score VARCHAR, game INTEGER) Question: What was the score at the game earlier than 66? Here is the SQLite query to answer to the question: What was the sc...
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_27 (away_team VARCHAR, tie_no VARCHAR) Question: In Tie #19, what was the name of the away team? [/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_27 (away_team VARCHAR, tie_no VARCHAR) Question: In Tie #19, what was the name of the away team? Here is the SQLite query to answer to the question: In Tie #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 students (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR) Question: What is detail of the student who r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE students (student_details VARCHAR, student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR) Question: What is detail of the student who registe...
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_30098144_2 (jockey VARCHAR, race VARCHAR) Question: List the rider for the doncaster handicap compeition. [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30098144_2 (jockey VARCHAR, race VARCHAR) Question: List the rider for the doncaster handicap compeition. Here is the SQLite query to answer to the question: List ...
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 (release_date VARCHAR, song_title VARCHAR) Question: When was the song titled if you talk in your sleep released? [/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_34 (release_date VARCHAR, song_title VARCHAR) Question: When was the song titled if you talk in your sleep released? 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_74 (winner VARCHAR, rider_status VARCHAR, year VARCHAR) Question: Who was the winner in 1973 with an amateur rider status? [/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_74 (winner VARCHAR, rider_status VARCHAR, year VARCHAR) Question: Who was the winner in 1973 with an amateur rider status? 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_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) Question: Which of Real Betis career had appearances smaller than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) Question: Which of Real Betis career had appearances smaller than 98, 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_69 (partner VARCHAR, date VARCHAR) Question: What was the Partner on June 17, 2012? [/INST] Here is the SQLite query to answer to the question: What was ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (partner VARCHAR, date VARCHAR) Question: What was the Partner on June 17, 2012? Here is the SQLite query to answer to the question: What was the Partner o...
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_62 (type VARCHAR, averaging_time VARCHAR, standard VARCHAR) Question: what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (23...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (type VARCHAR, averaging_time VARCHAR, standard VARCHAR) Question: what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/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_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR) Question: What Year has a Tyre of D, and Chassis of Mazda 787? [/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_name_55 (year VARCHAR, tyre VARCHAR, chassis VARCHAR) Question: What Year has a Tyre of D, and Chassis of Mazda 787? 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 Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR) Question: How many documents were shipped by USPS? [/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 Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR) Question: How many documents were shipped by USPS? Here is the SQLite query to answer to the questi...
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_13018116_1 (pts_for INTEGER, won VARCHAR) Question: What is the most points when the won is 9? [/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_13018116_1 (pts_for INTEGER, won VARCHAR) Question: What is the most points when the won is 9? Here is the SQLite query to answer to the question: What is the most...
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 (easa__eu_ VARCHAR, notes VARCHAR) Question: What is the EASA (EU) when the notes show aoc 135? [/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_76 (easa__eu_ VARCHAR, notes VARCHAR) Question: What is the EASA (EU) when the notes show aoc 135? Here is the SQLite query to answer to the question: What 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_18600760_9 (water__sqmi_ VARCHAR, latitude VARCHAR) Question: How many square miles of water does the township at latitude 48.064751 have? [/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_18600760_9 (water__sqmi_ VARCHAR, latitude VARCHAR) Question: How many square miles of water does the township at latitude 48.064751 have? 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_45 (team_2 VARCHAR, team_1 VARCHAR) Question: Which is team 2 when team 1 is ECAC Chaumont (d2)? [/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_45 (team_2 VARCHAR, team_1 VARCHAR) Question: Which is team 2 when team 1 is ECAC Chaumont (d2)? Here is the SQLite query to answer to the question: Which 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_91 (name VARCHAR, year VARCHAR) Question: Which event happened in 1988? [/INST] Here is the SQLite query to answer to the question: Which event happened ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (name VARCHAR, year VARCHAR) Question: Which event happened in 1988? Here is the SQLite query to answer to the question: Which event happened in 1988?: ```...
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 (team__number2 VARCHAR) Question: What is the 2nd leg of emelec team 2? [/INST] Here is the SQLite query to answer to the question: What is the 2nd le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (team__number2 VARCHAR) Question: What is the 2nd leg of emelec team 2? Here is the SQLite query to answer to the question: What is the 2nd leg of emelec 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_26842217_12 (result VARCHAR, broadcast VARCHAR) Question: What was the result in the game broadcast on the Big East Network? [/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_26842217_12 (result VARCHAR, broadcast VARCHAR) Question: What was the result in the game broadcast on the Big East Network? 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_4 (record VARCHAR, date VARCHAR) Question: Name the record for 21 january 2008 [/INST] Here is the SQLite query to answer to the question: Name the recor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR) Question: Name the record for 21 january 2008 Here is the SQLite query to answer to the question: Name the record for 21 janu...
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 (attendance INTEGER, opponent VARCHAR) Question: How many people attended the green bay packers game? [/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_14 (attendance INTEGER, opponent VARCHAR) Question: How many people attended the green bay packers game? Here is the SQLite query to answer to the question: 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_7 (score_qualifying VARCHAR, score_final VARCHAR) Question: What is the sum of qualifying scores when the final score is 16.625? [/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_name_7 (score_qualifying VARCHAR, score_final VARCHAR) Question: What is the sum of qualifying scores when the final score is 16.625? 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_name_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR) 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_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR) Question: Which Po...
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_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR) Question: What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR) Question: What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as tota...
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 (rank VARCHAR, goals VARCHAR, scorer VARCHAR) Question: Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk? [/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_35 (rank VARCHAR, goals VARCHAR, scorer VARCHAR) Question: Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk? 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_13 (founded INTEGER, suburb_town VARCHAR) Question: On average, when were vineyard schools founded? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR) Question: On average, when were vineyard schools founded? Here is the SQLite query to answer to the question: On 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_94 (games VARCHAR, event VARCHAR) Question: Which games saw a record set in the long jump event? [/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_94 (games VARCHAR, event VARCHAR) Question: Which games saw a record set in the long jump event? Here is the SQLite query to answer to the question: Which gam...
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 airports (country VARCHAR) Question: How many airports are there per country? Order the countries by decreasing number of airports. [/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 airports (country VARCHAR) Question: How many airports are there per country? Order the countries by decreasing number of airports. 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_86 (location VARCHAR, mascot VARCHAR) Question: What school has the Lancers as their mascot? [/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_86 (location VARCHAR, mascot VARCHAR) Question: What school has the Lancers as their mascot? Here is the SQLite query to answer to the question: What school 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_43 (head_coach VARCHAR, town VARCHAR) Question: What is the Head Coach of Novy Urengoy? [/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_43 (head_coach VARCHAR, town VARCHAR) Question: What is the Head Coach of Novy Urengoy? Here is the SQLite query to answer to the question: What is the Head C...
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_216776_2 (municipality VARCHAR, population__2010_ VARCHAR) Question: What municipality had 26839 people living in it in 2010? [/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_216776_2 (municipality VARCHAR, population__2010_ VARCHAR) Question: What municipality had 26839 people living in it in 2010? 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_50 (power VARCHAR, city_of_license VARCHAR) Question: What is the power when the city of license is Beaver Creek? [/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_50 (power VARCHAR, city_of_license VARCHAR) Question: What is the power when the city of license is Beaver Creek? 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_11 (format VARCHAR, region VARCHAR) Question: What is Format, when Region is United States? [/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_11 (format VARCHAR, region VARCHAR) Question: What is Format, when Region is United States? Here is the SQLite query to answer to the question: What is Format...
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 products (price INTEGER) Question: Find all information of all the products with a price between $60 and $120. [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE products (price INTEGER) Question: Find all information of all the products with a price between $60 and $120. Here is the SQLite query to answer to the question: Find 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_name_69 (money_spent VARCHAR, _2q VARCHAR, total_receipts VARCHAR) Question: How much money was spent in 2Q when the total receipts were $1,117,566? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (money_spent VARCHAR, _2q VARCHAR, total_receipts VARCHAR) Question: How much money was spent in 2Q when the total receipts were $1,117,566? Here is the SQ...
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 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) Question: I want the prothrombin time 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_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) Question: I want the prothrombin time with a parti...
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 (qual VARCHAR, laps VARCHAR, year VARCHAR) Question: What was the qualification with more than 162 laps in 1953? [/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_name_35 (qual VARCHAR, laps VARCHAR, year VARCHAR) Question: What was the qualification with more than 162 laps in 1953? 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_27734769_9 (record VARCHAR, high_rebounds VARCHAR) Question: What was the game record if Marcus Camby (13) got the high rebounds? [/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_27734769_9 (record VARCHAR, high_rebounds VARCHAR) Question: What was the game record if Marcus Camby (13) got the high rebounds? 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_74 (number_of_deputies INTEGER, percentage_of_votes VARCHAR) Question: What is the number of deputies with 94.2% of the votes? [/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_74 (number_of_deputies INTEGER, percentage_of_votes VARCHAR) Question: What is the number of deputies with 94.2% of the votes? 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_37 (israeli_deaths VARCHAR, total_casualties VARCHAR, total_deaths VARCHAR) Question: What is the total number of Israeli deaths in the attack with 0 tot...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (israeli_deaths VARCHAR, total_casualties VARCHAR, total_deaths VARCHAR) Question: What is the total number of Israeli deaths in the attack with 0 total cas...
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_74 (package_version VARCHAR, carrier VARCHAR) Question: WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? [/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_74 (package_version VARCHAR, carrier VARCHAR) Question: WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? 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_54 (leading_scorer VARCHAR, home VARCHAR) Question: Who was the leading score in the game at the Warriors? [/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_54 (leading_scorer VARCHAR, home VARCHAR) Question: Who was the leading score in the game at the Warriors? 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_20 (first_store VARCHAR, country VARCHAR) Question: What year was the first store in India? [/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_20 (first_store VARCHAR, country VARCHAR) Question: What year was the first store in India? Here is the SQLite query to answer to the question: What year 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_40 (record VARCHAR, date VARCHAR) Question: What was the record on March 27? [/INST] Here is the SQLite query to answer to the question: What was the rec...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (record VARCHAR, date VARCHAR) Question: What was the record on March 27? Here is the SQLite query to answer to the question: What was the record on March ...
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_25519358_1 (horizontal_0_a VARCHAR, number VARCHAR) Question: Name the horizontal number for number 10 [/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_25519358_1 (horizontal_0_a VARCHAR, number VARCHAR) Question: Name the horizontal number for number 10 Here is the SQLite query to answer to the question: Name 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_9 (place VARCHAR, score INTEGER) Question: What place has a score under 68? [/INST] Here is the SQLite query to answer to the question: What place has a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (place VARCHAR, score INTEGER) Question: What place has a score under 68? Here is the SQLite query to answer to the question: What place has a score under 6...
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 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: What was Nolan Henke's To par when he placed in t3? [/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_96 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: What was Nolan Henke's To par when he placed in t3? 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_89 (venue VARCHAR, against VARCHAR) Question: Which Venue has Against of 25? [/INST] Here is the SQLite query to answer to the question: Which Venue has ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR) Question: Which Venue has Against of 25? Here is the SQLite query to answer to the question: Which Venue has Against of 25...
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_57 (venue VARCHAR, home_team VARCHAR) Question: What is the venue where the home team is Footscray? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (venue VARCHAR, home_team VARCHAR) Question: What is the venue where the home team is Footscray? Here is the SQLite query to answer to the question: What 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_76 (board__inches_ VARCHAR, release VARCHAR, start VARCHAR) Question: What are the dimensions in inches of the board released before 2004, that started i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (board__inches_ VARCHAR, release VARCHAR, start VARCHAR) Question: What are the dimensions in inches of the board released before 2004, that started in 1941...
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_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR) Question: How many sales took place with a peak of 1 for Boris? [/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_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR) Question: How many sales took place with a peak of 1 for Boris? 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_31 (attendance VARCHAR, result VARCHAR) Question: Result of l 17–20 had what attendance? [/INST] Here is the SQLite query to answer to the question: Resu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR) Question: Result of l 17–20 had what attendance? Here is the SQLite query to answer to the question: Result of l 17–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_67 (draw INTEGER, performer VARCHAR, points VARCHAR) Question: Which Draw has a Performer of jenny newman, and Points smaller than 77? [/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_67 (draw INTEGER, performer VARCHAR, points VARCHAR) Question: Which Draw has a Performer of jenny newman, and Points smaller than 77? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction