question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
Which episode had bbc ranking and canle ranking of n/a?
|
create table table_24399615_10 (episode_no varchar, bbc_three_weekly_ranking varchar, cable_rank varchar, PRIMARY KEY (episode_no))
|
select count(episode_no) from table_24399615_10 where bbc_three_weekly_ranking = "n/a" and cable_rank = "n/a"
|
display the employee ID and job name for all those jobs in department 80.
|
create table jobs (job_title varchar, job_id varchar, PRIMARY KEY (job_title)); create table employees (employee_id varchar, job_id varchar, department_id varchar, PRIMARY KEY (employee_id))
|
select t1.employee_id, t2.job_title from employees as t1 join jobs as t2 on t1.job_id = t2.job_id where t1.department_id = 80
|
On what date was the episode aired where event 2 was Hang Tough?
|
create table table_17257687_1 (air_date varchar, event_2 varchar, PRIMARY KEY (air_date))
|
select air_date from table_17257687_1 where event_2 = "hang tough"
|
What is the former school of the player from North Port, FL?
|
create table table_29418619_1 (former_school varchar, hometown varchar, PRIMARY KEY (former_school))
|
select former_school from table_29418619_1 where hometown = "north port, fl"
|
How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th?
|
create table table_26986076_1 (sat_21_aug varchar, thurs_26_aug varchar, PRIMARY KEY (sat_21_aug))
|
select count(sat_21_aug) from table_26986076_1 where thurs_26_aug = "20' 05.19 112.703mph"
|
What was the report of Mike Hawthorn's winning race?
|
create table table_1140113_5 (report varchar, winning_driver varchar, PRIMARY KEY (report))
|
select report from table_1140113_5 where winning_driver = "mike hawthorn"
|
What is the highest score of round 1 where they also shot 90 in round 2
|
create table table_14708760_3 (round_1 integer, round_2 varchar, PRIMARY KEY (round_1))
|
select max(round_1) from table_14708760_3 where round_2 = 90
|
Name the total number of male rank for fiji
|
create table table_2701625_1 (male_rank varchar, country varchar, PRIMARY KEY (male_rank))
|
select count(male_rank) from table_2701625_1 where country = "fiji"
|
What is the previous experience of the player from East Jordan, Michigan?
|
create table table_14342367_13 (previous_experience varchar, hometown varchar, PRIMARY KEY (previous_experience))
|
select previous_experience from table_14342367_13 where hometown = "east jordan, michigan"
|
When was successor George E. Harris (R) seated?
|
create table table_2417345_4 (date_successor_seated varchar, successor varchar, PRIMARY KEY (date_successor_seated))
|
select date_successor_seated from table_2417345_4 where successor = "george e. harris (r)"
|
When Grand Rapids's fare was $377.29, what is the fare to Detroit?
|
create table table_1637981_7 (detroit__dtw_ varchar, grand_rapids__grr_ varchar, PRIMARY KEY (detroit__dtw_))
|
select detroit__dtw_ from table_1637981_7 where grand_rapids__grr_ = "$377.29"
|
whe, co2 is 206g/km, what is the torque?
|
create table table_24729_2 (torque varchar, co2 varchar, PRIMARY KEY (torque))
|
select torque from table_24729_2 where co2 = "206g/km"
|
What is the name of the high schooler who has the greatest number of friends?
|
create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table friend (student_id varchar, PRIMARY KEY (student_id))
|
select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1
|
What is the population density in Buffalo Lake?
|
create table table_2500440_1 (population_density__per_km_2__ varchar, name varchar, PRIMARY KEY (population_density__per_km_2__))
|
select population_density__per_km_2__ from table_2500440_1 where name = "buffalo lake"
|
Which artists have order # 1?
|
create table table_29756040_1 (original_artist varchar, order__number varchar, PRIMARY KEY (original_artist))
|
select original_artist from table_29756040_1 where order__number = "1"
|
Describe the section h.
|
create table sections (section_description varchar, section_name varchar, PRIMARY KEY (section_description))
|
select section_description from sections where section_name = 'h'
|
What is the codename for the Core i3-32xxt?
|
create table table_24538587_11 (codename__main_article_ varchar, brand_name__list_ varchar, PRIMARY KEY (codename__main_article_))
|
select codename__main_article_ from table_24538587_11 where brand_name__list_ = "core i3-32xxt"
|
Who were the candidates in the district whose incumbent is Bill Pascrell?
|
create table table_1341453_32 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1341453_32 where incumbent = "bill pascrell"
|
Name the seasons and winners that airs 28 january 2007
|
create table table_16884579_1 (seasons_and_winners varchar, premiere varchar, PRIMARY KEY (seasons_and_winners))
|
select seasons_and_winners from table_16884579_1 where premiere = "28 january 2007"
|
How many races take place in Dessau circuit?
|
create table table_1140116_6 (race_name varchar, circuit varchar, PRIMARY KEY (race_name))
|
select count(race_name) from table_1140116_6 where circuit = "dessau"
|
What was the title when 1.121 million US people watched it?
|
create table table_23513241_5 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))
|
select title from table_23513241_5 where us_viewers__millions_ = "1.121"
|
Which template type code has most number of templates?
|
create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))
|
select template_type_code from templates group by template_type_code order by count(*) desc limit 1
|
What is the percentage of others when McCain is at 57.7%
|
create table table_20573232_1 (others_percentage varchar, mccain_percentage varchar, PRIMARY KEY (others_percentage))
|
select others_percentage from table_20573232_1 where mccain_percentage = "57.7%"
|
What is the team for the position in table 19th?
|
create table table_24231638_3 (team varchar, position_in_table varchar, PRIMARY KEY (team))
|
select team from table_24231638_3 where position_in_table = "19th"
|
List the name of all playlist.
|
create table playlists (name varchar, PRIMARY KEY (name))
|
select name from playlists
|
When sweden is the country what is the highest production in 2010 (1,000 ton)?
|
create table table_293465_1 (production_in_2010__1 integer, country varchar, PRIMARY KEY (production_in_2010__1))
|
select max(production_in_2010__1), 000 as _ton_ from table_293465_1 where country = "sweden"
|
Name the archive for run time of 23:55
|
create table table_2102782_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))
|
select archive from table_2102782_1 where run_time = "23:55"
|
How many outgoing managers were replaced by Bob Peeters?
|
create table table_27374004_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))
|
select count(outgoing_manager) from table_27374004_3 where replaced_by = "bob peeters"
|
How many assets does each maintenance contract contain? List the number and the contract id.
|
create table assets (maintenance_contract_id varchar, PRIMARY KEY (maintenance_contract_id)); create table maintenance_contracts (maintenance_contract_id varchar, PRIMARY KEY (maintenance_contract_id))
|
select count(*), t1.maintenance_contract_id from maintenance_contracts as t1 join assets as t2 on t1.maintenance_contract_id = t2.maintenance_contract_id group by t1.maintenance_contract_id
|
When tajik is the ethnicity what is islam?
|
create table table_16642_1 (islam varchar, ethnicity varchar, PRIMARY KEY (islam))
|
select islam from table_16642_1 where ethnicity = "tajik"
|
How many people are guest 1 on episodes where guest 4 is Des Kelly?
|
create table table_20466963_9 (guest_1 varchar, guest_4 varchar, PRIMARY KEY (guest_1))
|
select count(guest_1) from table_20466963_9 where guest_4 = "des kelly"
|
What was the winner share (in $) in the year when Se Ri Pak (2) was the champion?
|
create table table_229059_2 (winners_share__ integer, champion varchar, PRIMARY KEY (winners_share__))
|
select min(winners_share__) as $_ from table_229059_2 where champion = "se ri pak (2)"
|
What team had a net run rate of 0.134?
|
create table table_25368177_1 (team varchar, net_run_rate varchar, PRIMARY KEY (team))
|
select team from table_25368177_1 where net_run_rate = "0.134"
|
How many different C_{high} values are there for the good category?
|
create table table_1942366_9 (high varchar, category varchar, PRIMARY KEY (high))
|
select struct(high) from table_1942366_9 where category = "good"
|
Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0%
|
create table table_19753079_36 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select incumbent from table_19753079_36 where candidates = "sue myrick (r) 69.0% jeff doctor (d) 31.0%"
|
When peninsula is the electorate what is the reason?
|
create table table_28898974_3 (reason varchar, electorate varchar, PRIMARY KEY (reason))
|
select reason from table_28898974_3 where electorate = "peninsula"
|
Which circuit has two heats as the format?
|
create table table_19886463_1 (circuit varchar, format varchar, PRIMARY KEY (circuit))
|
select circuit from table_19886463_1 where format = "two heats"
|
Find the names of stadiums that the most swimmers have been to.
|
create table record (event_id varchar, PRIMARY KEY (event_id)); create table stadium (name varchar, id varchar, PRIMARY KEY (name)); create table event (stadium_id varchar, id varchar, PRIMARY KEY (stadium_id))
|
select t3.name from record as t1 join event as t2 on t1.event_id = t2.id join stadium as t3 on t3.id = t2.stadium_id group by t2.stadium_id order by count(*) desc limit 1
|
If the branding is Yes! FM 91.1 Boracay, what is the power?
|
create table table_19874169_3 (power__kw_ varchar, branding varchar, PRIMARY KEY (power__kw_))
|
select power__kw_ from table_19874169_3 where branding = "yes! fm 91.1 boracay"
|
What is the name of the winner when the sprints classification is no award?
|
create table table_22941863_19 (winner varchar, sprints_classification varchar, PRIMARY KEY (winner))
|
select winner from table_22941863_19 where sprints_classification = "no award"
|
What is the least amount of season epidsodes?
|
create table table_1067134_1 (_number_of_ep integer, PRIMARY KEY (_number_of_ep))
|
select min(_number_of_ep) from table_1067134_1
|
How many countries spent at least $51.0 billion in international tourism in 2012?
|
create table table_29789_3 (rank_2012 integer, international_tourism_expenditure_2011 varchar, PRIMARY KEY (rank_2012))
|
select max(rank_2012) from table_29789_3 where international_tourism_expenditure_2011 = "$51.0 billion"
|
Find the name of the source user with the highest average trust score.
|
create table useracct (name varchar, u_id varchar, PRIMARY KEY (name)); create table trust (source_u_id varchar, PRIMARY KEY (source_u_id))
|
select t1.name from useracct as t1 join trust as t2 on t1.u_id = t2.source_u_id group by t2.source_u_id order by avg(trust) desc limit 1
|
Name the total number of luna blastoff date for apollo 11
|
create table table_1558077_8 (lunar_blastoff_date varchar, mission_name varchar, PRIMARY KEY (lunar_blastoff_date))
|
select count(lunar_blastoff_date) from table_1558077_8 where mission_name = "apollo 11"
|
Name the timeslot for 6.51 viewers
|
create table table_19834691_4 (timeslot varchar, viewers__millions_ varchar, PRIMARY KEY (timeslot))
|
select timeslot from table_19834691_4 where viewers__millions_ = "6.51"
|
When оџаци is the cyrillic name other names what is the type?
|
create table table_2562572_25 (type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (type))
|
select type from table_2562572_25 where cyrillic_name_other_names = "оџаци"
|
Find the name of tracks which are in both Movies and music playlists.
|
create table playlists (id varchar, name varchar, PRIMARY KEY (id)); create table playlist_tracks (track_id varchar, playlist_id varchar, PRIMARY KEY (track_id)); create table tracks (name varchar, id varchar, PRIMARY KEY (name))
|
select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'movies' intersect select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'music'
|
What is the name of the player when n is 28?
|
create table table_22810095_8 (name varchar, n varchar, PRIMARY KEY (name))
|
select name from table_22810095_8 where n = 28
|
What was the state (class) where the new successor was formally installed on May 11, 1966?
|
create table table_1847180_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_))
|
select state__class_ from table_1847180_3 where date_of_successors_formal_installation = "may 11, 1966"
|
How many council taxes are collected for renting arrears ?
|
create table rent_arrears (id varchar, PRIMARY KEY (id))
|
select count(*) from rent_arrears
|
how many times was the catalog number cal01 / 0091037137319?
|
create table table_27303975_3 (copyright_information varchar, catalog_number varchar, PRIMARY KEY (copyright_information))
|
select count(copyright_information) from table_27303975_3 where catalog_number = "cal01 / 0091037137319"
|
In what location was a stadium built for the St Kilda Football Club?
|
create table table_28885977_1 (location varchar, built_for varchar, PRIMARY KEY (location))
|
select location from table_28885977_1 where built_for = "st kilda football club"
|
what's the highest point with lowest point being belle fourche river at south dakota border
|
create table table_1416612_1 (highest_point varchar, lowest_point varchar, PRIMARY KEY (highest_point))
|
select highest_point from table_1416612_1 where lowest_point = "belle fourche river at south dakota border"
|
What was the year of previous participation for the school in the Kagoshima prefecture?
|
create table table_2518850_4 (year_of_previous_participation varchar, prefecture varchar, PRIMARY KEY (year_of_previous_participation))
|
select year_of_previous_participation from table_2518850_4 where prefecture = "kagoshima"
|
What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?
|
create table table_100518_1 (direction varchar, graha__planet_ varchar, PRIMARY KEY (direction))
|
select direction from table_100518_1 where graha__planet_ = "bṛhaspati (jupiter)"
|
Show id and location of railways that are associated with more than one train.
|
create table railway (location varchar, railway_id varchar, PRIMARY KEY (location)); create table train (railway_id varchar, PRIMARY KEY (railway_id))
|
select t2.railway_id, t1.location from railway as t1 join train as t2 on t1.railway_id = t2.railway_id group by t2.railway_id having count(*) > 1
|
Find the name of customers who do not have an saving account.
|
create table customer (cust_name varchar, acc_type varchar, PRIMARY KEY (cust_name))
|
select cust_name from customer except select cust_name from customer where acc_type = 'saving'
|
What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters?
|
create table architect (id varchar, PRIMARY KEY (id)); create table mill (name varchar, architect_id varchar, PRIMARY KEY (name)); create table bridge (architect_id varchar, length_meters integer, PRIMARY KEY (architect_id))
|
select distinct t1.name from mill as t1 join architect as t2 on t1.architect_id = t2.id join bridge as t3 on t3.architect_id = t2.id where t3.length_meters > 80
|
What are the names of the tourist attractions that have parking or shopping as their feature details?
|
create table tourist_attraction_features (tourist_attraction_id varchar, feature_id varchar, PRIMARY KEY (tourist_attraction_id)); create table features (feature_id varchar, feature_details varchar, PRIMARY KEY (feature_id)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))
|
select t1.name from tourist_attractions as t1 join tourist_attraction_features as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id join features as t3 on t2.feature_id = t3.feature_id where t3.feature_details = 'park' union select t1.name from tourist_attractions as t1 join tourist_attraction_features as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id join features as t3 on t2.feature_id = t3.feature_id where t3.feature_details = 'shopping'
|
How many farms are there?
|
create table farm (id varchar, PRIMARY KEY (id))
|
select count(*) from farm
|
show the lowest low temperature and highest wind speed in miles per hour.
|
create table weekly_weather (low_temperature integer, wind_speed_mph integer, PRIMARY KEY (low_temperature))
|
select min(low_temperature), max(wind_speed_mph) from weekly_weather
|
How many origins have titles of Samoan cricket bats?
|
create table table_29635868_1 (origin varchar, title_ varchar, _link_to_episode_on_youtube varchar, PRIMARY KEY (origin))
|
select count(origin) from table_29635868_1 where title_ & _link_to_episode_on_youtube = "samoan cricket bats"
|
When fixed route is the type of fare how much is the 31-day pass?
|
create table table_20803241_1 (day_pass varchar, type_of_fare varchar, PRIMARY KEY (day_pass))
|
select 31 - day_pass from table_20803241_1 where type_of_fare = "fixed route"
|
what's the livingstone with fitzroy being 9499
|
create table table_12570207_1 (livingstone varchar, fitzroy varchar, PRIMARY KEY (livingstone))
|
select livingstone from table_12570207_1 where fitzroy = 9499
|
How many headquarters are there listed for HSBC?
|
create table table_1682026_7 (headquarters varchar, company varchar, PRIMARY KEY (headquarters))
|
select count(headquarters) from table_1682026_7 where company = "hsbc"
|
What are the name of courses that have at least five enrollments?
|
create table enrolled_in (cid varchar, PRIMARY KEY (cid)); create table course (cname varchar, cid varchar, PRIMARY KEY (cname))
|
select t1.cname from course as t1 join enrolled_in as t2 on t1.cid = t2.cid group by t2.cid having count(*) >= 5
|
Who is the conductor on the Multisonic label?
|
create table table_24521345_1 (conductor varchar, record_label varchar, PRIMARY KEY (conductor))
|
select conductor from table_24521345_1 where record_label = "multisonic"
|
List the titles of books that are not published.
|
create table book (title varchar, book_id varchar, PRIMARY KEY (title)); create table publication (title varchar, book_id varchar, PRIMARY KEY (title))
|
select title from book where not book_id in (select book_id from publication)
|
What is the released date for Super Mario 64 DS?
|
create table table_1616608_2 (released_date varchar, western_title varchar, PRIMARY KEY (released_date))
|
select released_date from table_1616608_2 where western_title = "super mario 64 ds"
|
How many people wrote the episode that had 6.34 million viewers?
|
create table table_17641206_2 (written_by varchar, viewership varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_17641206_2 where viewership = "6.34 million"
|
What was the margin of victory for the event in lake forest, illinois?
|
create table table_275162_1 (margin_of_victory varchar, location varchar, PRIMARY KEY (margin_of_victory))
|
select margin_of_victory from table_275162_1 where location = "lake forest, illinois"
|
What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley?
|
create table table_26986076_3 (mon_23_aug varchar, rider varchar, PRIMARY KEY (mon_23_aug))
|
select mon_23_aug from table_26986076_3 where rider = "steve linsdell 499cc royal enfield seeley"
|
What institution is located in Watertown, Wisconsin?
|
create table table_1974443_1 (institution varchar, location varchar, PRIMARY KEY (institution))
|
select institution from table_1974443_1 where location = "watertown, wisconsin"
|
Which allergy type has least number of allergies?
|
create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))
|
select allergytype from allergy_type group by allergytype order by count(*) limit 1
|
What is the nationality of the player from the University of Michigan (NCAA)?
|
create table table_1965650_11 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))
|
select nationality from table_1965650_11 where college_junior_club_team = "university of michigan (ncaa)"
|
Where does Route 24 intersect?
|
create table table_10568553_1 (location varchar, roads_intersected varchar, PRIMARY KEY (location))
|
select location from table_10568553_1 where roads_intersected = "route 24"
|
What is the team with the date of vacancy 8 dec 2010?
|
create table table_27383390_4 (team varchar, date_of_vacancy varchar, PRIMARY KEY (team))
|
select team from table_27383390_4 where date_of_vacancy = "8 dec 2010"
|
What is the location of the team Saturn?
|
create table table_20140132_1 (location varchar, team varchar, PRIMARY KEY (location))
|
select location from table_20140132_1 where team = "saturn"
|
Who wrote the episode with 8.61 million U.S. viewers?
|
create table table_24648983_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_24648983_1 where us_viewers__million_ = "8.61"
|
how many arabic scottish is afghan
|
create table table_24807774_1 (afghan varchar, arabic varchar, PRIMARY KEY (afghan))
|
select afghan from table_24807774_1 where arabic = "scottish"
|
What is the week 32 result when week 33 is 31.9%?
|
create table table_23680576_3 (week_32 varchar, week_33 varchar, PRIMARY KEY (week_32))
|
select week_32 from table_23680576_3 where week_33 = "31.9%"
|
How many times did the Centurions play the Rhein Fire?
|
create table table_27764201_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))
|
select count(game_site) from table_27764201_2 where opponent = "rhein fire"
|
What is the total gdp world rank when the gdp per capita was listed at $1,163?
|
create table table_2248991_2 (total_gdp_world_rank integer, gdp_per_capita varchar, PRIMARY KEY (total_gdp_world_rank))
|
select min(total_gdp_world_rank) from table_2248991_2 where gdp_per_capita = "$1,163"
|
How many times was Plan B 4th place?
|
create table table_17111812_1 (winner varchar, fourth varchar, PRIMARY KEY (winner))
|
select count(winner) from table_17111812_1 where fourth = "plan b"
|
How many total itv viewers were there for the episode with official itv hd ratings of 1.12 million?
|
create table table_27319183_7 (total_itv_viewers__millions_ varchar, official_itv_hd_rating__millions_ varchar, PRIMARY KEY (total_itv_viewers__millions_))
|
select total_itv_viewers__millions_ from table_27319183_7 where official_itv_hd_rating__millions_ = "1.12"
|
How many locations have a median household income in 2011 of $71,479?
|
create table table_19283806_4 (location varchar, median_household_income__2011_ varchar, PRIMARY KEY (location))
|
select count(location) from table_19283806_4 where median_household_income__2011_ = "$71,479"
|
How many locations does Elon University have?
|
create table table_16403890_1 (location varchar, institution varchar, PRIMARY KEY (location))
|
select count(location) from table_16403890_1 where institution = "elon university"
|
How many votes did Southern England cast whilst Northern Ireland cast 3?
|
create table table_10128185_2 (southern_england varchar, northern_ireland varchar, PRIMARY KEY (southern_england))
|
select southern_england from table_10128185_2 where northern_ireland = 3
|
what are the title in japanese where the reference is kids-430?
|
create table table_10979230_5 (japanese_title varchar, reference varchar, PRIMARY KEY (japanese_title))
|
select japanese_title from table_10979230_5 where reference = "kids-430"
|
Name the world rank for market value 17.2
|
create table table_19112_3 (world_rank varchar, market_value__billion_$_ varchar, PRIMARY KEY (world_rank))
|
select world_rank from table_19112_3 where market_value__billion_$_ = "17.2"
|
There are 5 imports of plywood.
|
create table table_12077540_1 (import varchar, product varchar, PRIMARY KEY (import))
|
select import from table_12077540_1 where product = "plywood"
|
Who had highest assists in game against Utah?
|
create table table_28768469_5 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))
|
select high_assists from table_28768469_5 where team = "utah"
|
Find the names of all the product characteristics.
|
create table characteristics (characteristic_name varchar, PRIMARY KEY (characteristic_name))
|
select distinct characteristic_name from characteristics
|
What is the least amount of total medals won?
|
create table table_22355_23 (total_min_2_medals_ integer, PRIMARY KEY (total_min_2_medals_))
|
select min(total_min_2_medals_) from table_22355_23
|
Name the national rank for medical university of south carolina
|
create table table_27956_3 (national_rank varchar, institution varchar, PRIMARY KEY (national_rank))
|
select national_rank from table_27956_3 where institution = "medical university of south carolina"
|
Find the name of customers who have more than one loan.
|
create table customer (cust_name varchar, cust_id varchar, PRIMARY KEY (cust_name)); create table loan (cust_id varchar, PRIMARY KEY (cust_id))
|
select t1.cust_name from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id group by t1.cust_name having count(*) > 1
|
How many medicines have the FDA approval status 'No' ?
|
create table medicine (fda_approved varchar, PRIMARY KEY (fda_approved))
|
select count(*) from medicine where fda_approved = 'no'
|
what is the title of the episode where b b is 20/16
|
create table table_19485888_1 (title__french_____english_ varchar, b_b_ varchar, _corresponds_to_tf1s_broadcast_schedule varchar, PRIMARY KEY (title__french_____english_))
|
select title__french_____english_ from table_19485888_1 where b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16
|
What municipality where the human development index in the year 2000 was 0.7827?
|
create table table_1480455_1 (municipality varchar, human_development_index__2000_ varchar, PRIMARY KEY (municipality))
|
select municipality from table_1480455_1 where human_development_index__2000_ = "0.7827"
|
What station was sent on flight up and was launched on 23 July 1980 18:33:03?
|
create table table_245800_2 (flight_up varchar, launch_date varchar, PRIMARY KEY (flight_up))
|
select flight_up from table_245800_2 where launch_date = "23 july 1980 18:33:03"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.