messages
stringlengths
104
584
<s>[INST] Translate the following into a SQL query: The Catalog number is 80809 what is the title? SQL:[/INST]SELECT Title FROM table WHERE Catalog Number = 80809</s>
<s>[INST] Translate the following into a SQL query: where title is beginning callanetics , what is the total of format ? SQL:[/INST]SELECT COUNT Format FROM table WHERE Title = Beginning Callanetics</s>
<s>[INST] Translate the following into a SQL query: where catalog number is 81258 , what are all the studio ? SQL:[/INST]SELECT Studio FROM table WHERE Catalog Number = 81258</s>
<s>[INST] Translate the following into a SQL query: where title is am/pm callanetics , what are all the copyright information? SQL:[/INST]SELECT Copyright Information FROM table WHERE Title = AM/PM Callanetics</s>
<s>[INST] Translate the following into a SQL query: What was the GF attendance at the location of Sydney Football Stadium, Sydney (6)? SQL:[/INST]SELECT COUNT GF Attendance FROM table WHERE Location = Sydney Football Stadium, Sydney (6)</s>
<s>[INST] Translate the following into a SQL query: Which losing team had a score of 24-12? SQL:[/INST]SELECT LosingTeam FROM table WHERE Score = 24-12</s>
<s>[INST] Translate the following into a SQL query: What was the losing team in the 1993 season? SQL:[/INST]SELECT LosingTeam FROM table WHERE Season = 1993</s>
<s>[INST] Translate the following into a SQL query: What was the compression ration when the engine was Wasp Jr. T1B2? SQL:[/INST]SELECT Compression ratio FROM table WHERE Engine = Wasp Jr. T1B2</s>
<s>[INST] Translate the following into a SQL query: What is the compression ration when the continuous power is hp (kw) at 2,200 RPM and the octane rating is 80/87? SQL:[/INST]SELECT Compression ratio FROM table WHERE Power, continuous = hp (kW) at 2,200 RPM AND Octane rating = 80/87</s>
<s>[INST] Translate the following into a SQL query: What is the compression ratio when the continuous power is hp (KW) at 2,200 RPM and the critical altitude is at sea level? SQL:[/INST]SELECT COUNT Compression ratio FROM table WHERE Power, continuous = hp (kW) at 2,200 RPM AND Critical altitude This is the highest al...
<s>[INST] Translate the following into a SQL query: When the engine is Wasp Jr. T1B2, what is the number needed for takeoff power? SQL:[/INST]SELECT COUNT Power, takeoff FROM table WHERE Engine = Wasp Jr. T1B2</s>
<s>[INST] Translate the following into a SQL query: When critical altitude is sea level, what is the compression ration for a supercharger gear ratio of 7:1? SQL:[/INST]SELECT Compression ratio FROM table WHERE Critical altitude This is the highest altitude at which the engine can achieve its full continuous power rati...
<s>[INST] Translate the following into a SQL query: How many episodes aired on october 27, 2008 SQL:[/INST]SELECT COUNT Episode FROM table WHERE Air Date = October 27, 2008</s>
<s>[INST] Translate the following into a SQL query: The episode "chapter five: dressed to kill" had a weekly ranking of what? SQL:[/INST]SELECT Weekly Rank for Living FROM table WHERE Episode = "Chapter Five: Dressed to Kill"</s>
<s>[INST] Translate the following into a SQL query: what is the most # that aired on september 29, 2008? SQL:[/INST]SELECT MAX # FROM table WHERE Air Date = September 29, 2008</s>
<s>[INST] Translate the following into a SQL query: How many seasons did the canterbury bulldogs (8) win? SQL:[/INST]SELECT COUNT Season FROM table WHERE WinningTeam = Canterbury Bulldogs (8)</s>
<s>[INST] Translate the following into a SQL query: How many teams lost at the sydney football stadium, sydney (11)? SQL:[/INST]SELECT COUNT LosingTeam FROM table WHERE Location = Sydney Football Stadium, Sydney (11)</s>
<s>[INST] Translate the following into a SQL query: What was the date that the st. george-illawarra dragons lost? SQL:[/INST]SELECT Grand FinalDate FROM table WHERE LosingTeam = St. George-Illawarra Dragons</s>
<s>[INST] Translate the following into a SQL query: Brett kimmorley, who was chosen for the clive churchill medal belonged to what team? SQL:[/INST]SELECT WinningTeam FROM table WHERE Clive Churchill Medal = Brett Kimmorley</s>
<s>[INST] Translate the following into a SQL query: What time slots have a 6.3 rating SQL:[/INST]SELECT Time slot (EST) FROM table WHERE Rating = 6.3</s>
<s>[INST] Translate the following into a SQL query: What time slot is the episode "the way we weren't" in SQL:[/INST]SELECT Time slot (EST) FROM table WHERE Episode = "The Way We Weren't"</s>
<s>[INST] Translate the following into a SQL query: What time slot is the episode "who's your daddy" in SQL:[/INST]SELECT Time slot (EST) FROM table WHERE Episode = "Who's Your Daddy"</s>
<s>[INST] Translate the following into a SQL query: Which air date had an 11 share SQL:[/INST]SELECT Air Date FROM table WHERE Share = 11</s>
<s>[INST] Translate the following into a SQL query: Which air date had the 18-49 rating/share of 3.3/9 SQL:[/INST]SELECT Air Date FROM table WHERE 18-49 (Rating/Share) = 3.3/9</s>
<s>[INST] Translate the following into a SQL query: Which characters had their first experience in the episode "consequences"? SQL:[/INST]SELECT Character FROM table WHERE First appearance = "Consequences"</s>
<s>[INST] Translate the following into a SQL query: What episode had the last appearances of the late wife of mac taylor? SQL:[/INST]SELECT Last appearance FROM table WHERE Relationship = Late wife of Mac Taylor</s>
<s>[INST] Translate the following into a SQL query: Which characters were portrayed by reed garrett? SQL:[/INST]SELECT Portrayed by FROM table WHERE Character = Reed Garrett</s>
<s>[INST] Translate the following into a SQL query: How many characters were portrayed by the informant of don flack? SQL:[/INST]SELECT COUNT Portrayed by FROM table WHERE Relationship = Informant of Don Flack</s>
<s>[INST] Translate the following into a SQL query: What episode was the last appearance of the character, rikki sandoval? SQL:[/INST]SELECT Last appearance FROM table WHERE Character = Rikki Sandoval</s>
<s>[INST] Translate the following into a SQL query: On which episode did actress Sela Ward make her last appearance? SQL:[/INST]SELECT Last appearance FROM table WHERE Portrayed by = Sela Ward</s>
<s>[INST] Translate the following into a SQL query: Which actors first appeared in "Zoo York"? SQL:[/INST]SELECT Portrayed by FROM table WHERE First appearance = "Zoo York"</s>
<s>[INST] Translate the following into a SQL query: How many episodes did actress Vanessa Ferlito appear in? SQL:[/INST]SELECT Episodes FROM table WHERE Portrayed by = Vanessa Ferlito</s>
<s>[INST] Translate the following into a SQL query: Which actors first appeared in episode "Blink" 1, 2, 3? SQL:[/INST]SELECT Portrayed by FROM table WHERE First appearance = "Blink" 1, 2, 3</s>
<s>[INST] Translate the following into a SQL query: What was the duration of Robert Joy's portrayal? SQL:[/INST]SELECT COUNT Duration FROM table WHERE Portrayed by = Robert Joy</s>
<s>[INST] Translate the following into a SQL query: Which episode did actor A. J. Buckley last appear in? SQL:[/INST]SELECT Last appearance FROM table WHERE Portrayed by = A. J. Buckley</s>
<s>[INST] Translate the following into a SQL query: What is the least top division titles? SQL:[/INST]SELECT MIN Top division titles FROM table</s>
<s>[INST] Translate the following into a SQL query: What is the least number of seasons in top division? SQL:[/INST]SELECT MIN Number of seasons in top division FROM table</s>
<s>[INST] Translate the following into a SQL query: How many viewers (millions) were there for rank (week) 20? SQL:[/INST]SELECT COUNT Viewers (millions) FROM table WHERE Rank (week) = 20</s>
<s>[INST] Translate the following into a SQL query: What is the rank (timeslot) with the episode name "dangerous liaisons"? SQL:[/INST]SELECT Rank (timeslot) FROM table WHERE Episode = "Dangerous Liaisons"</s>
<s>[INST] Translate the following into a SQL query: What is the lowest rank (night) for having viewers (millions) 5.25? SQL:[/INST]SELECT MIN Rank (night) FROM table WHERE Viewers (millions) = 5.25</s>
<s>[INST] Translate the following into a SQL query: How many times was the episode named "conference call"? SQL:[/INST]SELECT COUNT # FROM table WHERE Episode = "Conference Call"</s>
<s>[INST] Translate the following into a SQL query: How many times was the rank (night) 11? SQL:[/INST]SELECT COUNT Viewers (millions) FROM table WHERE Rank (night) = 11</s>
<s>[INST] Translate the following into a SQL query: WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7? SQL:[/INST]SELECT Carbon dioxide emissions per year (10 6 Tons) (2006) FROM table WHERE Carbon dioxide emissions per year (Tons per per...
<s>[INST] Translate the following into a SQL query: HOW MANY TONS OF CO2 EMISSIONS DID RUSSIA PRODUCE IN 2006? SQL:[/INST]SELECT MAX Carbon dioxide emissions per year (10 6 Tons) (2006) FROM table WHERE Country = Russia</s>
<s>[INST] Translate the following into a SQL query: WHAT PERCENTAGE OF GLOBAL TOTAL EMISSIONS DID INDIA PRODUCE? SQL:[/INST]SELECT Percentage of global total FROM table WHERE Country = India</s>
<s>[INST] Translate the following into a SQL query: HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007? SQL:[/INST]SELECT Percentage of global total FROM table WHERE Carbon dioxide emissions per year (Tons per person) (2007) = 4.9</s>
<s>[INST] Translate the following into a SQL query: WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA? SQL:[/INST]SELECT MAX Avg. emission per km 2 of its land (tons) FROM table WHERE Country = India</s>
<s>[INST] Translate the following into a SQL query: What is the rank number that aired october 26, 2007? SQL:[/INST]SELECT Rank (#) FROM table WHERE Air Date = October 26, 2007</s>
<s>[INST] Translate the following into a SQL query: What is the number of rank with the viewership of 5.96 million? SQL:[/INST]SELECT COUNT Rank (#) FROM table WHERE Viewers (m) = 5.96</s>
<s>[INST] Translate the following into a SQL query: What is the viewership on november 9, 2007? SQL:[/INST]SELECT Viewers (m) FROM table WHERE Air Date = November 9, 2007</s>
<s>[INST] Translate the following into a SQL query: How many platinum points were awarded when 6 gold points were awarded? SQL:[/INST]SELECT MAX Points awarded (Platinum) FROM table WHERE Points awarded (Gold) = 6</s>
<s>[INST] Translate the following into a SQL query: What was the range of finishing position for 15 awarded platinum points? SQL:[/INST]SELECT Finishing position FROM table WHERE Points awarded (Platinum) = 15</s>
<s>[INST] Translate the following into a SQL query: How many platinum points were awarded for 5th place? SQL:[/INST]SELECT MAX Points awarded (Platinum) FROM table WHERE Finishing position = 5th</s>
<s>[INST] Translate the following into a SQL query: How many platinum points were awarded when 70 silver points were awarded? SQL:[/INST]SELECT Points awarded (Platinum) FROM table WHERE Points awarded (Silver) = 70</s>
<s>[INST] Translate the following into a SQL query: How many platinum points were awarded when 9 gold points were awarded? SQL:[/INST]SELECT Points awarded (Platinum) FROM table WHERE Points awarded (Gold) = 9</s>
<s>[INST] Translate the following into a SQL query: How did the episode rank that had 2.65 million viewers? SQL:[/INST]SELECT Rank (#) FROM table WHERE Viewers (m) = 2.65</s>
<s>[INST] Translate the following into a SQL query: What was the share for the first episode that ranked 85? SQL:[/INST]SELECT MIN Share FROM table WHERE Rank (#) = 85</s>
<s>[INST] Translate the following into a SQL query: Which timeslot did episode no. 15 hold? SQL:[/INST]SELECT Timeslot FROM table WHERE No. = 15</s>
<s>[INST] Translate the following into a SQL query: What was the timeslot for the episode that aired on May 12, 2009? SQL:[/INST]SELECT Timeslot FROM table WHERE Air Date = May 12, 2009</s>
<s>[INST] Translate the following into a SQL query: What's the 18-49 (rating/share) of the episode that originally aired on May 5, 2009? SQL:[/INST]SELECT 18–49 (Rating/Share) FROM table WHERE Air Date = May 5, 2009</s>
<s>[INST] Translate the following into a SQL query: What's the total number of episodes whose original airings were viewed by 1.82 million viewers? SQL:[/INST]SELECT COUNT Air Date FROM table WHERE Viewers (m) = 1.82</s>
<s>[INST] Translate the following into a SQL query: What's the rating of the episode originally aired on May 5, 2009? SQL:[/INST]SELECT Rating FROM table WHERE Air Date = May 5, 2009</s>
<s>[INST] Translate the following into a SQL query: What episode was seen by 2.05 million viewers? SQL:[/INST]SELECT Episode FROM table WHERE Viewers (m) = 2.05</s>
<s>[INST] Translate the following into a SQL query: what's the extroverted, relationship-oriented where extroverted, task-oriented is director SQL:[/INST]SELECT Extroverted, Relationship-Oriented FROM table WHERE Extroverted, Task-Oriented = Director</s>
<s>[INST] Translate the following into a SQL query: what's the extroverted, relationship-oriented where moderate is introverted sanguine SQL:[/INST]SELECT Extroverted, Relationship-Oriented FROM table WHERE Moderate = Introverted Sanguine</s>
<s>[INST] Translate the following into a SQL query: what's the founder where moderate is ether SQL:[/INST]SELECT Founder FROM table WHERE Moderate = ether</s>
<s>[INST] Translate the following into a SQL query: what's the extroverted, relationship-oriented where date is c. 1928 SQL:[/INST]SELECT Extroverted, Relationship-Oriented FROM table WHERE Date = c. 1928</s>
<s>[INST] Translate the following into a SQL query: who is the founder where date is c. 1900 SQL:[/INST]SELECT Founder FROM table WHERE Date = c. 1900</s>
<s>[INST] Translate the following into a SQL query: what's the people-task orientation scale where extroverted, relationship-oriented is team type SQL:[/INST]SELECT People-task orientation scale FROM table WHERE Extroverted, Relationship-Oriented = Team Type</s>
<s>[INST] Translate the following into a SQL query: What is the batting team where the runs are 276? SQL:[/INST]SELECT Batting team FROM table WHERE Runs = 276</s>
<s>[INST] Translate the following into a SQL query: Name the batting team at Durham SQL:[/INST]SELECT Batting team FROM table WHERE Fielding team = Durham</s>
<s>[INST] Translate the following into a SQL query: What is the batting team with the batting partnets of thilina kandamby and rangana herath? SQL:[/INST]SELECT Batting team FROM table WHERE Batting partners = Thilina Kandamby and Rangana Herath</s>
<s>[INST] Translate the following into a SQL query: What is the fielding team with 155 runs? SQL:[/INST]SELECT Fielding team FROM table WHERE Runs = 155</s>
<s>[INST] Translate the following into a SQL query: What is the batting partners with runs of 226? SQL:[/INST]SELECT Batting partners FROM table WHERE Runs = 226</s>
<s>[INST] Translate the following into a SQL query: What is the nationality of David Bairstow? SQL:[/INST]SELECT Nationality FROM table WHERE Player = David Bairstow</s>
<s>[INST] Translate the following into a SQL query: What are the players whose rank is 2? SQL:[/INST]SELECT Player FROM table WHERE Rank = 2</s>
<s>[INST] Translate the following into a SQL query: How many stumpings has Paul Nixon in his career? SQL:[/INST]SELECT Stumpings FROM table WHERE Player = Paul Nixon</s>
<s>[INST] Translate the following into a SQL query: Where is Adam Gilchrist from? SQL:[/INST]SELECT Nationality FROM table WHERE Player = Adam Gilchrist</s>
<s>[INST] Translate the following into a SQL query: What are the title that have 19.48 million u.s. viewers? SQL:[/INST]SELECT Title FROM table WHERE U.S. viewers (million) = 19.48</s>
<s>[INST] Translate the following into a SQL query: Which titles have 18.73 u.s. viewers. SQL:[/INST]SELECT Title FROM table WHERE U.S. viewers (million) = 18.73</s>
<s>[INST] Translate the following into a SQL query: Who wrote all the shows with 18.73 u.s. viewers? SQL:[/INST]SELECT Written by FROM table WHERE U.S. viewers (million) = 18.73</s>
<s>[INST] Translate the following into a SQL query: What is the rank where the area is Los Angeles? SQL:[/INST]SELECT Rank ( WJC ) FROM table WHERE Metro area = Los Angeles</s>
<s>[INST] Translate the following into a SQL query: What is the number of jews where the rank is 1? SQL:[/INST]SELECT COUNT Number of Jews (WJC) FROM table WHERE Rank (ARDA) = 1</s>
<s>[INST] Translate the following into a SQL query: What is the number of jews asarb where the metro area is philadelphia? SQL:[/INST]SELECT Number of Jews (ASARB) FROM table WHERE Metro area = Philadelphia</s>
<s>[INST] Translate the following into a SQL query: what are all the open 1st viii with u15 6th iv being bgs SQL:[/INST]SELECT Open 1st VIII FROM table WHERE U15 6th IV = BGS</s>
<s>[INST] Translate the following into a SQL query: what are all the u16 2nd viii with u15 3rd iv being bbc SQL:[/INST]SELECT U16 2nd VIII FROM table WHERE U15 3rd IV = BBC</s>
<s>[INST] Translate the following into a SQL query: what are all the open 1st viii with u15 4th iv being gt SQL:[/INST]SELECT Open 1st VIII FROM table WHERE U15 4th IV = GT</s>
<s>[INST] Translate the following into a SQL query: how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs SQL:[/INST]SELECT COUNT Crew FROM table WHERE U15 3rd IV = BGS AND U15 1st IV = ACGS AND Open 1st VIII = ACGS</s>
<s>[INST] Translate the following into a SQL query: what are all the u15 3rd iv with u15 4th iv being bbc SQL:[/INST]SELECT U15 3rd IV FROM table WHERE U15 4th IV = BBC</s>
<s>[INST] Translate the following into a SQL query: how many open 2nd viii had u15 3rd iv being gt SQL:[/INST]SELECT COUNT Open 2nd VIII FROM table WHERE U15 3rd IV = GT</s>
<s>[INST] Translate the following into a SQL query: How many schools have an enrollment of 850? SQL:[/INST]SELECT COUNT Founded FROM table WHERE Enrolment = 850</s>
<s>[INST] Translate the following into a SQL query: What is the location of the school named Brisbane Girls' Grammar School? SQL:[/INST]SELECT Location FROM table WHERE School = Brisbane Girls' Grammar School</s>
<s>[INST] Translate the following into a SQL query: How many schools are located in South Brisbane? SQL:[/INST]SELECT COUNT School FROM table WHERE Location = South Brisbane</s>
<s>[INST] Translate the following into a SQL query: When was SPLC founded? SQL:[/INST]SELECT MIN Founded FROM table WHERE Abbreviation = SPLC</s>
<s>[INST] Translate the following into a SQL query: What is the enrollment of STM which has been in competition since 1990? SQL:[/INST]SELECT COUNT Enrolment FROM table WHERE In competition since = 1990 AND Abbreviation = STM</s>
<s>[INST] Translate the following into a SQL query: What number is the Monaco Grand Prix? SQL:[/INST]SELECT Rd. FROM table WHERE Grand Prix = Monaco Grand Prix</s>
<s>[INST] Translate the following into a SQL query: Who is in the pole position for the French Grand Prix? SQL:[/INST]SELECT Pole Position FROM table WHERE Grand Prix = French Grand Prix</s>
<s>[INST] Translate the following into a SQL query: What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position? SQL:[/INST]SELECT Rd. FROM table WHERE Fastest Lap = Michael Schumacher AND Constructor = Ferrari AND Pole Position = Michael Schu...
<s>[INST] Translate the following into a SQL query: How many on the list are called the Austrian Grand Prix? SQL:[/INST]SELECT COUNT Rd. FROM table WHERE Grand Prix = Austrian Grand Prix</s>
<s>[INST] Translate the following into a SQL query: What number is the Canadian Grand Prix on the list? SQL:[/INST]SELECT Rd. FROM table WHERE Grand Prix = Canadian Grand Prix</s>