question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
When there are 7.5 million viewers what is the archive?
|
create table table_2102945_1 (archive varchar, viewers__in_millions_ varchar, PRIMARY KEY (archive))
|
select archive from table_2102945_1 where viewers__in_millions_ = "7.5"
|
Name the most released for apologize
|
create table table_24600706_1 (released integer, song varchar, PRIMARY KEY (released))
|
select max(released) from table_24600706_1 where song = "apologize"
|
Who is the sprint classification where Francisco Ventoso wins?
|
create table table_29332810_14 (sprint_classification varchar, winner varchar, PRIMARY KEY (sprint_classification))
|
select sprint_classification from table_29332810_14 where winner = "francisco ventoso"
|
How many losing points does Llandudno RFC have?
|
create table table_14058433_3 (losing_bonus varchar, club varchar, PRIMARY KEY (losing_bonus))
|
select losing_bonus from table_14058433_3 where club = "llandudno rfc"
|
When johannesburg is the hometown who is the contestant?
|
create table table_18626383_2 (contestant varchar, hometown varchar, PRIMARY KEY (contestant))
|
select contestant from table_18626383_2 where hometown = "johannesburg"
|
How many outcomes occur for score in the final of 6–3, 6–4, 7–6 (13–11)?
|
create table table_26202940_6 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))
|
select count(outcome) from table_26202940_6 where score_in_the_final = "6–3, 6–4, 7–6 (13–11)"
|
What's the name of the train to Madurai Junction?
|
create table table_23477312_1 (train_name varchar, destination varchar, PRIMARY KEY (train_name))
|
select train_name from table_23477312_1 where destination = "madurai junction"
|
Name the rank timeslot for 18-49 share being 13
|
create table table_20971444_3 (rank__timeslot_ varchar, share__18_49_ varchar, PRIMARY KEY (rank__timeslot_))
|
select count(rank__timeslot_) from table_20971444_3 where share__18_49_ = 13
|
what are all the addresses including line 1 and line 2?
|
create table addresses (line_1 varchar, line_2 varchar, PRIMARY KEY (line_1))
|
select line_1, line_2 from addresses
|
When james brooks (d) is the vacator what is the date the successor was seated?
|
create table table_2147588_4 (date_successor_seated varchar, vacator varchar, PRIMARY KEY (date_successor_seated))
|
select date_successor_seated from table_2147588_4 where vacator = "james brooks (d)"
|
List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest?
|
create table table_24014744_1 (putri_pariwisata_indonesia varchar, PRIMARY KEY (putri_pariwisata_indonesia))
|
select count(3 as rd_runner_up) from table_24014744_1 where putri_pariwisata_indonesia = "albertina fransisca mailoa"
|
What was the Forbers rank (all companies) in 2012 for cenovus energy?
|
create table table_23950611_2 (rank__all__2012 varchar, name varchar, PRIMARY KEY (rank__all__2012))
|
select rank__all__2012 from table_23950611_2 where name = "cenovus energy"
|
who is the incumbent with candidates being tom ridge (r) 80.9% joylyn blackwell (d) 19.1%
|
create table table_1341586_39 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select incumbent from table_1341586_39 where candidates = "tom ridge (r) 80.9% joylyn blackwell (d) 19.1%"
|
Who is the head coach when Miami University is the championship game opponent?
|
create table table_22165661_3 (head_coach varchar, championship_game_opponent varchar, PRIMARY KEY (head_coach))
|
select head_coach from table_22165661_3 where championship_game_opponent = "miami university"
|
Name the total number of median income for population 2006 for 365540
|
create table table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ varchar, population__2006_est_ varchar, PRIMARY KEY (median_monthly_per_capita___labour_force_income__hkd_))
|
select count(median_monthly_per_capita___labour_force_income__hkd_) from table_151994_1 where population__2006_est_ = 365540
|
Who held the pole position in misano world circuit?
|
create table table_23315271_2 (pole_position varchar, circuit varchar, PRIMARY KEY (pole_position))
|
select pole_position from table_23315271_2 where circuit = "misano world circuit"
|
Who won the points classifications in the stage where Matteo Priamo was the winner?
|
create table table_14710984_2 (points_classification varchar, winner varchar, PRIMARY KEY (points_classification))
|
select count(points_classification) from table_14710984_2 where winner = "matteo priamo"
|
Name the avg start for avg finish of 18.3
|
create table table_2187333_1 (avg_start varchar, avg_finish varchar, PRIMARY KEY (avg_start))
|
select avg_start from table_2187333_1 where avg_finish = "18.3"
|
Who is the director when the share is 11.8?
|
create table table_29574579_1 (directed_by varchar, share___percentage_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_29574579_1 where share___percentage_ = "11.8"
|
Who won the mens doubles at the 2006 guangzhou event?
|
create table table_28138035_6 (mens_doubles varchar, year_location varchar, PRIMARY KEY (mens_doubles))
|
select mens_doubles from table_28138035_6 where year_location = "2006 guangzhou"
|
When western carolina university is the school what is the control?
|
create table table_2076516_1 (control varchar, school varchar, PRIMARY KEY (control))
|
select control from table_2076516_1 where school = "western carolina university"
|
which country has miss universe Hungary as former pageant?
|
create table table_14308895_2 (country_territory varchar, former_pageant varchar, PRIMARY KEY (country_territory))
|
select country_territory from table_14308895_2 where former_pageant = "miss universe hungary"
|
who many times is gloucestershire is painswick?
|
create table table_12043148_2 (premier_two varchar, gloucestershire varchar, PRIMARY KEY (premier_two))
|
select count(premier_two) from table_12043148_2 where gloucestershire = "painswick"
|
What was the original air date of the episode that had 5.30 million U.S. viewers?
|
create table table_25548505_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_25548505_1 where us_viewers__millions_ = "5.30"
|
What is the number of sikhs in Japan?
|
create table table_11800185_1 (no_of_sikhs varchar, country varchar, PRIMARY KEY (no_of_sikhs))
|
select no_of_sikhs from table_11800185_1 where country = "japan"
|
Who had the high rebounds when the team played Sacramento?
|
create table table_17355408_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))
|
select high_rebounds from table_17355408_9 where team = "sacramento"
|
What is the name of this constellation with an area of 245.375 sq. deg.?
|
create table table_177766_1 (constellation varchar, area__sqdeg_ varchar, PRIMARY KEY (constellation))
|
select constellation from table_177766_1 where area__sqdeg_ = "245.375"
|
who is the the judges with local title being x factor and presenters being heikki paasonen jukka rossi (xtra factor)
|
create table table_13779832_1 (judges varchar, local_title varchar, presenters varchar, PRIMARY KEY (judges))
|
select judges from table_13779832_1 where local_title = "x factor" and presenters = "heikki paasonen jukka rossi (xtra factor)"
|
The order number 713726-713735 has what serial number?
|
create table table_2351952_1 (serial_numbers varchar, order_number varchar, PRIMARY KEY (serial_numbers))
|
select serial_numbers from table_2351952_1 where order_number = "713726-713735"
|
What is the station type of DWMC-TV?
|
create table table_2610582_3 (station_type varchar, callsign varchar, PRIMARY KEY (station_type))
|
select station_type from table_2610582_3 where callsign = "dwmc-tv"
|
List all GT4 Cup winners played on the Spa-Francorchamps Report.
|
create table table_30060356_3 (gt4_cup_winner varchar, circuit varchar, PRIMARY KEY (gt4_cup_winner))
|
select gt4_cup_winner from table_30060356_3 where circuit = "spa-francorchamps report"
|
where is hte second place winner from united kingdom?
|
create table table_1359212_2 (winner varchar, second_place varchar, PRIMARY KEY (winner))
|
select winner from table_1359212_2 where second_place = "united kingdom"
|
how many party with incumbent being whitmell p. martin
|
create table table_1342393_17 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select count(party) from table_1342393_17 where incumbent = "whitmell p. martin"
|
Who directed the episdoe veiwed by 3.24 million viewers?
|
create table table_30030477_1 (directed_by varchar, viewers__million_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_30030477_1 where viewers__million_ = "3.24"
|
How many professionals did not operate any treatment on dogs?
|
create table professionals (professional_id varchar, PRIMARY KEY (professional_id)); create table treatments (professional_id varchar, PRIMARY KEY (professional_id))
|
select count(*) from professionals where not professional_id in (select professional_id from treatments)
|
What was the aggregate score for Montauban?
|
create table table_27986200_3 (aggregate_score varchar, proceed_to_quarter_final varchar, PRIMARY KEY (aggregate_score))
|
select aggregate_score from table_27986200_3 where proceed_to_quarter_final = "montauban"
|
On broadcast date is 25april1970, how many people tuned in?
|
create table table_2102898_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))
|
select viewers__in_millions_ from table_2102898_1 where broadcast_date = "25april1970"
|
How many class AA in the year 2002-03
|
create table table_14747043_1 (class_aa varchar, school_year varchar, PRIMARY KEY (class_aa))
|
select count(class_aa) from table_14747043_1 where school_year = "2002-03"
|
Show the order ids and the number of invoices for each order.
|
create table invoices (order_id varchar, PRIMARY KEY (order_id))
|
select order_id, count(*) from invoices group by order_id
|
Find the first names of all the authors ordered in alphabetical order.
|
create table authors (fname varchar, PRIMARY KEY (fname))
|
select fname from authors order by fname
|
What is maximum group equity shareholding of the companies?
|
create table operate_company (group_equity_shareholding integer, PRIMARY KEY (group_equity_shareholding))
|
select max(group_equity_shareholding) from operate_company
|
What is the title of the original airing on e4 May 2, 2010?
|
create table table_22170495_6 (title varchar, original_airing_on_e4 varchar, PRIMARY KEY (title))
|
select title from table_22170495_6 where original_airing_on_e4 = "may 2, 2010"
|
What ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?
|
create table table_10818465_1 (ga_date varchar, processor_frequency varchar, PRIMARY KEY (ga_date))
|
select ga_date from table_10818465_1 where processor_frequency = "1.0, 1.2, 1.4ghz"
|
What is the title of the episode directed by William Webb?
|
create table table_22078906_2 (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title from table_22078906_2 where directed_by = "william webb"
|
What is the party affiliation of the incumbent Robert Cramer?
|
create table table_1805191_2 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1805191_2 where incumbent = "robert cramer"
|
What is the max pop of 2008 for selfoss?
|
create table table_2252745_1 (population_2008_07_01 integer, administrative_centre varchar, PRIMARY KEY (population_2008_07_01))
|
select max(population_2008_07_01) from table_2252745_1 where administrative_centre = "selfoss"
|
Who was the director of Pecado Mortal
|
create table table_15277629_1 (director varchar, original_title varchar, PRIMARY KEY (director))
|
select director from table_15277629_1 where original_title = "pecado mortal"
|
What is the name of Rapid City's Adult Contemporary station?
|
create table table_134987_3 (name varchar, city_of_license varchar, format varchar, PRIMARY KEY (name))
|
select name from table_134987_3 where city_of_license = "rapid city" and format = "adult contemporary"
|
Who were the writers of episode/s first aired in the US on June 9, 2012?
|
create table table_29087004_3 (written_by varchar, united_states_original_airdate varchar, PRIMARY KEY (written_by))
|
select written_by from table_29087004_3 where united_states_original_airdate = "june 9, 2012"
|
Which party is Lawrence H. Fountain part of?
|
create table table_1341738_34 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1341738_34 where incumbent = "lawrence h. fountain"
|
What date did the episode with 8.61 million U.S. viewers originally air?
|
create table table_24648983_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_24648983_1 where us_viewers__million_ = "8.61"
|
Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies.
|
create table circulation_history (id varchar, PRIMARY KEY (id)); create table employees (id varchar, PRIMARY KEY (id))
|
select employees.employee_name, count(*) from employees join circulation_history on circulation_history.employee_id = employees.employee_id group by circulation_history.document_id, circulation_history.draft_number, circulation_history.copy_number order by count(*) desc limit 1
|
Find the state and country of all cities with post code starting with 4.
|
create table addresses (state_province_county varchar, country varchar, zip_postcode varchar, PRIMARY KEY (state_province_county))
|
select state_province_county, country from addresses where zip_postcode like "4%"
|
show the train name and station name for each train.
|
create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train (name varchar, train_id varchar, PRIMARY KEY (name)); create table train_station (station_id varchar, train_id varchar, PRIMARY KEY (station_id))
|
select t2.name, t3.name from train_station as t1 join station as t2 on t1.station_id = t2.station_id join train as t3 on t3.train_id = t1.train_id
|
Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?
|
create table table_2267345_2 (general_classification varchar, young_rider_classification varchar, winner varchar, PRIMARY KEY (general_classification))
|
select general_classification from table_2267345_2 where young_rider_classification = "salvatore commesso" and winner = "erik dekker"
|
How many different voivodenship have 747 900 citizes?
|
create table table_11656578_2 (voivodeship varchar, population__1980_ varchar, PRIMARY KEY (voivodeship))
|
select count(voivodeship) from table_11656578_2 where population__1980_ = "747 900"
|
Name the class aa for 1998-99
|
create table table_14601528_2 (class_aa varchar, school_year varchar, PRIMARY KEY (class_aa))
|
select class_aa from table_14601528_2 where school_year = "1998-99"
|
What was the cylinder size of this engine that was made with only 88 pieces?
|
create table table_25695027_1 (cylinder_size varchar, number_built varchar, PRIMARY KEY (cylinder_size))
|
select cylinder_size from table_25695027_1 where number_built = "88"
|
What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50?
|
create table table_1211545_2 (name varchar, heavy_vehicle__2_axles_ varchar, PRIMARY KEY (name))
|
select name from table_1211545_2 where heavy_vehicle__2_axles_ = "r20.50"
|
What is the last year a sponsorship ended?
|
create table table_28005160_2 (sponsorship integer, PRIMARY KEY (sponsorship))
|
select max(sponsorship) as ended from table_28005160_2
|
What original air date has 5.85 u.s. viewers (million)?
|
create table table_27117365_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_27117365_1 where us_viewers__million_ = "5.85"
|
If Wed Aug 25 is —— no time, what is Sat aug 21?
|
create table table_26986076_1 (sat_21_aug varchar, wed_25_aug varchar, PRIMARY KEY (sat_21_aug))
|
select sat_21_aug from table_26986076_1 where wed_25_aug = "—— no time"
|
Who scored the most points when the Bucks played against Houston?
|
create table table_27756014_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))
|
select high_points from table_27756014_6 where team = "houston"
|
Find the last and first name of students who are playing Football or Lacrosse.
|
create table sportsinfo (stuid varchar, sportname varchar, PRIMARY KEY (stuid)); create table student (lname varchar, fname varchar, stuid varchar, PRIMARY KEY (lname))
|
select t2.lname, t2.fname from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid where t1.sportname = "football" or t1.sportname = "lacrosse"
|
Which player went to Michigan State?
|
create table table_10966926_2 (player_name varchar, college varchar, PRIMARY KEY (player_name))
|
select player_name from table_10966926_2 where college = "michigan state"
|
What is the publication date of the book that is narrated by Michael Maloney?
|
create table table_2950964_1 (published varchar, audiobook_narrator varchar, PRIMARY KEY (published))
|
select published from table_2950964_1 where audiobook_narrator = "michael maloney"
|
What is the date of the episode written by Michael Poryes?
|
create table table_12030612_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_12030612_3 where written_by = "michael poryes"
|
What is the catalogue number for "Waves in the Air"?
|
create table table_27932399_1 (catalogue_number varchar, release_title varchar, PRIMARY KEY (catalogue_number))
|
select catalogue_number from table_27932399_1 where release_title = "waves in the air"
|
Which company has a market value of 147.4?
|
create table table_1682026_2 (company varchar, market_value__billion_$_ varchar, PRIMARY KEY (company))
|
select company from table_1682026_2 where market_value__billion_$_ = "147.4"
|
Show the names of people who have been on the negative side of debates at least twice.
|
create table debate_people (negative varchar, PRIMARY KEY (negative)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))
|
select t2.name from debate_people as t1 join people as t2 on t1.negative = t2.people_id group by t2.name having count(*) >= 2
|
For which singers was Alangudi Somu the lyricist?
|
create table table_10848177_1 (singers varchar, lyricist varchar, PRIMARY KEY (singers))
|
select singers from table_10848177_1 where lyricist = "alangudi somu"
|
Find all 200 meter and 300 meter results of swimmers with nationality "Australia".
|
create table swimmer (meter_200 varchar, meter_300 varchar, nationality varchar, PRIMARY KEY (meter_200))
|
select meter_200, meter_300 from swimmer where nationality = 'australia'
|
What are all the customer phone numbers under the most popular policy type?
|
create table available_policies (customer_phone varchar, policy_type_code varchar, PRIMARY KEY (customer_phone))
|
select customer_phone from available_policies where policy_type_code = (select policy_type_code from available_policies group by policy_type_code order by count(*) desc limit 1)
|
What was the maximum 09-10 i/o best?
|
create table table_24990183_4 (id varchar, PRIMARY KEY (id))
|
select max(09 as _10_i_o_best) from table_24990183_4
|
Which terminations correspond to a US MSRP of $49?
|
create table table_1601027_1 (termination varchar, us_msrp varchar, PRIMARY KEY (termination))
|
select termination from table_1601027_1 where us_msrp = "$49"
|
What is tthe lowest number on team 3g?
|
create table table_23018775_3 (_number_number integer, team varchar, PRIMARY KEY (_number_number))
|
select min(_number_number) from table_23018775_3 where team = "team 3g"
|
what's the number of deputies with number of votes received being smaller than 1549176.2765483726 and election date being 1969
|
create table table_13746866_2 (number_of_deputies varchar, number_of_votes_received varchar, election_date varchar, PRIMARY KEY (number_of_deputies))
|
select number_of_deputies from table_13746866_2 where number_of_votes_received < 1549176.2765483726 and election_date = 1969
|
What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?
|
create table enzyme (omim integer, PRIMARY KEY (omim))
|
select max(omim) from enzyme
|
What is the QLD Cup Premierships if team is Gold Coast Vikings?
|
create table table_2383498_4 (qld_cup_premierships varchar, team varchar, PRIMARY KEY (qld_cup_premierships))
|
select qld_cup_premierships from table_2383498_4 where team = "gold coast vikings"
|
what is the display size for the calculator released in 1997?
|
create table table_11703336_1 (display_size varchar, year_released varchar, PRIMARY KEY (display_size))
|
select display_size from table_11703336_1 where year_released = "1997"
|
What was Mark Begich polling on October 6, 2008?
|
create table table_16751596_13 (democrat varchar, dates_administered varchar, PRIMARY KEY (democrat))
|
select democrat as :_mark_begich from table_16751596_13 where dates_administered = "october 6, 2008"
|
What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August?
|
create table table_23465864_4 (sat_29_aug varchar, mon_24_aug varchar, PRIMARY KEY (sat_29_aug))
|
select sat_29_aug from table_23465864_4 where mon_24_aug = "24' 17.26 93.208mph"
|
what's the department with acronym being deped (ked)
|
create table table_1331313_1 (department varchar, acronym varchar, PRIMARY KEY (department))
|
select department from table_1331313_1 where acronym = "deped (ked)"
|
List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.
|
create table lessons (lesson_id varchar, staff_id varchar, PRIMARY KEY (lesson_id)); create table staff (staff_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_id))
|
select t1.lesson_id from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = "janessa" and t2.last_name = "sawayn" and nickname like "%s%"
|
What was the turnout percentage in the place that had 44.6% vote for brown?
|
create table table_24115349_6 (turnout__percentage varchar, brown__percentage varchar, PRIMARY KEY (turnout__percentage))
|
select turnout__percentage from table_24115349_6 where brown__percentage = "44.6%"
|
Who was team 1 when the chalkheads were team 2?
|
create table table_18733480_1 (team_1 varchar, team_2 varchar, PRIMARY KEY (team_1))
|
select team_1 from table_18733480_1 where team_2 = "chalkheads"
|
What is the dpi for the scanner with a max page size of 216mm x 355mm?
|
create table table_16409745_1 (dpi varchar, max_page_size varchar, PRIMARY KEY (dpi))
|
select dpi from table_16409745_1 where max_page_size = "216mm x 355mm"
|
How many friends does the high school student Kyle have?
|
create table friend (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (id varchar, name varchar, PRIMARY KEY (id))
|
select count(*) from friend as t1 join highschooler as t2 on t1.student_id = t2.id where t2.name = "kyle"
|
If the equation is (10 times 8) + 4, what would be the 2nd throw?
|
create table table_17265535_6 (equation varchar, PRIMARY KEY (equation))
|
select max(2 as nd_throw) from table_17265535_6 where equation = "(10 times 8) + 4"
|
What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation?
|
create table table_12834315_1 (colt_model_no varchar, name varchar, case_deflector varchar, bayonet_lug varchar, stock varchar, PRIMARY KEY (colt_model_no))
|
select colt_model_no from table_12834315_1 where bayonet_lug = "no" and stock = "2nd generation" and case_deflector = "no" and name = "gau-5a/a"
|
Name the number of sement d for solar water heaters
|
create table table_15187735_18 (segment_d varchar, segment_b varchar, PRIMARY KEY (segment_d))
|
select count(segment_d) from table_15187735_18 where segment_b = "solar water heaters"
|
What is the administrative capital of LGA name Akuku-Toru?
|
create table table_1966992_1 (administrative_capital varchar, lga_name varchar, PRIMARY KEY (administrative_capital))
|
select administrative_capital from table_1966992_1 where lga_name = "akuku-toru"
|
What is every value for Under-11 if Under-19 is Leong Siu Lynn?
|
create table table_26368963_2 (under_11 varchar, under_19 varchar, PRIMARY KEY (under_11))
|
select under_11 from table_26368963_2 where under_19 = "leong siu lynn"
|
Name the 1991-1992 for river plate
|
create table table_14390413_1 (team varchar, PRIMARY KEY (team))
|
select 1991 as _1992 from table_14390413_1 where team = "river plate"
|
Give me a list of distinct product ids from orders placed between 1975-01-01 and 1976-01-01?
|
create table order_items (product_id varchar, order_id varchar, PRIMARY KEY (product_id)); create table orders (order_id varchar, date_order_placed varchar, PRIMARY KEY (order_id))
|
select distinct t2.product_id from orders as t1 join order_items as t2 on t1.order_id = t2.order_id where t1.date_order_placed >= "1975-01-01" and t1.date_order_placed <= "1976-01-01"
|
Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne?
|
create table table_23292220_8 (jasons_team varchar, seans_team varchar, PRIMARY KEY (jasons_team))
|
select jasons_team from table_23292220_8 where seans_team = "reginald d. hunter and kelly osbourne"
|
What is the church name for the church located in Kyrkjebø?
|
create table table_178389_1 (church_name varchar, location_of_the_church varchar, PRIMARY KEY (church_name))
|
select church_name from table_178389_1 where location_of_the_church = "kyrkjebø"
|
what team had ricardo serrano for combativity prize?
|
create table table_22410316_17 (team_classification varchar, combativity_prize varchar, PRIMARY KEY (team_classification))
|
select team_classification from table_22410316_17 where combativity_prize = "ricardo serrano"
|
What is the toatl number of caps where the name is Hans Blume?
|
create table table_11585313_1 (number_of_caps varchar, name varchar, PRIMARY KEY (number_of_caps))
|
select count(number_of_caps) from table_11585313_1 where name = "hans blume"
|
When chauncey billups (4) has the highest amount of assists who has the highest amount of points?
|
create table table_23285849_10 (high_points varchar, high_assists varchar, PRIMARY KEY (high_points))
|
select high_points from table_23285849_10 where high_assists = "chauncey billups (4)"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.