text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winning driver in round 6? ### Context: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, round VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1137702_3 WHERE round = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winning driver in the grand prix at Pacific Grand Prix? ### Context: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1137702_3 WHERE grand_prix = "Pacific grand_prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winning driver when the grand Prix was at Belgian Grand Prix? ### Context: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1137702_3 WHERE grand_prix = "Belgian grand_prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winning driver when the pole position was held by Ayrton Senna and the Fastest lap was Michael Schumacher? ### Context: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1137702_3 WHERE pole_position = "Ayrton Senna" AND fastest_lap = "Michael Schumacher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On which date was the winning driver Alain Prost and and had Damon Hill in the pole position? ### Context: CREATE TABLE table_1137703_2 (date VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT date FROM table_1137703_2 WHERE winning_driver = "Alain Prost" AND pole_position = "Damon Hill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which round was the Spanish Grand Prix? ### Context: CREATE TABLE table_1137703_2 (round VARCHAR, grand_prix VARCHAR) [/INST] ### Response: SELECT round FROM table_1137703_2 WHERE grand_prix = "Spanish grand_prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record at week 7 ### Context: CREATE TABLE table_11391448_2 (record VARCHAR, week VARCHAR) [/INST] ### Response: SELECT record FROM table_11391448_2 WHERE week = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams did they play week 6 ### Context: CREATE TABLE table_11391448_2 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_11391448_2 WHERE week = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of reports for the italian grand prix? ### Context: CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR) [/INST] ### Response: SELECT COUNT(report) FROM table_1140078_2 WHERE race = "Italian Grand Prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the pole position of the belgian grand prix? ### Context: CREATE TABLE table_1140078_2 (pole_position VARCHAR, race VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_1140078_2 WHERE race = "Belgian Grand Prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the pole position of paul ricard? ### Context: CREATE TABLE table_1140078_2 (pole_position VARCHAR, location VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_1140078_2 WHERE location = "Paul Ricard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the report of the united states grand prix west? ### Context: CREATE TABLE table_1140078_2 (report VARCHAR, race VARCHAR) [/INST] ### Response: SELECT report FROM table_1140078_2 WHERE race = "United States Grand Prix West" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the German Grand Prix? ### Context: CREATE TABLE table_1140082_2 (location VARCHAR, race VARCHAR) [/INST] ### Response: SELECT location FROM table_1140082_2 WHERE race = "German Grand Prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the constructor of the Swedish Grand Prix? ### Context: CREATE TABLE table_1140082_2 (constructor VARCHAR, race VARCHAR) [/INST] ### Response: SELECT constructor FROM table_1140082_2 WHERE race = "Swedish Grand Prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who did the fastest lap at Watkins glen? ### Context: CREATE TABLE table_1140082_2 (fastest_lap VARCHAR, location VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_1140082_2 WHERE location = "Watkins Glen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What circuit has a race called ii cape south easter trophy. ### Context: CREATE TABLE table_1140099_6 (circuit VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT circuit FROM table_1140099_6 WHERE race_name = "II Cape South Easter Trophy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which driver won the i race of champions? ### Context: CREATE TABLE table_1140099_6 (winning_driver VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1140099_6 WHERE race_name = "I Race of Champions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the report for the race that Mike Spence won. ### Context: CREATE TABLE table_1140099_6 (report VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT report FROM table_1140099_6 WHERE winning_driver = "Mike Spence" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the report for the race i sunday mirror trophy? ### Context: CREATE TABLE table_1140099_6 (report VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT report FROM table_1140099_6 WHERE race_name = "I Sunday Mirror Trophy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many winners did I Dessau Autobahnspinne have? ### Context: CREATE TABLE table_1140116_6 (winning_driver VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT COUNT(winning_driver) FROM table_1140116_6 WHERE race_name = "I Dessau Autobahnspinne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date on which a race was run at Halle-Saale-Schleife circuit? ### Context: CREATE TABLE table_1140116_6 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_1140116_6 WHERE circuit = "Halle-Saale-Schleife" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many races take place in Dessau circuit? ### Context: CREATE TABLE table_1140116_6 (race_name VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(race_name) FROM table_1140116_6 WHERE circuit = "Dessau" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which races did Paul Greifzu win? ### Context: CREATE TABLE table_1140116_6 (race_name VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT race_name FROM table_1140116_6 WHERE winning_driver = "Paul Greifzu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which driver won at the Sachsenring circuit? ### Context: CREATE TABLE table_1140114_5 (winning_driver VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1140114_5 WHERE circuit = "Sachsenring" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which constructor was present at the Redex Trophy race? ### Context: CREATE TABLE table_1140114_5 (constructor VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT constructor FROM table_1140114_5 WHERE race_name = "RedeX Trophy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different constructors had Paul Thiel as a winning driver? ### Context: CREATE TABLE table_1140114_5 (constructor VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT COUNT(constructor) FROM table_1140114_5 WHERE winning_driver = "Paul Thiel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who is the opponent where tv is abc and game site is tampa stadium ### Context: CREATE TABLE table_11406866_2 (opponent VARCHAR, tv VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT opponent FROM table_11406866_2 WHERE tv = "ABC" AND game_site = "Tampa Stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of opponent where date is november 23, 1980 ### Context: CREATE TABLE table_11406866_2 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_11406866_2 WHERE date = "November 23, 1980" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of kickoff [a ] where week is week ### Context: CREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR) [/INST] ### Response: SELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE "week" = "week" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the week where attendance is 77,098 ### Context: CREATE TABLE table_11406866_2 (week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT week FROM table_11406866_2 WHERE attendance = "77,098" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the record where attendance is 61,350 ### Context: CREATE TABLE table_11406866_2 (record VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_11406866_2 WHERE attendance = "61,350" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the record where result is l 24-10 ### Context: CREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR) [/INST] ### Response: SELECT record FROM table_11406866_2 WHERE result = "L 24-10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the Silverstone circuit driven? ### Context: CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_1140119_5 WHERE circuit = "Silverstone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the Albi circuit race driven? ### Context: CREATE TABLE table_1140119_5 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_1140119_5 WHERE circuit = "Albi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Would built the winning car in the IV J.C.C. Jersey Road Race? ### Context: CREATE TABLE table_1140119_5 (constructor VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT constructor FROM table_1140119_5 WHERE race_name = "IV J.C.C. Jersey Road Race" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won the race at the Jersey circuit? ### Context: CREATE TABLE table_1140119_5 (winning_driver VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_1140119_5 WHERE circuit = "Jersey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the season air where the viewership was 14.71 million? ### Context: CREATE TABLE table_1145977_2 (season VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT season AS premiere FROM table_1145977_2 WHERE viewers__in_millions_ = "14.71" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the power capacity when the generators were 781? ### Context: CREATE TABLE table_11456251_5 (power_capacity__gw_ VARCHAR, number_of_generators VARCHAR) [/INST] ### Response: SELECT power_capacity__gw_ FROM table_11456251_5 WHERE number_of_generators = 781 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the percentage of total capacity when the energy is 120.2? ### Context: CREATE TABLE table_11456251_5 (_percentage_of_total_capacity VARCHAR, annual_energy__billion_kwh_ VARCHAR) [/INST] ### Response: SELECT _percentage_of_total_capacity FROM table_11456251_5 WHERE annual_energy__billion_kwh_ = "120.2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the % of annual production of solar? ### Context: CREATE TABLE table_11456251_5 (_percentage_of_annual_production VARCHAR, power_source VARCHAR) [/INST] ### Response: SELECT _percentage_of_annual_production FROM table_11456251_5 WHERE power_source = "Solar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of generators where the power capicity is 78.7? ### Context: CREATE TABLE table_11456251_5 (number_of_generators VARCHAR, power_capacity__gw_ VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_generators) FROM table_11456251_5 WHERE power_capacity__gw_ = "78.7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the % of total capacity when the generators is 4048? ### Context: CREATE TABLE table_11456251_5 (_percentage_of_total_capacity VARCHAR, number_of_generators VARCHAR) [/INST] ### Response: SELECT _percentage_of_total_capacity FROM table_11456251_5 WHERE number_of_generators = 4048 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the model is 15.180e, what is the GVM (kg) Technical Capacity? ### Context: CREATE TABLE table_11497980_1 (gvm__kg__technical_capacity VARCHAR, model VARCHAR) [/INST] ### Response: SELECT gvm__kg__technical_capacity FROM table_11497980_1 WHERE model = "15.180E" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm? ### Context: CREATE TABLE table_11497980_1 (torque_nm VARCHAR, gcm__kg__technical_capacity VARCHAR, engine_make_capacity VARCHAR) [/INST] ### Response: SELECT torque_nm AS @rpm FROM table_11497980_1 WHERE gcm__kg__technical_capacity = "23000" AND engine_make_capacity = "MWM 6.10 TCA-EURO III (Turbo Intercooler)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the power kw@RPM of the 13.180 model? ### Context: CREATE TABLE table_11497980_1 (power_kw VARCHAR, model VARCHAR) [/INST] ### Response: SELECT COUNT(power_kw) AS @rpm FROM table_11497980_1 WHERE model = "13.180" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity? ### Context: CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR) [/INST] ### Response: SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS 5306-A Manual Synchromesh 6 Speed" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed? ### Context: CREATE TABLE table_11497980_1 (model VARCHAR, transmission_make_type_speed VARCHAR) [/INST] ### Response: SELECT model FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS-6306 A Manual Synchromesh 6 Speed" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is drawing tablet support part of the semi-DDM class? ### Context: CREATE TABLE table_1153898_1 (semi_ddm_class VARCHAR, comparisons VARCHAR) [/INST] ### Response: SELECT semi_ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is usb re-enumeration required part of the emulated class? ### Context: CREATE TABLE table_1153898_1 (emulated_class VARCHAR, comparisons VARCHAR) [/INST] ### Response: SELECT emulated_class FROM table_1153898_1 WHERE comparisons = "USB RE-Enumeration Required" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is wireless combo keyboard and mouse support part of the hub base class? ### Context: CREATE TABLE table_1153898_1 (hub_base_class VARCHAR, comparisons VARCHAR) [/INST] ### Response: SELECT hub_base_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is the drawing tablet support part of the DDM class? ### Context: CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR) [/INST] ### Response: SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is wireless combo keyboard and mouse support part of the DDM class? ### Context: CREATE TABLE table_1153898_1 (ddm_class VARCHAR, comparisons VARCHAR) [/INST] ### Response: SELECT ddm_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school or team does Al Jefferson play for? ### Context: CREATE TABLE table_11545282_10 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_11545282_10 WHERE player = "Al Jefferson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which forward player has the number 22? ### Context: CREATE TABLE table_11545282_10 (player VARCHAR, no VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_11545282_10 WHERE no = "22" AND position = "Forward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What number does the player from Ohio play with? ### Context: CREATE TABLE table_11545282_10 (no VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT no FROM table_11545282_10 WHERE school_club_team = "Ohio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During which years did player number 35 play for Jazz? ### Context: CREATE TABLE table_11545282_10 (years_for_jazz VARCHAR, no VARCHAR) [/INST] ### Response: SELECT years_for_jazz FROM table_11545282_10 WHERE no = "35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For driver Mark Skaife what is the result for race 1? ### Context: CREATE TABLE table_11581984_2 (race_1 VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT race_1 FROM table_11581984_2 WHERE driver = "Mark Skaife" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the game in Mexico played? ### Context: CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR) [/INST] ### Response: SELECT date FROM table_11602885_1 WHERE location = "Mexico" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What University has the acrronym of USF ### Context: CREATE TABLE table_1160660_1 (university_name VARCHAR, acronym VARCHAR) [/INST] ### Response: SELECT university_name FROM table_1160660_1 WHERE acronym = "USF" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the acronym used for Beirut Arab University? ### Context: CREATE TABLE table_1160660_1 (acronym VARCHAR, university_name VARCHAR) [/INST] ### Response: SELECT acronym FROM table_1160660_1 WHERE university_name = "Beirut Arab University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the acronym for the school whose website is ul.edu.lb ### Context: CREATE TABLE table_1160660_1 (acronym VARCHAR, website VARCHAR) [/INST] ### Response: SELECT acronym FROM table_1160660_1 WHERE website = "ul.edu.lb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Are there registration notes on usek.edu.lb? ### Context: CREATE TABLE table_1160660_1 (official_registration_notes VARCHAR, website VARCHAR) [/INST] ### Response: SELECT official_registration_notes FROM table_1160660_1 WHERE website = "usek.edu.lb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was USF founded? ### Context: CREATE TABLE table_1160660_1 (date_founded VARCHAR, acronym VARCHAR) [/INST] ### Response: SELECT date_founded FROM table_1160660_1 WHERE acronym = "USF" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the tournament on Jul 11? ### Context: CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_11621747_1 WHERE date = "Jul 11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the tournament of aug 29? ### Context: CREATE TABLE table_11621747_1 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_11621747_1 WHERE date = "Aug 29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many prizes were there at the transamerica? ### Context: CREATE TABLE table_11621747_1 (tournament VARCHAR) [/INST] ### Response: SELECT COUNT(1 AS st_prize__) AS $__ FROM table_11621747_1 WHERE tournament = "The Transamerica" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the largest purse? ### Context: CREATE TABLE table_11622392_1 (purse__ INTEGER) [/INST] ### Response: SELECT MAX(purse__) AS $__ FROM table_11622392_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the tournament in Washington held? ### Context: CREATE TABLE table_11622392_1 (date VARCHAR, location VARCHAR) [/INST] ### Response: SELECT date FROM table_11622392_1 WHERE location = "Washington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many tournaments in Texas had a purse higher than 330105.1624276874? ### Context: CREATE TABLE table_11622392_1 (location VARCHAR, purse__$__ VARCHAR) [/INST] ### Response: SELECT COUNT(1 AS st_prize__) AS $__ FROM table_11622392_1 WHERE location = "Texas" AND purse__$__ > 330105.1624276874 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the first season written by joseph hampton & dani renee? ### Context: CREATE TABLE table_11630008_4 (season_no INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(season_no) FROM table_11630008_4 WHERE written_by = "Joseph Hampton & Dani Renee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many air dates are there for production code 206? ### Context: CREATE TABLE table_11630008_4 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_11630008_4 WHERE production_code = 206 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title for season 2? ### Context: CREATE TABLE table_11630008_4 (title VARCHAR, season_no VARCHAR) [/INST] ### Response: SELECT title FROM table_11630008_4 WHERE season_no = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many seasons was series number 47 shown? ### Context: CREATE TABLE table_11630008_4 (season_no VARCHAR, series_no VARCHAR) [/INST] ### Response: SELECT COUNT(season_no) FROM table_11630008_4 WHERE series_no = 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the episode with production code 410 air? ### Context: CREATE TABLE table_11630008_6 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_11630008_6 WHERE production_code = 410 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most series number with season 3? ### Context: CREATE TABLE table_11630008_6 (series__number INTEGER, season__number VARCHAR) [/INST] ### Response: SELECT MAX(series__number) FROM table_11630008_6 WHERE season__number = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the purse value for the New York location? ### Context: CREATE TABLE table_11622896_1 (purse__$__ VARCHAR, location VARCHAR) [/INST] ### Response: SELECT purse__$__ FROM table_11622896_1 WHERE location = "New York" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest 1st prize( $ ) at the South Carolina location? ### Context: CREATE TABLE table_11622896_1 (location VARCHAR) [/INST] ### Response: SELECT MAX(1 AS st_prize__) AS $__ FROM table_11622896_1 WHERE location = "South Carolina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the Oregon location? ### Context: CREATE TABLE table_11622896_1 (score VARCHAR, location VARCHAR) [/INST] ### Response: SELECT score FROM table_11622896_1 WHERE location = "Oregon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all areas within 1000 km in the city of Lubelskie? ### Context: CREATE TABLE table_11654169_1 (area_in_1000km²__1930_ VARCHAR, voivodeship_separate_city VARCHAR) [/INST] ### Response: SELECT area_in_1000km²__1930_ FROM table_11654169_1 WHERE voivodeship_separate_city = "lubelskie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the population in the city of Pomorskie? ### Context: CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, voivodeship_separate_city VARCHAR) [/INST] ### Response: SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE voivodeship_separate_city = "pomorskie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all car plates in the capital of Wilno since the year of 1937. ### Context: CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR) [/INST] ### Response: SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = "Wilno" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List population when their car plates are 30-34. ### Context: CREATE TABLE table_11654169_1 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR) [/INST] ### Response: SELECT population_in_1000__1931_ FROM table_11654169_1 WHERE car_plates__since_1937_ = "30-34" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points are there when the lost is 26? ### Context: CREATE TABLE table_1166259_1 (points VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT points FROM table_1166259_1 WHERE lost = 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT TEAM CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ? ### Context: CREATE TABLE table_11667521_17 (team_classification VARCHAR, points_classification VARCHAR) [/INST] ### Response: SELECT team_classification FROM table_11667521_17 WHERE points_classification = "Bradley Wiggins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION? ### Context: CREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR) [/INST] ### Response: SELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = "Alexander Vinokourov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the average for spain delegate ### Context: CREATE TABLE table_11674683_2 (average VARCHAR, delegate VARCHAR) [/INST] ### Response: SELECT average FROM table_11674683_2 WHERE delegate = "Spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the interview for peru delegate ### Context: CREATE TABLE table_11674683_2 (interview VARCHAR, delegate VARCHAR) [/INST] ### Response: SELECT interview FROM table_11674683_2 WHERE delegate = "Peru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of swimsuit for israel ### Context: CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR) [/INST] ### Response: SELECT COUNT(swimsuit) FROM table_11674683_2 WHERE delegate = "Israel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the swimsuits for south africa? ### Context: CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR) [/INST] ### Response: SELECT swimsuit FROM table_11674683_2 WHERE delegate = "South Africa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the MLB draft with the hometown Opa-locka, Fl? ### Context: CREATE TABLE table_11677100_12 (mlb_draft VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT mlb_draft FROM table_11677100_12 WHERE hometown = "Opa-locka, FL" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many players have the hometown Pennsauken, NJ? ### Context: CREATE TABLE table_11677100_12 (player VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_11677100_12 WHERE hometown = "Pennsauken, NJ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which position did the player from the hometown of Dallas, TX play? ### Context: CREATE TABLE table_11677100_12 (position VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT position FROM table_11677100_12 WHERE hometown = "Dallas, TX" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the hometown of player Jason Place? ### Context: CREATE TABLE table_11677100_12 (hometown VARCHAR, player VARCHAR) [/INST] ### Response: SELECT hometown FROM table_11677100_12 WHERE player = "Jason Place" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school did the catcher attend? ### Context: CREATE TABLE table_11677100_12 (school VARCHAR, position VARCHAR) [/INST] ### Response: SELECT school FROM table_11677100_12 WHERE position = "Catcher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Jay Bruce's hometown? ### Context: CREATE TABLE table_11677100_11 (hometown VARCHAR, player VARCHAR) [/INST] ### Response: SELECT hometown FROM table_11677100_11 WHERE player = "Jay Bruce" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school is he the catcher for? ### Context: CREATE TABLE table_11677100_11 (school VARCHAR, position VARCHAR) [/INST] ### Response: SELECT school FROM table_11677100_11 WHERE position = "Catcher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT HOMETOWN DOES HE PLAY AS THE CATCHER FOR? ### Context: CREATE TABLE table_11677100_11 (hometown VARCHAR, position VARCHAR) [/INST] ### Response: SELECT hometown FROM table_11677100_11 WHERE position = "Catcher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT POSITION DOES HE PLAY FOR AT WEST BROOK SENIOR HIGH SCHOOL? ### Context: CREATE TABLE table_11677100_11 (position VARCHAR, school VARCHAR) [/INST] ### Response: SELECT position FROM table_11677100_11 WHERE school = "West Brook Senior High school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHAT TOWN IS WEST BROOK SENIOR HIGH SCHOOL FROM? ### Context: CREATE TABLE table_11677100_11 (hometown VARCHAR, school VARCHAR) [/INST] ### Response: SELECT hometown FROM table_11677100_11 WHERE school = "West Brook Senior High school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position did the player from Jersey City, New Jersey play? ### Context: CREATE TABLE table_11677691_1 (position VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT position FROM table_11677691_1 WHERE hometown = "Jersey City, New Jersey" </s>