question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT?
|
create table table_1566852_3 (interview_subject varchar, centerfold_model varchar, PRIMARY KEY (interview_subject))
|
select interview_subject from table_1566852_3 where centerfold_model = "nicole narain"
|
what's the thursday iuppiter (jupiter) with tuesday mars (mars) being marterì
|
create table table_1277350_1 (thursday_iuppiter__jupiter_ varchar, tuesday_mars__mars_ varchar, PRIMARY KEY (thursday_iuppiter__jupiter_))
|
select thursday_iuppiter__jupiter_ from table_1277350_1 where tuesday_mars__mars_ = "marterì"
|
What is the average speed for filmar racing?
|
create table table_28178756_1 (average_speed__mph_ varchar, team varchar, PRIMARY KEY (average_speed__mph_))
|
select average_speed__mph_ from table_28178756_1 where team = "filmar racing"
|
How many nationalities/sponsors for mirror/type schmidt uv?
|
create table table_23851574_2 (nationality_sponsors varchar, mirror_type varchar, PRIMARY KEY (nationality_sponsors))
|
select count(nationality_sponsors) from table_23851574_2 where mirror_type = "schmidt uv"
|
Who wrote the episode for s02 e07?
|
create table table_16384596_4 (written_by varchar, broadcast_order varchar, PRIMARY KEY (written_by))
|
select written_by from table_16384596_4 where broadcast_order = "s02 e07"
|
Which song has the most vocals?
|
create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))
|
select title from vocals as t1 join songs as t2 on t1.songid = t2.songid group by t1.songid order by count(*) desc limit 1
|
What is in 1st place when present is mogu?
|
create table table_27298240_28 (present varchar, PRIMARY KEY (present))
|
select 1 as st from table_27298240_28 where present = "mogu"
|
Find the names of the trains that do not pass any station located in London.
|
create table station (station_id varchar, PRIMARY KEY (station_id)); create table train_station (station_id varchar, PRIMARY KEY (station_id)); create table train_station (train_id varchar, station_id varchar, PRIMARY KEY (train_id)); create table train (name varchar, train_id varchar, PRIMARY KEY (name))
|
select t2.name from train_station as t1 join train as t2 on t1.train_id = t2.train_id where not t1.station_id in (select t4.station_id from train_station as t3 join station as t4 on t3.station_id = t4.station_id where t4.location = "london")
|
What was the title of the episode that aired February 9, 1979?
|
create table table_2343740_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))
|
select title from table_2343740_1 where original_air_date = "february 9, 1979"
|
Who left a position on 24 January?
|
create table table_17327458_1 (outgoing_manager varchar, date_of_vacancy varchar, PRIMARY KEY (outgoing_manager))
|
select outgoing_manager from table_17327458_1 where date_of_vacancy = "24 january"
|
What were the blocks per game in the selection where the field goal percentage was .594 (2nd)?
|
create table table_25774493_3 (blocks_per_game varchar, field_goal_percentage varchar, PRIMARY KEY (blocks_per_game))
|
select blocks_per_game from table_25774493_3 where field_goal_percentage = ".594 (2nd)"
|
how many times is the team oklahoma city?
|
create table table_27715173_8 (high_points varchar, team varchar, PRIMARY KEY (high_points))
|
select count(high_points) from table_27715173_8 where team = "oklahoma city"
|
How many train stations are there?
|
create table station (id varchar, PRIMARY KEY (id))
|
select count(*) from station
|
what was written by alex carter?
|
create table table_26561498_1 (written_by varchar, patient_portrayer varchar, PRIMARY KEY (written_by))
|
select written_by from table_26561498_1 where patient_portrayer = "alex carter"
|
Find the names of stadiums that some Australian swimmers have been to.
|
create table swimmer (id varchar, nationality varchar, PRIMARY KEY (id)); create table record (swimmer_id varchar, event_id varchar, PRIMARY KEY (swimmer_id)); create table stadium (name varchar, id varchar, PRIMARY KEY (name)); create table event (id varchar, stadium_id varchar, PRIMARY KEY (id))
|
select t4.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id join event as t3 on t2.event_id = t3.id join stadium as t4 on t4.id = t3.stadium_id where t1.nationality = 'australia'
|
Name the hypotenuse for vertices 月山泛 δymf
|
create table table_25519358_1 (hypotenuse_0_c varchar, vertices varchar, PRIMARY KEY (hypotenuse_0_c))
|
select hypotenuse_0_c from table_25519358_1 where vertices = "月山泛 δymf"
|
What is the airdate when the director is george spenton-foster
|
create table table_15739098_1 (airdate varchar, director varchar, PRIMARY KEY (airdate))
|
select airdate from table_15739098_1 where director = "george spenton-foster"
|
What was the time in part 3 when Heikki Kovalainen was the driver?
|
create table table_20159025_1 (part_3 varchar, driver varchar, PRIMARY KEY (part_3))
|
select part_3 from table_20159025_1 where driver = "heikki kovalainen"
|
For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees.
|
create table circulation_history (document_id varchar, employee_id varchar, PRIMARY KEY (document_id))
|
select document_id, count(distinct employee_id) from circulation_history group by document_id
|
For livorno team mention all the manner of departure
|
create table table_27114708_2 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure))
|
select manner_of_departure from table_27114708_2 where team = "livorno"
|
Where the mantra is "oṃ yaṃ vāyuve namaḥ", what is the direction of the guardian?
|
create table table_100518_1 (direction varchar, mantra varchar, PRIMARY KEY (direction))
|
select direction from table_100518_1 where mantra = "oṃ yaṃ vāyuve namaḥ"
|
Show flight number, origin, destination of all flights in the alphabetical order of the departure cities.
|
create table flight (flno varchar, origin varchar, destination varchar, PRIMARY KEY (flno))
|
select flno, origin, destination from flight order by origin
|
List the nominees that have been nominated more than two musicals.
|
create table musical (nominee varchar, PRIMARY KEY (nominee))
|
select nominee from musical group by nominee having count(*) > 2
|
What is every value for Polish when Balarusian is ноч?
|
create table table_25008327_8 (polish varchar, belarusian varchar, PRIMARY KEY (polish))
|
select polish from table_25008327_8 where belarusian = "ноч"
|
What is first names of the top 5 staff who have handled the greatest number of complaints?
|
create table complaints (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (first_name varchar, staff_id varchar, PRIMARY KEY (first_name))
|
select t1.first_name from staff as t1 join complaints as t2 on t1.staff_id = t2.staff_id group by t2.staff_id order by count(*) limit 5
|
Which locomotive type has a status in static display
|
create table table_15827397_1 (locomotive_type varchar, status varchar, PRIMARY KEY (locomotive_type))
|
select locomotive_type from table_15827397_1 where status = "static display"
|
What was the type of ballot measures if the % of yes vote is 32.47%?
|
create table table_256286_8 (type varchar, _percentage_yes varchar, PRIMARY KEY (type))
|
select type from table_256286_8 where _percentage_yes = "32.47%"
|
Who is the losing pitcher when the winning pitcher is roy oswalt?
|
create table table_12125069_2 (losing_pitcher varchar, winning_pitcher varchar, PRIMARY KEY (losing_pitcher))
|
select losing_pitcher from table_12125069_2 where winning_pitcher = "roy oswalt"
|
When no.55 ipb spartak racing is the g1 winning team what are the results?
|
create table table_19722436_2 (results varchar, gt1_winning_team varchar, PRIMARY KEY (results))
|
select results from table_19722436_2 where gt1_winning_team = "no.55 ipb spartak racing"
|
What is the original United States air date of the episode written by Mike Ferris?
|
create table table_29087004_2 (united_states_original_airdate varchar, written_by varchar, PRIMARY KEY (united_states_original_airdate))
|
select united_states_original_airdate from table_29087004_2 where written_by = "mike ferris"
|
What are the coreceptors of the chromosomes in that location 11q22.2-q22.3?
|
create table table_29871617_1 (coreceptor varchar, chromosomal_location varchar, PRIMARY KEY (coreceptor))
|
select coreceptor from table_29871617_1 where chromosomal_location = "11q22.2-q22.3"
|
What is the brand in Cabanatuan?
|
create table table_19215259_1 (branding varchar, location varchar, PRIMARY KEY (branding))
|
select branding from table_19215259_1 where location = "cabanatuan"
|
What's the title of the episode that Rob Heyland wrote?
|
create table table_14330096_3 (title varchar, writer varchar, PRIMARY KEY (title))
|
select title from table_14330096_3 where writer = "rob heyland"
|
what is the maximum number of hull numbers?
|
create table table_12232526_2 (hull_numbers integer, PRIMARY KEY (hull_numbers))
|
select max(hull_numbers) from table_12232526_2
|
What are the ids of documents which don't have expense budgets?
|
create table documents (document_id varchar, PRIMARY KEY (document_id)); create table documents_with_expenses (document_id varchar, PRIMARY KEY (document_id))
|
select document_id from documents except select document_id from documents_with_expenses
|
What is the round of 32 for fatih keleş?
|
create table table_27294107_11 (round_of_32 varchar, athlete varchar, PRIMARY KEY (round_of_32))
|
select round_of_32 from table_27294107_11 where athlete = "fatih keleş"
|
The episode where the director is Gene Reynolds has who as the writer?
|
create table table_26866233_1 (writer varchar, director varchar, PRIMARY KEY (writer))
|
select writer from table_26866233_1 where director = "gene reynolds"
|
How many parties does incumbent carl vinson represent?
|
create table table_1342249_11 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select count(party) from table_1342249_11 where incumbent = "carl vinson"
|
who was the incoming manager for the 12th position in the table
|
create table table_26914759_3 (incoming_manager varchar, position_in_table varchar, PRIMARY KEY (incoming_manager))
|
select incoming_manager from table_26914759_3 where position_in_table = "12th"
|
Name the aircraft type for furstenau/vorden
|
create table table_28342423_1 (aircraft_type varchar, geschwader_base varchar, PRIMARY KEY (aircraft_type))
|
select aircraft_type from table_28342423_1 where geschwader_base = "furstenau/vorden"
|
Who was the home team when the away team was fulham?
|
create table table_24887326_7 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))
|
select home_team from table_24887326_7 where away_team = "fulham"
|
What was the population of the coastal location Isio in May of 2000?
|
create table table_2051288_1 (_2000_ varchar, population__may integer, location varchar, barangay varchar, PRIMARY KEY (_2000_))
|
select min(population__may), _2000_ from table_2051288_1 where location = "coastal" and barangay = "isio"
|
What are the names and locations of festivals?
|
create table festival_detail (festival_name varchar, location varchar, PRIMARY KEY (festival_name))
|
select festival_name, location from festival_detail
|
What is the nationality of the player from the Detroit Red Wings?
|
create table table_1213511_6 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))
|
select nationality from table_1213511_6 where nhl_team = "detroit red wings"
|
Who was the driver when the time in part 3 was 1:31.386?
|
create table table_20159025_1 (driver varchar, part_1 varchar, PRIMARY KEY (driver))
|
select driver from table_20159025_1 where part_1 = "1:31.386"
|
Name the number of awardees for english and hindi
|
create table table_24446718_7 (awardee_s_ varchar, language varchar, PRIMARY KEY (awardee_s_))
|
select count(awardee_s_) from table_24446718_7 where language = "english and hindi"
|
What is the number of song choices where the original artist was Bright Eyes?
|
create table table_26250155_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))
|
select count(song_choice) from table_26250155_1 where original_artist = "bright eyes"
|
What was the name of the race that Al Unser had the pole position?
|
create table table_22673872_1 (race_name varchar, pole_position varchar, PRIMARY KEY (race_name))
|
select race_name from table_22673872_1 where pole_position = "al unser"
|
what is the unemployment rate where the market income per capita is $16,406?
|
create table table_22815568_13 (unemployment_rate varchar, market_income_per_capita varchar, PRIMARY KEY (unemployment_rate))
|
select unemployment_rate from table_22815568_13 where market_income_per_capita = "$16,406"
|
who were the writers of the episode that had 5.56 millions of north american viewers?
|
create table table_27914606_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_27914606_1 where us_viewers__millions_ = "5.56"
|
What was the original air date of this episode that was written by Debbie Sarjeant?
|
create table table_17623902_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))
|
select original_air_date from table_17623902_1 where written_by = "debbie sarjeant"
|
Which campus has the most degrees conferred in all times?
|
create table degrees (campus varchar, degrees integer, PRIMARY KEY (campus))
|
select campus from degrees group by campus order by sum(degrees) desc limit 1
|
What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph?
|
create table table_30058355_3 (fri_26_aug varchar, mon_22_aug varchar, PRIMARY KEY (fri_26_aug))
|
select fri_26_aug from table_30058355_3 where mon_22_aug = "32' 25.72 69.809mph"
|
what is the public vote on graeme & kristina
|
create table table_19744915_3 (public_vote varchar, couple varchar, PRIMARY KEY (public_vote))
|
select public_vote from table_19744915_3 where couple = "graeme & kristina"
|
What is the Irish name for the £1 fraction of 1/240?
|
create table table_1682865_1 (irish_name varchar, £1_fraction varchar, PRIMARY KEY (irish_name))
|
select irish_name from table_1682865_1 where £1_fraction = "1/240"
|
How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?
|
create table table_1341690_21 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))
|
select count(incumbent) from table_1341690_21 where candidates = "paul tsongas (d) 60.6% paul w. cronin (r) 39.4%"
|
Show the names of the buildings that have more than one company offices.
|
create table buildings (name varchar, id varchar, PRIMARY KEY (name)); create table companies (id varchar, PRIMARY KEY (id)); create table office_locations (building_id varchar, company_id varchar, PRIMARY KEY (building_id))
|
select t2.name from office_locations as t1 join buildings as t2 on t1.building_id = t2.id join companies as t3 on t1.company_id = t3.id group by t1.building_id having count(*) > 1
|
what are all the u15 3rd iv with u15 4th iv being bbc
|
create table table_11318462_5 (u15_3rd_iv varchar, u15_4th_iv varchar, PRIMARY KEY (u15_3rd_iv))
|
select u15_3rd_iv from table_11318462_5 where u15_4th_iv = "bbc"
|
What day was the gross sales $1,271,451?
|
create table table_16331025_2 (dates__mdy_ varchar, gross_sales varchar, PRIMARY KEY (dates__mdy_))
|
select dates__mdy_ from table_16331025_2 where gross_sales = "$1,271,451"
|
When pinyin is xīnluó qū, what is the simplified value?
|
create table table_1204998_2 (simplified varchar, pinyin varchar, PRIMARY KEY (simplified))
|
select count(simplified) from table_1204998_2 where pinyin = "xīnluó qū"
|
How many teachers does the student named CHRISSY NABOZNY have?
|
create table teachers (classroom varchar, PRIMARY KEY (classroom)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))
|
select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = "chrissy" and t1.lastname = "nabozny"
|
What is after intermediate algebra
|
create table table_13967239_2 (senior__4th_year_ varchar, sophomore__grade_8_ varchar, PRIMARY KEY (senior__4th_year_))
|
select senior__4th_year_ from table_13967239_2 where sophomore__grade_8_ = "intermediate algebra"
|
If the team is Worcester, what is the 2005-2006 points?
|
create table table_23215145_2 (team varchar, PRIMARY KEY (team))
|
select 2005 as _06_points from table_23215145_2 where team = "worcester"
|
Name the type for mcminnville
|
create table table_2076533_1 (type varchar, main_location varchar, PRIMARY KEY (type))
|
select type from table_2076533_1 where main_location = "mcminnville"
|
Who led sprints classification when Chris Horner led general classification?
|
create table table_26257223_13 (sprints_classification varchar, general_classification varchar, PRIMARY KEY (sprints_classification))
|
select sprints_classification from table_26257223_13 where general_classification = "chris horner"
|
What's the report for the Silverstone circuit?
|
create table table_1140117_5 (report varchar, circuit varchar, PRIMARY KEY (report))
|
select report from table_1140117_5 where circuit = "silverstone"
|
Which series occurred when the 7800 was 5040.00?
|
create table table_2544694_3 (indonesia_super_series_2008 varchar, PRIMARY KEY (indonesia_super_series_2008))
|
select indonesia_super_series_2008 from table_2544694_3 where 780000 = "5040.00"
|
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?
|
create table table_240936_2 (region_2__uk_ varchar, region_4__australia_ varchar, PRIMARY KEY (region_2__uk_))
|
select region_2__uk_ from table_240936_2 where region_4__australia_ = "july 31, 2008"
|
During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?
|
create table table_22123920_4 (tickets_sold___available varchar, gross_sales varchar, PRIMARY KEY (tickets_sold___available))
|
select tickets_sold___available from table_22123920_4 where gross_sales = "$2,628,457"
|
Name the captain for emile heskey
|
create table table_1301373_7 (captain varchar, international_marquee varchar, PRIMARY KEY (captain))
|
select captain from table_1301373_7 where international_marquee = "emile heskey"
|
When united arab emirates is the country what is the winning aircraft?
|
create table table_26358264_2 (winning_aircraft varchar, country varchar, PRIMARY KEY (winning_aircraft))
|
select winning_aircraft from table_26358264_2 where country = "united arab emirates"
|
How many providers have a destination of Blackpool?
|
create table table_3005999_1 (provider varchar, destination varchar, PRIMARY KEY (provider))
|
select count(provider) from table_3005999_1 where destination = "blackpool"
|
When cary middlecoff is the winner how many pars are there?
|
create table table_2417741_1 (par varchar, winner varchar, PRIMARY KEY (par))
|
select count(par) from table_2417741_1 where winner = "cary middlecoff"
|
when english is tea how many nihon-shiki
|
create table table_26263954_1 (nihon_shiki varchar, english varchar, PRIMARY KEY (nihon_shiki))
|
select nihon_shiki from table_26263954_1 where english = "tea"
|
What is the largest number for karianne gulliksen?
|
create table table_28677723_5 (karianne_gulliksen integer, PRIMARY KEY (karianne_gulliksen))
|
select max(karianne_gulliksen) from table_28677723_5
|
How many teams were there with a high score of 143?
|
create table table_16570286_2 (team varchar, highest_score varchar, PRIMARY KEY (team))
|
select count(team) from table_16570286_2 where highest_score = "143"
|
What is the sequencer when ion torrent pgm is 200-400 bp?
|
create table table_127511_1 (sequencer varchar, ion_torrent_pgm varchar, PRIMARY KEY (sequencer))
|
select sequencer from table_127511_1 where ion_torrent_pgm = "200-400 bp"
|
What is the shuttle time for the level where the speed is 15.5 km/h?
|
create table table_1751142_2 (shuttle_time__seconds_ varchar, speed__km_h_ varchar, PRIMARY KEY (shuttle_time__seconds_))
|
select shuttle_time__seconds_ from table_1751142_2 where speed__km_h_ = "15.5"
|
Find the number of rooms for different block code?
|
create table room (blockfloor varchar, blockcode varchar, PRIMARY KEY (blockfloor)); create table block (blockcode varchar, blockfloor varchar, PRIMARY KEY (blockcode))
|
select count(*), t1.blockcode from block as t1 join room as t2 on t1.blockfloor = t2.blockfloor and t1.blockcode = t2.blockcode group by t1.blockcode
|
Name the results for steve millen
|
create table table_13643154_2 (results varchar, gto_winning_team varchar, PRIMARY KEY (results))
|
select results from table_13643154_2 where gto_winning_team = "steve millen"
|
Name the total number of ground for essendon
|
create table table_16388439_1 (ground varchar, home_team varchar, PRIMARY KEY (ground))
|
select count(ground) from table_16388439_1 where home_team = "essendon"
|
Who was the driver for the Richard Childress Racing team in the race with a time of 2:58:22?
|
create table table_2266762_1 (driver varchar, team varchar, race_time varchar, PRIMARY KEY (driver))
|
select driver from table_2266762_1 where team = "richard childress racing" and race_time = "2:58:22"
|
Name the headphone model for succeeded by sr125
|
create table table_1601027_2 (headphone_model varchar, succeeded_by varchar, PRIMARY KEY (headphone_model))
|
select headphone_model from table_1601027_2 where succeeded_by = "sr125"
|
Who was the player from georgia?
|
create table table_24990183_5 (name varchar, country varchar, PRIMARY KEY (name))
|
select name from table_24990183_5 where country = "georgia"
|
Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner and Claire Nelson was the U21 Womens winner?
|
create table table_28211674_3 (u21_mens varchar, mixed_restricted varchar, u21_womens varchar, PRIMARY KEY (u21_mens))
|
select u21_mens from table_28211674_3 where mixed_restricted = "mike marsden" and u21_womens = "claire nelson"
|
How many casinos are associated with a FY2009 $mil value of exactly $279?
|
create table table_25438110_5 (casinos varchar, fy09_$millions varchar, PRIMARY KEY (casinos))
|
select count(casinos) from table_25438110_5 where fy09_$millions = "$279"
|
When circuit ricardo tormo is the circuit who is the winning team?
|
create table table_21191496_1 (winning_team varchar, circuit varchar, PRIMARY KEY (winning_team))
|
select winning_team from table_21191496_1 where circuit = "circuit ricardo tormo"
|
What was the method of elimination for Kofi Kingston/
|
create table table_24628683_2 (method_of_elimination varchar, wrestler varchar, PRIMARY KEY (method_of_elimination))
|
select method_of_elimination from table_24628683_2 where wrestler = "kofi kingston"
|
what is the total number of nicknames for southwestern college?
|
create table table_262527_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))
|
select count(nickname) from table_262527_1 where institution = "southwestern college"
|
Find the name of the target user with the lowest trust score.
|
create table trust (target_u_id varchar, PRIMARY KEY (target_u_id)); create table useracct (name varchar, u_id varchar, PRIMARY KEY (name))
|
select t1.name from useracct as t1 join trust as t2 on t1.u_id = t2.target_u_id order by trust limit 1
|
What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?
|
create table table_22860_1 (atlantic_europe varchar, central_europe varchar, PRIMARY KEY (atlantic_europe))
|
select atlantic_europe from table_22860_1 where central_europe = "wisconsin stage"
|
find the number of players for each country.
|
create table players (country_code varchar, PRIMARY KEY (country_code))
|
select count(*), country_code from players group by country_code
|
What competitions record a date and time of 17.04.1920 at 15:00?
|
create table table_1233808_2 (competition varchar, date_and_time varchar, PRIMARY KEY (competition))
|
select competition from table_1233808_2 where date_and_time = "17.04.1920 at 15:00"
|
Who is the builder for br no. 31779?
|
create table table_17607663_1 (builder varchar, br_no varchar, PRIMARY KEY (builder))
|
select builder from table_17607663_1 where br_no = 31779
|
Name the nationality for francesco guglielmi
|
create table table_22705586_1 (nationality varchar, name varchar, PRIMARY KEY (nationality))
|
select nationality from table_22705586_1 where name = "francesco guglielmi"
|
What does the basic stem (root) -rama- mean?
|
create table table_12784134_1 (meaning varchar, basic_stem__root_ varchar, PRIMARY KEY (meaning))
|
select meaning from table_12784134_1 where basic_stem__root_ = "-rama-"
|
Show the number of card types.
|
create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))
|
select count(distinct card_type_code) from customers_cards
|
What instrument did the musician with last name "Heilo" use in the song "Badlands"?
|
create table songs (songid varchar, songid varchar, title varchar, PRIMARY KEY (songid)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table band (id varchar, lastname varchar, PRIMARY KEY (id)); create table instruments (instrument varchar, songid varchar, bandmateid varchar, PRIMARY KEY (instrument))
|
select t4.instrument from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid join instruments as t4 on t4.songid = t3.songid and t4.bandmateid = t2.id where t2.lastname = "heilo" and t3.title = "badlands"
|
What is the displacement for torque of n·m (lb·ft) @1500 rpm?
|
create table table_21021796_1 (displacement varchar, torque varchar, PRIMARY KEY (displacement))
|
select displacement from table_21021796_1 where torque = "n·m (lb·ft) @1500 rpm"
|
Find the ids of the students who participate in Canoeing and Kayaking.
|
create table activity (actid varchar, activity_name varchar, PRIMARY KEY (actid)); create table participates_in (stuid varchar, PRIMARY KEY (stuid))
|
select t1.stuid from participates_in as t1 join activity as t2 on t2.actid = t2.actid where t2.activity_name = 'canoeing' intersect select t1.stuid from participates_in as t1 join activity as t2 on t2.actid = t2.actid where t2.activity_name = 'kayaking'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.