context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_72 (frequency VARCHAR, sspec_number VARCHAR) | SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj" | What is the frequency of the model with sSpec number sl5qj? | <s>[INST]What is the frequency of the model with sSpec number sl5qj? Context: CREATE TABLE table_name_72 (frequency VARCHAR, sspec_number VARCHAR)[/INST]SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj"</s> |
CREATE TABLE table_name_9 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_9 WHERE home_team = "geelong" | What was Geelong's score when they were the home team? | <s>[INST]What was Geelong's score when they were the home team? Context: CREATE TABLE table_name_9 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_9 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_67 (japanese_title VARCHAR, average_ratings VARCHAR) | SELECT japanese_title FROM table_name_67 WHERE average_ratings = "9.1%" | What Japanese title had average ratings at 9.1%? | <s>[INST]What Japanese title had average ratings at 9.1%? Context: CREATE TABLE table_name_67 (japanese_title VARCHAR, average_ratings VARCHAR)[/INST]SELECT japanese_title FROM table_name_67 WHERE average_ratings = "9.1%"</s> |
CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR) | SELECT opponents FROM table_name_78 WHERE year = "1999–2000" AND team = "leeds united" | Which Opponents have a Year of 1999–2000, and a Team of leeds united? | <s>[INST]Which Opponents have a Year of 1999–2000, and a Team of leeds united? Context: CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR)[/INST]SELECT opponents FROM table_name_78 WHERE year = "1999–2000" AND team = "leeds united"</s> |
CREATE TABLE table_name_32 (acceleration_0_100km_h VARCHAR, name VARCHAR) | SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = "1.5 dci" | What is the acceleration 1-100km/h when the name is 1.5 dci? | <s>[INST]What is the acceleration 1-100km/h when the name is 1.5 dci? Context: CREATE TABLE table_name_32 (acceleration_0_100km_h VARCHAR, name VARCHAR)[/INST]SELECT acceleration_0_100km_h FROM table_name_32 WHERE name = "1.5 dci"</s> |
CREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR) | SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 2008" | What is the Format(s) of the release on September 23, 2008? | <s>[INST]What is the Format(s) of the release on September 23, 2008? Context: CREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR)[/INST]SELECT format_s_ FROM table_name_40 WHERE date = "september 23, 2008"</s> |
CREATE TABLE table_1108394_24 (_percentage VARCHAR, manhattan VARCHAR) | SELECT COUNT(_percentage) FROM table_1108394_24 WHERE manhattan = "45,901" | What is the percentage for manhattan 45,901? | <s>[INST]What is the percentage for manhattan 45,901? Context: CREATE TABLE table_1108394_24 (_percentage VARCHAR, manhattan VARCHAR)[/INST]SELECT COUNT(_percentage) FROM table_1108394_24 WHERE manhattan = "45,901"</s> |
CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR) | SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id | Find the subject ID, subject name, and the corresponding number of available courses for each subject. | <s>[INST]Find the subject ID, subject name, and the corresponding number of available courses for each subject. Context: CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR)[/INST]SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T... |
CREATE TABLE table_name_58 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_58 WHERE goal = 4 | What was the date of the game that had a goal of 4? | <s>[INST]What was the date of the game that had a goal of 4? Context: CREATE TABLE table_name_58 (date VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE goal = 4</s> |
CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_67 WHERE date = "23 january 1982" AND home_team = "gillingham" | What is the score of the game home team gillingham played on 23 january 1982? | <s>[INST]What is the score of the game home team gillingham played on 23 january 1982? Context: CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE date = "23 january 1982" AND home_team = "gillingham"</s> |
CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR) | SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 1987 | What is the enrollment for the institution that joined in 1987? | <s>[INST]What is the enrollment for the institution that joined in 1987? Context: CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 1987</s> |
CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR) | SELECT record FROM table_name_41 WHERE stadium = "paul brown stadium" | What was the Browns record after they played the game at the Paul Brown stadium? | <s>[INST]What was the Browns record after they played the game at the Paul Brown stadium? Context: CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR)[/INST]SELECT record FROM table_name_41 WHERE stadium = "paul brown stadium"</s> |
CREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR) | SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (2)" | What is the earliest year in which the result is championship US Open (2)? | <s>[INST]What is the earliest year in which the result is championship US Open (2)? Context: CREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR)[/INST]SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (2)"</s> |
CREATE TABLE table_name_53 (country VARCHAR, total VARCHAR) | SELECT country FROM table_name_53 WHERE total = 294 | Which county did the player with a total of 294 represent? | <s>[INST]Which county did the player with a total of 294 represent? Context: CREATE TABLE table_name_53 (country VARCHAR, total VARCHAR)[/INST]SELECT country FROM table_name_53 WHERE total = 294</s> |
CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR) | SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county" | What was the result of the home game against Derby County? | <s>[INST]What was the result of the home game against Derby County? Context: CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR)[/INST]SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county"</s> |
CREATE TABLE table_name_59 (game VARCHAR, opponents INTEGER) | SELECT game FROM table_name_59 WHERE opponents > 28 | What game did the Buffalo Bills' opponents earn more than 28 points? | <s>[INST]What game did the Buffalo Bills' opponents earn more than 28 points? Context: CREATE TABLE table_name_59 (game VARCHAR, opponents INTEGER)[/INST]SELECT game FROM table_name_59 WHERE opponents > 28</s> |
CREATE TABLE table_name_31 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_31 WHERE college = "colorado" | Which Position has a College of colorado? | <s>[INST]Which Position has a College of colorado? Context: CREATE TABLE table_name_31 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_31 WHERE college = "colorado"</s> |
CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) | SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0 | What are the average byes that are greater than 1479, wins greater than 5 and 0 draws? | <s>[INST]What are the average byes that are greater than 1479, wins greater than 5 and 0 draws? Context: CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)[/INST]SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0</s> |
CREATE TABLE table_name_19 (location VARCHAR, bowl VARCHAR, attendance VARCHAR) | SELECT location FROM table_name_19 WHERE bowl = "california bowl" AND attendance = "30,000" | Where was the California bowl played with 30,000 attending? | <s>[INST]Where was the California bowl played with 30,000 attending? Context: CREATE TABLE table_name_19 (location VARCHAR, bowl VARCHAR, attendance VARCHAR)[/INST]SELECT location FROM table_name_19 WHERE bowl = "california bowl" AND attendance = "30,000"</s> |
CREATE TABLE table_name_96 (date VARCHAR, site VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_96 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND attendance = "27,321" | What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance? | <s>[INST]What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance? Context: CREATE TABLE table_name_96 (date VARCHAR, site VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_96 WHERE site = "dowdy-ficklen stadium • greenville, nc" AND attendance = "27,321"</s> |
CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_36 WHERE date = "january 7" | Who was the opponent on January 7? | <s>[INST]Who was the opponent on January 7? Context: CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_36 WHERE date = "january 7"</s> |
CREATE TABLE table_27298240_26 (aorist VARCHAR, present VARCHAR) | SELECT aorist FROM table_27298240_26 WHERE present = "bude" | What aorist has bude in present tense? | <s>[INST]What aorist has bude in present tense? Context: CREATE TABLE table_27298240_26 (aorist VARCHAR, present VARCHAR)[/INST]SELECT aorist FROM table_27298240_26 WHERE present = "bude"</s> |
CREATE TABLE table_name_98 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_98 WHERE country = "south africa" AND player = "retief goosen" | Name the place for south africa and retief goosen | <s>[INST]Name the place for south africa and retief goosen Context: CREATE TABLE table_name_98 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_98 WHERE country = "south africa" AND player = "retief goosen"</s> |
CREATE TABLE table_name_44 (rank INTEGER, nation VARCHAR, total VARCHAR) | SELECT MAX(rank) FROM table_name_44 WHERE nation = "belarus (blr)" AND total < 15 | What rank is Belarus (BLR), which earned 15 medals total? | <s>[INST]What rank is Belarus (BLR), which earned 15 medals total? Context: CREATE TABLE table_name_44 (rank INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_44 WHERE nation = "belarus (blr)" AND total < 15</s> |
CREATE TABLE table_27700530_10 (date VARCHAR, high_assists VARCHAR) | SELECT date FROM table_27700530_10 WHERE high_assists = "Jameer Nelson (10)" | What is the date when jameer nelson (10) had the high assists? | <s>[INST]What is the date when jameer nelson (10) had the high assists? Context: CREATE TABLE table_27700530_10 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT date FROM table_27700530_10 WHERE high_assists = "Jameer Nelson (10)"</s> |
CREATE TABLE orchestra (Record_Company VARCHAR) | SELECT Record_Company, COUNT(*) FROM orchestra GROUP BY Record_Company | Please show the different record companies and the corresponding number of orchestras. | <s>[INST]Please show the different record companies and the corresponding number of orchestras. Context: CREATE TABLE orchestra (Record_Company VARCHAR)[/INST]SELECT Record_Company, COUNT(*) FROM orchestra GROUP BY Record_Company</s> |
CREATE TABLE table_name_76 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MAX(gold) FROM table_name_76 WHERE silver < 3 AND bronze > 5 | What is the highest gold a team with less than 3 silver and more than 5 bronze medals has? | <s>[INST]What is the highest gold a team with less than 3 silver and more than 5 bronze medals has? Context: CREATE TABLE table_name_76 (gold INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_76 WHERE silver < 3 AND bronze > 5</s> |
CREATE TABLE table_20174050_1 (release_date VARCHAR, story__number VARCHAR) | SELECT COUNT(release_date) FROM table_20174050_1 WHERE story__number = 7 | How many different release dates are there for the audio book with a story number 7? | <s>[INST]How many different release dates are there for the audio book with a story number 7? Context: CREATE TABLE table_20174050_1 (release_date VARCHAR, story__number VARCHAR)[/INST]SELECT COUNT(release_date) FROM table_20174050_1 WHERE story__number = 7</s> |
CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_57 WHERE result = "106-105" | On what date was the result 106-105? | <s>[INST]On what date was the result 106-105? Context: CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE result = "106-105"</s> |
CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR) | SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg" | What is the sum of To Par, when Player is "Bob Rosburg"? | <s>[INST]What is the sum of To Par, when Player is "Bob Rosburg"? Context: CREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR)[/INST]SELECT SUM(to_par) FROM table_name_4 WHERE player = "bob rosburg"</s> |
CREATE TABLE table_name_63 (home VARCHAR, score VARCHAR) | SELECT home FROM table_name_63 WHERE score = "0:2" | Which Home has a Score of 0:2? | <s>[INST]Which Home has a Score of 0:2? Context: CREATE TABLE table_name_63 (home VARCHAR, score VARCHAR)[/INST]SELECT home FROM table_name_63 WHERE score = "0:2"</s> |
CREATE TABLE table_name_11 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel" | What is the 1st leg of the Al Fahaheel Team 1? | <s>[INST]What is the 1st leg of the Al Fahaheel Team 1? Context: CREATE TABLE table_name_11 (team_1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_11 WHERE team_1 = "al fahaheel"</s> |
CREATE TABLE table_name_99 (time__seconds_ INTEGER, nation___athlete_s_ VARCHAR) | SELECT MAX(time__seconds_) FROM table_name_99 WHERE nation___athlete_s_ = "sylke otto - germany" | What is the longest Time (seconds), when the Nation - athlete(s) is Sylke Otto - Germany? | <s>[INST]What is the longest Time (seconds), when the Nation - athlete(s) is Sylke Otto - Germany? Context: CREATE TABLE table_name_99 (time__seconds_ INTEGER, nation___athlete_s_ VARCHAR)[/INST]SELECT MAX(time__seconds_) FROM table_name_99 WHERE nation___athlete_s_ = "sylke otto - germany"</s> |
CREATE TABLE table_name_29 (goals_against INTEGER, goal_difference VARCHAR, losses VARCHAR) | SELECT MIN(goals_against) FROM table_name_29 WHERE goal_difference = 7 AND losses > 13 | Name the least goals for goal difference of 7 and losses more than 13 | <s>[INST]Name the least goals for goal difference of 7 and losses more than 13 Context: CREATE TABLE table_name_29 (goals_against INTEGER, goal_difference VARCHAR, losses VARCHAR)[/INST]SELECT MIN(goals_against) FROM table_name_29 WHERE goal_difference = 7 AND losses > 13</s> |
CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR) | SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3" | What is the total number of Entered when the eliminated number is 3? | <s>[INST]What is the total number of Entered when the eliminated number is 3? Context: CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)[/INST]SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"</s> |
CREATE TABLE table_27277284_27 (tdp VARCHAR, order_part_number VARCHAR) | SELECT COUNT(tdp) FROM table_27277284_27 WHERE order_part_number = "AMQL65DAM22GG" | How many thermal design power levels does part number amql65dam22gg have? | <s>[INST]How many thermal design power levels does part number amql65dam22gg have? Context: CREATE TABLE table_27277284_27 (tdp VARCHAR, order_part_number VARCHAR)[/INST]SELECT COUNT(tdp) FROM table_27277284_27 WHERE order_part_number = "AMQL65DAM22GG"</s> |
CREATE TABLE table_name_71 (location VARCHAR, floors VARCHAR, building VARCHAR) | SELECT location FROM table_name_71 WHERE floors < 27 AND building = "150 elgin" | Which Location has Floors smaller than 27, and a Building of 150 elgin? | <s>[INST]Which Location has Floors smaller than 27, and a Building of 150 elgin? Context: CREATE TABLE table_name_71 (location VARCHAR, floors VARCHAR, building VARCHAR)[/INST]SELECT location FROM table_name_71 WHERE floors < 27 AND building = "150 elgin"</s> |
CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR) | SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1" | What shows as Content for the Television service of nickelodeon +1? | <s>[INST]What shows as Content for the Television service of nickelodeon +1? Context: CREATE TABLE table_name_75 (content VARCHAR, television_service VARCHAR)[/INST]SELECT content FROM table_name_75 WHERE television_service = "nickelodeon +1"</s> |
CREATE TABLE players (country_code VARCHAR) | SELECT country_code FROM players GROUP BY country_code HAVING COUNT(*) > 50 | Find the codes of countries that have more than 50 players. | <s>[INST]Find the codes of countries that have more than 50 players. Context: CREATE TABLE players (country_code VARCHAR)[/INST]SELECT country_code FROM players GROUP BY country_code HAVING COUNT(*) > 50</s> |
CREATE TABLE table_name_28 (current_streak VARCHAR, last_10_meetings VARCHAR) | SELECT current_streak FROM table_name_28 WHERE last_10_meetings = "ku, 8-2" | For what current streak is KU, 8-2 under last 10 meetings? | <s>[INST]For what current streak is KU, 8-2 under last 10 meetings? Context: CREATE TABLE table_name_28 (current_streak VARCHAR, last_10_meetings VARCHAR)[/INST]SELECT current_streak FROM table_name_28 WHERE last_10_meetings = "ku, 8-2"</s> |
CREATE TABLE table_name_11 (year VARCHAR, label VARCHAR) | SELECT year FROM table_name_11 WHERE label = "cryptogramophon" | what year was cryptogramophon released | <s>[INST]what year was cryptogramophon released Context: CREATE TABLE table_name_11 (year VARCHAR, label VARCHAR)[/INST]SELECT year FROM table_name_11 WHERE label = "cryptogramophon"</s> |
CREATE TABLE table_name_64 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_64 WHERE loss = "tavárez" | When did tavárez lose? | <s>[INST]When did tavárez lose? Context: CREATE TABLE table_name_64 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_64 WHERE loss = "tavárez"</s> |
CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_29 WHERE away_team = "richmond" | What venue did Richmond play as the away team? | <s>[INST]What venue did Richmond play as the away team? Context: CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_29 WHERE away_team = "richmond"</s> |
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR) | SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id | show the train name and station name for each train. | <s>[INST]show the train name and station name for each train. Context: CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)[/INST]SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2... |
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR) | SELECT COUNT(DISTINCT student_id) FROM Student_Course_Enrolment | How many distinct students are enrolled in courses? | <s>[INST]How many distinct students are enrolled in courses? Context: CREATE TABLE Student_Course_Enrolment (student_id VARCHAR)[/INST]SELECT COUNT(DISTINCT student_id) FROM Student_Course_Enrolment</s> |
CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR) | SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73 | What is the smallest played amount when there are 2 draws and an against of more than 73? | <s>[INST]What is the smallest played amount when there are 2 draws and an against of more than 73? Context: CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)[/INST]SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73</s> |
CREATE TABLE table_28846752_12 (strike_rate VARCHAR, average VARCHAR) | SELECT strike_rate FROM table_28846752_12 WHERE average = "32.78" | What is the strike rate for the player with an average of 32.78? | <s>[INST]What is the strike rate for the player with an average of 32.78? Context: CREATE TABLE table_28846752_12 (strike_rate VARCHAR, average VARCHAR)[/INST]SELECT strike_rate FROM table_28846752_12 WHERE average = "32.78"</s> |
CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR) | SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65 | Name the sum of average for interview more than 9.57 and swimsuit more than 9.65 | <s>[INST]Name the sum of average for interview more than 9.57 and swimsuit more than 9.65 Context: CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR)[/INST]SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65</s> |
CREATE TABLE table_name_28 (most_laps_led VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR) | SELECT most_laps_led FROM table_name_28 WHERE winning_team = "chip ganassi racing" AND fastest_lap = "marco andretti" | What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti? | <s>[INST]What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti? Context: CREATE TABLE table_name_28 (most_laps_led VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)[/INST]SELECT most_laps_led FROM table_name_28 WHERE winning_team = "chip ganassi racing" AND fastest_la... |
CREATE TABLE table_13836704_8 (transit_passengers INTEGER, freight__metric_tonnes_ VARCHAR) | SELECT MAX(transit_passengers) FROM table_13836704_8 WHERE freight__metric_tonnes_ = 171078 | Name the transit passengers for 171078 | <s>[INST]Name the transit passengers for 171078 Context: CREATE TABLE table_13836704_8 (transit_passengers INTEGER, freight__metric_tonnes_ VARCHAR)[/INST]SELECT MAX(transit_passengers) FROM table_13836704_8 WHERE freight__metric_tonnes_ = 171078</s> |
CREATE TABLE table_name_62 (player VARCHAR, UEfa_cup VARCHAR, fa_cup VARCHAR, premier_league VARCHAR) | SELECT player FROM table_name_62 WHERE fa_cup < 6 AND premier_league = 33 AND UEfa_cup > 5 | What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup? | <s>[INST]What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup? Context: CREATE TABLE table_name_62 (player VARCHAR, UEfa_cup VARCHAR, fa_cup VARCHAR, premier_league VARCHAR)[/INST]SELECT player FROM table_name_62 WHERE fa_cup < 6 AND premier_league = 33 AND UE... |
CREATE TABLE table_name_1 (name VARCHAR, avg_g VARCHAR) | SELECT name FROM table_name_1 WHERE avg_g = 13.7 | what is the name when avg/g is 13.7? | <s>[INST]what is the name when avg/g is 13.7? Context: CREATE TABLE table_name_1 (name VARCHAR, avg_g VARCHAR)[/INST]SELECT name FROM table_name_1 WHERE avg_g = 13.7</s> |
CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR) | SELECT kentucky FROM table_18461045_1 WHERE michigan = "Grosse Pointe Farms-City LL Grosse Pointe Farms" | What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms? | <s>[INST]What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms? Context: CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR)[/INST]SELECT kentucky FROM table_18461045_1 WHERE michigan = "Grosse Pointe Farms-City LL Gro... |
CREATE TABLE table_name_92 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš" | What is the team 1 with tikveš as team 2? | <s>[INST]What is the team 1 with tikveš as team 2? Context: CREATE TABLE table_name_92 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš"</s> |
CREATE TABLE table_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR) | SELECT host_s_ FROM table_27487310_5 WHERE air_dates = "18 January 2012" | Who is the host on the series aired on 18 January 2012? | <s>[INST]Who is the host on the series aired on 18 January 2012? Context: CREATE TABLE table_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR)[/INST]SELECT host_s_ FROM table_27487310_5 WHERE air_dates = "18 January 2012"</s> |
CREATE TABLE table_name_7 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_7 WHERE team_2 = "(g14)morolo" | What is the team 1 with a (g14)morolo team 2? | <s>[INST]What is the team 1 with a (g14)morolo team 2? Context: CREATE TABLE table_name_7 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_7 WHERE team_2 = "(g14)morolo"</s> |
CREATE TABLE table_1140074_2 (pole_position VARCHAR, location VARCHAR) | SELECT pole_position FROM table_1140074_2 WHERE location = "Hockenheimring" | what's the pole position with location being hockenheimring | <s>[INST]what's the pole position with location being hockenheimring Context: CREATE TABLE table_1140074_2 (pole_position VARCHAR, location VARCHAR)[/INST]SELECT pole_position FROM table_1140074_2 WHERE location = "Hockenheimring"</s> |
CREATE TABLE table_name_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR) | SELECT date_s__of_return FROM table_name_67 WHERE original_channel = "bbc one" AND programme = "going for gold" | When did Going for Gold return in BBC One? | <s>[INST]When did Going for Gold return in BBC One? Context: CREATE TABLE table_name_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR)[/INST]SELECT date_s__of_return FROM table_name_67 WHERE original_channel = "bbc one" AND programme = "going for gold"</s> |
CREATE TABLE table_29458735_5 (colonel VARCHAR, regiment VARCHAR) | SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment" | what is the name of the coloneo of the 35th regiment | <s>[INST]what is the name of the coloneo of the 35th regiment Context: CREATE TABLE table_29458735_5 (colonel VARCHAR, regiment VARCHAR)[/INST]SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment"</s> |
CREATE TABLE table_name_90 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_90 WHERE score = 66 - 72 = 138 | The player for which country had a score of 66-72=138? | <s>[INST]The player for which country had a score of 66-72=138? Context: CREATE TABLE table_name_90 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_90 WHERE score = 66 - 72 = 138</s> |
CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" | Goldfields Obuasi Team 1 has what Agg. totals ? | <s>[INST]Goldfields Obuasi Team 1 has what Agg. totals ? Context: CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR)[/INST]SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi"</s> |
CREATE TABLE table_name_93 (college VARCHAR, name VARCHAR) | SELECT college FROM table_name_93 WHERE name = "hardy brown" | Which College has a Name of hardy brown? | <s>[INST]Which College has a Name of hardy brown? Context: CREATE TABLE table_name_93 (college VARCHAR, name VARCHAR)[/INST]SELECT college FROM table_name_93 WHERE name = "hardy brown"</s> |
CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR) | SELECT episodes FROM table_name_13 WHERE japanese_title = "ロト6で3億2千万円当てた男" | What episodes had the title ロト6で3億2千万円当てた男 in Japanese? | <s>[INST]What episodes had the title ロト6で3億2千万円当てた男 in Japanese? Context: CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)[/INST]SELECT episodes FROM table_name_13 WHERE japanese_title = "ロト6で3億2千万円当てた男"</s> |
CREATE TABLE park (state VARCHAR) | SELECT state FROM park GROUP BY state HAVING COUNT(*) > 2 | List the names of states that have more than 2 parks. | <s>[INST]List the names of states that have more than 2 parks. Context: CREATE TABLE park (state VARCHAR)[/INST]SELECT state FROM park GROUP BY state HAVING COUNT(*) > 2</s> |
CREATE TABLE table_27268238_4 (average VARCHAR, team VARCHAR) | SELECT average FROM table_27268238_4 WHERE team = "Gloucestershire" | If the team is Gloucestershire, what is the average? | <s>[INST]If the team is Gloucestershire, what is the average? Context: CREATE TABLE table_27268238_4 (average VARCHAR, team VARCHAR)[/INST]SELECT average FROM table_27268238_4 WHERE team = "Gloucestershire"</s> |
CREATE TABLE table_name_70 (court_rank VARCHAR, courtesy_title VARCHAR) | SELECT court_rank FROM table_name_70 WHERE courtesy_title = "nagato-no-kami" | What is the court rank of the person with a courtesy title of nagato-no-kami? | <s>[INST]What is the court rank of the person with a courtesy title of nagato-no-kami? Context: CREATE TABLE table_name_70 (court_rank VARCHAR, courtesy_title VARCHAR)[/INST]SELECT court_rank FROM table_name_70 WHERE courtesy_title = "nagato-no-kami"</s> |
CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR) | SELECT rank__night_ FROM table_15681686_4 WHERE rating = "4.4" | what is the rank for the rating 4.4? | <s>[INST]what is the rank for the rating 4.4? Context: CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR)[/INST]SELECT rank__night_ FROM table_15681686_4 WHERE rating = "4.4"</s> |
CREATE TABLE table_27293285_2 (points_against VARCHAR, points_for VARCHAR) | SELECT points_against FROM table_27293285_2 WHERE points_for = "353" | How many points against did the club who had 353 points for have? | <s>[INST]How many points against did the club who had 353 points for have? Context: CREATE TABLE table_27293285_2 (points_against VARCHAR, points_for VARCHAR)[/INST]SELECT points_against FROM table_27293285_2 WHERE points_for = "353"</s> |
CREATE TABLE table_name_82 (total INTEGER, bronze VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_82 WHERE bronze > 1 AND silver > 2 | What is the least total that had more Bronzes than 1 and more silvers than 2? | <s>[INST]What is the least total that had more Bronzes than 1 and more silvers than 2? Context: CREATE TABLE table_name_82 (total INTEGER, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_82 WHERE bronze > 1 AND silver > 2</s> |
CREATE TABLE table_name_29 (writer_s_ VARCHAR, episode VARCHAR) | SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)" | Which writer wrote episode 18-09 (652)? | <s>[INST]Which writer wrote episode 18-09 (652)? Context: CREATE TABLE table_name_29 (writer_s_ VARCHAR, episode VARCHAR)[/INST]SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)"</s> |
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR) | SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005" | Who was the turbine manufacturer of the wind farm that started service on 2005? | <s>[INST]Who was the turbine manufacturer of the wind farm that started service on 2005? Context: CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR)[/INST]SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005"</s> |
CREATE TABLE table_name_33 (years_in_toronto VARCHAR, player VARCHAR) | SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon" | What year(s) did Hakeem Olajuwon play Center for Toronto? | <s>[INST]What year(s) did Hakeem Olajuwon play Center for Toronto? Context: CREATE TABLE table_name_33 (years_in_toronto VARCHAR, player VARCHAR)[/INST]SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon"</s> |
CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_29 WHERE venue = "luxembourg" | Which date is associated with a venue of Luxembourg? | <s>[INST]Which date is associated with a venue of Luxembourg? Context: CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE venue = "luxembourg"</s> |
CREATE TABLE table_22941863_19 (stage INTEGER, winner VARCHAR) | SELECT MAX(stage) FROM table_22941863_19 WHERE winner = "Bernhard Eisel" | If the winner is Bernhard Eisel, what is the stage maximum? | <s>[INST]If the winner is Bernhard Eisel, what is the stage maximum? Context: CREATE TABLE table_22941863_19 (stage INTEGER, winner VARCHAR)[/INST]SELECT MAX(stage) FROM table_22941863_19 WHERE winner = "Bernhard Eisel"</s> |
CREATE TABLE table_2570269_2 (cast VARCHAR, episode_title VARCHAR) | SELECT cast FROM table_2570269_2 WHERE episode_title = "Pressures" | If the episode title is Pressures, what are the names of the cast? | <s>[INST]If the episode title is Pressures, what are the names of the cast? Context: CREATE TABLE table_2570269_2 (cast VARCHAR, episode_title VARCHAR)[/INST]SELECT cast FROM table_2570269_2 WHERE episode_title = "Pressures"</s> |
CREATE TABLE table_name_75 (original_us_tour_cast VARCHAR, original_broadway_cast VARCHAR) | SELECT original_us_tour_cast FROM table_name_75 WHERE original_broadway_cast = "kevin chamberlin" | What was the original US Tour cast when the original broadway was Kevin Chamberlin? | <s>[INST]What was the original US Tour cast when the original broadway was Kevin Chamberlin? Context: CREATE TABLE table_name_75 (original_us_tour_cast VARCHAR, original_broadway_cast VARCHAR)[/INST]SELECT original_us_tour_cast FROM table_name_75 WHERE original_broadway_cast = "kevin chamberlin"</s> |
CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1" | What is Time, when Event is "GCM: Demolition 1"? | <s>[INST]What is Time, when Event is "GCM: Demolition 1"? Context: CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1"</s> |
CREATE TABLE table_name_17 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_17 WHERE attendance = 2441 | What was the score when 2441 people were in attendance? | <s>[INST]What was the score when 2441 people were in attendance? Context: CREATE TABLE table_name_17 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE attendance = 2441</s> |
CREATE TABLE table_name_5 (chassis VARCHAR, constructor VARCHAR, driver VARCHAR) | SELECT chassis FROM table_name_5 WHERE constructor = "simca-gordini" AND driver = "max de terra" | what was the chassis built by simca-gordini and driven by max de terra? | <s>[INST]what was the chassis built by simca-gordini and driven by max de terra? Context: CREATE TABLE table_name_5 (chassis VARCHAR, constructor VARCHAR, driver VARCHAR)[/INST]SELECT chassis FROM table_name_5 WHERE constructor = "simca-gordini" AND driver = "max de terra"</s> |
CREATE TABLE table_name_97 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR) | SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female" | Which junior high school has male and female genders? | <s>[INST]Which junior high school has male and female genders? Context: CREATE TABLE table_name_97 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR)[/INST]SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female"</s> |
CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER) | SELECT MAX(drawn) FROM table_name_36 WHERE played < 18 | Which Drawn is the highest one that has a Played smaller than 18? | <s>[INST]Which Drawn is the highest one that has a Played smaller than 18? Context: CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER)[/INST]SELECT MAX(drawn) FROM table_name_36 WHERE played < 18</s> |
CREATE TABLE table_name_77 (money___ INTEGER, player VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_77 WHERE player = "raymond floyd" | What is raymond floyd's lowest $? | <s>[INST]What is raymond floyd's lowest $? Context: CREATE TABLE table_name_77 (money___ INTEGER, player VARCHAR)[/INST]SELECT MIN(money___) AS $__ FROM table_name_77 WHERE player = "raymond floyd"</s> |
CREATE TABLE table_26476336_2 (team_nickname VARCHAR, institution VARCHAR) | SELECT team_nickname FROM table_26476336_2 WHERE institution = "University of Nebraska at Omaha" | What is the nickname at the University of Nebraska at Omaha? | <s>[INST]What is the nickname at the University of Nebraska at Omaha? Context: CREATE TABLE table_26476336_2 (team_nickname VARCHAR, institution VARCHAR)[/INST]SELECT team_nickname FROM table_26476336_2 WHERE institution = "University of Nebraska at Omaha"</s> |
CREATE TABLE Invoices (order_id VARCHAR) | SELECT order_id, COUNT(*) FROM Invoices GROUP BY order_id | Show the order ids and the number of invoices for each order. | <s>[INST]Show the order ids and the number of invoices for each order. Context: CREATE TABLE Invoices (order_id VARCHAR)[/INST]SELECT order_id, COUNT(*) FROM Invoices GROUP BY order_id</s> |
CREATE TABLE table_name_98 (year INTEGER, manager VARCHAR, finish VARCHAR) | SELECT MIN(year) FROM table_name_98 WHERE manager = "gene hassell" AND finish = "6th" | Name the least year for gene hassell manager and 6th finish | <s>[INST]Name the least year for gene hassell manager and 6th finish Context: CREATE TABLE table_name_98 (year INTEGER, manager VARCHAR, finish VARCHAR)[/INST]SELECT MIN(year) FROM table_name_98 WHERE manager = "gene hassell" AND finish = "6th"</s> |
CREATE TABLE table_name_15 (mintage VARCHAR, year VARCHAR, butterfly VARCHAR) | SELECT mintage FROM table_name_15 WHERE year < 2006 AND butterfly = "great spangled fritillary" | What mintage earlier than the year 2006 has the butterfly great spangled fritillary. | <s>[INST]What mintage earlier than the year 2006 has the butterfly great spangled fritillary. Context: CREATE TABLE table_name_15 (mintage VARCHAR, year VARCHAR, butterfly VARCHAR)[/INST]SELECT mintage FROM table_name_15 WHERE year < 2006 AND butterfly = "great spangled fritillary"</s> |
CREATE TABLE table_name_54 (pal_m VARCHAR, ntsc_m VARCHAR) | SELECT pal_m FROM table_name_54 WHERE ntsc_m = "4.5mhz" | What is the PAL M for the NTSC M 4.5mhz? | <s>[INST]What is the PAL M for the NTSC M 4.5mhz? Context: CREATE TABLE table_name_54 (pal_m VARCHAR, ntsc_m VARCHAR)[/INST]SELECT pal_m FROM table_name_54 WHERE ntsc_m = "4.5mhz"</s> |
CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR) | SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978" | What is the rank for the episode that premiered on September 13, 1978? | <s>[INST]What is the rank for the episode that premiered on September 13, 1978? Context: CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR)[/INST]SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978"</s> |
CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR) | SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham" | Tell me the left team for josh vanlandingham | <s>[INST]Tell me the left team for josh vanlandingham Context: CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR)[/INST]SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham"</s> |
CREATE TABLE table_name_59 (event VARCHAR, year VARCHAR) | SELECT event FROM table_name_59 WHERE year = 2008 | What is Event, when Year is 2008? | <s>[INST]What is Event, when Year is 2008? Context: CREATE TABLE table_name_59 (event VARCHAR, year VARCHAR)[/INST]SELECT event FROM table_name_59 WHERE year = 2008</s> |
CREATE TABLE table_name_82 (school VARCHAR, height VARCHAR) | SELECT school FROM table_name_82 WHERE height = "6-9" | Tell me the school with a height of 6-9 | <s>[INST]Tell me the school with a height of 6-9 Context: CREATE TABLE table_name_82 (school VARCHAR, height VARCHAR)[/INST]SELECT school FROM table_name_82 WHERE height = "6-9"</s> |
CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG24" | when was the episode with production code "2arg24" originally aired? | <s>[INST]when was the episode with production code "2arg24" originally aired? Context: CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG24"</s> |
CREATE TABLE table_name_92 (year VARCHAR, finish VARCHAR) | SELECT year FROM table_name_92 WHERE finish = "19" | What year has a finish of 19? | <s>[INST]What year has a finish of 19? Context: CREATE TABLE table_name_92 (year VARCHAR, finish VARCHAR)[/INST]SELECT year FROM table_name_92 WHERE finish = "19"</s> |
CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR) | SELECT player FROM table_22824312_1 WHERE weight = 170 | Who are the player's who weighed 170? | <s>[INST]Who are the player's who weighed 170? Context: CREATE TABLE table_22824312_1 (player VARCHAR, weight VARCHAR)[/INST]SELECT player FROM table_22824312_1 WHERE weight = 170</s> |
CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR) | SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" | What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? | <s>[INST]What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? Context: CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR)[/INST]SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)"</s> |
CREATE TABLE table_25563779_4 (champion VARCHAR, third VARCHAR) | SELECT champion FROM table_25563779_4 WHERE third = "Bruno Bonifacio" | If the third name is Bruno Bonifacio, what is the champion? | <s>[INST]If the third name is Bruno Bonifacio, what is the champion? Context: CREATE TABLE table_25563779_4 (champion VARCHAR, third VARCHAR)[/INST]SELECT champion FROM table_25563779_4 WHERE third = "Bruno Bonifacio"</s> |
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) | SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route" | When fixed route is the type of fare how much is the 31-day pass? | <s>[INST]When fixed route is the type of fare how much is the 31-day pass? Context: CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)[/INST]SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route"</s> |
CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR) | SELECT runner_up FROM table_name_90 WHERE venue = "tartu, estonia" | For the event held in Tartu, Estonia, what is the name of the runner-up? | <s>[INST]For the event held in Tartu, Estonia, what is the name of the runner-up? Context: CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR)[/INST]SELECT runner_up FROM table_name_90 WHERE venue = "tartu, estonia"</s> |
CREATE TABLE table_name_11 (rider VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_11 WHERE laps < 22 AND grid = 2 | What rider went under 22 laps with grid number 2? | <s>[INST]What rider went under 22 laps with grid number 2? Context: CREATE TABLE table_name_11 (rider VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_11 WHERE laps < 22 AND grid = 2</s> |
CREATE TABLE orders (order_id VARCHAR, customer_id VARCHAR, date_order_placed VARCHAR) | SELECT order_id, customer_id FROM orders ORDER BY date_order_placed LIMIT 1 | what are the order id and customer id of the oldest order? | <s>[INST]what are the order id and customer id of the oldest order? Context: CREATE TABLE orders (order_id VARCHAR, customer_id VARCHAR, date_order_placed VARCHAR)[/INST]SELECT order_id, customer_id FROM orders ORDER BY date_order_placed LIMIT 1</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.