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_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What was the score when the visitor was toronto maple leafs on march 22?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What was the score when the visitor was toronto maple leafs on march 22?
Here is the SQLite query ... | 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_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
Question: How many different numbers of Tot enlisted are there on the dates when the number of Enliste... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
Question: How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/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_28281704_1 (stadium VARCHAR, city VARCHAR)
Question: Name the stadium for nizhny novgorod
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR)
Question: Name the stadium for nizhny novgorod
Here is the SQLite query to answer to the question: Name the stadium 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_91 (required_os VARCHAR, type VARCHAR)
Question: What operating system was needed for 2D games?
[/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_91 (required_os VARCHAR, type VARCHAR)
Question: What operating system was needed for 2D games?
Here is the SQLite query to answer to the question: What opera... | 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 (score VARCHAR, venue VARCHAR)
Question: What was the score in Hampden Park, Glasgow?
[/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_68 (score VARCHAR, venue VARCHAR)
Question: What was the score in Hampden Park, Glasgow?
Here is the SQLite query to answer to the question: What was the scor... | 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_18 (october VARCHAR, game VARCHAR, points VARCHAR)
Question: What day in october was game number 4 with under 3 points?
[/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_18 (october VARCHAR, game VARCHAR, points VARCHAR)
Question: What day in october was game number 4 with under 3 points?
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_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR)
Question: What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupeli... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR)
Question: What date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? 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_33 (points INTEGER, r_magjistari INTEGER)
Question: For R. Magjistari scores over 12, what is the highest number of points?
[/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_33 (points INTEGER, r_magjistari INTEGER)
Question: For R. Magjistari scores over 12, what is the highest number of points?
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_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)
Question: What is the Copa Conmebol 1999 result of team cruzeiro, which did ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)
Question: What is the Copa Conmebol 1999 result of team cruzeiro, which did not 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_26409328_1 (title VARCHAR, production_code VARCHAR)
Question: what title was given to the episode with production code 6ajn08?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR)
Question: what title was given to the episode with production code 6ajn08?
Here is the SQLite query to answer 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_76 (points INTEGER, against VARCHAR, played VARCHAR)
Question: When the played number is less than 8 and against is 23, what is the least amount of point... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (points INTEGER, against VARCHAR, played VARCHAR)
Question: When the played number is less than 8 and against is 23, what is the least amount of points?
He... | 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_29 (turbo VARCHAR, release_price___usd__ VARCHAR)
Question: What Turbo has the Release price (USD) of $583?
[/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_29 (turbo VARCHAR, release_price___usd__ VARCHAR)
Question: What Turbo has the Release price (USD) of $583?
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_1341718_43 (district VARCHAR, incumbent VARCHAR)
Question: How many districts does Ed Jones represent?
[/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_1341718_43 (district VARCHAR, incumbent VARCHAR)
Question: How many districts does Ed Jones represent?
Here is the SQLite query to answer to the question: How many... | 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_48 (medal VARCHAR, games VARCHAR, sport VARCHAR)
Question: Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?
[/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_48 (medal VARCHAR, games VARCHAR, sport VARCHAR)
Question: Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?
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_91 (required_os VARCHAR, developer_s_ VARCHAR)
Question: What was the minimum operating system required by Stunlock Studios' game?
[/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_91 (required_os VARCHAR, developer_s_ VARCHAR)
Question: What was the minimum operating system required by Stunlock Studios' game?
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_15 (power VARCHAR, torque VARCHAR)
Question: What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?
[/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_15 (power VARCHAR, torque VARCHAR)
Question: What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?
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_91 (result VARCHAR, attendance VARCHAR)
Question: What were the Results for 25,000 Attendance?
[/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_91 (result VARCHAR, attendance VARCHAR)
Question: What were the Results for 25,000 Attendance?
Here is the SQLite query to answer to the question: What were 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_78 (moving_to VARCHAR, nat VARCHAR)
Question: Who is moving with the nationality of Tri?
[/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_78 (moving_to VARCHAR, nat VARCHAR)
Question: Who is moving with the nationality of Tri?
Here is the SQLite query to answer to the question: Who is moving 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_name_65 (silver INTEGER, total VARCHAR)
Question: What is the highest silver rank with a total of 27?
[/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_65 (silver INTEGER, total VARCHAR)
Question: What is the highest silver rank with a total of 27?
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 table_name_73 (date VARCHAR, injured VARCHAR)
Question: On what Date did the massacre result with 21 Injured?
[/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_73 (date VARCHAR, injured VARCHAR)
Question: On what Date did the massacre result with 21 Injured?
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_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: When Fred Funk had a to par of E, what was the score?
[/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_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Question: When Fred Funk had a to par of E, what was the score?
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_31 (bronze VARCHAR, notes VARCHAR)
Question: Who won Bronze with Notes of 2.5km, 16controls?
[/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_31 (bronze VARCHAR, notes VARCHAR)
Question: Who won Bronze with Notes of 2.5km, 16controls?
Here is the SQLite query to answer to the question: Who won Bronz... | 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_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)
Question: what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date valu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)
Question: what's the winner with purse( $ ) value of bigger than 964017.2297960471 and date value of 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_9 (date VARCHAR, sub_total VARCHAR)
Question: On which day were the subtotal hours 9:30?
[/INST]
Here is the SQLite query to answer to the question: On w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (date VARCHAR, sub_total VARCHAR)
Question: On which day were the subtotal hours 9:30?
Here is the SQLite query to answer to the question: On which day were... | 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 (position VARCHAR, school VARCHAR)
Question: What is the position of a player from North Carolina?
[/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_57 (position VARCHAR, school VARCHAR)
Question: What is the position of a player from North Carolina?
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_22825058_23 (w_l VARCHAR, against VARCHAR)
Question: Name the w/l for czech republic
[/INST]
Here is the SQLite query to answer to the question: Name the w/l ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)
Question: Name the w/l for czech republic
Here is the SQLite query to answer to the question: Name the w/l for czech rep... | 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 (to_par VARCHAR, country VARCHAR, score VARCHAR)
Question: What To par has a Country of united states, and a Score of 67-66-78-77=288?
[/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_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)
Question: What To par has a Country of united states, and a Score of 67-66-78-77=288?
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_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
Question: What's the total number that had a rank larger than 17 and a gold greater than 0?
[/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_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)
Question: What's the total number that had a rank larger than 17 and a gold greater than 0?
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 table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)
Question: What is the June 21 ncaat baseball record for Fresno State Bulldogs?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)
Question: What is the June 21 ncaat baseball record for Fresno State Bulldogs?
Here is the SQLite query to answer 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_40 (split_off___continuation_of VARCHAR, date VARCHAR)
Question: Which church had a Split off/Continuation in 1836?
[/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_40 (split_off___continuation_of VARCHAR, date VARCHAR)
Question: Which church had a Split off/Continuation in 1836?
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_96 (res VARCHAR, opponent VARCHAR)
Question: What is the result of the match with Jeff Monson as opponent?
[/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_96 (res VARCHAR, opponent VARCHAR)
Question: What is the result of the match with Jeff Monson as opponent?
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_73 (place VARCHAR, draw VARCHAR, lost VARCHAR)
Question: What was the total number of places in which the draw was less than 4 and the amount lost was le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (place VARCHAR, draw VARCHAR, lost VARCHAR)
Question: What was the total number of places in which the draw was less than 4 and the amount lost was less tha... | 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 (date VARCHAR, venue VARCHAR)
Question: Which Date has a Venue of junction oval?
[/INST]
Here is the SQLite query to answer to the question: Which Dat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)
Question: Which Date has a Venue of junction oval?
Here is the SQLite query to answer to the question: Which Date has a Venue... | 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 (played INTEGER, drawn VARCHAR, against VARCHAR)
Question: What is the smallest played amount when there are 2 draws and an against of more than 73?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)
Question: What is the smallest played amount when there are 2 draws and an against of more than 73?
Here 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_224839_3 (date_of_successors_formal_installation VARCHAR, vacator VARCHAR)
Question: What is the total number of dates of successor formal installation when t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_224839_3 (date_of_successors_formal_installation VARCHAR, vacator VARCHAR)
Question: What is the total number of dates of successor formal installation when the vac... | 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_19605700_1 (capital VARCHAR, area_km² VARCHAR)
Question: Which capitals have an area of exactly 377930 square km?
[/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_19605700_1 (capital VARCHAR, area_km² VARCHAR)
Question: Which capitals have an area of exactly 377930 square km?
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_65 (heat INTEGER, race_title VARCHAR)
Question: What is the lowest heat of the Lakeside race?
[/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 (heat INTEGER, race_title VARCHAR)
Question: What is the lowest heat of the Lakeside race?
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_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
Question: What Nation had a more than 1 Total medal including less than 3 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)
Question: What Nation had a more than 1 Total medal including less than 3 Silver... | 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 (event VARCHAR, reign VARCHAR, days_held VARCHAR)
Question: What type of event had the wrestler with a reign of 2 and held the title for 35 days?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (event VARCHAR, reign VARCHAR, days_held VARCHAR)
Question: What type of event had the wrestler with a reign of 2 and held the title for 35 days?
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_88 (democrat VARCHAR, lead_margin VARCHAR)
Question: What is Democrat: Carl Levin, when Lead Margin is 22?
[/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_88 (democrat VARCHAR, lead_margin VARCHAR)
Question: What is Democrat: Carl Levin, when Lead Margin is 22?
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_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
Question: Who are all the candidates vying for Henry B. Gonzalez' seat?
[/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_1341586_44 (candidates VARCHAR, incumbent VARCHAR)
Question: Who are all the candidates vying for Henry B. Gonzalez' seat?
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_11545282_12 (no INTEGER, school_club_team VARCHAR)
Question: Which number is the player from Minnesota?
[/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_11545282_12 (no INTEGER, school_club_team VARCHAR)
Question: Which number is the player from Minnesota?
Here is the SQLite query to answer to the question: Which 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_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)
Question: How many series originally... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)
Question: How many series originally aired... | 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 (location VARCHAR, type VARCHAR)
Question: What is the location for the club trophy?
[/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_69 (location VARCHAR, type VARCHAR)
Question: What is the location for the club trophy?
Here is the SQLite query to answer to the question: What is the locati... | 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 (winning_team VARCHAR, pole_position VARCHAR)
Question: What team does mario andretti play pole position for?
[/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_9 (winning_team VARCHAR, pole_position VARCHAR)
Question: What team does mario andretti play pole position for?
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_2668199_2 (incumbent VARCHAR, candidates VARCHAR)
Question: Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR)
Question: Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?
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_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)
Question: How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)
Question: How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?
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_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
Question: What is the smallest number of goals when the goals against are more than 58 and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)
Question: What is the smallest number of goals when the goals against are more than 58 and played... | 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_23211041_5 (team VARCHAR, date VARCHAR)
Question: What team was played on november 24?
[/INST]
Here is the SQLite query to answer to the question: What team w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)
Question: What team was played on november 24?
Here is the SQLite query to answer to the question: What team was played on ... | 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_27155990_1 (category VARCHAR, project_name VARCHAR)
Question: What was the category of the project name Mighty No. 9?
[/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_27155990_1 (category VARCHAR, project_name VARCHAR)
Question: What was the category of the project name Mighty No. 9?
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_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
Question: What is the lowest result for Christian Malcolm with a reaction time gre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)
Question: What is the lowest result for Christian Malcolm with a reaction time greater 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_1914090_2 (europe VARCHAR, america VARCHAR)
Question: How many members did Europe have the year that America had 403892?
[/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_1914090_2 (europe VARCHAR, america VARCHAR)
Question: How many members did Europe have the year that America had 403892?
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_171320_3 (region_1 VARCHAR, ep__number VARCHAR)
Question: Name the region 1 for episode number 13
[/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_171320_3 (region_1 VARCHAR, ep__number VARCHAR)
Question: Name the region 1 for episode number 13
Here is the SQLite query to answer to the question: Name the regi... | 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 (decision VARCHAR, record VARCHAR)
Question: For the game ending with a record of 31-43-2, what was the decision?
[/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_10 (decision VARCHAR, record VARCHAR)
Question: For the game ending with a record of 31-43-2, what was the decision?
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_7 (record VARCHAR, round VARCHAR, event VARCHAR)
Question: What's the record of the UCS 2 - Battle at the Barn when the round was n/a?
[/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_7 (record VARCHAR, round VARCHAR, event VARCHAR)
Question: What's the record of the UCS 2 - Battle at the Barn when the round was n/a?
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_54 (erp_w INTEGER, facility_id VARCHAR)
Question: What is the lowest ERP W of the 67829 Facility ID?
[/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_name_54 (erp_w INTEGER, facility_id VARCHAR)
Question: What is the lowest ERP W of the 67829 Facility ID?
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_20 (score1 VARCHAR, competition_or_tour VARCHAR)
Question: What is the score 1 for the major league soccer all-star game?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR)
Question: What is the score 1 for the major league soccer all-star game?
Here is the SQLite query to answer 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_17060277_7 (team VARCHAR, high_assists VARCHAR)
Question: Name the team for chris duhon , nate robinson , david lee (3)
[/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_17060277_7 (team VARCHAR, high_assists VARCHAR)
Question: Name the team for chris duhon , nate robinson , david lee (3)
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_1602620_1 (type VARCHAR, term_began VARCHAR)
Question: What type had a beginning term of December 8, 1980
[/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_1602620_1 (type VARCHAR, term_began VARCHAR)
Question: What type had a beginning term of December 8, 1980
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_55 (round INTEGER, college VARCHAR, overall VARCHAR)
Question: WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR)
Question: WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?
Here is the SQLite query 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_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR)
Question: What is the nationality of the player who played during the years 1989-92; 1994-95?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR)
Question: What is the nationality of the player who played during the years 1989-92; 1994-95?
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_78 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
Question: How much money did Ian Chamings request?
[/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_78 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
Question: How much money did Ian Chamings request?
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_9 (status VARCHAR, opposing_teams VARCHAR)
Question: What is the status with the opposing team of Scotland?
[/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_9 (status VARCHAR, opposing_teams VARCHAR)
Question: What is the status with the opposing team of Scotland?
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_15 (team VARCHAR, previous_team VARCHAR)
Question: What is the team of the player who was previously on the indiana pacers?
[/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_15 (team VARCHAR, previous_team VARCHAR)
Question: What is the team of the player who was previously on the indiana pacers?
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_30083499_1 (team VARCHAR, tournament VARCHAR)
Question: Which team was in the 2012 clausura tournament?
[/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_30083499_1 (team VARCHAR, tournament VARCHAR)
Question: Which team was in the 2012 clausura tournament?
Here is the SQLite query to answer to the question: Which 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_7 (engine VARCHAR, year VARCHAR, points VARCHAR)
Question: what is the engine for year less than 1959 and points more than 4?
[/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_7 (engine VARCHAR, year VARCHAR, points VARCHAR)
Question: what is the engine for year less than 1959 and points more than 4?
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_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
Question: What is the highest number of households with a median h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)
Question: What is the highest number of households with a median househo... | 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 (division_record VARCHAR, team VARCHAR)
Question: What division record did the Spartans hold?
[/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_26 (division_record VARCHAR, team VARCHAR)
Question: What division record did the Spartans hold?
Here is the SQLite query to answer to the question: What divi... | 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_17634290_7 (country VARCHAR, moving_from VARCHAR)
Question: What is the name of the country where moving from is listed as bristol city?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)
Question: What is the name of the country where moving from is listed as bristol city?
Here is the SQLite query 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_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
Question: What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
Question: What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2?
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_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)
Question: Which Attendance has a Result of 1-0, and a Venue of A, and an Opponen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)
Question: Which Attendance has a Result of 1-0, and a Venue of A, and an Opponent of 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_97 (tie_no VARCHAR, home_team VARCHAR)
Question: Which Tie is from birmingham city?
[/INST]
Here is the SQLite query to answer to the question: Which Tie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (tie_no VARCHAR, home_team VARCHAR)
Question: Which Tie is from birmingham city?
Here is the SQLite query to answer to the question: Which Tie is from birm... | 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 (third VARCHAR, venue VARCHAR)
Question: Who finished 3rd in Oslo?
[/INST]
Here is the SQLite query to answer to the question: Who finished 3rd in Osl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR)
Question: Who finished 3rd in Oslo?
Here is the SQLite query to answer to the question: Who finished 3rd in Oslo?:
```
SELEC... | 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 (place VARCHAR, draw VARCHAR)
Question: In what place was the song that had a draw of 3?
[/INST]
Here is the SQLite query to answer to the question: I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR)
Question: In what place was the song that had a draw of 3?
Here is the SQLite query to answer to the question: In what place ... | 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_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR)
Question: What is the award for 1998 with Representative Work of city beat?
[/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_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR)
Question: What is the award for 1998 with Representative Work of city beat?
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_62 (city VARCHAR, name VARCHAR)
Question: Which city is Alianza?
[/INST]
Here is the SQLite query to answer to the question: Which city is Alianza?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR)
Question: Which city is Alianza?
Here is the SQLite query to answer to the question: Which city is Alianza?:
```
SELECT city F... | 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_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)
Question: How many countries spent $83.7 billion on international tourism... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)
Question: How many countries spent $83.7 billion on international tourism in 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 film (title VARCHAR, directed_by VARCHAR)
Question: Show the title and director for all films.
[/INST]
Here is the SQLite query to answer to the question: Show the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film (title VARCHAR, directed_by VARCHAR)
Question: Show the title and director for all films.
Here is the SQLite query to answer to the question: Show the title and dir... | 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_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)
Question: What number is shown for november 3 where january 15-16 is 151?
[/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_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)
Question: What number is shown for november 3 where january 15-16 is 151?
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_56 (constructor VARCHAR, team VARCHAR)
Question: Who is the Constructor for the Trac Racing Team?
[/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_56 (constructor VARCHAR, team VARCHAR)
Question: Who is the Constructor for the Trac Racing Team?
Here is the SQLite query to answer to the question: Who 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_12 (outgoing_manager VARCHAR, team VARCHAR)
Question: Who is Birmingham City's outgoing manager?
[/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_12 (outgoing_manager VARCHAR, team VARCHAR)
Question: Who is Birmingham City's outgoing manager?
Here is the SQLite query to answer to the question: Who is 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 phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)
Question: Show the names of phones that have total number... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)
Question: Show the names of phones that have total number of st... | 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 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)
Question: For which location was the round smaller than 11 and the circuit streets of denver?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)
Question: For which location was the round smaller than 11 and the circuit streets of denver?
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 invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the total amount of mone... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the total amount of money spen... | 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 (pick INTEGER, player VARCHAR)
Question: Which pick was used on Ian Hazlett?
[/INST]
Here is the SQLite query to answer to the question: Which pick was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (pick INTEGER, player VARCHAR)
Question: Which pick was used on Ian Hazlett?
Here is the SQLite query to answer to the question: Which pick was used on Ian ... | 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 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Question: What is the nationality of the swimmer with a rank over 2 with a time of 55.77?
[/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_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Question: What is the nationality of the swimmer with a rank over 2 with a time of 55.77?
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_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Question: How many medals under total when silver is less than 2, gold is 3, and bronze ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Question: How many medals under total when silver is less than 2, gold is 3, and bronze is les... | 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 (format VARCHAR, type VARCHAR, call_letters VARCHAR)
Question: Type of primary, and a Call letters of kbjs has what format?
[/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 (format VARCHAR, type VARCHAR, call_letters VARCHAR)
Question: Type of primary, and a Call letters of kbjs has what format?
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_29728787_1 (olivier VARCHAR, la_roche VARCHAR)
Question: When karl ridderbusch is the la roche who is the olivier?
[/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_29728787_1 (olivier VARCHAR, la_roche VARCHAR)
Question: When karl ridderbusch is the la roche who is the olivier?
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_name_25 (friday VARCHAR, tuesday VARCHAR)
Question: What is shown on Friday when Tuesday is Jay Mohr Sports?
[/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_25 (friday VARCHAR, tuesday VARCHAR)
Question: What is shown on Friday when Tuesday is Jay Mohr Sports?
Here is the SQLite query to answer to the question: 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_18481791_2 (title VARCHAR, directed_by VARCHAR)
Question: What was the title of the episode directed by John T. Kretchmer?
[/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_18481791_2 (title VARCHAR, directed_by VARCHAR)
Question: What was the title of the episode directed by John T. Kretchmer?
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 Documents (document_id VARCHAR, document_name VARCHAR)
Question: Show the ids and names of all documents.
[/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 Documents (document_id VARCHAR, document_name VARCHAR)
Question: Show the ids and names of all documents.
Here is the SQLite query to answer to the question: Show the id... | 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_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
Question: What player in the United States had a total of 286 and won in 2003?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
Question: What player in the United States had a total of 286 and won in 2003?
Here 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_96 (signal_quality VARCHAR, station_call_letters VARCHAR)
Question: What signal quality does the KCAL-DT channel have?
[/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_96 (signal_quality VARCHAR, station_call_letters VARCHAR)
Question: What signal quality does the KCAL-DT channel have?
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_46 (tyres VARCHAR, driver VARCHAR)
Question: I want the tyres for hans binder
[/INST]
Here is the SQLite query to answer to the question: I want the tyre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)
Question: I want the tyres for hans binder
Here is the SQLite query to answer to the question: I want the tyres for hans 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_72 (hometown__previous_school_ VARCHAR, name VARCHAR)
Question: What is the Hometown of Tim Williams?
[/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_72 (hometown__previous_school_ VARCHAR, name VARCHAR)
Question: What is the Hometown of Tim Williams?
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_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Question: Name the total number of opponent in the final for 6–2, 6–1, 6–3
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Question: Name the total number of opponent in the final for 6–2, 6–1, 6–3
Here is the SQLit... | 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 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
Question: How many reg GP for nathan barrett in a round less than 8?
[/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_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
Question: How many reg GP for nathan barrett in a round less than 8?
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_5 (sign VARCHAR, fall VARCHAR)
Question: Which sign has a fall of Venus?
[/INST]
Here is the SQLite query to answer to the question: Which sign has a fal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR)
Question: Which sign has a fall of Venus?
Here is the SQLite query to answer to the question: Which sign has a fall of Venus?:
... | 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_24 (region VARCHAR, _percentage_growth VARCHAR)
Question: Which Region that has a growth of −3.6%?
[/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_24 (region VARCHAR, _percentage_growth VARCHAR)
Question: Which Region that has a growth of −3.6%?
Here is the SQLite query to answer to the question: Which R... | 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.