question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
Who was the team swash when the team guest captain was gail porter?
|
create table table_25816476_2 (team_swash varchar, team_guest_captain varchar, PRIMARY KEY (team_swash))
|
select team_swash from table_25816476_2 where team_guest_captain = "gail porter"
|
How many captains have the kitmaker as n/a?
|
create table table_27631756_2 (captain varchar, kitmaker varchar, PRIMARY KEY (captain))
|
select count(captain) from table_27631756_2 where kitmaker = "n/a"
|
what's the team with stadium being borough briggs
|
create table table_14003108_1 (team varchar, stadium varchar, PRIMARY KEY (team))
|
select team from table_14003108_1 where stadium = "borough briggs"
|
Which month has the most happy hours?
|
create table happy_hour (month varchar, PRIMARY KEY (month))
|
select month from happy_hour group by month order by count(*) desc limit 1
|
What was the overall record of Oral Roberts college?
|
create table table_16295365_1 (record varchar, school varchar, PRIMARY KEY (record))
|
select record from table_16295365_1 where school = "oral roberts"
|
Was there HDTV when the service was Privè?
|
create table table_15887683_19 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))
|
select hdtv from table_15887683_19 where television_service = "privè"
|
What is the minimum number of 50s scored?
|
create table table_27922491_24 (id varchar, PRIMARY KEY (id))
|
select min(50 as s) from table_27922491_24
|
What is every name origin with the name Ovda Fluctus?
|
create table table_16799784_12 (name varchar, PRIMARY KEY (name))
|
select name as origin from table_16799784_12 where name = "ovda fluctus"
|
What is the maximum total wins he had for any year?
|
create table table_22839669_12 (total_wins integer, PRIMARY KEY (total_wins))
|
select max(total_wins) from table_22839669_12
|
What is the affiliation when the institution was ohio christian university?
|
create table table_24195232_1 (affiliation varchar, institution varchar, PRIMARY KEY (affiliation))
|
select affiliation from table_24195232_1 where institution = "ohio christian university"
|
what is the number of provincial captial where the province is northern cape?
|
create table table_17416221_1 (provincial_capital varchar, province varchar, PRIMARY KEY (provincial_capital))
|
select count(provincial_capital) from table_17416221_1 where province = "northern cape"
|
What is the media market ranking for the Blackhawks?
|
create table table_1205598_1 (media_market_ranking varchar, nhl_team_s_ varchar, PRIMARY KEY (media_market_ranking))
|
select count(media_market_ranking) from table_1205598_1 where nhl_team_s_ = "blackhawks"
|
For team reggina please mention all the outgoing manager
|
create table table_27114708_2 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))
|
select outgoing_manager from table_27114708_2 where team = "reggina"
|
Show all document ids and the number of paragraphs in each document. Order by document id.
|
create table paragraphs (document_id varchar, PRIMARY KEY (document_id))
|
select document_id, count(*) from paragraphs group by document_id order by document_id
|
How many regions are affected?
|
create table affected_region (region_id varchar, PRIMARY KEY (region_id))
|
select count(distinct region_id) from affected_region
|
Which major has between 2 and 30 number of students? List major and the number of students.
|
create table student (major varchar, PRIMARY KEY (major))
|
select major, count(*) from student group by major having count(major) between 2 and 30
|
Which division has an average home attendance of 2.459?
|
create table table_1816947_2 (division___section varchar, average_attendance_home varchar, PRIMARY KEY (division___section))
|
select division___section from table_1816947_2 where average_attendance_home = "2.459"
|
What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?
|
create table table_23177573_1 (rank__week_ varchar, written_by varchar, directed_by varchar, PRIMARY KEY (rank__week_))
|
select rank__week_ from table_23177573_1 where written_by = "thomas l. moran" and directed_by = "andrew bernstein"
|
Who was eliminated from the competition when pau proceed to the quarter final?
|
create table table_28068063_3 (eliminated_from_competition varchar, proceed_to_quarter_final varchar, PRIMARY KEY (eliminated_from_competition))
|
select eliminated_from_competition from table_28068063_3 where proceed_to_quarter_final = "pau"
|
How many courses are offered by the Computer Info. Systems department?
|
create table course (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_code varchar, PRIMARY KEY (dept_code))
|
select count(*) from department as t1 join course as t2 on t1.dept_code = t2.dept_code where dept_name = "computer info. systems"
|
What stadium was the 1994 Gator Bowl in?
|
create table table_15190346_2 (stadium varchar, bowl_game varchar, PRIMARY KEY (stadium))
|
select stadium from table_15190346_2 where bowl_game = "1994 gator bowl"
|
How many courses that do not have prerequisite?
|
create table prereq (course_id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, PRIMARY KEY (course_id))
|
select count(*) from course where not course_id in (select course_id from prereq)
|
Name the awardee for tingya
|
create table table_24446718_3 (awardee_s_ varchar, name_of_film varchar, PRIMARY KEY (awardee_s_))
|
select awardee_s_ from table_24446718_3 where name_of_film = "tingya"
|
What is the population density of Caramoran?
|
create table table_255829_1 (pop_density__per_km_2__ varchar, municipality varchar, PRIMARY KEY (pop_density__per_km_2__))
|
select pop_density__per_km_2__ from table_255829_1 where municipality = "caramoran"
|
Name the years in orlando for penn state
|
create table table_15621965_1 (years_in_orlando varchar, school_club_team varchar, PRIMARY KEY (years_in_orlando))
|
select years_in_orlando from table_15621965_1 where school_club_team = "penn state"
|
What is the document id, template id and description for document named "Robbin CV"?
|
create table documents (document_id varchar, template_id varchar, document_description varchar, document_name varchar, PRIMARY KEY (document_id))
|
select document_id, template_id, document_description from documents where document_name = "robbin cv"
|
When Brett Lancaster won the general classification, who won the team calssification?
|
create table table_25055040_22 (team_classification varchar, general_classification varchar, PRIMARY KEY (team_classification))
|
select team_classification from table_25055040_22 where general_classification = "brett lancaster"
|
What was the table position for the team whose outgoing manager was Brian Laws?
|
create table table_26593762_3 (position_in_table varchar, outgoing_manager varchar, PRIMARY KEY (position_in_table))
|
select position_in_table from table_26593762_3 where outgoing_manager = "brian laws"
|
Find the first name and office of history professor who did not get a Ph.D. degree.
|
create table department (dept_code varchar, dept_name varchar, PRIMARY KEY (dept_code)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, prof_high_degree varchar, PRIMARY KEY (prof_office)); create table employee (emp_fname varchar, emp_num varchar, PRIMARY KEY (emp_fname))
|
select t2.emp_fname, t1.prof_office from professor as t1 join employee as t2 on t1.emp_num = t2.emp_num join department as t3 on t1.dept_code = t3.dept_code where t3.dept_name = 'history' and t1.prof_high_degree <> 'ph.d.'
|
what is the total rank where the rank is 58?
|
create table table_15681686_4 (rank__timeslot_ varchar, rank__week_ varchar, PRIMARY KEY (rank__timeslot_))
|
select count(rank__timeslot_) from table_15681686_4 where rank__week_ = "58"
|
Find names of all students who took some course and got A or C.
|
create table enroll (stu_num varchar, enroll_grade varchar, PRIMARY KEY (stu_num)); create table student (stu_fname varchar, stu_lname varchar, stu_num varchar, PRIMARY KEY (stu_fname))
|
select t1.stu_fname, t1.stu_lname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num where t2.enroll_grade = 'c' or t2.enroll_grade = 'a'
|
how many endings have american pronounciation əs
|
create table table_17798093_20 (australian varchar, american varchar, PRIMARY KEY (australian))
|
select count(australian) from table_17798093_20 where american = "əs"
|
What is the market value of a company in billions that has 172.7 billion in sales?
|
create table table_1682026_6 (market_value__billion_$_ varchar, sales__billion_$_ varchar, PRIMARY KEY (market_value__billion_$_))
|
select market_value__billion_$_ from table_1682026_6 where sales__billion_$_ = "172.7"
|
Who was the republican candidate in 2013 when Staten Island was 451?
|
create table table_1108394_6 (staten_island varchar, PRIMARY KEY (staten_island))
|
select 2013 as _republican_primary from table_1108394_6 where staten_island = "451"
|
What's the BTU/Gal of the fuel whose kWh/Gal is 24.04?
|
create table table_2224692_1 (btu_gal varchar, kwh_gal varchar, PRIMARY KEY (btu_gal))
|
select btu_gal from table_2224692_1 where kwh_gal = "24.04"
|
What is the theme when the date of issue is 11 january 2010?
|
create table table_25468520_1 (theme varchar, date_of_issue varchar, PRIMARY KEY (theme))
|
select theme from table_25468520_1 where date_of_issue = "11 january 2010"
|
List the authors who do not have submission to any workshop.
|
create table acceptance (author varchar, submission_id varchar, PRIMARY KEY (author)); create table submission (author varchar, submission_id varchar, PRIMARY KEY (author))
|
select author from submission where not submission_id in (select submission_id from acceptance)
|
How many groups of candidates are there in there in the district where the incumbent is Doc Hastings?
|
create table table_16185956_1 (incumbent varchar, PRIMARY KEY (incumbent))
|
select count(2008 as _candidates) from table_16185956_1 where incumbent = "doc hastings"
|
Name the past habitual for गर्छ garcha 'he does'
|
create table table_16337329_5 (past_habitual varchar, probable_future varchar, PRIMARY KEY (past_habitual))
|
select past_habitual from table_16337329_5 where probable_future = "गर्छ garcha 'he does'"
|
How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
|
create table table_1341663_26 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select count(incumbent) from table_1341663_26 where candidates = "dick gephardt (d) 81.9% lee buchschacher (r) 18.1%"
|
How many stadiums have haka as the club?
|
create table table_29250534_1 (stadium varchar, club varchar, PRIMARY KEY (stadium))
|
select count(stadium) from table_29250534_1 where club = "haka"
|
Who did the Orangemen play against when their record was 5-1?
|
create table table_23346983_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))
|
select opponent from table_23346983_1 where record = "5-1"
|
What are the directions for the guardian whose weapon is khaḍga (sword)?
|
create table table_100518_1 (direction varchar, weapon varchar, PRIMARY KEY (direction))
|
select direction from table_100518_1 where weapon = "khaḍga (sword)"
|
how many times is march 27-29 is 129?
|
create table table_25355392_2 (november_3 varchar, march_27_29 varchar, PRIMARY KEY (november_3))
|
select count(november_3) from table_25355392_2 where march_27_29 = "129"
|
List the name, nationality and id of all male architects ordered by their names lexicographically.
|
create table architect (name varchar, nationality varchar, id varchar, gender varchar, PRIMARY KEY (name))
|
select name, nationality, id from architect where gender = 'male' order by name
|
Display all the information about the department Marketing.
|
create table departments (department_name varchar, PRIMARY KEY (department_name))
|
select * from departments where department_name = 'marketing'
|
What is the verb meaning of the word with part 3 "sufun"?
|
create table table_1745843_8 (verb_meaning varchar, part_3 varchar, PRIMARY KEY (verb_meaning))
|
select verb_meaning from table_1745843_8 where part_3 = "sufun"
|
Find the names of all instructors in computer science department
|
create table instructor (name varchar, dept_name varchar, PRIMARY KEY (name))
|
select name from instructor where dept_name = 'comp. sci.'
|
Which kickoff has the opponent at new orleans saints?
|
create table table_11449590_2 (kickoff_ varchar, a_ varchar, opponent varchar, PRIMARY KEY (kickoff_))
|
select kickoff_[a_] from table_11449590_2 where opponent = "at new orleans saints"
|
When дероње is the cyrillic name other names what is the largest ethnic group of 2002?
|
create table table_2562572_25 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_25 where cyrillic_name_other_names = "дероње"
|
What date did the Green-Communists receive 5.7%?
|
create table table_1881642_1 (date_released varchar, green_communist varchar, PRIMARY KEY (date_released))
|
select date_released from table_1881642_1 where green_communist = "5.7%"
|
what's the lowest elevation with highest point being charles mound
|
create table table_1416612_1 (lowest_elevation varchar, highest_point varchar, PRIMARY KEY (lowest_elevation))
|
select lowest_elevation from table_1416612_1 where highest_point = "charles mound"
|
What make was the car driven by Jeff Gordon?
|
create table table_27940569_1 (make varchar, driver varchar, PRIMARY KEY (make))
|
select make from table_27940569_1 where driver = "jeff gordon"
|
How many distinct students have been in detention?
|
create table students_in_detention (student_id varchar, PRIMARY KEY (student_id))
|
select count(distinct student_id) from students_in_detention
|
Who was the candidate when the incumbent was Richard C. White?
|
create table table_1341843_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1341843_44 where incumbent = "richard c. white"
|
How many agencies did Budarin Nikolai Budarin working for?
|
create table table_14125006_1 (agency varchar, astronaut varchar, PRIMARY KEY (agency))
|
select count(agency) from table_14125006_1 where astronaut = "budarin nikolai budarin"
|
Who has the most assists on Denver?
|
create table table_17311812_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))
|
select high_assists from table_17311812_8 where team = "denver"
|
What are the names of workshop groups in which services with product name "film" are performed?
|
create table services (workshop_group_id varchar, product_name varchar, PRIMARY KEY (workshop_group_id)); create table drama_workshop_groups (store_phone varchar, store_email_address varchar, workshop_group_id varchar, PRIMARY KEY (store_phone))
|
select t1.store_phone, t1.store_email_address from drama_workshop_groups as t1 join services as t2 on t1.workshop_group_id = t2.workshop_group_id where t2.product_name = "film"
|
What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard?
|
create table table_27369069_4 (province varchar, soccer_stadium varchar, PRIMARY KEY (province))
|
select province from table_27369069_4 where soccer_stadium = "terrain #2 of complexe sportif claude-robillard"
|
What circuit was the race where Hideki Mutoh had the fastest lap?
|
create table table_10264179_2 (circuit varchar, fastest_lap varchar, PRIMARY KEY (circuit))
|
select circuit from table_10264179_2 where fastest_lap = "hideki mutoh"
|
How many products are there under the category "Seeds"?
|
create table products (product_category_code varchar, PRIMARY KEY (product_category_code))
|
select count(*) from products where product_category_code = "seeds"
|
What is the date of appointment when replaced by is roy hodgson?
|
create table table_10592536_8 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))
|
select date_of_appointment from table_10592536_8 where replaced_by = "roy hodgson"
|
How many companies are there?
|
create table companies (id varchar, PRIMARY KEY (id))
|
select count(*) from companies
|
What is the ydi minimum?
|
create table table_25773915_11 (ydl integer, PRIMARY KEY (ydl))
|
select min(ydl) from table_25773915_11
|
What is the total number of population in the year 2005 where the population density 35.9 (/km 2)?
|
create table table_1480455_1 (population__2005_ varchar, population_density___km_2__ varchar, PRIMARY KEY (population__2005_))
|
select count(population__2005_) from table_1480455_1 where population_density___km_2__ = "35.9"
|
What teams does jim mcinally manage?
|
create table table_11207040_6 (team varchar, outgoing_manager varchar, PRIMARY KEY (team))
|
select team from table_11207040_6 where outgoing_manager = "jim mcinally"
|
What is the number of region 4 for the series of the complete seventh series?
|
create table table_1337525_1 (region_4 varchar, complete_series varchar, PRIMARY KEY (region_4))
|
select count(region_4) from table_1337525_1 where complete_series = "the complete seventh series"
|
Give me the start station and end station for the trips with the three oldest id.
|
create table trip (start_station_name varchar, end_station_name varchar, id varchar, PRIMARY KEY (start_station_name))
|
select start_station_name, end_station_name from trip order by id limit 3
|
What is the earnings per share when the net profit is 16.2 million dollars?
|
create table table_18077713_1 (earnings_per_share__¢_ varchar, net_profit__us_$m_ varchar, PRIMARY KEY (earnings_per_share__¢_))
|
select earnings_per_share__¢_ from table_18077713_1 where net_profit__us_$m_ = "16.2"
|
What couple had a vote percentage of 7.691%
|
create table table_19744915_15 (couple varchar, vote_percentage varchar, PRIMARY KEY (couple))
|
select couple from table_19744915_15 where vote_percentage = "7.691%"
|
Find the full name of employee who supported the most number of customers.
|
create table employees (first_name varchar, last_name varchar, id varchar, PRIMARY KEY (first_name)); create table customers (support_rep_id varchar, PRIMARY KEY (support_rep_id))
|
select t1.first_name, t1.last_name from employees as t1 join customers as t2 on t1.id = t2.support_rep_id group by t1.id order by count(*) desc limit 1
|
What is the Poor Law Union for Coolkirky?
|
create table table_30120633_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))
|
select poor_law_union from table_30120633_1 where townland = "coolkirky"
|
When was the first UK broadcast for the episode with an official TNS Gallup rating of 1575000?
|
create table table_26591309_2 (first_broadcast_uk___bbc_four__ varchar, official_tns_gallup_ratings varchar, PRIMARY KEY (first_broadcast_uk___bbc_four__))
|
select first_broadcast_uk___bbc_four__ from table_26591309_2 where official_tns_gallup_ratings = 1575000
|
How many 3rd ru does Costa Rica have?
|
create table table_17522854_6 (country varchar, PRIMARY KEY (country))
|
select max(3 as rd_ru) from table_17522854_6 where country = "costa rica"
|
What was the teams record when they played the ottawa senators?
|
create table table_27539535_7 (record varchar, opponent varchar, PRIMARY KEY (record))
|
select record from table_27539535_7 where opponent = "ottawa senators"
|
Name the para for 1.5% commewijne
|
create table table_16886076_1 (para varchar, commewijne varchar, PRIMARY KEY (para))
|
select para from table_16886076_1 where commewijne = "1.5%"
|
How many dvd titled "series 5" were released having a release date or a non available date in region 2?
|
create table table_17697980_1 (region_2 varchar, dvd_title varchar, PRIMARY KEY (region_2))
|
select count(region_2) from table_17697980_1 where dvd_title = "series 5"
|
Name the total viewers on hallmark for pilot
|
create table table_24222929_4 (total_viewers_on_hallmark varchar, title varchar, PRIMARY KEY (total_viewers_on_hallmark))
|
select total_viewers_on_hallmark + 1 from table_24222929_4 where title = "pilot"
|
What is the original artist when the vocal percussionist is Alexei Kalveks?
|
create table table_28715942_5 (original_artist varchar, vocal_percussionist varchar, PRIMARY KEY (original_artist))
|
select original_artist from table_28715942_5 where vocal_percussionist = "alexei kalveks"
|
For High Assists of Raymond Felton (12), who were the High rebounds?
|
create table table_17001658_10 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))
|
select high_rebounds from table_17001658_10 where high_assists = "raymond felton (12)"
|
Show total hours per week and number of games played for student David Shieber.
|
create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))
|
select sum(hoursperweek), sum(gamesplayed) from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid where t2.fname = "david" and t2.lname = "shieber"
|
display the department name and number of employees in each of the department.
|
create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name)); create table employees (department_id varchar, PRIMARY KEY (department_id))
|
select t2.department_name, count(*) from employees as t1 join departments as t2 on t1.department_id = t2.department_id group by t2.department_name
|
When there are 9.28 million viewers what is the share (18-49)?
|
create table table_28980706_4 (share__18_49_ varchar, viewers__millions_ varchar, PRIMARY KEY (share__18_49_))
|
select share__18_49_ from table_28980706_4 where viewers__millions_ = "9.28"
|
Find the name of the ships that have more than one captain.
|
create table captain (ship_id varchar, PRIMARY KEY (ship_id)); create table ship (name varchar, ship_id varchar, PRIMARY KEY (name))
|
select t1.name from ship as t1 join captain as t2 on t1.ship_id = t2.ship_id group by t2.ship_id having count(*) > 1
|
Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion?
|
create table table_29295463_9 (semifinalists varchar, champion varchar, PRIMARY KEY (semifinalists))
|
select semifinalists from table_29295463_9 where champion = "mats wilander 7-6, 6-3"
|
Who directed the show that was viewed by 2.06 million U.S. people?
|
create table table_11694832_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_11694832_1 where us_viewers__millions_ = "2.06"
|
What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico?
|
create table table_11622562_1 (location varchar, PRIMARY KEY (location))
|
select min(1 as st_prize__) as $__ from table_11622562_1 where location = "new mexico"
|
What poor law union is Curradonohoe a part of?
|
create table table_30120555_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))
|
select poor_law_union from table_30120555_1 where townland = "curradonohoe"
|
Name the least episode for november 29, 1985
|
create table table_20967430_2 (ep integer, original_air_date varchar, PRIMARY KEY (ep))
|
select min(ep) from table_20967430_2 where original_air_date = "november 29, 1985"
|
How many entries are listed for party during the 69th congress?
|
create table table_2841865_2 (party varchar, congress varchar, PRIMARY KEY (party))
|
select count(party) from table_2841865_2 where congress = "69th"
|
WHat is the them for the order #2?
|
create table table_26250145_1 (theme varchar, order__number varchar, PRIMARY KEY (theme))
|
select theme from table_26250145_1 where order__number = "2"
|
Show the names of conductors that have conducted more than one orchestras.
|
create table orchestra (conductor_id varchar, PRIMARY KEY (conductor_id)); create table conductor (name varchar, conductor_id varchar, PRIMARY KEY (name))
|
select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id having count(*) > 1
|
What is the first year course in the program where geometry is taken in the third year?
|
create table table_12148147_2 (first_year varchar, third_year varchar, PRIMARY KEY (first_year))
|
select first_year from table_12148147_2 where third_year = "geometry"
|
When winner is the status and 77 is the total days in pbb house what is the edition?
|
create table table_19061741_3 (edition varchar, total_days_in_pbb_house varchar, status varchar, PRIMARY KEY (edition))
|
select edition from table_19061741_3 where total_days_in_pbb_house = 77 and status = "winner"
|
Show the number of transactions with transaction type code "SALE" for different investors if it is larger than 0.
|
create table transactions (investor_id varchar, transaction_type_code varchar, PRIMARY KEY (investor_id))
|
select investor_id, count(*) from transactions where transaction_type_code = "sale" group by investor_id
|
For each nomination, show the name of the artwork and name of the festival where it is nominated.
|
create table artwork (name varchar, artwork_id varchar, PRIMARY KEY (name)); create table nomination (artwork_id varchar, festival_id varchar, PRIMARY KEY (artwork_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name))
|
select t2.name, t3.festival_name from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id
|
If the event number is 5, what is the winner total number?
|
create table table_2534387_11 (winner varchar, event__number varchar, PRIMARY KEY (winner))
|
select count(winner) from table_2534387_11 where event__number = 5
|
Show the company name and the main industry for all companies whose headquarters are not from USA.
|
create table company (company varchar, main_industry varchar, headquarters varchar, PRIMARY KEY (company))
|
select company, main_industry from company where headquarters <> 'usa'
|
In which league would you find the player with a comp percentage of 54.0?
|
create table table_18686317_1 (leagues varchar, comp__percentage varchar, PRIMARY KEY (leagues))
|
select leagues from table_18686317_1 where comp__percentage = "54.0"
|
Who owned the team Jeremy Mayfield raced for?
|
create table table_1529793_1 (listed_owner_s_ varchar, driver_s_ varchar, PRIMARY KEY (listed_owner_s_))
|
select listed_owner_s_ from table_1529793_1 where driver_s_ = "jeremy mayfield"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.