messages
stringlengths
82
562
__index_level_0__
int64
0
56.4k
Generate a SQL for the following text: The Catalog number is 80809 what is the title? SQL: SELECT Title FROM table WHERE Catalog Number = 80809
700
Generate a SQL for the following text: where title is beginning callanetics , what is the total of format ? SQL: SELECT COUNT Format FROM table WHERE Title = Beginning Callanetics
701
Generate a SQL for the following text: where catalog number is 81258 , what are all the studio ? SQL: SELECT Studio FROM table WHERE Catalog Number = 81258
702
Generate a SQL for the following text: where title is am/pm callanetics , what are all the copyright information? SQL: SELECT Copyright Information FROM table WHERE Title = AM/PM Callanetics
703
Generate a SQL for the following text: What was the GF attendance at the location of Sydney Football Stadium, Sydney (6)? SQL: SELECT COUNT GF Attendance FROM table WHERE Location = Sydney Football Stadium, Sydney (6)
704
Generate a SQL for the following text: Which losing team had a score of 24-12? SQL: SELECT LosingTeam FROM table WHERE Score = 24-12
705
Generate a SQL for the following text: What was the losing team in the 1993 season? SQL: SELECT LosingTeam FROM table WHERE Season = 1993
706
Generate a SQL for the following text: What was the compression ration when the engine was Wasp Jr. T1B2? SQL: SELECT Compression ratio FROM table WHERE Engine = Wasp Jr. T1B2
707
Generate a SQL for the following text: What is the compression ration when the continuous power is hp (kw) at 2,200 RPM and the octane rating is 80/87? SQL: SELECT Compression ratio FROM table WHERE Power, continuous = hp (kW) at 2,200 RPM AND Octane rating = 80/87
708
Generate a SQL for the following text: 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: SELECT COUNT Compression ratio FROM table WHERE Power, continuous = hp (kW) at 2,200 RPM AND Critical altitude This is the highest altitude at which the engine can achieve its full continuous power rating. Above this altitude, power falls off with height as with a naturally aspirated engine . See Supercharger#Altitude effects for details. = sea level
709
Generate a SQL for the following text: When the engine is Wasp Jr. T1B2, what is the number needed for takeoff power? SQL: SELECT COUNT Power, takeoff FROM table WHERE Engine = Wasp Jr. T1B2
710
Generate a SQL for the following text: When critical altitude is sea level, what is the compression ration for a supercharger gear ratio of 7:1? SQL: SELECT Compression ratio FROM table WHERE Critical altitude This is the highest altitude at which the engine can achieve its full continuous power rating. Above this altitude, power falls off with height as with a naturally aspirated engine . See Supercharger#Altitude effects for details. = sea level AND Supercharger gear ratio = 7:1
711
Generate a SQL for the following text: How many episodes aired on october 27, 2008 SQL: SELECT COUNT Episode FROM table WHERE Air Date = October 27, 2008
712
Generate a SQL for the following text: The episode "chapter five: dressed to kill" had a weekly ranking of what? SQL: SELECT Weekly Rank for Living FROM table WHERE Episode = "Chapter Five: Dressed to Kill"
713
Generate a SQL for the following text: what is the most # that aired on september 29, 2008? SQL: SELECT MAX # FROM table WHERE Air Date = September 29, 2008
714
Generate a SQL for the following text: How many seasons did the canterbury bulldogs (8) win? SQL: SELECT COUNT Season FROM table WHERE WinningTeam = Canterbury Bulldogs (8)
715
Generate a SQL for the following text: How many teams lost at the sydney football stadium, sydney (11)? SQL: SELECT COUNT LosingTeam FROM table WHERE Location = Sydney Football Stadium, Sydney (11)
716
Generate a SQL for the following text: What was the date that the st. george-illawarra dragons lost? SQL: SELECT Grand FinalDate FROM table WHERE LosingTeam = St. George-Illawarra Dragons
717
Generate a SQL for the following text: Brett kimmorley, who was chosen for the clive churchill medal belonged to what team? SQL: SELECT WinningTeam FROM table WHERE Clive Churchill Medal = Brett Kimmorley
718
Generate a SQL for the following text: What time slots have a 6.3 rating SQL: SELECT Time slot (EST) FROM table WHERE Rating = 6.3
719
Generate a SQL for the following text: What time slot is the episode "the way we weren't" in SQL: SELECT Time slot (EST) FROM table WHERE Episode = "The Way We Weren't"
720
Generate a SQL for the following text: What time slot is the episode "who's your daddy" in SQL: SELECT Time slot (EST) FROM table WHERE Episode = "Who's Your Daddy"
721
Generate a SQL for the following text: Which air date had an 11 share SQL: SELECT Air Date FROM table WHERE Share = 11
722
Generate a SQL for the following text: Which air date had the 18-49 rating/share of 3.3/9 SQL: SELECT Air Date FROM table WHERE 18-49 (Rating/Share) = 3.3/9
723
Generate a SQL for the following text: Which characters had their first experience in the episode "consequences"? SQL: SELECT Character FROM table WHERE First appearance = "Consequences"
724
Generate a SQL for the following text: What episode had the last appearances of the late wife of mac taylor? SQL: SELECT Last appearance FROM table WHERE Relationship = Late wife of Mac Taylor
725
Generate a SQL for the following text: Which characters were portrayed by reed garrett? SQL: SELECT Portrayed by FROM table WHERE Character = Reed Garrett
726
Generate a SQL for the following text: How many characters were portrayed by the informant of don flack? SQL: SELECT COUNT Portrayed by FROM table WHERE Relationship = Informant of Don Flack
727
Generate a SQL for the following text: What episode was the last appearance of the character, rikki sandoval? SQL: SELECT Last appearance FROM table WHERE Character = Rikki Sandoval
728
Generate a SQL for the following text: On which episode did actress Sela Ward make her last appearance? SQL: SELECT Last appearance FROM table WHERE Portrayed by = Sela Ward
729
Generate a SQL for the following text: Which actors first appeared in "Zoo York"? SQL: SELECT Portrayed by FROM table WHERE First appearance = "Zoo York"
730
Generate a SQL for the following text: How many episodes did actress Vanessa Ferlito appear in? SQL: SELECT Episodes FROM table WHERE Portrayed by = Vanessa Ferlito
731
Generate a SQL for the following text: Which actors first appeared in episode "Blink" 1, 2, 3? SQL: SELECT Portrayed by FROM table WHERE First appearance = "Blink" 1, 2, 3
732
Generate a SQL for the following text: What was the duration of Robert Joy's portrayal? SQL: SELECT COUNT Duration FROM table WHERE Portrayed by = Robert Joy
733
Generate a SQL for the following text: Which episode did actor A. J. Buckley last appear in? SQL: SELECT Last appearance FROM table WHERE Portrayed by = A. J. Buckley
734
Generate a SQL for the following text: What is the least top division titles? SQL: SELECT MIN Top division titles FROM table
735
Generate a SQL for the following text: What is the least number of seasons in top division? SQL: SELECT MIN Number of seasons in top division FROM table
736
Generate a SQL for the following text: How many viewers (millions) were there for rank (week) 20? SQL: SELECT COUNT Viewers (millions) FROM table WHERE Rank (week) = 20
737
Generate a SQL for the following text: What is the rank (timeslot) with the episode name "dangerous liaisons"? SQL: SELECT Rank (timeslot) FROM table WHERE Episode = "Dangerous Liaisons"
738
Generate a SQL for the following text: What is the lowest rank (night) for having viewers (millions) 5.25? SQL: SELECT MIN Rank (night) FROM table WHERE Viewers (millions) = 5.25
739
Generate a SQL for the following text: How many times was the episode named "conference call"? SQL: SELECT COUNT # FROM table WHERE Episode = "Conference Call"
740
Generate a SQL for the following text: How many times was the rank (night) 11? SQL: SELECT COUNT Viewers (millions) FROM table WHERE Rank (night) = 11
741
Generate a SQL for the following text: 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: SELECT Carbon dioxide emissions per year (10 6 Tons) (2006) FROM table WHERE Carbon dioxide emissions per year (Tons per person) (2007) = 1.4
742
Generate a SQL for the following text: HOW MANY TONS OF CO2 EMISSIONS DID RUSSIA PRODUCE IN 2006? SQL: SELECT MAX Carbon dioxide emissions per year (10 6 Tons) (2006) FROM table WHERE Country = Russia
743
Generate a SQL for the following text: WHAT PERCENTAGE OF GLOBAL TOTAL EMISSIONS DID INDIA PRODUCE? SQL: SELECT Percentage of global total FROM table WHERE Country = India
744
Generate a SQL for the following text: HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007? SQL: SELECT Percentage of global total FROM table WHERE Carbon dioxide emissions per year (Tons per person) (2007) = 4.9
745
Generate a SQL for the following text: WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA? SQL: SELECT MAX Avg. emission per km 2 of its land (tons) FROM table WHERE Country = India
746
Generate a SQL for the following text: What is the rank number that aired october 26, 2007? SQL: SELECT Rank (#) FROM table WHERE Air Date = October 26, 2007
747
Generate a SQL for the following text: What is the number of rank with the viewership of 5.96 million? SQL: SELECT COUNT Rank (#) FROM table WHERE Viewers (m) = 5.96
748
Generate a SQL for the following text: What is the viewership on november 9, 2007? SQL: SELECT Viewers (m) FROM table WHERE Air Date = November 9, 2007
749
Generate a SQL for the following text: How many platinum points were awarded when 6 gold points were awarded? SQL: SELECT MAX Points awarded (Platinum) FROM table WHERE Points awarded (Gold) = 6
750
Generate a SQL for the following text: What was the range of finishing position for 15 awarded platinum points? SQL: SELECT Finishing position FROM table WHERE Points awarded (Platinum) = 15
751
Generate a SQL for the following text: How many platinum points were awarded for 5th place? SQL: SELECT MAX Points awarded (Platinum) FROM table WHERE Finishing position = 5th
752
Generate a SQL for the following text: How many platinum points were awarded when 70 silver points were awarded? SQL: SELECT Points awarded (Platinum) FROM table WHERE Points awarded (Silver) = 70
753
Generate a SQL for the following text: How many platinum points were awarded when 9 gold points were awarded? SQL: SELECT Points awarded (Platinum) FROM table WHERE Points awarded (Gold) = 9
754
Generate a SQL for the following text: How did the episode rank that had 2.65 million viewers? SQL: SELECT Rank (#) FROM table WHERE Viewers (m) = 2.65
755
Generate a SQL for the following text: What was the share for the first episode that ranked 85? SQL: SELECT MIN Share FROM table WHERE Rank (#) = 85
756
Generate a SQL for the following text: Which timeslot did episode no. 15 hold? SQL: SELECT Timeslot FROM table WHERE No. = 15
757
Generate a SQL for the following text: What was the timeslot for the episode that aired on May 12, 2009? SQL: SELECT Timeslot FROM table WHERE Air Date = May 12, 2009
758
Generate a SQL for the following text: What's the 18-49 (rating/share) of the episode that originally aired on May 5, 2009? SQL: SELECT 18–49 (Rating/Share) FROM table WHERE Air Date = May 5, 2009
759
Generate a SQL for the following text: What's the total number of episodes whose original airings were viewed by 1.82 million viewers? SQL: SELECT COUNT Air Date FROM table WHERE Viewers (m) = 1.82
760
Generate a SQL for the following text: What's the rating of the episode originally aired on May 5, 2009? SQL: SELECT Rating FROM table WHERE Air Date = May 5, 2009
761
Generate a SQL for the following text: What episode was seen by 2.05 million viewers? SQL: SELECT Episode FROM table WHERE Viewers (m) = 2.05
762
Generate a SQL for the following text: what's the extroverted, relationship-oriented where extroverted, task-oriented is director SQL: SELECT Extroverted, Relationship-Oriented FROM table WHERE Extroverted, Task-Oriented = Director
763
Generate a SQL for the following text: what's the extroverted, relationship-oriented where moderate is introverted sanguine SQL: SELECT Extroverted, Relationship-Oriented FROM table WHERE Moderate = Introverted Sanguine
764
Generate a SQL for the following text: what's the founder where moderate is ether SQL: SELECT Founder FROM table WHERE Moderate = ether
765
Generate a SQL for the following text: what's the extroverted, relationship-oriented where date is c. 1928 SQL: SELECT Extroverted, Relationship-Oriented FROM table WHERE Date = c. 1928
766
Generate a SQL for the following text: who is the founder where date is c. 1900 SQL: SELECT Founder FROM table WHERE Date = c. 1900
767
Generate a SQL for the following text: what's the people-task orientation scale where extroverted, relationship-oriented is team type SQL: SELECT People-task orientation scale FROM table WHERE Extroverted, Relationship-Oriented = Team Type
768
Generate a SQL for the following text: What is the batting team where the runs are 276? SQL: SELECT Batting team FROM table WHERE Runs = 276
769
Generate a SQL for the following text: Name the batting team at Durham SQL: SELECT Batting team FROM table WHERE Fielding team = Durham
770
Generate a SQL for the following text: What is the batting team with the batting partnets of thilina kandamby and rangana herath? SQL: SELECT Batting team FROM table WHERE Batting partners = Thilina Kandamby and Rangana Herath
771
Generate a SQL for the following text: What is the fielding team with 155 runs? SQL: SELECT Fielding team FROM table WHERE Runs = 155
772
Generate a SQL for the following text: What is the batting partners with runs of 226? SQL: SELECT Batting partners FROM table WHERE Runs = 226
773
Generate a SQL for the following text: What is the nationality of David Bairstow? SQL: SELECT Nationality FROM table WHERE Player = David Bairstow
774
Generate a SQL for the following text: What are the players whose rank is 2? SQL: SELECT Player FROM table WHERE Rank = 2
775
Generate a SQL for the following text: How many stumpings has Paul Nixon in his career? SQL: SELECT Stumpings FROM table WHERE Player = Paul Nixon
776
Generate a SQL for the following text: Where is Adam Gilchrist from? SQL: SELECT Nationality FROM table WHERE Player = Adam Gilchrist
777
Generate a SQL for the following text: What are the title that have 19.48 million u.s. viewers? SQL: SELECT Title FROM table WHERE U.S. viewers (million) = 19.48
778
Generate a SQL for the following text: Which titles have 18.73 u.s. viewers. SQL: SELECT Title FROM table WHERE U.S. viewers (million) = 18.73
779
Generate a SQL for the following text: Who wrote all the shows with 18.73 u.s. viewers? SQL: SELECT Written by FROM table WHERE U.S. viewers (million) = 18.73
780
Generate a SQL for the following text: What is the rank where the area is Los Angeles? SQL: SELECT Rank ( WJC ) FROM table WHERE Metro area = Los Angeles
781
Generate a SQL for the following text: What is the number of jews where the rank is 1? SQL: SELECT COUNT Number of Jews (WJC) FROM table WHERE Rank (ARDA) = 1
782
Generate a SQL for the following text: What is the number of jews asarb where the metro area is philadelphia? SQL: SELECT Number of Jews (ASARB) FROM table WHERE Metro area = Philadelphia
783
Generate a SQL for the following text: what are all the open 1st viii with u15 6th iv being bgs SQL: SELECT Open 1st VIII FROM table WHERE U15 6th IV = BGS
784
Generate a SQL for the following text: what are all the u16 2nd viii with u15 3rd iv being bbc SQL: SELECT U16 2nd VIII FROM table WHERE U15 3rd IV = BBC
785
Generate a SQL for the following text: what are all the open 1st viii with u15 4th iv being gt SQL: SELECT Open 1st VIII FROM table WHERE U15 4th IV = GT
786
Generate a SQL for the following text: how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs SQL: SELECT COUNT Crew FROM table WHERE U15 3rd IV = BGS AND U15 1st IV = ACGS AND Open 1st VIII = ACGS
787
Generate a SQL for the following text: what are all the u15 3rd iv with u15 4th iv being bbc SQL: SELECT U15 3rd IV FROM table WHERE U15 4th IV = BBC
788
Generate a SQL for the following text: how many open 2nd viii had u15 3rd iv being gt SQL: SELECT COUNT Open 2nd VIII FROM table WHERE U15 3rd IV = GT
789
Generate a SQL for the following text: How many schools have an enrollment of 850? SQL: SELECT COUNT Founded FROM table WHERE Enrolment = 850
790
Generate a SQL for the following text: What is the location of the school named Brisbane Girls' Grammar School? SQL: SELECT Location FROM table WHERE School = Brisbane Girls' Grammar School
791
Generate a SQL for the following text: How many schools are located in South Brisbane? SQL: SELECT COUNT School FROM table WHERE Location = South Brisbane
792
Generate a SQL for the following text: When was SPLC founded? SQL: SELECT MIN Founded FROM table WHERE Abbreviation = SPLC
793
Generate a SQL for the following text: What is the enrollment of STM which has been in competition since 1990? SQL: SELECT COUNT Enrolment FROM table WHERE In competition since = 1990 AND Abbreviation = STM
794
Generate a SQL for the following text: What number is the Monaco Grand Prix? SQL: SELECT Rd. FROM table WHERE Grand Prix = Monaco Grand Prix
795
Generate a SQL for the following text: Who is in the pole position for the French Grand Prix? SQL: SELECT Pole Position FROM table WHERE Grand Prix = French Grand Prix
796
Generate a SQL for the following text: What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position? SQL: SELECT Rd. FROM table WHERE Fastest Lap = Michael Schumacher AND Constructor = Ferrari AND Pole Position = Michael Schumacher
797
Generate a SQL for the following text: How many on the list are called the Austrian Grand Prix? SQL: SELECT COUNT Rd. FROM table WHERE Grand Prix = Austrian Grand Prix
798
Generate a SQL for the following text: What number is the Canadian Grand Prix on the list? SQL: SELECT Rd. FROM table WHERE Grand Prix = Canadian Grand Prix
799