question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What school is located in Worcester, Massachusetts? | create table table_1974782_1 (institution varchar, location varchar, PRIMARY KEY (institution)) | select institution from table_1974782_1 where location = "worcester, massachusetts" |
How many region 4 dates are associated with a region 2 date of July 9, 2007? | create table table_240936_2 (region_4__australia_ varchar, region_2__uk_ varchar, PRIMARY KEY (region_4__australia_)) | select count(region_4__australia_) from table_240936_2 where region_2__uk_ = "july 9, 2007" |
When was the show originally aired that had a TV broadcast of S07E04? | create table table_16090262_1 (originalairdate varchar, tv_broadcast varchar, PRIMARY KEY (originalairdate)) | select originalairdate from table_16090262_1 where tv_broadcast = "s07e04" |
What are the staff roles of the staff who | create table project_staff (role_code varchar, date_from varchar, date_to varchar, PRIMARY KEY (role_code)) | select role_code from project_staff where date_from > '2003-04-19 15:06:20' and date_to < '2016-03-15 00:33:18' |
What is the name of the young rider classification when Paolo Tiralongo won? | create table table_28538368_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification)) | select young_rider_classification from table_28538368_2 where winner = "paolo tiralongo" |
What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay? | create table table_23292220_3 (first_broadcast varchar, daves_team varchar, PRIMARY KEY (first_broadcast)) | select first_broadcast from table_23292220_3 where daves_team = "dave johns and sally lindsay" |
Find all airlines that have flights from both airports 'APG' and 'CVO'. | create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline)); create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline)) | select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = "apg" intersect select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = "cvo" |
what's the thursday time with sunday being 1:00-5:00 and tuesday being 1:00-7:00 | create table table_11019212_1 (thursday varchar, sunday varchar, tuesday varchar, PRIMARY KEY (thursday)) | select thursday from table_11019212_1 where sunday = "1:00-5:00" and tuesday = "1:00-7:00" |
Name the tfl-yds for no-yds 1-0 | create table table_15128839_22 (tfl_yds varchar, no_yds varchar, PRIMARY KEY (tfl_yds)) | select tfl_yds from table_15128839_22 where no_yds = "1-0" |
What is the premium associated with tariff code g9? | create table table_10408617_5 (approx_premium varchar, tariff_code varchar, PRIMARY KEY (approx_premium)) | select approx_premium from table_10408617_5 where tariff_code = "g9" |
How many assists per game did he have when he had 6.8 points per game? | create table table_2761641_1 (assists_per_game varchar, points_per_game varchar, PRIMARY KEY (assists_per_game)) | select assists_per_game from table_2761641_1 where points_per_game = "6.8" |
How many teams have hight points listed as David Lee (31)? | create table table_27755784_8 (team varchar, high_points varchar, PRIMARY KEY (team)) | select count(team) from table_27755784_8 where high_points = "david lee (31)" |
If the floor number is 14.200, what is the number for the parallel bars? | create table table_18662026_10 (parallel_bars varchar, floor varchar, PRIMARY KEY (parallel_bars)) | select parallel_bars from table_18662026_10 where floor = "14.200" |
What is the name of the activity with the most students? | create table participates_in (actid varchar, PRIMARY KEY (actid)); create table activity (activity_name varchar, actid varchar, PRIMARY KEY (activity_name)) | select t1.activity_name from activity as t1 join participates_in as t2 on t1.actid = t2.actid group by t1.actid order by count(*) desc limit 1 |
what's the estimated deaths with operational period of 17 march 1942 – end of june 1943 | create table table_10335_1 (estimated_deaths varchar, operational varchar, PRIMARY KEY (estimated_deaths)) | select estimated_deaths from table_10335_1 where operational = "17 march 1942 – end of june 1943" |
How many of the writers had 5.35 viewers? | create table table_22053239_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by)) | select count(written_by) from table_22053239_1 where us_viewers__millions_ = "5.35" |
Show the transaction type code that occurs the most frequently. | create table transactions (transaction_type_code varchar, PRIMARY KEY (transaction_type_code)) | select transaction_type_code from transactions group by transaction_type_code order by count(*) desc limit 1 |
Who is the partner when the opponents in the final is stephanie dubois olga savchuk? | create table table_26458137_2 (partner varchar, opponents_in_the_final varchar, PRIMARY KEY (partner)) | select partner from table_26458137_2 where opponents_in_the_final = "stephanie dubois olga savchuk" |
Who wrote the episode that had 1.08 million U.S. viewers? | create table table_26136228_3 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by)) | select written_by from table_26136228_3 where us_viewers__millions_ = "1.08" |
who is the artist performing at heineken music hall? | create table table_1359212_2 (artist varchar, venue varchar, PRIMARY KEY (artist)) | select artist from table_1359212_2 where venue = "heineken music hall" |
What is the original air date of the episode written by Liz Feldman? | create table table_29920800_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date)) | select original_air_date from table_29920800_1 where written_by = "liz feldman" |
What CFL team got the player from york? | create table table_28059992_5 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team)) | select cfl_team from table_28059992_5 where college = "york" |
What is the most common company type, and how many are there? | create table operate_company (type varchar, PRIMARY KEY (type)) | select type, count(*) from operate_company group by type order by count(*) desc limit 1 |
What is we two when the case/suffix is loc.? | create table table_1015914_24 (we_two varchar, case_suffix varchar, PRIMARY KEY (we_two)) | select we_two from table_1015914_24 where case_suffix = "loc." |
what is romanian when nuorese sardinian is [ˈkantata]? | create table table_25401_2 (romanian varchar, nuorese_sardinian varchar, PRIMARY KEY (romanian)) | select romanian from table_25401_2 where nuorese_sardinian = "[ˈkantata]" |
If the cross-section area is 21.2, what is the weight? | create table table_2071644_2 (weight__kg_m_ varchar, cross_section_area__cm_2__ varchar, PRIMARY KEY (weight__kg_m_)) | select weight__kg_m_ from table_2071644_2 where cross_section_area__cm_2__ = "21.2" |
Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop. | create table staff (staff_id varchar, staff_first_name varchar, PRIMARY KEY (staff_id)); create table problems (problem_description varchar, reported_by_staff_id varchar, PRIMARY KEY (problem_description)) | select t1.problem_description from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = "christop" |
In how many events was Puma 20 and abu dhabi 30? | create table table_26894949_2 (event varchar, puma varchar, abu_dhabi varchar, PRIMARY KEY (event)) | select count(event) from table_26894949_2 where puma = "20" and abu_dhabi = "30" |
what is the division southwest when division south was kožuf and division east was osogovo | create table table_17881033_1 (division_southwest varchar, division_south varchar, division_east varchar, PRIMARY KEY (division_southwest)) | select division_southwest from table_17881033_1 where division_south = "kožuf" and division_east = "osogovo" |
Find the number of different product types. | create table products (product_type_code varchar, PRIMARY KEY (product_type_code)) | select count(distinct product_type_code) from products |
Show the name, role code, and date of birth for the employee with name 'Armani'. | create table employees (employee_name varchar, role_code varchar, date_of_birth varchar, employee_name varchar, PRIMARY KEY (employee_name)) | select employee_name, role_code, date_of_birth from employees where employee_name = 'armani' |
Find the country of the airlines whose name starts with 'Orbit'. | create table airlines (country varchar, name varchar, PRIMARY KEY (country)) | select country from airlines where name like 'orbit%' |
Who were the running candidates when Joshua Sands was the incumbent? | create table table_2668254_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select candidates from table_2668254_17 where incumbent = "joshua sands" |
Who were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une? | create table table_28853064_15 (winner varchar, mountains_classification varchar, team_classification varchar, PRIMARY KEY (winner)) | select winner from table_28853064_15 where mountains_classification = "oscar solis" and team_classification = "epm-une" |
what is the media debut for the asian black bear? | create table table_26615633_3 (media_debut varchar, species varchar, PRIMARY KEY (media_debut)) | select media_debut from table_26615633_3 where species = "asian black bear" |
who is the the mens doubles with mens singles being jürgen koch and womens singles being sabine ploner | create table table_15002265_1 (mens_doubles varchar, mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles)) | select mens_doubles from table_15002265_1 where mens_singles = "jürgen koch" and womens_singles = "sabine ploner" |
What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western? | create table table_1817879_2 (length__miles_ varchar, endpoints varchar, PRIMARY KEY (length__miles_)) | select length__miles_ from table_1817879_2 where endpoints = "westlake/macarthur park to wilshire/western" |
Which cfl team is manitoba college? | create table table_21321804_1 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team)) | select cfl_team from table_21321804_1 where college = "manitoba" |
How many times did Robin Hayes run? | create table table_1805191_34 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select count(candidates) from table_1805191_34 where incumbent = "robin hayes" |
Name the vote for gigit | create table table_16976547_2 (vote varchar, eliminated varchar, PRIMARY KEY (vote)) | select vote from table_16976547_2 where eliminated = "gigit" |
Name the semifinalists for singapore | create table table_30007505_1 (semifinalists varchar, country_territory varchar, PRIMARY KEY (semifinalists)) | select semifinalists from table_30007505_1 where country_territory = "singapore" |
What were the "other details" (number released) for "is my love will follow me"? | create table table_18710512_3 (other_details varchar, single varchar, PRIMARY KEY (other_details)) | select other_details from table_18710512_3 where single = "my love will follow me" |
What is the numberof running wiht pamela zapata? | create table table_12407546_2 (running varchar, athlete varchar, PRIMARY KEY (running)) | select count(running) from table_12407546_2 where athlete = "pamela zapata" |
Who directed the episode that had 6.04 million viewers? | create table table_12976038_1 (director varchar, viewers__in_millions_ varchar, PRIMARY KEY (director)) | select director from table_12976038_1 where viewers__in_millions_ = "6.04" |
Name the number of awardees for best cinematography | create table table_24446718_7 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_)) | select count(awardee_s_) from table_24446718_7 where name_of_award = "best cinematography" |
What are all the stations with a license in Cincinnati? | create table table_1847523_2 (station varchar, city_of_license__market varchar, PRIMARY KEY (station)) | select station from table_1847523_2 where city_of_license__market = "cincinnati" |
how many titles have the name "quick callanetics"? | create table table_11222744_3 (catalog_number varchar, title varchar, PRIMARY KEY (catalog_number)) | select count(catalog_number) from table_11222744_3 where title = "quick callanetics" |
What's percentage voted for Busg in the county where Kerry got 37.6%? | create table table_2401326_1 (bush_percentage varchar, kerry_percentage varchar, PRIMARY KEY (bush_percentage)) | select bush_percentage from table_2401326_1 where kerry_percentage = "37.6%" |
What shareholder has 3.63 percent of capital? | create table table_206419_3 (shareholder varchar, percent_of_capital varchar, PRIMARY KEY (shareholder)) | select shareholder from table_206419_3 where percent_of_capital = "3.63" |
Show all paragraph texts for the document "Customer reviews". | create table paragraphs (paragraph_text varchar, document_id varchar, PRIMARY KEY (paragraph_text)); create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)) | select t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = "customer reviews" |
When did the season start that ended with the top record of Lindenwood (20–0–0)? | create table table_22383603_1 (start__reg_season_ varchar, top_record varchar, PRIMARY KEY (start__reg_season_)) | select start__reg_season_ from table_22383603_1 where top_record = "lindenwood (20–0–0)" |
what is the total number of singles w–l where doubles w–l is 11–14 | create table table_10294071_1 (singles_w_l varchar, doubles_w_l varchar, PRIMARY KEY (singles_w_l)) | select count(singles_w_l) from table_10294071_1 where doubles_w_l = "11–14" |
What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)? | create table table_14948647_1 (bhofen_number2__rk_ varchar, ga_pa__rk_ varchar, PRIMARY KEY (bhofen_number2__rk_)) | select bhofen_number2__rk_ from table_14948647_1 where ga_pa__rk_ = "233.4 (16)" |
How many accounts do we have? | create table accounts (id varchar, PRIMARY KEY (id)) | select count(*) from accounts |
What capital's county had a population of 730129 as of 2009? | create table table_16278894_1 (capital varchar, population_census_2009 varchar, PRIMARY KEY (capital)) | select capital from table_16278894_1 where population_census_2009 = 730129 |
What was the total number of seats won where the % of votes is equal to 20.29? | create table table_149330_1 (seats_won varchar, _percentage_of_votes varchar, PRIMARY KEY (seats_won)) | select count(seats_won) from table_149330_1 where _percentage_of_votes = "20.29" |
When rangitikei is the electorate who is the winner? | create table table_28898948_3 (winner varchar, electorate varchar, PRIMARY KEY (winner)) | select winner from table_28898948_3 where electorate = "rangitikei" |
What's the English translation of the Japanese title of the game Ranma ½: Chougi Rambuhen? | create table table_12744399_1 (english_title_translation varchar, japanese_title varchar, PRIMARY KEY (english_title_translation)) | select english_title_translation from table_12744399_1 where japanese_title = "ranma ½: chougi rambuhen" |
When cindy miranda is the name what is the home or representative town or province? | create table table_19061741_1 (home_or_representative_town_or_province varchar, name varchar, PRIMARY KEY (home_or_representative_town_or_province)) | select home_or_representative_town_or_province from table_19061741_1 where name = "cindy miranda" |
Where are the broadcasting companys with the callsign DWRH located? | create table table_28794440_1 (location varchar, callsign varchar, PRIMARY KEY (location)) | select location from table_28794440_1 where callsign = "dwrh" |
How many program data on Asia was written if the organization launched 14 programs iin the Americas? | create table table_27184837_1 (asia varchar, americas varchar, PRIMARY KEY (asia)) | select count(asia) from table_27184837_1 where americas = 14 |
What is the highest 2011 population when the ethnic group is asian or asian british: asian other? | create table table_282413_3 (ethnic_group varchar, PRIMARY KEY (ethnic_group)) | select max(2011 as _population) from table_282413_3 where ethnic_group = "asian or asian british: asian other" |
Find the last names of all the teachers that teach GELL TAMI. | create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom)) | select t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = "gell" and t1.lastname = "tami" |
How many KEI catagories are listed when the economic incentive regime is 2.56? | create table table_23050383_1 (kei varchar, economic_incentive_regime varchar, PRIMARY KEY (kei)) | select count(kei) from table_23050383_1 where economic_incentive_regime = "2.56" |
Who were the candidates in the election that featured incumbent don edwards? | create table table_1341738_6 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select candidates from table_1341738_6 where incumbent = "don edwards" |
What is the last name of the student who got a grade A in the class with code 10018. | create table enroll (stu_num varchar, enroll_grade varchar, class_code varchar, PRIMARY KEY (stu_num)); create table student (stu_lname varchar, stu_num varchar, PRIMARY KEY (stu_lname)) | select t1.stu_lname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num where t2.enroll_grade = 'a' and t2.class_code = 10018 |
What is the booking status code of the apartment with apartment number "Suite 634"? | create table apartments (apt_id varchar, apt_number varchar, PRIMARY KEY (apt_id)); create table apartment_bookings (booking_status_code varchar, apt_id varchar, PRIMARY KEY (booking_status_code)) | select t1.booking_status_code from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t2.apt_number = "suite 634" |
Name the stock for colt model mt6601 | create table table_12834315_4 (stock varchar, colt_model_no varchar, PRIMARY KEY (stock)) | select stock from table_12834315_4 where colt_model_no = "mt6601" |
Which general election had a vote swing of 1.84? | create table table_149330_1 (general_election varchar, votes_swing varchar, PRIMARY KEY (general_election)) | select general_election from table_149330_1 where votes_swing = "1.84" |
How many artists do not have any album? | create table artist (artistid varchar, PRIMARY KEY (artistid)); create table album (artistid varchar, PRIMARY KEY (artistid)) | select count(*) from artist where not artistid in (select artistid from album) |
Who are all directors when Sherwood Schwartz is the writer? | create table table_2342078_2 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by)) | select directed_by from table_2342078_2 where written_by = "sherwood schwartz" |
november 3 where march 27-29 is 149? | create table table_25252080_3 (november_3 varchar, march_27_29 varchar, PRIMARY KEY (november_3)) | select november_3 from table_25252080_3 where march_27_29 = "149" |
What are the NFL Teams in College North Texas State? | create table table_2508633_11 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team)) | select nfl_team from table_2508633_11 where college = "north texas state" |
List the names of shops that have no devices in stock. | create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)) | select shop_name from shop where not shop_id in (select shop_id from stock) |
Which game type has most number of games? | create table video_games (gtype varchar, PRIMARY KEY (gtype)) | select gtype from video_games group by gtype order by count(*) desc limit 1 |
When Mark Stimson started his job in 2007-08 what posiiton was the team on the table | create table table_28181347_6 (position_in_table varchar, replaced_by varchar, PRIMARY KEY (position_in_table)) | select position_in_table from table_28181347_6 where replaced_by = "mark stimson" |
What DVD season/name for region 2 was released August 22, 2010? | create table table_1067134_1 (dvd_name varchar, region_2 varchar, PRIMARY KEY (dvd_name)) | select dvd_name from table_1067134_1 where region_2 = "august 22, 2010" |
which categories fit under the institution calvin college? | create table table_261895_1 (type varchar, institution varchar, PRIMARY KEY (type)) | select type from table_261895_1 where institution = "calvin college" |
What's Fitchburg State University's LEC sport? | create table table_1974545_2 (lec_sport varchar, institution varchar, PRIMARY KEY (lec_sport)) | select lec_sport from table_1974545_2 where institution = "fitchburg state university" |
What are all values of CMD.EXE / COMMAND.COM for the unix shell echo? | create table table_14465871_1 (cmdexe___commandcom varchar, unix_shell varchar, PRIMARY KEY (cmdexe___commandcom)) | select cmdexe___commandcom from table_14465871_1 where unix_shell = "echo" |
What is the Closure date of Hunterston B | create table table_143352_1 (accounting_closure_date integer, agr_power_station varchar, PRIMARY KEY (accounting_closure_date)) | select min(accounting_closure_date) from table_143352_1 where agr_power_station = "hunterston b" |
Are there registration notes on usek.edu.lb? | create table table_1160660_1 (official_registration_notes varchar, website varchar, PRIMARY KEY (official_registration_notes)) | select official_registration_notes from table_1160660_1 where website = "usek.edu.lb" |
When 272966 is the tower division what is the highest holborn division? | create table table_16677738_1 (holborn_division integer, tower_division varchar, PRIMARY KEY (holborn_division)) | select max(holborn_division) from table_16677738_1 where tower_division = 272966 |
How many outcomes were there when the opponent was Aleksandra Wozniak? | create table table_18183850_12 (outcome varchar, opponent varchar, PRIMARY KEY (outcome)) | select count(outcome) from table_18183850_12 where opponent = "aleksandra wozniak" |
What state had william bigler (d) as a successor) | create table table_2417308_3 (state__class_ varchar, successor varchar, PRIMARY KEY (state__class_)) | select state__class_ from table_2417308_3 where successor = "william bigler (d)" |
What is the current status of the KDAF ** Station? | create table table_1353096_2 (current_status varchar, station varchar, PRIMARY KEY (current_status)) | select current_status from table_1353096_2 where station = "kdaf **" |
elaine lee worked on how many issues | create table table_1420954_1 (issues varchar, writer varchar, PRIMARY KEY (issues)) | select count(issues) from table_1420954_1 where writer = "elaine lee" |
Who was the writer who wrote the episode that was aired on September 11, 1972? | create table table_25800134_17 (writer_s_ varchar, airdate varchar, PRIMARY KEY (writer_s_)) | select writer_s_ from table_25800134_17 where airdate = "september 11, 1972" |
When 720 is the t c (°c) what is the h ci (ka/m)? | create table table_2282444_1 (h_ci__ka_m_ varchar, t_c__°c_ varchar, PRIMARY KEY (h_ci__ka_m_)) | select h_ci__ka_m_ from table_2282444_1 where t_c__°c_ = "720" |
If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes? | create table table_20174050_7 (notes varchar, reader varchar, title varchar, PRIMARY KEY (notes)) | select notes from table_20174050_7 where reader = "briggs, nicholas nicholas briggs" and title = "paradox lost" |
How many regions had rainfall infiltration (km 3/year) of 9.3? | create table table_25983027_1 (rainfall_by_depth__mm_year_ varchar, infiltration__km_3__year_ varchar, PRIMARY KEY (rainfall_by_depth__mm_year_)) | select count(rainfall_by_depth__mm_year_) from table_25983027_1 where infiltration__km_3__year_ = "9.3" |
Show the description of the transaction type that occurs most frequently. | create table transactions (transaction_type_code varchar, PRIMARY KEY (transaction_type_code)); create table ref_transaction_types (transaction_type_description varchar, transaction_type_code varchar, PRIMARY KEY (transaction_type_description)) | select t1.transaction_type_code, t1.transaction_type_description from ref_transaction_types as t1 join transactions as t2 on t1.transaction_type_code = t2.transaction_type_code group by t1.transaction_type_code, t1.transaction_type_description order by count(*) desc limit 1; |
What was the manner of departure for the manager of Cercle Brugge? | create table table_27374004_3 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure)) | select manner_of_departure from table_27374004_3 where team = "cercle brugge" |
Name the tour when mens singles is chen jin and womens doubles is zhang yawen zhao tingting | create table table_14496232_2 (tour varchar, mens_singles varchar, womens_doubles varchar, PRIMARY KEY (tour)) | select tour from table_14496232_2 where mens_singles = "chen jin" and womens_doubles = "zhang yawen zhao tingting" |
What is Segment A where Segment C is Sushi (part 1)? | create table table_15187735_15 (segment_a varchar, segment_c varchar, PRIMARY KEY (segment_a)) | select segment_a from table_15187735_15 where segment_c = "sushi (part 1)" |
Find all the ids and dates of the logs for the problem whose id is 10. | create table problem_log (problem_log_id varchar, log_entry_date varchar, problem_id varchar, PRIMARY KEY (problem_log_id)) | select problem_log_id, log_entry_date from problem_log where problem_id = 10 |
List the names of members who did not attend any performance. | create table member (name varchar, member_id varchar, PRIMARY KEY (name)); create table member_attendance (name varchar, member_id varchar, PRIMARY KEY (name)) | select name from member where not member_id in (select member_id from member_attendance) |
Name the number of road record for team ole miss | create table table_22825679_1 (road_record varchar, team varchar, PRIMARY KEY (road_record)) | select count(road_record) from table_22825679_1 where team = "ole miss" |
How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday? | create table table_18173916_6 (friday varchar, wednesday varchar, PRIMARY KEY (friday)) | select count(friday) from table_18173916_6 where wednesday = "190 boardwalk empire" |
Show names of technicians who are assigned to repair machines with value point more than 70. | create table machine (machine_id varchar, value_points integer, PRIMARY KEY (machine_id)); create table repair_assignment (machine_id varchar, technician_id varchar, PRIMARY KEY (machine_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name)) | select t3.name from repair_assignment as t1 join machine as t2 on t1.machine_id = t2.machine_id join technician as t3 on t1.technician_id = t3.technician_id where t2.value_points > 70 |
Subsets and Splits