context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_71 WHERE to_par = "–4" | What is the Player that has a To standard of –4? | <s>[INST]What is the Player that has a To standard of –4? Context: CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_71 WHERE to_par = "–4"</s> |
CREATE TABLE table_name_97 (city VARCHAR, years VARCHAR) | SELECT city FROM table_name_97 WHERE years = "1971-1974" | Which city had years 1971-1974? | <s>[INST]Which city had years 1971-1974? Context: CREATE TABLE table_name_97 (city VARCHAR, years VARCHAR)[/INST]SELECT city FROM table_name_97 WHERE years = "1971-1974"</s> |
CREATE TABLE table_1481865_1 (title__original_ VARCHAR, number_of_season VARCHAR) | SELECT title__original_ FROM table_1481865_1 WHERE number_of_season = 3 | What is the original title of season number 3? | <s>[INST]What is the original title of season number 3? Context: CREATE TABLE table_1481865_1 (title__original_ VARCHAR, number_of_season VARCHAR)[/INST]SELECT title__original_ FROM table_1481865_1 WHERE number_of_season = 3</s> |
CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, birthplace VARCHAR) | SELECT COUNT(career_and_other_notes) FROM table_1557974_1 WHERE birthplace = "Nara" | How many wrestlers were born in nara, and have a completed 'career and other notes' section? | <s>[INST]How many wrestlers were born in nara, and have a completed 'career and other notes' section? Context: CREATE TABLE table_1557974_1 (career_and_other_notes VARCHAR, birthplace VARCHAR)[/INST]SELECT COUNT(career_and_other_notes) FROM table_1557974_1 WHERE birthplace = "Nara"</s> |
CREATE TABLE table_25008327_8 (slovak VARCHAR, ukrainian VARCHAR) | SELECT slovak FROM table_25008327_8 WHERE ukrainian = "пес, собака" | What area all values for Slovak when value for Ukranian is пес, собака? | <s>[INST]What area all values for Slovak when value for Ukranian is пес, собака? Context: CREATE TABLE table_25008327_8 (slovak VARCHAR, ukrainian VARCHAR)[/INST]SELECT slovak FROM table_25008327_8 WHERE ukrainian = "пес, собака"</s> |
CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR) | SELECT power_output FROM table_name_23 WHERE build_date = "1951–1956" | Which power output had a Build date of 1951–1956? | <s>[INST]Which power output had a Build date of 1951–1956? Context: CREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR)[/INST]SELECT power_output FROM table_name_23 WHERE build_date = "1951–1956"</s> |
CREATE TABLE table_name_7 (formula VARCHAR, chemical_class VARCHAR) | SELECT formula FROM table_name_7 WHERE chemical_class = "thial" | Which formula has thial as a chemical class? | <s>[INST]Which formula has thial as a chemical class? Context: CREATE TABLE table_name_7 (formula VARCHAR, chemical_class VARCHAR)[/INST]SELECT formula FROM table_name_7 WHERE chemical_class = "thial"</s> |
CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR) | SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010" | Name the number of processors for october 2006 - january 2010 | <s>[INST]Name the number of processors for october 2006 - january 2010 Context: CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)[/INST]SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"</s> |
CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR) | SELECT name FROM table_name_97 WHERE roll = 270 | Which name has a Roll of 270? | <s>[INST]Which name has a Roll of 270? Context: CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_97 WHERE roll = 270</s> |
CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR) | SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Old Kingdom , Minoan eruption" | When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age? | <s>[INST]When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age? Context: CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)[/INST]SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Old Kingdom , Minoan eruption"</s> |
CREATE TABLE room (blockcode VARCHAR, unavailable VARCHAR) | SELECT DISTINCT blockcode FROM room WHERE unavailable = 0 | What are the unique block codes that have available rooms? | <s>[INST]What are the unique block codes that have available rooms? Context: CREATE TABLE room (blockcode VARCHAR, unavailable VARCHAR)[/INST]SELECT DISTINCT blockcode FROM room WHERE unavailable = 0</s> |
CREATE TABLE table_name_41 (year INTEGER, mixed_doubles VARCHAR) | SELECT AVG(year) FROM table_name_41 WHERE mixed_doubles = "alfredo salazar fina salazar" | What is the average year with alfredo salazar fina salazar in mixed doubles? | <s>[INST]What is the average year with alfredo salazar fina salazar in mixed doubles? Context: CREATE TABLE table_name_41 (year INTEGER, mixed_doubles VARCHAR)[/INST]SELECT AVG(year) FROM table_name_41 WHERE mixed_doubles = "alfredo salazar fina salazar"</s> |
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray" | What is the lowest attendance when footscray is the away team? | <s>[INST]What is the lowest attendance when footscray is the away team? Context: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray"</s> |
CREATE TABLE table_name_13 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_13 WHERE player = "bobby wadkins" | What place did bobby wadkins come in? | <s>[INST]What place did bobby wadkins come in? Context: CREATE TABLE table_name_13 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_13 WHERE player = "bobby wadkins"</s> |
CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR) | SELECT COUNT(week) FROM table_name_52 WHERE date = "november 25, 2001" | November 25, 2001 was what week of the season? | <s>[INST]November 25, 2001 was what week of the season? Context: CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_52 WHERE date = "november 25, 2001"</s> |
CREATE TABLE table_16046689_29 (city VARCHAR, stadium VARCHAR, television VARCHAR) | SELECT city FROM table_16046689_29 WHERE stadium = "Citrus Bowl" AND television = "ABC" | What city in the Citrus Bowl aired on ABC? | <s>[INST]What city in the Citrus Bowl aired on ABC? Context: CREATE TABLE table_16046689_29 (city VARCHAR, stadium VARCHAR, television VARCHAR)[/INST]SELECT city FROM table_16046689_29 WHERE stadium = "Citrus Bowl" AND television = "ABC"</s> |
CREATE TABLE table_name_1 (date VARCHAR, source VARCHAR, murray VARCHAR) | SELECT date FROM table_name_1 WHERE source = "suffolk university" AND murray = "11%" | What is the date of the poll where Murray had 11% from the Suffolk University source? | <s>[INST]What is the date of the poll where Murray had 11% from the Suffolk University source? Context: CREATE TABLE table_name_1 (date VARCHAR, source VARCHAR, murray VARCHAR)[/INST]SELECT date FROM table_name_1 WHERE source = "suffolk university" AND murray = "11%"</s> |
CREATE TABLE flight (vehicle_flight_number VARCHAR, date VARCHAR, pilot VARCHAR, altitude VARCHAR) | SELECT vehicle_flight_number, date, pilot FROM flight ORDER BY altitude | List the vehicle flight number, date and pilot of all the flights, ordered by altitude. | <s>[INST]List the vehicle flight number, date and pilot of all the flights, ordered by altitude. Context: CREATE TABLE flight (vehicle_flight_number VARCHAR, date VARCHAR, pilot VARCHAR, altitude VARCHAR)[/INST]SELECT vehicle_flight_number, date, pilot FROM flight ORDER BY altitude</s> |
CREATE TABLE table_name_13 (state VARCHAR, city VARCHAR) | SELECT state FROM table_name_13 WHERE city = "ruston" | What state is the city of Ruston in? | <s>[INST]What state is the city of Ruston in? Context: CREATE TABLE table_name_13 (state VARCHAR, city VARCHAR)[/INST]SELECT state FROM table_name_13 WHERE city = "ruston"</s> |
CREATE TABLE driver (party VARCHAR, home_city VARCHAR, age VARCHAR) | SELECT party FROM driver WHERE home_city = 'Hartford' AND age > 40 | Show the party with drivers from Hartford and drivers older than 40. | <s>[INST]Show the party with drivers from Hartford and drivers older than 40. Context: CREATE TABLE driver (party VARCHAR, home_city VARCHAR, age VARCHAR)[/INST]SELECT party FROM driver WHERE home_city = 'Hartford' AND age > 40</s> |
CREATE TABLE table_24399615_4 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR) | SELECT COUNT(viewers) FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "1" | How many items are listed under viewers column when the bbd three weekly ranking was 1? | <s>[INST]How many items are listed under viewers column when the bbd three weekly ranking was 1? Context: CREATE TABLE table_24399615_4 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)[/INST]SELECT COUNT(viewers) FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "1"</s> |
CREATE TABLE table_name_54 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_54 WHERE loss = "kinney (0-1)" | Which opponent lost with pitcher Kinney (0-1)? | <s>[INST]Which opponent lost with pitcher Kinney (0-1)? Context: CREATE TABLE table_name_54 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_54 WHERE loss = "kinney (0-1)"</s> |
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR) | SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000 | Find the the name of the customers who have a loan with amount more than 3000. | <s>[INST]Find the the name of the customers who have a loan with amount more than 3000. Context: CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)[/INST]SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000</s> |
CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at new york giants" | How many weeks have an Opponent of at new york giants? | <s>[INST]How many weeks have an Opponent of at new york giants? Context: CREATE TABLE table_name_81 (week VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at new york giants"</s> |
CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR) | SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams" | With the Republican ticket of Frank M. Williams who was the Progressive ticket? | <s>[INST]With the Republican ticket of Frank M. Williams who was the Progressive ticket? Context: CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)[/INST]SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams"</s> |
CREATE TABLE table_name_80 (mahu VARCHAR, pergi VARCHAR) | SELECT mahu FROM table_name_80 WHERE pergi = "pi" | What is Mahu when pergi is pi? | <s>[INST]What is Mahu when pergi is pi? Context: CREATE TABLE table_name_80 (mahu VARCHAR, pergi VARCHAR)[/INST]SELECT mahu FROM table_name_80 WHERE pergi = "pi"</s> |
CREATE TABLE table_13618358_1 (agri_culture_b VARCHAR) | SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = "6.9" | What was head count in 2010 where the farm production is 6.9? | <s>[INST]What was head count in 2010 where the farm production is 6.9? Context: CREATE TABLE table_13618358_1 (agri_culture_b VARCHAR)[/INST]SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = "6.9"</s> |
CREATE TABLE country (Name VARCHAR, Population VARCHAR) | SELECT Name FROM country ORDER BY Population DESC LIMIT 3 | What are names of countries with the top 3 largest population? | <s>[INST]What are names of countries with the top 3 largest population? Context: CREATE TABLE country (Name VARCHAR, Population VARCHAR)[/INST]SELECT Name FROM country ORDER BY Population DESC LIMIT 3</s> |
CREATE TABLE table_name_38 (score VARCHAR, home VARCHAR, date VARCHAR) | SELECT score FROM table_name_38 WHERE home = "chicago black hawks" AND date = "march 28" | What is the Score of the Chicago Black Hawks Home game on March 28? | <s>[INST]What is the Score of the Chicago Black Hawks Home game on March 28? Context: CREATE TABLE table_name_38 (score VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE home = "chicago black hawks" AND date = "march 28"</s> |
CREATE TABLE table_14748457_1 (lines_served VARCHAR, station_users_2008_9 VARCHAR) | SELECT lines_served FROM table_14748457_1 WHERE station_users_2008_9 = "210076" | what are the lines served where station users is 210076? | <s>[INST]what are the lines served where station users is 210076? Context: CREATE TABLE table_14748457_1 (lines_served VARCHAR, station_users_2008_9 VARCHAR)[/INST]SELECT lines_served FROM table_14748457_1 WHERE station_users_2008_9 = "210076"</s> |
CREATE TABLE table_299121_2 (tv_season VARCHAR, season VARCHAR) | SELECT tv_season FROM table_299121_2 WHERE season = "1st" | What TV season was the 1st season? | <s>[INST]What TV season was the 1st season? Context: CREATE TABLE table_299121_2 (tv_season VARCHAR, season VARCHAR)[/INST]SELECT tv_season FROM table_299121_2 WHERE season = "1st"</s> |
CREATE TABLE table_name_86 (venue VARCHAR, fielding_team VARCHAR) | SELECT venue FROM table_name_86 WHERE fielding_team = "sri lanka" | In what venue did the fielding team Sri Lanka play? | <s>[INST]In what venue did the fielding team Sri Lanka play? Context: CREATE TABLE table_name_86 (venue VARCHAR, fielding_team VARCHAR)[/INST]SELECT venue FROM table_name_86 WHERE fielding_team = "sri lanka"</s> |
CREATE TABLE table_name_9 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_9 WHERE home_team = "rochester" AND result = "89-92" | Which Road Team has a Home Team of rochester, and a Result of 89-92? | <s>[INST]Which Road Team has a Home Team of rochester, and a Result of 89-92? Context: CREATE TABLE table_name_9 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)[/INST]SELECT road_team FROM table_name_9 WHERE home_team = "rochester" AND result = "89-92"</s> |
CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR) | SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "New policy application" | Find the names of customers who have used both the service "Close a policy" and the service "New policy application". | <s>[INST]Find the names of customers who have used both the service "Close a policy" and the service "New policy application". Context: CREATE TABLE first_notification_of_loss (customer_id VARCHAR, service_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE services (service_id VARCHAR, service_name VARCHAR)[/INST]SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "New policy application"</s> |
CREATE TABLE table_13564637_3 (tries_against VARCHAR, points_for VARCHAR) | SELECT COUNT(tries_against) FROM table_13564637_3 WHERE points_for = "325" | what is the total amount of tries where the points were 325? | <s>[INST]what is the total amount of tries where the points were 325? Context: CREATE TABLE table_13564637_3 (tries_against VARCHAR, points_for VARCHAR)[/INST]SELECT COUNT(tries_against) FROM table_13564637_3 WHERE points_for = "325"</s> |
CREATE TABLE table_name_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_62 WHERE date = "20 april 1957" AND venue = "victoria park" | Who is the home team at Victoria Park on 20 April 1957? | <s>[INST]Who is the home team at Victoria Park on 20 April 1957? Context: CREATE TABLE table_name_62 (home_team VARCHAR, date VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_62 WHERE date = "20 april 1957" AND venue = "victoria park"</s> |
CREATE TABLE table_166346_1 (population__july_2012_ INTEGER, area__km²_ VARCHAR) | SELECT MAX(population__july_2012_) FROM table_166346_1 WHERE area__km²_ = 2149690 | What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers? | <s>[INST]What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers? Context: CREATE TABLE table_166346_1 (population__july_2012_ INTEGER, area__km²_ VARCHAR)[/INST]SELECT MAX(population__july_2012_) FROM table_166346_1 WHERE area__km²_ = 2149690</s> |
CREATE TABLE BOOKINGS (Planned_Delivery_Date VARCHAR, Actual_Delivery_Date VARCHAR) | SELECT Planned_Delivery_Date, Actual_Delivery_Date FROM BOOKINGS | Show all the planned delivery dates and actual delivery dates of bookings. | <s>[INST]Show all the planned delivery dates and actual delivery dates of bookings. Context: CREATE TABLE BOOKINGS (Planned_Delivery_Date VARCHAR, Actual_Delivery_Date VARCHAR)[/INST]SELECT Planned_Delivery_Date, Actual_Delivery_Date FROM BOOKINGS</s> |
CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR) | SELECT programming FROM table_name_1 WHERE operator = "ivptc" | What channel has an operator of ivptc? | <s>[INST]What channel has an operator of ivptc? Context: CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR)[/INST]SELECT programming FROM table_name_1 WHERE operator = "ivptc"</s> |
CREATE TABLE table_name_42 (date VARCHAR, city___state VARCHAR) | SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria" | On what date was the race in Melbourne, Victoria? | <s>[INST]On what date was the race in Melbourne, Victoria? Context: CREATE TABLE table_name_42 (date VARCHAR, city___state VARCHAR)[/INST]SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria"</s> |
CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR) | SELECT country FROM table_name_68 WHERE iata = "blq" | What country is the IATA BLQ located in? | <s>[INST]What country is the IATA BLQ located in? Context: CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR)[/INST]SELECT country FROM table_name_68 WHERE iata = "blq"</s> |
CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) | SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau" | Which country does FC Atyrau represent after the 2006 season? | <s>[INST]Which country does FC Atyrau represent after the 2006 season? Context: CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR)[/INST]SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau"</s> |
CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR) | SELECT date FROM table_name_40 WHERE constructor = "ferrari" | What dates did Ferrari win races? | <s>[INST]What dates did Ferrari win races? Context: CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE constructor = "ferrari"</s> |
CREATE TABLE table_name_25 (republican_ticket VARCHAR, democratic_ticket VARCHAR) | SELECT republican_ticket FROM table_name_25 WHERE democratic_ticket = "stanley h. fuld" | Which republican ticket has stanley h. fuld as the Democratic ticket? | <s>[INST]Which republican ticket has stanley h. fuld as the Democratic ticket? Context: CREATE TABLE table_name_25 (republican_ticket VARCHAR, democratic_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_25 WHERE democratic_ticket = "stanley h. fuld"</s> |
CREATE TABLE table_229917_2 (brief_description VARCHAR, fatalities VARCHAR) | SELECT COUNT(brief_description) FROM table_229917_2 WHERE fatalities = "0/161" | How many different brief descriptions are there for crashes with 0/161 fatalities? | <s>[INST]How many different brief descriptions are there for crashes with 0/161 fatalities? Context: CREATE TABLE table_229917_2 (brief_description VARCHAR, fatalities VARCHAR)[/INST]SELECT COUNT(brief_description) FROM table_229917_2 WHERE fatalities = "0/161"</s> |
CREATE TABLE table_name_31 (location VARCHAR, design_flow__lpm_ VARCHAR, partner VARCHAR, population_served VARCHAR) | SELECT location FROM table_name_31 WHERE partner = "app" AND population_served > 2000 AND design_flow__lpm_ = 375 | What Location has a Partner of app, a Population Served larger than 2000, and a Design flow (LPM) of 375? | <s>[INST]What Location has a Partner of app, a Population Served larger than 2000, and a Design flow (LPM) of 375? Context: CREATE TABLE table_name_31 (location VARCHAR, design_flow__lpm_ VARCHAR, partner VARCHAR, population_served VARCHAR)[/INST]SELECT location FROM table_name_31 WHERE partner = "app" AND population_served > 2000 AND design_flow__lpm_ = 375</s> |
CREATE TABLE table_name_2 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_2 WHERE tie_no = "2" | Who is the home team that tied no 2? | <s>[INST]Who is the home team that tied no 2? Context: CREATE TABLE table_name_2 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_2 WHERE tie_no = "2"</s> |
CREATE TABLE table_name_75 (canada_singles VARCHAR, year VARCHAR, us_ac VARCHAR) | SELECT canada_singles FROM table_name_75 WHERE year = 1979 AND us_ac = "24" | What is the Canada singles in 1979 with a US A.C. of 24? | <s>[INST]What is the Canada singles in 1979 with a US A.C. of 24? Context: CREATE TABLE table_name_75 (canada_singles VARCHAR, year VARCHAR, us_ac VARCHAR)[/INST]SELECT canada_singles FROM table_name_75 WHERE year = 1979 AND us_ac = "24"</s> |
CREATE TABLE table_name_60 (Id VARCHAR) | SELECT 2009 FROM table_name_60 WHERE 2010 = "q1" | What is the 2009 value with q1 in 2010? | <s>[INST]What is the 2009 value with q1 in 2010? Context: CREATE TABLE table_name_60 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_60 WHERE 2010 = "q1"</s> |
CREATE TABLE table_name_80 (total INTEGER, location VARCHAR) | SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts" | What is the earliest episode of the series that is set in Boston, Massachusetts? | <s>[INST]What is the earliest episode of the series that is set in Boston, Massachusetts? Context: CREATE TABLE table_name_80 (total INTEGER, location VARCHAR)[/INST]SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts"</s> |
CREATE TABLE table_name_23 (wrestler VARCHAR, entered VARCHAR, pinned VARCHAR) | SELECT wrestler FROM table_name_23 WHERE entered = 5 AND pinned = "mvp" | Which Wrestler has an Entered of 5, and a Pinned of mvp? | <s>[INST]Which Wrestler has an Entered of 5, and a Pinned of mvp? Context: CREATE TABLE table_name_23 (wrestler VARCHAR, entered VARCHAR, pinned VARCHAR)[/INST]SELECT wrestler FROM table_name_23 WHERE entered = 5 AND pinned = "mvp"</s> |
CREATE TABLE table_18424435_3 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_18424435_3 WHERE production_code = 217 | Which episodes had production code 217? | <s>[INST]Which episodes had production code 217? Context: CREATE TABLE table_18424435_3 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_18424435_3 WHERE production_code = 217</s> |
CREATE TABLE table_name_75 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_75 WHERE tie_no = "replay" AND home_team = "sunderland" | What is Score, when Tie No is Replay, and when Home Team is Sunderland? | <s>[INST]What is Score, when Tie No is Replay, and when Home Team is Sunderland? Context: CREATE TABLE table_name_75 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_75 WHERE tie_no = "replay" AND home_team = "sunderland"</s> |
CREATE TABLE table_name_74 (year VARCHAR, notes VARCHAR) | SELECT year FROM table_name_74 WHERE notes = "87.17 m" | Which Year has Notes of 87.17 m? | <s>[INST]Which Year has Notes of 87.17 m? Context: CREATE TABLE table_name_74 (year VARCHAR, notes VARCHAR)[/INST]SELECT year FROM table_name_74 WHERE notes = "87.17 m"</s> |
CREATE TABLE table_name_40 (against INTEGER, byes INTEGER) | SELECT MAX(against) FROM table_name_40 WHERE byes > 0 | What is the largest Against with a Byes larger than 0? | <s>[INST]What is the largest Against with a Byes larger than 0? Context: CREATE TABLE table_name_40 (against INTEGER, byes INTEGER)[/INST]SELECT MAX(against) FROM table_name_40 WHERE byes > 0</s> |
CREATE TABLE table_234886_2 (title VARCHAR, original_air_date VARCHAR) | SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 1998" | How many titles have an original air date of November 17, 1998? | <s>[INST]How many titles have an original air date of November 17, 1998? Context: CREATE TABLE table_234886_2 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 1998"</s> |
CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny miller" | What is the to par of player johnny miller, who has a t8 place? | <s>[INST]What is the to par of player johnny miller, who has a t8 place? Context: CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny miller"</s> |
CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_92 WHERE home_team = "collingwood" | What is the average crowd attendance for Collingwood? | <s>[INST]What is the average crowd attendance for Collingwood? Context: CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_92 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_name_28 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_28 WHERE date = "28 march 2009" | For what competition was the game played on 28 March 2009? | <s>[INST]For what competition was the game played on 28 March 2009? Context: CREATE TABLE table_name_28 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_28 WHERE date = "28 march 2009"</s> |
CREATE TABLE table_name_35 (d_43 VARCHAR, d_41 VARCHAR) | SELECT d_43 FROM table_name_35 WHERE d_41 = "d 56" | Name the D 43 when it has D 41 of d 56 | <s>[INST]Name the D 43 when it has D 41 of d 56 Context: CREATE TABLE table_name_35 (d_43 VARCHAR, d_41 VARCHAR)[/INST]SELECT d_43 FROM table_name_35 WHERE d_41 = "d 56"</s> |
CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR) | SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 8 | What is the lowest ends won when w is 8? | <s>[INST]What is the lowest ends won when w is 8? Context: CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR)[/INST]SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 8</s> |
CREATE TABLE table_name_66 (in_de_creased_by INTEGER, governorate VARCHAR, seats_2005 VARCHAR) | SELECT AVG(in_de_creased_by) FROM table_name_66 WHERE governorate = "al anbar governorate" AND seats_2005 < 9 | Name the average In/de-creased by which has a Governorate of al anbar governorate, and Seats 2005 smaller than 9? | <s>[INST]Name the average In/de-creased by which has a Governorate of al anbar governorate, and Seats 2005 smaller than 9? Context: CREATE TABLE table_name_66 (in_de_creased_by INTEGER, governorate VARCHAR, seats_2005 VARCHAR)[/INST]SELECT AVG(in_de_creased_by) FROM table_name_66 WHERE governorate = "al anbar governorate" AND seats_2005 < 9</s> |
CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT report FROM table_name_68 WHERE winning_team = "penske racing" AND pole_position = "rick mears" | What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole position? | <s>[INST]What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole position? Context: CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT report FROM table_name_68 WHERE winning_team = "penske racing" AND pole_position = "rick mears"</s> |
CREATE TABLE table_name_19 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_19 WHERE date = "24/11/1979" | Where was the venue for 24/11/1979? | <s>[INST]Where was the venue for 24/11/1979? Context: CREATE TABLE table_name_19 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_19 WHERE date = "24/11/1979"</s> |
CREATE TABLE table_name_38 (type VARCHAR, satellite VARCHAR) | SELECT type FROM table_name_38 WHERE satellite = "gps iif-10" | What is the type of the gps iif-10 satellite? | <s>[INST]What is the type of the gps iif-10 satellite? Context: CREATE TABLE table_name_38 (type VARCHAR, satellite VARCHAR)[/INST]SELECT type FROM table_name_38 WHERE satellite = "gps iif-10"</s> |
CREATE TABLE Templates (template_type_code VARCHAR) | SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING COUNT(*) < 3 | Show all template type codes with less than three templates. | <s>[INST]Show all template type codes with less than three templates. Context: CREATE TABLE Templates (template_type_code VARCHAR)[/INST]SELECT template_type_code FROM Templates GROUP BY template_type_code HAVING COUNT(*) < 3</s> |
CREATE TABLE table_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR) | SELECT station_ownership FROM table_1404984_1 WHERE virtual_channel = "33.3" | Who owns the station on channel 33.3? | <s>[INST]Who owns the station on channel 33.3? Context: CREATE TABLE table_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR)[/INST]SELECT station_ownership FROM table_1404984_1 WHERE virtual_channel = "33.3"</s> |
CREATE TABLE table_12828723_4 (losing_bonus VARCHAR, points_against VARCHAR) | SELECT COUNT(losing_bonus) FROM table_12828723_4 WHERE points_against = "439" | How many losing bonus where there when points against is 439? | <s>[INST]How many losing bonus where there when points against is 439? Context: CREATE TABLE table_12828723_4 (losing_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT COUNT(losing_bonus) FROM table_12828723_4 WHERE points_against = "439"</s> |
CREATE TABLE table_name_35 (day_1 VARCHAR, day_5 VARCHAR) | SELECT day_1 FROM table_name_35 WHERE day_5 = "math" | What is the day 1 when day 5 is math? | <s>[INST]What is the day 1 when day 5 is math? Context: CREATE TABLE table_name_35 (day_1 VARCHAR, day_5 VARCHAR)[/INST]SELECT day_1 FROM table_name_35 WHERE day_5 = "math"</s> |
CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) | SELECT nationality FROM table_name_10 WHERE distance = "200m" AND year > 1994 AND record = "33.778s" | Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s? | <s>[INST]Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s? Context: CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR)[/INST]SELECT nationality FROM table_name_10 WHERE distance = "200m" AND year > 1994 AND record = "33.778s"</s> |
CREATE TABLE table_21824695_8 (highest VARCHAR, team VARCHAR) | SELECT highest FROM table_21824695_8 WHERE team = "Pohang Steelers" | What is the highest when pohang steelers is the team? | <s>[INST]What is the highest when pohang steelers is the team? Context: CREATE TABLE table_21824695_8 (highest VARCHAR, team VARCHAR)[/INST]SELECT highest FROM table_21824695_8 WHERE team = "Pohang Steelers"</s> |
CREATE TABLE table_11677691_7 (player VARCHAR, college VARCHAR) | SELECT player FROM table_11677691_7 WHERE college = "Utah" | Which player is from Utah? | <s>[INST]Which player is from Utah? Context: CREATE TABLE table_11677691_7 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_11677691_7 WHERE college = "Utah"</s> |
CREATE TABLE table_name_53 (rank INTEGER, rebounds VARCHAR, team VARCHAR) | SELECT MIN(rank) FROM table_name_53 WHERE rebounds < 130 AND team = "partizan igokea" | What rank is Partizan Igokea that has less than 130 rebounds? | <s>[INST]What rank is Partizan Igokea that has less than 130 rebounds? Context: CREATE TABLE table_name_53 (rank INTEGER, rebounds VARCHAR, team VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_53 WHERE rebounds < 130 AND team = "partizan igokea"</s> |
CREATE TABLE table_name_50 (team VARCHAR, game VARCHAR) | SELECT team FROM table_name_50 WHERE game = 68 | What team played the Jazz at game 68? | <s>[INST]What team played the Jazz at game 68? Context: CREATE TABLE table_name_50 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_name_50 WHERE game = 68</s> |
CREATE TABLE table_name_54 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR) | SELECT shirt_sponsor FROM table_name_54 WHERE kit_manufacturer = "nike" | Who is the shirt sponsor for the manufacturer Nike? | <s>[INST]Who is the shirt sponsor for the manufacturer Nike? Context: CREATE TABLE table_name_54 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)[/INST]SELECT shirt_sponsor FROM table_name_54 WHERE kit_manufacturer = "nike"</s> |
CREATE TABLE table_name_56 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_name_56 WHERE position = "cb" | WHAT IS THE LOWEST ROUND FOR CB POSITION? | <s>[INST]WHAT IS THE LOWEST ROUND FOR CB POSITION? Context: CREATE TABLE table_name_56 (round INTEGER, position VARCHAR)[/INST]SELECT MIN(round) FROM table_name_56 WHERE position = "cb"</s> |
CREATE TABLE table_name_39 (fastest_lap VARCHAR, constructor VARCHAR, location VARCHAR) | SELECT fastest_lap FROM table_name_39 WHERE constructor = "ferrari" AND location = "zolder" | Who ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor? | <s>[INST]Who ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor? Context: CREATE TABLE table_name_39 (fastest_lap VARCHAR, constructor VARCHAR, location VARCHAR)[/INST]SELECT fastest_lap FROM table_name_39 WHERE constructor = "ferrari" AND location = "zolder"</s> |
CREATE TABLE table_name_31 (vehicle_flight__number VARCHAR, pilot VARCHAR, velocity__km_h_ VARCHAR) | SELECT vehicle_flight__number FROM table_name_31 WHERE pilot = "peterson" AND velocity__km_h_ = 649 | What Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649? | <s>[INST]What Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649? Context: CREATE TABLE table_name_31 (vehicle_flight__number VARCHAR, pilot VARCHAR, velocity__km_h_ VARCHAR)[/INST]SELECT vehicle_flight__number FROM table_name_31 WHERE pilot = "peterson" AND velocity__km_h_ = 649</s> |
CREATE TABLE table_name_93 (rank INTEGER, director VARCHAR) | SELECT SUM(rank) FROM table_name_93 WHERE director = "martin brest" | WHAT IS THE RANK OF MARTIN BREST? | <s>[INST]WHAT IS THE RANK OF MARTIN BREST? Context: CREATE TABLE table_name_93 (rank INTEGER, director VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_93 WHERE director = "martin brest"</s> |
CREATE TABLE table_name_78 (opponent VARCHAR, tournament VARCHAR) | SELECT opponent FROM table_name_78 WHERE tournament = "milan, italy" | Who were the opponents for the event in Milan, Italy? | <s>[INST]Who were the opponents for the event in Milan, Italy? Context: CREATE TABLE table_name_78 (opponent VARCHAR, tournament VARCHAR)[/INST]SELECT opponent FROM table_name_78 WHERE tournament = "milan, italy"</s> |
CREATE TABLE table_name_51 (height_ft__m_ VARCHAR, year VARCHAR) | SELECT height_ft__m_ FROM table_name_51 WHERE year = 1907 | How tall is the structure built in 1907? | <s>[INST]How tall is the structure built in 1907? Context: CREATE TABLE table_name_51 (height_ft__m_ VARCHAR, year VARCHAR)[/INST]SELECT height_ft__m_ FROM table_name_51 WHERE year = 1907</s> |
CREATE TABLE table_name_74 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_74 WHERE player = "jeff brown" | What position is Jeff Brown? | <s>[INST]What position is Jeff Brown? Context: CREATE TABLE table_name_74 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_74 WHERE player = "jeff brown"</s> |
CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR) | SELECT condition FROM table_name_52 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND prothrombin_time = "prolonged" AND partial_thromboplastin_time = "prolonged" | Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged | <s>[INST]Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged Context: CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)[/INST]SELECT condition FROM table_name_52 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND prothrombin_time = "prolonged" AND partial_thromboplastin_time = "prolonged"</s> |
CREATE TABLE table_name_15 (rank VARCHAR, first_quarter VARCHAR) | SELECT rank FROM table_name_15 WHERE first_quarter = "procter & gamble 138,013" | When the first quarter is procter & gamble 138,013, what is the rank? | <s>[INST]When the first quarter is procter & gamble 138,013, what is the rank? Context: CREATE TABLE table_name_15 (rank VARCHAR, first_quarter VARCHAR)[/INST]SELECT rank FROM table_name_15 WHERE first_quarter = "procter & gamble 138,013"</s> |
CREATE TABLE table_name_67 (ceremony VARCHAR, category VARCHAR) | SELECT ceremony FROM table_name_67 WHERE category = "best lyricist" | Which ceremony has the best lyricist category? | <s>[INST]Which ceremony has the best lyricist category? Context: CREATE TABLE table_name_67 (ceremony VARCHAR, category VARCHAR)[/INST]SELECT ceremony FROM table_name_67 WHERE category = "best lyricist"</s> |
CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_73 WHERE driver = "roger williamson" AND laps < 7 | What is the top grid that roger williamson lapped less than 7? | <s>[INST]What is the top grid that roger williamson lapped less than 7? Context: CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_73 WHERE driver = "roger williamson" AND laps < 7</s> |
CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR) | SELECT driver_s_ FROM table_1266602_2 WHERE team = "Phil Parsons Racing" | Who drove for Phil Parsons Racing team? | <s>[INST]Who drove for Phil Parsons Racing team? Context: CREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR)[/INST]SELECT driver_s_ FROM table_1266602_2 WHERE team = "Phil Parsons Racing"</s> |
CREATE TABLE table_name_18 (torque VARCHAR, type VARCHAR) | SELECT torque FROM table_name_18 WHERE type = "daewoo" | What torque does daewoo have? | <s>[INST]What torque does daewoo have? Context: CREATE TABLE table_name_18 (torque VARCHAR, type VARCHAR)[/INST]SELECT torque FROM table_name_18 WHERE type = "daewoo"</s> |
CREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR) | SELECT written_by FROM table_22580855_1 WHERE series_no = 170 | who are the writer of the series episode number 170? | <s>[INST]who are the writer of the series episode number 170? Context: CREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR)[/INST]SELECT written_by FROM table_22580855_1 WHERE series_no = 170</s> |
CREATE TABLE table_22904752_1 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_22904752_1 WHERE written_by = "Sean Whitesell" | When is the original air date written by sean whitesell? | <s>[INST]When is the original air date written by sean whitesell? Context: CREATE TABLE table_22904752_1 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_22904752_1 WHERE written_by = "Sean Whitesell"</s> |
CREATE TABLE table_name_72 (competition VARCHAR, date VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_72 WHERE date = "january 11, 1996" AND venue = "san diego , united states" | What is Competition, when Date is "January 11, 1996", when Venue is "San Diego , United States"? | <s>[INST]What is Competition, when Date is "January 11, 1996", when Venue is "San Diego , United States"? Context: CREATE TABLE table_name_72 (competition VARCHAR, date VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_72 WHERE date = "january 11, 1996" AND venue = "san diego , united states"</s> |
CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR) | SELECT status FROM table_name_32 WHERE artist = "freddie jackson" | What Status does Freddie Jackson have? | <s>[INST]What Status does Freddie Jackson have? Context: CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR)[/INST]SELECT status FROM table_name_32 WHERE artist = "freddie jackson"</s> |
CREATE TABLE table_29217650_1 (december_27 VARCHAR, movies VARCHAR) | SELECT december_27 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)" | What is the figure for December 27 for ang tanging ina mo (last na 'to!)? | <s>[INST]What is the figure for December 27 for ang tanging ina mo (last na 'to!)? Context: CREATE TABLE table_29217650_1 (december_27 VARCHAR, movies VARCHAR)[/INST]SELECT december_27 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)"</s> |
CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_57 WHERE year < 1990 AND chassis = "eurobrun er189" | Name the engine for years before 1990 and chassis of eurobrun er189 | <s>[INST]Name the engine for years before 1990 and chassis of eurobrun er189 Context: CREATE TABLE table_name_57 (engine VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_57 WHERE year < 1990 AND chassis = "eurobrun er189"</s> |
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_35 WHERE venue = "windy hill" | Who is the away side at windy hill? | <s>[INST]Who is the away side at windy hill? Context: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_35 WHERE venue = "windy hill"</s> |
CREATE TABLE table_27423508_1 (english_title VARCHAR, spanish_title VARCHAR) | SELECT english_title FROM table_27423508_1 WHERE spanish_title = "Ladrones y mentirosos" | What was the English title of Ladrones Y Mentirosos? | <s>[INST]What was the English title of Ladrones Y Mentirosos? Context: CREATE TABLE table_27423508_1 (english_title VARCHAR, spanish_title VARCHAR)[/INST]SELECT english_title FROM table_27423508_1 WHERE spanish_title = "Ladrones y mentirosos"</s> |
CREATE TABLE table_name_43 (class VARCHAR, quantity VARCHAR, date VARCHAR) | SELECT class FROM table_name_43 WHERE quantity < 174 AND date = "1921–23" | Which class has less in quantity than 174 between the years 1921–23? | <s>[INST]Which class has less in quantity than 174 between the years 1921–23? Context: CREATE TABLE table_name_43 (class VARCHAR, quantity VARCHAR, date VARCHAR)[/INST]SELECT class FROM table_name_43 WHERE quantity < 174 AND date = "1921–23"</s> |
CREATE TABLE table_29002641_1 (number VARCHAR, scrapped VARCHAR) | SELECT number FROM table_29002641_1 WHERE scrapped = "2004" | Name the number for 2004 scapped | <s>[INST]Name the number for 2004 scapped Context: CREATE TABLE table_29002641_1 (number VARCHAR, scrapped VARCHAR)[/INST]SELECT number FROM table_29002641_1 WHERE scrapped = "2004"</s> |
CREATE TABLE table_26108103_2 (opponent VARCHAR, player VARCHAR) | SELECT opponent FROM table_26108103_2 WHERE player = "Devin Gardner" | Who was the opponent when Devin Gardner was the player? | <s>[INST]Who was the opponent when Devin Gardner was the player? Context: CREATE TABLE table_26108103_2 (opponent VARCHAR, player VARCHAR)[/INST]SELECT opponent FROM table_26108103_2 WHERE player = "Devin Gardner"</s> |
CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR) | SELECT institution FROM table_1969577_1 WHERE enrollment = 10000 | Name the college that has 10000 enrolled | <s>[INST]Name the college that has 10000 enrolled Context: CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR)[/INST]SELECT institution FROM table_1969577_1 WHERE enrollment = 10000</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.