context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_29 (Giant VARCHAR, season VARCHAR) | SELECT Giant AS slalom FROM table_name_29 WHERE season = 1997 | Which Giant Slalom was obtained in the 1997 season? | <s>[INST]Which Giant Slalom was obtained in the 1997 season? Context: CREATE TABLE table_name_29 (Giant VARCHAR, season VARCHAR)[/INST]SELECT Giant AS slalom FROM table_name_29 WHERE season = 1997</s> |
CREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER) | SELECT call_sign FROM table_name_38 WHERE erp_w > 10 | What is the call sign for the translator with an ERP W larger than 10? | <s>[INST]What is the call sign for the translator with an ERP W larger than 10? Context: CREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER)[/INST]SELECT call_sign FROM table_name_38 WHERE erp_w > 10</s> |
CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15 | How many people were in attendance for the game week 15? | <s>[INST]How many people were in attendance for the game week 15? Context: CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15</s> |
CREATE TABLE table_1342218_5 (district VARCHAR, result VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342218_5 WHERE result = "Re-elected" AND incumbent = "Wilbur Mills" | Which district has the incumbent Wilbur Mills and a re-elected result? | <s>[INST]Which district has the incumbent Wilbur Mills and a re-elected result? Context: CREATE TABLE table_1342218_5 (district VARCHAR, result VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342218_5 WHERE result = "Re-elected" AND incumbent = "Wilbur Mills"</s> |
CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR) | SELECT moving_from FROM table_name_53 WHERE type = "transfer" AND nat = "esp" AND name = "de la red" | What's the moving of the Esp with a transfer and named De La Red? | <s>[INST]What's the moving of the Esp with a transfer and named De La Red? Context: CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR)[/INST]SELECT moving_from FROM table_name_53 WHERE type = "transfer" AND nat = "esp" AND name = "de la red"</s> |
CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR) | SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6 | What album had a peak position of 6 and a certification of 3x platinum? | <s>[INST]What album had a peak position of 6 and a certification of 3x platinum? Context: CREATE TABLE table_name_25 (album VARCHAR, certification VARCHAR, peak_position VARCHAR)[/INST]SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6</s> |
CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR) | SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24 | What is the least round number for Jon Olinger, who was picked before pick # 24? | <s>[INST]What is the least round number for Jon Olinger, who was picked before pick # 24? Context: CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR)[/INST]SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24</s> |
CREATE TABLE table_name_30 (championship VARCHAR, year VARCHAR) | SELECT championship FROM table_name_30 WHERE year = 1985 | What championship was in 1985? | <s>[INST]What championship was in 1985? Context: CREATE TABLE table_name_30 (championship VARCHAR, year VARCHAR)[/INST]SELECT championship FROM table_name_30 WHERE year = 1985</s> |
CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR) | SELECT original_airdate FROM table_17467578_1 WHERE us_viewers__million_ = "3.73" | What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers? | <s>[INST]What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers? Context: CREATE TABLE table_17467578_1 (original_airdate VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT original_airdate FROM table_17467578_1 WHERE us_viewers__million_ = "3.73"</s> |
CREATE TABLE table_12792876_3 (won VARCHAR, points_for VARCHAR) | SELECT won FROM table_12792876_3 WHERE points_for = "496" | What was the won when the points for was 496? | <s>[INST]What was the won when the points for was 496? Context: CREATE TABLE table_12792876_3 (won VARCHAR, points_for VARCHAR)[/INST]SELECT won FROM table_12792876_3 WHERE points_for = "496"</s> |
CREATE TABLE player (Team VARCHAR, Age VARCHAR) | SELECT Team FROM player ORDER BY Age DESC LIMIT 1 | Find the team of the player of the highest age. | <s>[INST]Find the team of the player of the highest age. Context: CREATE TABLE player (Team VARCHAR, Age VARCHAR)[/INST]SELECT Team FROM player ORDER BY Age DESC LIMIT 1</s> |
CREATE TABLE documents (document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR) | SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 3 | Find the list of documents that are both in the most three popular type and have the most three popular structure. | <s>[INST]Find the list of documents that are both in the most three popular type and have the most three popular structure. Context: CREATE TABLE documents (document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR)[/INST]SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 3</s> |
CREATE TABLE table_name_2 (icao VARCHAR, airport VARCHAR) | SELECT icao FROM table_name_2 WHERE airport = "lohausen airport" | What is the ICAO of Lohausen airport? | <s>[INST]What is the ICAO of Lohausen airport? Context: CREATE TABLE table_name_2 (icao VARCHAR, airport VARCHAR)[/INST]SELECT icao FROM table_name_2 WHERE airport = "lohausen airport"</s> |
CREATE TABLE table_name_64 (round INTEGER, team VARCHAR, date VARCHAR) | SELECT SUM(round) FROM table_name_64 WHERE team = "team impul" AND date = "8 july" | What is the sum of team impul with the date of 8 july | <s>[INST]What is the sum of team impul with the date of 8 july Context: CREATE TABLE table_name_64 (round INTEGER, team VARCHAR, date VARCHAR)[/INST]SELECT SUM(round) FROM table_name_64 WHERE team = "team impul" AND date = "8 july"</s> |
CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR) | SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07" | When 17.07 is the loa (metres) what is the type of yacht? | <s>[INST]When 17.07 is the loa (metres) what is the type of yacht? Context: CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR)[/INST]SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07"</s> |
CREATE TABLE table_name_10 (s_no INTEGER, opponent VARCHAR) | SELECT AVG(s_no) FROM table_name_10 WHERE opponent = "sri lanka" | what is the number of people in sri lanka | <s>[INST]what is the number of people in sri lanka Context: CREATE TABLE table_name_10 (s_no INTEGER, opponent VARCHAR)[/INST]SELECT AVG(s_no) FROM table_name_10 WHERE opponent = "sri lanka"</s> |
CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_31 WHERE record = "90-60" | Name the date that had a record of 90-60 | <s>[INST]Name the date that had a record of 90-60 Context: CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE record = "90-60"</s> |
CREATE TABLE table_18666752_3 (nation VARCHAR, horse VARCHAR) | SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed" | Which nation is where the horse parkmore ed is? | <s>[INST]Which nation is where the horse parkmore ed is? Context: CREATE TABLE table_18666752_3 (nation VARCHAR, horse VARCHAR)[/INST]SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed"</s> |
CREATE TABLE airports (name VARCHAR, city VARCHAR) | SELECT name FROM airports WHERE city = 'Goroka' | Find the name of the airport in the city of Goroka. | <s>[INST]Find the name of the airport in the city of Goroka. Context: CREATE TABLE airports (name VARCHAR, city VARCHAR)[/INST]SELECT name FROM airports WHERE city = 'Goroka'</s> |
CREATE TABLE table_16570286_4 (wickets VARCHAR, average VARCHAR) | SELECT wickets FROM table_16570286_4 WHERE average = "22.66" | How many wickets were there when average was 22.66? | <s>[INST]How many wickets were there when average was 22.66? Context: CREATE TABLE table_16570286_4 (wickets VARCHAR, average VARCHAR)[/INST]SELECT wickets FROM table_16570286_4 WHERE average = "22.66"</s> |
CREATE TABLE table_2668352_5 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha" | What is every district for incumbent Joseph Desha? | <s>[INST]What is every district for incumbent Joseph Desha? Context: CREATE TABLE table_2668352_5 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_2668352_5 WHERE incumbent = "Joseph Desha"</s> |
CREATE TABLE table_name_92 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_name_92 WHERE no_in_series = 174 | What production code does episode 174 of Melrose place have? | <s>[INST]What production code does episode 174 of Melrose place have? Context: CREATE TABLE table_name_92 (production_code VARCHAR, no_in_series VARCHAR)[/INST]SELECT production_code FROM table_name_92 WHERE no_in_series = 174</s> |
CREATE TABLE table_17304621_14 (bandwidth VARCHAR, downstream VARCHAR, price_tl VARCHAR) | SELECT bandwidth FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND price_tl = "69 TL" | What is the bandwidth for downstream of 20 mbit/s for 69 tl? | <s>[INST]What is the bandwidth for downstream of 20 mbit/s for 69 tl? Context: CREATE TABLE table_17304621_14 (bandwidth VARCHAR, downstream VARCHAR, price_tl VARCHAR)[/INST]SELECT bandwidth FROM table_17304621_14 WHERE downstream = "20 Mbit/s" AND price_tl = "69 TL"</s> |
CREATE TABLE table_name_77 (points INTEGER, opponent VARCHAR) | SELECT SUM(points) FROM table_name_77 WHERE opponent = "@ calgary flames" | How many Points have an Opponent of @ calgary flames? | <s>[INST]How many Points have an Opponent of @ calgary flames? Context: CREATE TABLE table_name_77 (points INTEGER, opponent VARCHAR)[/INST]SELECT SUM(points) FROM table_name_77 WHERE opponent = "@ calgary flames"</s> |
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_62 WHERE away_team = "fitzroy" | Which Home team has an Away team of fitzroy? | <s>[INST]Which Home team has an Away team of fitzroy? Context: CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_62 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_88 WHERE home_team = "carlton" | What venue features carlton at home? | <s>[INST]What venue features carlton at home? Context: CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_88 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009" | What is Record, when Location Attendance, is Madison Square Garden 19,009? | <s>[INST]What is Record, when Location Attendance, is Madison Square Garden 19,009? Context: CREATE TABLE table_name_32 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT record FROM table_name_32 WHERE location_attendance = "madison square garden 19,009"</s> |
CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR) | SELECT part_2 FROM table_name_36 WHERE class = "3a" | What is the part 2 entry for class 3a? | <s>[INST]What is the part 2 entry for class 3a? Context: CREATE TABLE table_name_36 (part_2 VARCHAR, class VARCHAR)[/INST]SELECT part_2 FROM table_name_36 WHERE class = "3a"</s> |
CREATE TABLE table_1342315_12 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342315_12 WHERE incumbent = "Leo E. Allen" | When was incumbent Leo E. Allen first elected? | <s>[INST]When was incumbent Leo E. Allen first elected? Context: CREATE TABLE table_1342315_12 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1342315_12 WHERE incumbent = "Leo E. Allen"</s> |
CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado" | What is the date of the match when Detroit is the home team and Colorado is the visiting team? | <s>[INST]What is the date of the match when Detroit is the home team and Colorado is the visiting team? Context: CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado"</s> |
CREATE TABLE table_name_73 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_73 WHERE player = "john cook" | What is the place of player john cook? | <s>[INST]What is the place of player john cook? Context: CREATE TABLE table_name_73 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_73 WHERE player = "john cook"</s> |
CREATE TABLE table_name_84 (tries INTEGER, player VARCHAR, points VARCHAR) | SELECT MIN(tries) FROM table_name_84 WHERE player = "matt diskin" AND points > 16 | What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points? | <s>[INST]What is the smallest number of tries when Matt Diskin is the player and there are more than 16 points? Context: CREATE TABLE table_name_84 (tries INTEGER, player VARCHAR, points VARCHAR)[/INST]SELECT MIN(tries) FROM table_name_84 WHERE player = "matt diskin" AND points > 16</s> |
CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR) | SELECT T2.name, T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1 | Show the stadium name and capacity with most number of concerts in year 2014 or after. | <s>[INST]Show the stadium name and capacity with most number of concerts in year 2014 or after. Context: CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR)[/INST]SELECT T2.name, T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR) | SELECT distribution_mechanism FROM table_2263152_1 WHERE version = "1.5b" | If the version is 1.5b, what is the distribution mechanism? | <s>[INST]If the version is 1.5b, what is the distribution mechanism? Context: CREATE TABLE table_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR)[/INST]SELECT distribution_mechanism FROM table_2263152_1 WHERE version = "1.5b"</s> |
CREATE TABLE table_name_81 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_81 WHERE record = "0-1" | Who is the opponent with a 0-1 record? | <s>[INST]Who is the opponent with a 0-1 record? Context: CREATE TABLE table_name_81 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_81 WHERE record = "0-1"</s> |
CREATE TABLE table_26957063_3 (_percentage_identity_to_c7orf38 INTEGER, genus_ VARCHAR, _species VARCHAR) | SELECT MAX(_percentage_identity_to_c7orf38) FROM table_26957063_3 WHERE genus_ & _species = "Mus musculus" | What is the % identity to C7orf38 of the animal whose genus & species is Mus Musculus? | <s>[INST]What is the % identity to C7orf38 of the animal whose genus & species is Mus Musculus? Context: CREATE TABLE table_26957063_3 (_percentage_identity_to_c7orf38 INTEGER, genus_ VARCHAR, _species VARCHAR)[/INST]SELECT MAX(_percentage_identity_to_c7orf38) FROM table_26957063_3 WHERE genus_ & _species = "Mus musculus"</s> |
CREATE TABLE table_name_64 (coding VARCHAR, genbank_id VARCHAR) | SELECT 3 AS ’utr_sequence FROM table_name_64 WHERE coding = "6a 3" AND genbank_id = "nm_001093770.2" | What was the 3’UTR sequence when Coding was 6a 3 and the GenBank id is nm_001093770.2? | <s>[INST]What was the 3’UTR sequence when Coding was 6a 3 and the GenBank id is nm_001093770.2? Context: CREATE TABLE table_name_64 (coding VARCHAR, genbank_id VARCHAR)[/INST]SELECT 3 AS ’utr_sequence FROM table_name_64 WHERE coding = "6a 3" AND genbank_id = "nm_001093770.2"</s> |
CREATE TABLE table_30058355_5 (rank INTEGER) | SELECT MIN(rank) FROM table_30058355_5 | What's the best rank possible? | <s>[INST]What's the best rank possible? Context: CREATE TABLE table_30058355_5 (rank INTEGER)[/INST]SELECT MIN(rank) FROM table_30058355_5</s> |
CREATE TABLE table_name_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR) | SELECT service FROM table_name_22 WHERE origin_of_programming = "india" AND network = "set max" | What is the service of the network Set Max from India? | <s>[INST]What is the service of the network Set Max from India? Context: CREATE TABLE table_name_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR)[/INST]SELECT service FROM table_name_22 WHERE origin_of_programming = "india" AND network = "set max"</s> |
CREATE TABLE staff_department_assignments (staff_id VARCHAR, job_title_code VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_gender VARCHAR) | SELECT T1.staff_id, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Department Manager" | What are the staff ids and genders of all staffs whose job title is Department Manager? | <s>[INST]What are the staff ids and genders of all staffs whose job title is Department Manager? Context: CREATE TABLE staff_department_assignments (staff_id VARCHAR, job_title_code VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_gender VARCHAR)[/INST]SELECT T1.staff_id, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Department Manager"</s> |
CREATE TABLE table_name_73 (points INTEGER, place VARCHAR, draw VARCHAR) | SELECT MIN(points) FROM table_name_73 WHERE place = "7th" AND draw > 8 | What is the number of points for the 7th placed song with a draw greater than 8? | <s>[INST]What is the number of points for the 7th placed song with a draw greater than 8? Context: CREATE TABLE table_name_73 (points INTEGER, place VARCHAR, draw VARCHAR)[/INST]SELECT MIN(points) FROM table_name_73 WHERE place = "7th" AND draw > 8</s> |
CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR) | SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008" | What are all the positions for the rockets in 2008? | <s>[INST]What are all the positions for the rockets in 2008? Context: CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008"</s> |
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR) | SELECT laps FROM table_name_37 WHERE time = "+28.778" | What laps have a Time of +28.778? | <s>[INST]What laps have a Time of +28.778? Context: CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)[/INST]SELECT laps FROM table_name_37 WHERE time = "+28.778"</s> |
CREATE TABLE table_name_1 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR) | SELECT days_held FROM table_name_1 WHERE reign > 3 AND defenses < 1 | What is the days held the champion with a reign larger than 3 and less than 1 defense has? | <s>[INST]What is the days held the champion with a reign larger than 3 and less than 1 defense has? Context: CREATE TABLE table_name_1 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)[/INST]SELECT days_held FROM table_name_1 WHERE reign > 3 AND defenses < 1</s> |
CREATE TABLE table_name_99 (nationality VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_99 WHERE position = "left wing" | Which Nationality has a Position of left wing? | <s>[INST]Which Nationality has a Position of left wing? Context: CREATE TABLE table_name_99 (nationality VARCHAR, position VARCHAR)[/INST]SELECT nationality FROM table_name_99 WHERE position = "left wing"</s> |
CREATE TABLE table_24399615_4 (airdate VARCHAR, cable_rank VARCHAR) | SELECT airdate FROM table_24399615_4 WHERE cable_rank = "17" | What date did the episode air that had a ranking of 17 for cable? | <s>[INST]What date did the episode air that had a ranking of 17 for cable? Context: CREATE TABLE table_24399615_4 (airdate VARCHAR, cable_rank VARCHAR)[/INST]SELECT airdate FROM table_24399615_4 WHERE cable_rank = "17"</s> |
CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR) | SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "30" | What all turbines have a capacity of 30 and have a Somerset location? | <s>[INST]What all turbines have a capacity of 30 and have a Somerset location? Context: CREATE TABLE table_26387382_1 (turbines VARCHAR, location__county_ VARCHAR, capacity__mw_ VARCHAR)[/INST]SELECT turbines FROM table_26387382_1 WHERE location__county_ = "Somerset" AND capacity__mw_ = "30"</s> |
CREATE TABLE team (team_id VARCHAR, rank VARCHAR); CREATE TABLE home_game (team_id VARCHAR, year VARCHAR, attendance INTEGER) | SELECT T2.team_id, T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id WHERE T1.year = 2014 GROUP BY T1.team_id ORDER BY AVG(T1.attendance) DESC LIMIT 1 | In 2014, what are the id and rank of the team that has the largest average number of attendance? | <s>[INST]In 2014, what are the id and rank of the team that has the largest average number of attendance? Context: CREATE TABLE team (team_id VARCHAR, rank VARCHAR); CREATE TABLE home_game (team_id VARCHAR, year VARCHAR, attendance INTEGER)[/INST]SELECT T2.team_id, T2.rank FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id WHERE T1.year = 2014 GROUP BY T1.team_id ORDER BY AVG(T1.attendance) DESC LIMIT 1</s> |
CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR) | SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 16 | Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)? | <s>[INST]Bandwidth (MB/s) smaller than 4800, and a Bus width (bits) smaller than 16 has what highest Clock rate (MHz)? Context: CREATE TABLE table_name_75 (clock_rate__mhz_ INTEGER, bandwidth__mb_s_ VARCHAR, bus_width__bits_ VARCHAR)[/INST]SELECT MAX(clock_rate__mhz_) FROM table_name_75 WHERE bandwidth__mb_s_ < 4800 AND bus_width__bits_ < 16</s> |
CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR) | SELECT SUM(laps) FROM table_name_69 WHERE driver = "gunnar nilsson" | How many laps did gunnar nilsson drive? | <s>[INST]How many laps did gunnar nilsson drive? Context: CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_69 WHERE driver = "gunnar nilsson"</s> |
CREATE TABLE table_name_21 (pre__season VARCHAR, may_5 VARCHAR) | SELECT pre__season FROM table_name_21 WHERE may_5 = "21" | Which pre-season has May 5 of 21? | <s>[INST]Which pre-season has May 5 of 21? Context: CREATE TABLE table_name_21 (pre__season VARCHAR, may_5 VARCHAR)[/INST]SELECT pre__season FROM table_name_21 WHERE may_5 = "21"</s> |
CREATE TABLE table_24565004_8 (period VARCHAR, name VARCHAR) | SELECT COUNT(period) FROM table_24565004_8 WHERE name = "Geraldão" | What is the period total number if the name is Geraldão? | <s>[INST]What is the period total number if the name is Geraldão? Context: CREATE TABLE table_24565004_8 (period VARCHAR, name VARCHAR)[/INST]SELECT COUNT(period) FROM table_24565004_8 WHERE name = "Geraldão"</s> |
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR) | SELECT SUM(week) FROM table_name_58 WHERE result = "w 23-17" | Which Week had a Result of w 23-17? | <s>[INST]Which Week had a Result of w 23-17? Context: CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)[/INST]SELECT SUM(week) FROM table_name_58 WHERE result = "w 23-17"</s> |
CREATE TABLE table_name_63 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR) | SELECT SUM(avg_g) FROM table_name_63 WHERE effic > 129.73 AND cmp_att_int = "333-500-13" | Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13? | <s>[INST]Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13? Context: CREATE TABLE table_name_63 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR)[/INST]SELECT SUM(avg_g) FROM table_name_63 WHERE effic > 129.73 AND cmp_att_int = "333-500-13"</s> |
CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 15, 1865" | What was the reason for change in staff in formal installations on March 15, 1865? | <s>[INST]What was the reason for change in staff in formal installations on March 15, 1865? Context: CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 15, 1865"</s> |
CREATE TABLE table_name_37 (composition VARCHAR, founded VARCHAR) | SELECT composition FROM table_name_37 WHERE founded = 1976 | What composition was founded in 1976? | <s>[INST]What composition was founded in 1976? Context: CREATE TABLE table_name_37 (composition VARCHAR, founded VARCHAR)[/INST]SELECT composition FROM table_name_37 WHERE founded = 1976</s> |
CREATE TABLE table_name_99 (callsign VARCHAR, frequency VARCHAR) | SELECT callsign FROM table_name_99 WHERE frequency = "0 864" | Frequency of 0 864 has what callsign? | <s>[INST]Frequency of 0 864 has what callsign? Context: CREATE TABLE table_name_99 (callsign VARCHAR, frequency VARCHAR)[/INST]SELECT callsign FROM table_name_99 WHERE frequency = "0 864"</s> |
CREATE TABLE table_28744929_2 (years_at_school VARCHAR, team VARCHAR) | SELECT COUNT(years_at_school) FROM table_28744929_2 WHERE team = "Maryland" | How many values were used to express the years at school of the Maryland team? | <s>[INST]How many values were used to express the years at school of the Maryland team? Context: CREATE TABLE table_28744929_2 (years_at_school VARCHAR, team VARCHAR)[/INST]SELECT COUNT(years_at_school) FROM table_28744929_2 WHERE team = "Maryland"</s> |
CREATE TABLE table_23242933_2 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_23242933_2 WHERE production_code = "1AJN05" | Who wrote the episode with production code 1AJN05? | <s>[INST]Who wrote the episode with production code 1AJN05? Context: CREATE TABLE table_23242933_2 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_23242933_2 WHERE production_code = "1AJN05"</s> |
CREATE TABLE table_name_55 (rank INTEGER, silver VARCHAR, total VARCHAR) | SELECT SUM(rank) FROM table_name_55 WHERE silver = 2 AND total > 10 | What is the total rank with more than 2 silver and total larger than 10? | <s>[INST]What is the total rank with more than 2 silver and total larger than 10? Context: CREATE TABLE table_name_55 (rank INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_55 WHERE silver = 2 AND total > 10</s> |
CREATE TABLE table_name_63 (government VARCHAR, number VARCHAR) | SELECT government FROM table_name_63 WHERE number = 6 | Which government is number 6? | <s>[INST]Which government is number 6? Context: CREATE TABLE table_name_63 (government VARCHAR, number VARCHAR)[/INST]SELECT government FROM table_name_63 WHERE number = 6</s> |
CREATE TABLE table_name_51 (year VARCHAR, bbc_two_rank VARCHAR) | SELECT year FROM table_name_51 WHERE bbc_two_rank = "13th" | In what year was BBC 2 13th in rank? | <s>[INST]In what year was BBC 2 13th in rank? Context: CREATE TABLE table_name_51 (year VARCHAR, bbc_two_rank VARCHAR)[/INST]SELECT year FROM table_name_51 WHERE bbc_two_rank = "13th"</s> |
CREATE TABLE table_name_77 (city_of_license VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_77 WHERE identifier = "cbon-fm-11" | What city of license has cbon-fm-11 as the identifier? | <s>[INST]What city of license has cbon-fm-11 as the identifier? Context: CREATE TABLE table_name_77 (city_of_license VARCHAR, identifier VARCHAR)[/INST]SELECT city_of_license FROM table_name_77 WHERE identifier = "cbon-fm-11"</s> |
CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR) | SELECT MIN(drawn) FROM table_name_5 WHERE nationality = "england" AND matches < 510 AND lost = 4 AND win__percentage < 28.6 | Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn? | <s>[INST]Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn? Context: CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR)[/INST]SELECT MIN(drawn) FROM table_name_5 WHERE nationality = "england" AND matches < 510 AND lost = 4 AND win__percentage < 28.6</s> |
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb VARCHAR) | SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id ORDER BY T2.Feb DESC LIMIT 1 | Which city has the highest temperature in February? | <s>[INST]Which city has the highest temperature in February? Context: CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb VARCHAR)[/INST]SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id ORDER BY T2.Feb DESC LIMIT 1</s> |
CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR, debut_year VARCHAR) | SELECT -time AS rank FROM table_name_55 WHERE rank < 9 AND debut_year = 1994 | What is the all-time rank associated with a rank less than 9 and a debut in 1994? | <s>[INST]What is the all-time rank associated with a rank less than 9 and a debut in 1994? Context: CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR, debut_year VARCHAR)[/INST]SELECT -time AS rank FROM table_name_55 WHERE rank < 9 AND debut_year = 1994</s> |
CREATE TABLE table_name_73 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_73 WHERE week = 8 | When has a Week of 8? | <s>[INST]When has a Week of 8? Context: CREATE TABLE table_name_73 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE week = 8</s> |
CREATE TABLE table_name_28 (period INTEGER, element VARCHAR) | SELECT MIN(period) FROM table_name_28 WHERE element = "ruthenium" | Which lowest period's element is ruthenium? | <s>[INST]Which lowest period's element is ruthenium? Context: CREATE TABLE table_name_28 (period INTEGER, element VARCHAR)[/INST]SELECT MIN(period) FROM table_name_28 WHERE element = "ruthenium"</s> |
CREATE TABLE table_name_85 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_85 WHERE player = "thad jemison" | What is Thad Jemison's position? | <s>[INST]What is Thad Jemison's position? Context: CREATE TABLE table_name_85 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_85 WHERE player = "thad jemison"</s> |
CREATE TABLE table_22897967_1 (callback_date VARCHAR, audition_venue VARCHAR) | SELECT callback_date FROM table_22897967_1 WHERE audition_venue = "Amway Arena" | Name the callback date for amway arena | <s>[INST]Name the callback date for amway arena Context: CREATE TABLE table_22897967_1 (callback_date VARCHAR, audition_venue VARCHAR)[/INST]SELECT callback_date FROM table_22897967_1 WHERE audition_venue = "Amway Arena"</s> |
CREATE TABLE table_13050822_2 (leg VARCHAR, rally_leader VARCHAR) | SELECT leg FROM table_13050822_2 WHERE rally_leader = "C. Atkinson" | What is the leg for c. atkinson | <s>[INST]What is the leg for c. atkinson Context: CREATE TABLE table_13050822_2 (leg VARCHAR, rally_leader VARCHAR)[/INST]SELECT leg FROM table_13050822_2 WHERE rally_leader = "C. Atkinson"</s> |
CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, chassis VARCHAR) | SELECT SUM(year) FROM table_name_68 WHERE entrant = "scuderia ferrari" AND chassis = "ferrari 312/66" | What was the sum of the years, when the entrant was Scuderia Ferrari, and when the Chassis was Ferrari 312/66? | <s>[INST]What was the sum of the years, when the entrant was Scuderia Ferrari, and when the Chassis was Ferrari 312/66? Context: CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT SUM(year) FROM table_name_68 WHERE entrant = "scuderia ferrari" AND chassis = "ferrari 312/66"</s> |
CREATE TABLE table_name_81 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR) | SELECT type FROM table_name_81 WHERE themed_land = "wild asia" AND opened_in = 2000 | What type ride is Wild Asia that opened in 2000? | <s>[INST]What type ride is Wild Asia that opened in 2000? Context: CREATE TABLE table_name_81 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR)[/INST]SELECT type FROM table_name_81 WHERE themed_land = "wild asia" AND opened_in = 2000</s> |
CREATE TABLE table_2333416_2 (top_10 VARCHAR, winnings VARCHAR) | SELECT top_10 FROM table_2333416_2 WHERE winnings = "$17,695" | How many top 10 finishes did Ken Bouchard get in the year he won $17,695? | <s>[INST]How many top 10 finishes did Ken Bouchard get in the year he won $17,695? Context: CREATE TABLE table_2333416_2 (top_10 VARCHAR, winnings VARCHAR)[/INST]SELECT top_10 FROM table_2333416_2 WHERE winnings = "$17,695"</s> |
CREATE TABLE table_name_2 (marowijne VARCHAR, saramacca VARCHAR) | SELECT marowijne FROM table_name_2 WHERE saramacca = "18.8%" | What is the marowijne with an 18.8% saramacca? | <s>[INST]What is the marowijne with an 18.8% saramacca? Context: CREATE TABLE table_name_2 (marowijne VARCHAR, saramacca VARCHAR)[/INST]SELECT marowijne FROM table_name_2 WHERE saramacca = "18.8%"</s> |
CREATE TABLE table_10083598_1 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_10083598_1 WHERE circuit = "Misano" | What was the date of the race in Misano? | <s>[INST]What was the date of the race in Misano? Context: CREATE TABLE table_10083598_1 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_10083598_1 WHERE circuit = "Misano"</s> |
CREATE TABLE table_name_78 (original_title VARCHAR, year VARCHAR, country VARCHAR) | SELECT original_title FROM table_name_78 WHERE year = 1983 AND country = "italy" | Which Original title has a Year of 1983, and a Country of italy? | <s>[INST]Which Original title has a Year of 1983, and a Country of italy? Context: CREATE TABLE table_name_78 (original_title VARCHAR, year VARCHAR, country VARCHAR)[/INST]SELECT original_title FROM table_name_78 WHERE year = 1983 AND country = "italy"</s> |
CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR) | SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football" | Name the Club which has a Founded larger than 1875, and a Sport of football? | <s>[INST]Name the Club which has a Founded larger than 1875, and a Sport of football? Context: CREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR)[/INST]SELECT club FROM table_name_73 WHERE founded > 1875 AND sport = "football"</s> |
CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR) | SELECT result FROM table_26250176_1 WHERE week__number = "Top 12" | What was the results for top 12? | <s>[INST]What was the results for top 12? Context: CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR)[/INST]SELECT result FROM table_26250176_1 WHERE week__number = "Top 12"</s> |
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia" | On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia? | <s>[INST]On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia? Context: CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia"</s> |
CREATE TABLE table_12186237_1 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_12186237_1 WHERE date = "4 May" | What circuit was on the date 4 May? | <s>[INST]What circuit was on the date 4 May? Context: CREATE TABLE table_12186237_1 (circuit VARCHAR, date VARCHAR)[/INST]SELECT circuit FROM table_12186237_1 WHERE date = "4 May"</s> |
CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR, opposing_teams VARCHAR) | SELECT venue FROM table_name_16 WHERE against > 14 AND opposing_teams = "scotland" AND status = "five nations" | What venue has an against over 14, an opposing team of scotland, and a status of five nations? | <s>[INST]What venue has an against over 14, an opposing team of scotland, and a status of five nations? Context: CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR, opposing_teams VARCHAR)[/INST]SELECT venue FROM table_name_16 WHERE against > 14 AND opposing_teams = "scotland" AND status = "five nations"</s> |
CREATE TABLE table_name_83 (date__closing_ VARCHAR, year INTEGER) | SELECT date__closing_ FROM table_name_83 WHERE year > 2011 | What is Date (Closing), when Year is greater than 2011? | <s>[INST]What is Date (Closing), when Year is greater than 2011? Context: CREATE TABLE table_name_83 (date__closing_ VARCHAR, year INTEGER)[/INST]SELECT date__closing_ FROM table_name_83 WHERE year > 2011</s> |
CREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_11 WHERE runner_s__up = "tom kite" | What tournament had a Runner(s)-up of Tom Kite? | <s>[INST]What tournament had a Runner(s)-up of Tom Kite? Context: CREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_11 WHERE runner_s__up = "tom kite"</s> |
CREATE TABLE table_14958620_1 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_14958620_1 WHERE game_site = "Tiger Stadium" | On which date was the game played at Tiger Stadium? | <s>[INST]On which date was the game played at Tiger Stadium? Context: CREATE TABLE table_14958620_1 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_14958620_1 WHERE game_site = "Tiger Stadium"</s> |
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_57 WHERE date = "february 10" | What score has February 10 as the date? | <s>[INST]What score has February 10 as the date? Context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_57 WHERE date = "february 10"</s> |
CREATE TABLE table_19834691_4 (uk_air_date VARCHAR, audience_share_in_timeslot VARCHAR) | SELECT uk_air_date FROM table_19834691_4 WHERE audience_share_in_timeslot = "7.3%" | Name the uk air date for audience share in timeslot in 7.3% | <s>[INST]Name the uk air date for audience share in timeslot in 7.3% Context: CREATE TABLE table_19834691_4 (uk_air_date VARCHAR, audience_share_in_timeslot VARCHAR)[/INST]SELECT uk_air_date FROM table_19834691_4 WHERE audience_share_in_timeslot = "7.3%"</s> |
CREATE TABLE table_name_10 (social_democratic_party INTEGER, green INTEGER) | SELECT AVG(social_democratic_party) FROM table_name_10 WHERE green < 0 | Which Social Democratic Party has a Green smaller than 0? | <s>[INST]Which Social Democratic Party has a Green smaller than 0? Context: CREATE TABLE table_name_10 (social_democratic_party INTEGER, green INTEGER)[/INST]SELECT AVG(social_democratic_party) FROM table_name_10 WHERE green < 0</s> |
CREATE TABLE table_name_51 (result VARCHAR, awards VARCHAR, category VARCHAR, year VARCHAR) | SELECT result FROM table_name_51 WHERE category = "stacy" AND year > 2008 AND awards = "jahat" | What was the result in the year greaters than 2008 with an award of Jahat and had a category of Stacy? | <s>[INST]What was the result in the year greaters than 2008 with an award of Jahat and had a category of Stacy? Context: CREATE TABLE table_name_51 (result VARCHAR, awards VARCHAR, category VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_51 WHERE category = "stacy" AND year > 2008 AND awards = "jahat"</s> |
CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_35 WHERE record = "3-0" | Which res has a Record of 3-0? | <s>[INST]Which res has a Record of 3-0? Context: CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR)[/INST]SELECT res FROM table_name_35 WHERE record = "3-0"</s> |
CREATE TABLE table_name_67 (player VARCHAR, college VARCHAR, pick VARCHAR) | SELECT player FROM table_name_67 WHERE college = "east" AND pick = 3 | What is the Pick 3 Player from East College? | <s>[INST]What is the Pick 3 Player from East College? Context: CREATE TABLE table_name_67 (player VARCHAR, college VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE college = "east" AND pick = 3</s> |
CREATE TABLE table_name_61 (nba_draft VARCHAR, school VARCHAR) | SELECT nba_draft FROM table_name_61 WHERE school = "dunbar high school" | What is the NBA draft result of the player from Dunbar High School? | <s>[INST]What is the NBA draft result of the player from Dunbar High School? Context: CREATE TABLE table_name_61 (nba_draft VARCHAR, school VARCHAR)[/INST]SELECT nba_draft FROM table_name_61 WHERE school = "dunbar high school"</s> |
CREATE TABLE people (People_ID VARCHAR, Age VARCHAR); CREATE TABLE gymnast (Total_Points VARCHAR, Gymnast_ID VARCHAR) | SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1 | What is the total point count of the youngest gymnast? | <s>[INST]What is the total point count of the youngest gymnast? Context: CREATE TABLE people (People_ID VARCHAR, Age VARCHAR); CREATE TABLE gymnast (Total_Points VARCHAR, Gymnast_ID VARCHAR)[/INST]SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1</s> |
CREATE TABLE table_name_98 (power VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT power FROM table_name_98 WHERE class = "lp" AND identifier = "cbli" | What power belongs to the LP Class and has an Identifier of CBLI? | <s>[INST]What power belongs to the LP Class and has an Identifier of CBLI? Context: CREATE TABLE table_name_98 (power VARCHAR, class VARCHAR, identifier VARCHAR)[/INST]SELECT power FROM table_name_98 WHERE class = "lp" AND identifier = "cbli"</s> |
CREATE TABLE table_2668336_24 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668336_24 WHERE candidates = "Alexander Smyth (DR) 100%" | What is the result when the candidates are alexander smyth (dr) 100% | <s>[INST]What is the result when the candidates are alexander smyth (dr) 100% Context: CREATE TABLE table_2668336_24 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_2668336_24 WHERE candidates = "Alexander Smyth (DR) 100%"</s> |
CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR) | SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn" | What year was the game at Bad Neuenahr Eppelborn? | <s>[INST]What year was the game at Bad Neuenahr Eppelborn? Context: CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR)[/INST]SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn"</s> |
CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR) | SELECT start FROM table_name_72 WHERE qual = "141.033" | What place did Jack McGrath start in when he received a qual score of 141.033? | <s>[INST]What place did Jack McGrath start in when he received a qual score of 141.033? Context: CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR)[/INST]SELECT start FROM table_name_72 WHERE qual = "141.033"</s> |
CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_07 VARCHAR) | SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_07 = 3940 | What is the number of students in Fall 09 from the state that had 3940 in Fall 07? | <s>[INST]What is the number of students in Fall 09 from the state that had 3940 in Fall 07? Context: CREATE TABLE table_15055594_6 (fall_09 INTEGER, fall_07 VARCHAR)[/INST]SELECT MAX(fall_09) FROM table_15055594_6 WHERE fall_07 = 3940</s> |
CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR) | SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre" | What is the date of birth for the player from Ulster and plays at Centre position? | <s>[INST]What is the date of birth for the player from Ulster and plays at Centre position? Context: CREATE TABLE table_name_26 (date_of_birth__age_ VARCHAR, club_province VARCHAR, position VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre"</s> |
CREATE TABLE table_name_44 (romani VARCHAR, domari VARCHAR) | SELECT romani FROM table_name_44 WHERE domari = "na" | What is the Romani associated with a Domari of na? | <s>[INST]What is the Romani associated with a Domari of na? Context: CREATE TABLE table_name_44 (romani VARCHAR, domari VARCHAR)[/INST]SELECT romani FROM table_name_44 WHERE domari = "na"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.