question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?
|
create table table_27329061_2 (compatible_repository varchar, version varchar, default_desktop_environment varchar, PRIMARY KEY (compatible_repository))
|
select compatible_repository from table_27329061_2 where version = "old version, no longer supported: 9" and default_desktop_environment = "lxde"
|
What core clocks ( mhz ) have a 21.3 memory bandwidth ( gb/s )?
|
create table table_25839957_5 (core_clock___mhz__ varchar, memory_bandwidth___gb_s__ varchar, PRIMARY KEY (core_clock___mhz__))
|
select core_clock___mhz__ from table_25839957_5 where memory_bandwidth___gb_s__ = "21.3"
|
Name the date of vacancy for manuel pellegrini
|
create table table_22640051_3 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))
|
select date_of_vacancy from table_22640051_3 where outgoing_manager = "manuel pellegrini"
|
What's the total number of directors whose episodes have been seen by 9.14 million viewers?
|
create table table_12919003_3 (director varchar, viewers_millions_ varchar, PRIMARY KEY (director))
|
select count(director) from table_12919003_3 where viewers_millions_ = "9.14"
|
find the program owners that have some programs in both morning and night time.
|
create table broadcast (program_id varchar, time_of_day varchar, PRIMARY KEY (program_id)); create table program (owner varchar, program_id varchar, PRIMARY KEY (owner))
|
select t1.owner from program as t1 join broadcast as t2 on t1.program_id = t2.program_id where t2.time_of_day = "morning" intersect select t1.owner from program as t1 join broadcast as t2 on t1.program_id = t2.program_id where t2.time_of_day = "night"
|
Who's the captain of the team whose stadium is Gradski Stadion?
|
create table table_23214833_1 (team_captain varchar, stadium varchar, PRIMARY KEY (team_captain))
|
select team_captain from table_23214833_1 where stadium = "gradski stadion"
|
What is the rank # of kelli miller the winning pitcher?
|
create table table_22098274_1 (rank_number varchar, winning_pitcher varchar, PRIMARY KEY (rank_number))
|
select rank_number from table_22098274_1 where winning_pitcher = "kelli miller"
|
What are the details and ways to get to tourist attractions related to royal family?
|
create table tourist_attractions (how_to_get_there varchar, tourist_attraction_id varchar, PRIMARY KEY (how_to_get_there)); create table royal_family (royal_family_details varchar, royal_family_id varchar, PRIMARY KEY (royal_family_details))
|
select t1.royal_family_details, t2.how_to_get_there from royal_family as t1 join tourist_attractions as t2 on t1.royal_family_id = t2.tourist_attraction_id
|
How many items appear in the dividend per share when the turnover is 0.42?
|
create table table_2856898_1 (dividend_per_share__p_ varchar, turnover__£m_ varchar, PRIMARY KEY (dividend_per_share__p_))
|
select count(dividend_per_share__p_) from table_2856898_1 where turnover__£m_ = "0.42"
|
Who had the fastest lap when the winning team was Tom's Racing?
|
create table table_16670746_2 (fastest_lap varchar, winning_team varchar, PRIMARY KEY (fastest_lap))
|
select fastest_lap from table_16670746_2 where winning_team = "tom's racing"
|
What is the name of the episode written by alison cross?
|
create table table_27969432_2 (title varchar, written_by varchar, PRIMARY KEY (title))
|
select title from table_27969432_2 where written_by = "alison cross"
|
What is the gearbox when the torque is torque?
|
create table table_250230_2 (gearbox varchar, PRIMARY KEY (gearbox))
|
select gearbox from table_250230_2 where "torque" = "torque"
|
Name the musical guest where guest host is elle macpherson
|
create table table_1590967_6 (musical_guest__song_performed_ varchar, guest_host varchar, PRIMARY KEY (musical_guest__song_performed_))
|
select musical_guest__song_performed_ from table_1590967_6 where guest_host = "elle macpherson"
|
How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes?
|
create table table_20350118_1 (obama_number varchar, obama_percentage varchar, PRIMARY KEY (obama_number))
|
select count(obama_number) from table_20350118_1 where obama_percentage = "27.8%"
|
How many drivers are there?
|
create table driver (id varchar, PRIMARY KEY (id))
|
select count(*) from driver
|
What are the names of wrestlers and the elimination moves?
|
create table wrestler (name varchar, wrestler_id varchar, PRIMARY KEY (name)); create table elimination (elimination_move varchar, wrestler_id varchar, PRIMARY KEY (elimination_move))
|
select t2.name, t1.elimination_move from elimination as t1 join wrestler as t2 on t1.wrestler_id = t2.wrestler_id
|
What is the original of the ipa ( são paulo ) translation dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə?
|
create table table_23915_4 (translation varchar, ipa___são_paulo__ varchar, PRIMARY KEY (translation))
|
select translation from table_23915_4 where ipa___são_paulo__ = "dɐ̃ːˈtɕiɣɐ ˈtɐ̃ʊ̯̃ ɐ̃ˈmadɐ ˈsuɐ ɦõ̞ˈmənə"
|
What is the 2006-2007 points minimum is the team is Overmach Parma?
|
create table table_23215145_2 (team varchar, PRIMARY KEY (team))
|
select min(2006 as _07_points) from table_23215145_2 where team = "overmach parma"
|
how much prize money (in USD) did bob lutz win
|
create table table_29302711_12 (prize_money__usd_ integer, name varchar, PRIMARY KEY (prize_money__usd_))
|
select max(prize_money__usd_) from table_29302711_12 where name = "bob lutz"
|
How many semifinalists where from peru?
|
create table table_30018460_1 (semifinalists varchar, country_territory varchar, PRIMARY KEY (semifinalists))
|
select semifinalists from table_30018460_1 where country_territory = "peru"
|
what is the final-rank for the uneven bars and the competition is u.s. championships?
|
create table table_13114949_3 (final_rank varchar, event varchar, competition varchar, PRIMARY KEY (final_rank))
|
select final_rank from table_13114949_3 where event = "uneven bars" and competition = "u.s. championships"
|
What school is in Brechin?
|
create table table_21563298_1 (external_link varchar, location varchar, PRIMARY KEY (external_link))
|
select external_link from table_21563298_1 where location = "brechin"
|
Name the class aaaa for menard
|
create table table_14630796_1 (class_aaaa varchar, class_a varchar, PRIMARY KEY (class_aaaa))
|
select class_aaaa from table_14630796_1 where class_a = "menard"
|
What is the prize money when the clubs is 392 → 276?
|
create table table_27973624_1 (prize_money varchar, clubs varchar, PRIMARY KEY (prize_money))
|
select prize_money from table_27973624_1 where clubs = "392 → 276"
|
How many pilots are there?
|
create table pilot (id varchar, PRIMARY KEY (id))
|
select count(*) from pilot
|
What is the starting weight if weight lost is 54.6?
|
create table table_24370270_10 (starting_weight__kg_ varchar, weight_lost__kg_ varchar, PRIMARY KEY (starting_weight__kg_))
|
select starting_weight__kg_ from table_24370270_10 where weight_lost__kg_ = "54.6"
|
What is the airdate when the story is listed as hugh leonard?
|
create table table_15739098_2 (airdate varchar, story varchar, PRIMARY KEY (airdate))
|
select airdate from table_15739098_2 where story = "hugh leonard"
|
What activities does Clear Channel Entertainment Facilitation Limited engage in?
|
create table table_1756264_2 (description_of_activities varchar, company_name varchar, PRIMARY KEY (description_of_activities))
|
select description_of_activities from table_1756264_2 where company_name = "clear channel entertainment facilitation limited"
|
Name the incumbent for matthew lyon (dr) anthony new (dr)
|
create table table_2668378_5 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select incumbent from table_2668378_5 where candidates = "matthew lyon (dr) anthony new (dr)"
|
What is the number of appearances where the most recent final result is 1999, beat Genk 3-1?
|
create table table_1463332_2 (_number_appearances varchar, most_recent_final varchar, PRIMARY KEY (_number_appearances))
|
select count(_number_appearances) from table_1463332_2 where most_recent_final = "1999, beat genk 3-1"
|
Show the date valid from and the date valid to for the card with card number '4560596484842'.
|
create table customers_cards (date_valid_from varchar, date_valid_to varchar, card_number varchar, PRIMARY KEY (date_valid_from))
|
select date_valid_from, date_valid_to from customers_cards where card_number = "4560596484842"
|
List the director and producer when Nick Hewer and Saira Khan were starring.
|
create table table_24725951_1 (directed_and_produced_by varchar, celebrities varchar, PRIMARY KEY (directed_and_produced_by))
|
select directed_and_produced_by from table_24725951_1 where celebrities = "nick hewer and saira khan"
|
What is the English title for the official number 22 episode?
|
create table table_16425614_3 (english_title varchar, official__number varchar, PRIMARY KEY (english_title))
|
select english_title from table_16425614_3 where official__number = 22
|
Who was the original artist of the First solo theme?
|
create table table_26250155_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))
|
select original_artist from table_26250155_1 where theme = "first solo"
|
Which location has a team that is nicknamed the Vikings?
|
create table table_13759592_1 (location varchar, nickname varchar, PRIMARY KEY (location))
|
select location from table_13759592_1 where nickname = "vikings"
|
What college did Bill Cappleman go to?
|
create table table_10361230_1 (college varchar, player_name varchar, PRIMARY KEY (college))
|
select college from table_10361230_1 where player_name = "bill cappleman"
|
How many materials are there for output power of ~0.1 pw per cycle (calculated)?
|
create table table_30057479_1 (material varchar, output_power varchar, PRIMARY KEY (material))
|
select count(material) from table_30057479_1 where output_power = "~0.1 pw per cycle (calculated)"
|
Name the landesliga sud for sg quelle fürth
|
create table table_20181270_3 (landesliga_süd varchar, bayernliga varchar, PRIMARY KEY (landesliga_süd))
|
select landesliga_süd from table_20181270_3 where bayernliga = "sg quelle fürth"
|
Name the guest 4 for steve lamacq
|
create table table_20466963_13 (guest_4 varchar, guest_2 varchar, PRIMARY KEY (guest_4))
|
select guest_4 from table_20466963_13 where guest_2 = "steve lamacq"
|
In what parish is the sub-parish fortun?
|
create table table_178398_1 (parish__prestegjeld_ varchar, sub_parish__sogn_ varchar, PRIMARY KEY (parish__prestegjeld_))
|
select parish__prestegjeld_ from table_178398_1 where sub_parish__sogn_ = "fortun"
|
Name the round 1 for team event
|
create table table_18646111_13 (round_1 varchar, event varchar, PRIMARY KEY (round_1))
|
select round_1 from table_18646111_13 where event = "team"
|
when does the train arriving at bourne at 11.45 departure
|
create table table_18333678_2 (departure varchar, going_to varchar, arrival varchar, PRIMARY KEY (departure))
|
select departure from table_18333678_2 where going_to = "bourne" and arrival = "11.45"
|
how many guest stars did the episode that was broadcasted 11september2012 have
|
create table table_29135051_3 (guest_s_ varchar, broadcast_date varchar, PRIMARY KEY (guest_s_))
|
select count(guest_s_) from table_29135051_3 where broadcast_date = "11september2012"
|
What is the name of the episode told by Kiki and directed by Will Dixon?
|
create table table_10470082_6 (title varchar, storyteller varchar, director varchar, PRIMARY KEY (title))
|
select title from table_10470082_6 where storyteller = "kiki" and director = "will dixon"
|
what is the total number of films directy and written by john callaghan?
|
create table table_27547668_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
|
select count(directed_by) from table_27547668_4 where written_by = "john callaghan"
|
Where is the Bellerive Country Club venue located?
|
create table table_224616_1 (location_of_venue varchar, venue varchar, PRIMARY KEY (location_of_venue))
|
select location_of_venue from table_224616_1 where venue = "bellerive country club"
|
Show the name of ships whose nationality is either United States or United Kingdom.
|
create table ship (name varchar, nationality varchar, PRIMARY KEY (name))
|
select name from ship where nationality = "united states" or nationality = "united kingdom"
|
Find the names of users who did not leave any review.
|
create table review (name varchar, u_id varchar, PRIMARY KEY (name)); create table useracct (name varchar, u_id varchar, PRIMARY KEY (name))
|
select name from useracct where not u_id in (select u_id from review)
|
List the first name and last name of all customers.
|
create table customers (first_name varchar, last_name varchar, PRIMARY KEY (first_name))
|
select first_name, last_name from customers
|
Who directed the episode that originally aired on March 18, 1988?
|
create table table_20967430_4 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_20967430_4 where original_air_date = "march 18, 1988"
|
List all dbm's when profiles are 8a.
|
create table table_2394927_1 (power___dbm__ varchar, profile varchar, PRIMARY KEY (power___dbm__))
|
select power___dbm__ from table_2394927_1 where profile = "8a"
|
if the 2.09 million US viewers watched this episode, who was it written by
|
create table table_25084227_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_25084227_1 where us_viewers__in_millions_ = "2.09"
|
If there are 18 villages, what is the minimum area ?
|
create table table_21302_1 (area___ha__ integer, no_of_villages varchar, PRIMARY KEY (area___ha__))
|
select min(area___ha__) from table_21302_1 where no_of_villages = 18
|
What was the original air date (atv) of episode 1?
|
create table table_1439096_1 (original_air_date__atv_ varchar, episode_no varchar, PRIMARY KEY (original_air_date__atv_))
|
select original_air_date__atv_ from table_1439096_1 where episode_no = 1
|
How many teams had a 99.3% capacity rating?
|
create table table_28884858_2 (team varchar, capacity_percentage varchar, PRIMARY KEY (team))
|
select count(team) from table_28884858_2 where capacity_percentage = "99.3%"
|
which is the former pageant in the country where the new pageant is miss bahamas?
|
create table table_14308895_2 (former_pageant varchar, new_pageant varchar, PRIMARY KEY (former_pageant))
|
select former_pageant from table_14308895_2 where new_pageant = "miss bahamas"
|
What is the mascot with the colors green and navy?
|
create table table_15873547_1 (mascot varchar, colors varchar, PRIMARY KEY (mascot))
|
select mascot from table_15873547_1 where colors = "green and navy"
|
What was the attendance last year at Manuka Oval?
|
create table table_1161065_28 (last_year varchar, venue varchar, PRIMARY KEY (last_year))
|
select last_year from table_1161065_28 where venue = "manuka oval"
|
Which years had a jersey number 55
|
create table table_11734041_18 (years_for_rockets varchar, no_s_ varchar, PRIMARY KEY (years_for_rockets))
|
select years_for_rockets from table_11734041_18 where no_s_ = "55"
|
In how many countries was the total freshwater withdrawal (km 3 /yr) 169.39?
|
create table table_15909409_2 (country varchar, total_freshwater_withdrawal__km_3__yr_ varchar, PRIMARY KEY (country))
|
select count(country) from table_15909409_2 where total_freshwater_withdrawal__km_3__yr_ = "169.39"
|
What is the average finish for winnings of $1,400?
|
create table table_1875157_2 (avg_finish varchar, winnings varchar, PRIMARY KEY (avg_finish))
|
select avg_finish from table_1875157_2 where winnings = "$1,400"
|
What is the first and last name of the professor in biology department?
|
create table professor (dept_code varchar, emp_num varchar, PRIMARY KEY (dept_code)); create table department (dept_code varchar, PRIMARY KEY (dept_code)); create table employee (emp_fname varchar, emp_lname varchar, emp_num varchar, PRIMARY KEY (emp_fname))
|
select t3.emp_fname, t3.emp_lname from professor as t1 join department as t2 on t1.dept_code = t2.dept_code join employee as t3 on t1.emp_num = t3.emp_num where dept_name = "biology"
|
Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?
|
create table table_27743641_2 (gt_winning_team varchar, gtc_winning_team varchar, PRIMARY KEY (gt_winning_team))
|
select gt_winning_team from table_27743641_2 where gtc_winning_team = "no. 54 black swan racing"
|
Name the us exclusive for miley cyrus
|
create table table_24600706_1 (us_exclusive varchar, artist_band varchar, PRIMARY KEY (us_exclusive))
|
select us_exclusive from table_24600706_1 where artist_band = "miley cyrus"
|
What is the course title of the prerequisite of course Mobile Computing?
|
create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table prereq (prereq_id varchar, course_id varchar, PRIMARY KEY (prereq_id)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id))
|
select title from course where course_id in (select t1.prereq_id from prereq as t1 join course as t2 on t1.course_id = t2.course_id where t2.title = 'mobile computing')
|
Find the name of students who didn't take any course from Biology department.
|
create table student (name varchar, id varchar, PRIMARY KEY (name)); create table course (course_id varchar, dept_name varchar, PRIMARY KEY (course_id)); create table takes (id varchar, course_id varchar, PRIMARY KEY (id))
|
select name from student where not id in (select t1.id from takes as t1 join course as t2 on t1.course_id = t2.course_id where t2.dept_name = 'biology')
|
What is the vote number when immunity listed as David and reward is listed as none?
|
create table table_28742659_2 (vote varchar, immunity varchar, reward varchar, PRIMARY KEY (vote))
|
select vote from table_28742659_2 where immunity = "david" and reward = "none"
|
Name the last appearance for music city bowl
|
create table table_2517159_1 (last_appearance varchar, name_of_bowl varchar, PRIMARY KEY (last_appearance))
|
select last_appearance from table_2517159_1 where name_of_bowl = "music city bowl"
|
What is the status if the poverty rate is 11.4%?
|
create table table_22815568_6 (status varchar, poverty_rate varchar, PRIMARY KEY (status))
|
select status from table_22815568_6 where poverty_rate = "11.4%"
|
Show all flight number from Los Angeles.
|
create table flight (flno varchar, origin varchar, PRIMARY KEY (flno))
|
select flno from flight where origin = "los angeles"
|
How many times was the mens u20 recorded when the Womens 40 were Sydney Scorpions def North Queensland Cyclones?
|
create table table_16724844_1 (mens_u20 varchar, womens_40 varchar, PRIMARY KEY (mens_u20))
|
select count(mens_u20) from table_16724844_1 where womens_40 = "sydney scorpions def north queensland cyclones"
|
Name the format for super callanetics
|
create table table_27303975_2 (format varchar, title varchar, PRIMARY KEY (format))
|
select format from table_27303975_2 where title = "super callanetics"
|
What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009?
|
create table table_25042332_33 (gdp__ppp__per_capita__2008_ integer, combined_gross_enrollment_ratio__2009_ varchar, PRIMARY KEY (gdp__ppp__per_capita__2008_))
|
select max(gdp__ppp__per_capita__2008_) from table_25042332_33 where combined_gross_enrollment_ratio__2009_ = "86.6"
|
If the start (utc) is November 18, 2008 18:09, what is the name of the spacecraft?
|
create table table_22385461_9 (spacecraft varchar, start___utc__ varchar, PRIMARY KEY (spacecraft))
|
select spacecraft from table_22385461_9 where start___utc__ = "november 18, 2008 18:09"
|
what's the salmonella with escherichia being sepb (escn)
|
create table table_10321124_1 (salmonella varchar, escherichia varchar, PRIMARY KEY (salmonella))
|
select salmonella from table_10321124_1 where escherichia = "sepb (escn)"
|
What is the title when original air date is may15,2008?
|
create table table_10701133_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))
|
select title from table_10701133_1 where original_air_date = "may15,2008"
|
What was the duration of Daniela Ryf's swimming stage?
|
create table table_17085947_32 (swim__15km_ varchar, athlete varchar, PRIMARY KEY (swim__15km_))
|
select swim__15km_ from table_17085947_32 where athlete = "daniela ryf"
|
When did the first staff for the projects started working?
|
create table project_staff (date_from varchar, PRIMARY KEY (date_from))
|
select date_from from project_staff order by date_from limit 1
|
Who had the fastest lap in bowmanville, ontario?
|
create table table_30134667_2 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))
|
select fastest_lap from table_30134667_2 where location = "bowmanville, ontario"
|
The episode that had 8.62 million US viewers originally aired on which date?
|
create table table_26825349_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_26825349_1 where us_viewers__millions_ = "8.62"
|
What is every title when U.S. viewers is 1.04 million.
|
create table table_26736040_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))
|
select title from table_26736040_1 where us_viewers__millions_ = "1.04"
|
What is the Package Option of TV Channel with serial name "Sky Radio"?
|
create table tv_channel (package_option varchar, series_name varchar, PRIMARY KEY (package_option))
|
select package_option from tv_channel where series_name = "sky radio"
|
What gender is Quentin?
|
create table table_2933761_1 (gender varchar, name varchar, PRIMARY KEY (gender))
|
select gender from table_2933761_1 where name = "quentin"
|
Name the least runs conceded for brett lee
|
create table table_15700367_4 (runs_conceded integer, name varchar, PRIMARY KEY (runs_conceded))
|
select min(runs_conceded) from table_15700367_4 where name = "brett lee"
|
Who were the candidates in the election where william wilson was the incumbent?
|
create table table_2668336_19 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_2668336_19 where incumbent = "william wilson"
|
What is song 1 title is the artist is Danny Byrd?
|
create table table_23649244_2 (song_1_title varchar, artist_1 varchar, PRIMARY KEY (song_1_title))
|
select song_1_title from table_23649244_2 where artist_1 = "danny byrd"
|
Show me all the restaurants.
|
create table restaurant (resname varchar, PRIMARY KEY (resname))
|
select resname from restaurant
|
What are the title and director of the films without any schedule?
|
create table schedule (title varchar, directed_by varchar, film_id varchar, PRIMARY KEY (title)); create table film (title varchar, directed_by varchar, film_id varchar, PRIMARY KEY (title))
|
select title, directed_by from film where not film_id in (select film_id from schedule)
|
How many viewers did the episode directed by David Nutter draw in?
|
create table table_14929574_3 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))
|
select us_viewers__million_ from table_14929574_3 where directed_by = "david nutter"
|
Name the original title for 6.05 million viewership
|
create table table_17641206_6 (original_title varchar, viewership varchar, PRIMARY KEY (original_title))
|
select original_title from table_17641206_6 where viewership = "6.05 million"
|
what is the full name and id of the college with the largest number of baseball players?
|
create table player_college (college_id varchar, PRIMARY KEY (college_id)); create table college (name_full varchar, college_id varchar, PRIMARY KEY (name_full))
|
select t1.name_full, t1.college_id from college as t1 join player_college as t2 on t1.college_id = t2.college_id group by t1.college_id order by count(*) desc limit 1
|
What arena does the team play at that has Michael Wales as the captain?
|
create table table_2384331_1 (arena varchar, captain varchar, PRIMARY KEY (arena))
|
select arena from table_2384331_1 where captain = "michael wales"
|
Find the last name of the first ever contact person of the organization with the highest UK Vat number.
|
create table organizations (uk_vat_number integer, PRIMARY KEY (uk_vat_number)); create table individuals (individual_last_name varchar, individual_id varchar, PRIMARY KEY (individual_last_name)); create table organizations (organization_id varchar, uk_vat_number integer, PRIMARY KEY (organization_id)); create table organization_contact_individuals (organization_id varchar, individual_id varchar, date_contact_to varchar, PRIMARY KEY (organization_id))
|
select t3.individual_last_name from organizations as t1 join organization_contact_individuals as t2 on t1.organization_id = t2.organization_id join individuals as t3 on t2.individual_id = t3.individual_id where t1.uk_vat_number = (select max(uk_vat_number) from organizations) order by t2.date_contact_to limit 1
|
If the spectral type is g1v, what is the constellation?
|
create table table_1820752_1 (constellation varchar, spectral_type varchar, PRIMARY KEY (constellation))
|
select constellation from table_1820752_1 where spectral_type = "g1v"
|
Name the number of countries that have the us dollar
|
create table table_2764267_2 (country varchar, currency varchar, PRIMARY KEY (country))
|
select count(country) from table_2764267_2 where currency = "us dollar"
|
Erdoğan Arıca is the head coach at what venue?
|
create table table_17356873_1 (venue varchar, head_coach varchar, PRIMARY KEY (venue))
|
select venue from table_17356873_1 where head_coach = "erdoğan arıca"
|
find all dependent names who have a spouse relation with some employee.
|
create table dependent (dependent_name varchar, relationship varchar, PRIMARY KEY (dependent_name))
|
select dependent_name from dependent where relationship = 'spouse'
|
Who did the most high rebounds in the game where Sales (17) did the high points?
|
create table table_18904831_5 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))
|
select high_rebounds from table_18904831_5 where high_points = "sales (17)"
|
Who are the members of the club named "Hopkins Student Enterprises"? Show the last name.
|
create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid))
|
select t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = "hopkins student enterprises"
|
When 24:31 is the run time how many millions of viewers are there?
|
create table table_2102945_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))
|
select viewers__in_millions_ from table_2102945_1 where run_time = "24:31"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.