question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
How many division titles are there when the win pc is .558?
|
create table table_19451173_1 (division_titles varchar, win_pct varchar, PRIMARY KEY (division_titles))
|
select division_titles from table_19451173_1 where win_pct = ".558"
|
List the population density per kilometer for the city of calintaan?
|
create table table_261951_1 (pop_density__per_km²_ varchar, municipality varchar, PRIMARY KEY (pop_density__per_km²_))
|
select pop_density__per_km²_ from table_261951_1 where municipality = "calintaan"
|
Name the replaced by for slaven belupo
|
create table table_27225944_3 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))
|
select replaced_by from table_27225944_3 where team = "slaven belupo"
|
What is the shape distortion for the range frequency of 10?
|
create table table_27615520_1 (form_factor varchar, bandwidth__gb_s_ varchar, PRIMARY KEY (form_factor))
|
select form_factor from table_27615520_1 where bandwidth__gb_s_ = "10"
|
Name the song choice when week number is hollywood
|
create table table_15796054_3 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))
|
select song_choice from table_15796054_3 where week__number = "hollywood"
|
Which people had the best 10-year period when Fischer had best 15-year period?
|
create table table_1710426_2 (best_10_year_period varchar, best_15_year_period varchar, PRIMARY KEY (best_10_year_period))
|
select best_10_year_period from table_1710426_2 where best_15_year_period = "fischer"
|
What episode was writted by John A. Norris?
|
create table table_11695215_1 (title varchar, written_by varchar, PRIMARY KEY (title))
|
select title from table_11695215_1 where written_by = "john a. norris"
|
What is the description for the budget type with code ORG?
|
create table ref_budget_codes (budget_type_description varchar, budget_type_code varchar, PRIMARY KEY (budget_type_description))
|
select budget_type_description from ref_budget_codes where budget_type_code = "org"
|
How many locations for name of role as Xiao Gui 小鬼?
|
create table table_23379776_5 (location varchar, name_of_role varchar, PRIMARY KEY (location))
|
select count(location) from table_23379776_5 where name_of_role = "xiao gui 小鬼"
|
What are the names of the workshop groups that have bookings with status code "stop"?
|
create table bookings (workshop_group_id varchar, status_code varchar, PRIMARY KEY (workshop_group_id)); create table drama_workshop_groups (store_name varchar, workshop_group_id varchar, PRIMARY KEY (store_name))
|
select t2.store_name from bookings as t1 join drama_workshop_groups as t2 on t1.workshop_group_id = t2.workshop_group_id where t1.status_code = "stop"
|
List the name of technicians whose team is not "NYY".
|
create table technician (name varchar, team varchar, PRIMARY KEY (name))
|
select name from technician where team <> "nyy"
|
What was the loss/gain when the votes -cast was 166?
|
create table table_25818630_2 (loss_gain varchar, votes__cast varchar, PRIMARY KEY (loss_gain))
|
select loss_gain from table_25818630_2 where votes__cast = 166
|
What was the passing result for the measure with a description of bus and truck operating license bill?
|
create table table_256286_19 (passed varchar, description varchar, PRIMARY KEY (passed))
|
select passed from table_256286_19 where description = "bus and truck operating license bill"
|
How many institutions are shown for the football stadium of mosaic stadium?
|
create table table_27599216_6 (institution varchar, football_stadium varchar, PRIMARY KEY (institution))
|
select count(institution) from table_27599216_6 where football_stadium = "mosaic stadium"
|
What are the carriers of devices whose software platforms are not "Android"?
|
create table device (carrier varchar, software_platform varchar, PRIMARY KEY (carrier))
|
select carrier from device where software_platform <> 'android'
|
What are the notes of the death events which has substring 'East'?
|
create table death (note varchar, PRIMARY KEY (note))
|
select note from death where note like '%east%'
|
Who had the most assists in the game against Miami?
|
create table table_17325937_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))
|
select high_assists from table_17325937_8 where team = "miami"
|
Name the year for reportaje a la muerte
|
create table table_20963074_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))
|
select year__ceremony_ from table_20963074_1 where original_title = "reportaje a la muerte"
|
Name the builder for wd number being 22
|
create table table_20236726_2 (builder varchar, wd_no varchar, PRIMARY KEY (builder))
|
select builder from table_20236726_2 where wd_no = 22
|
How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )?
|
create table table_24062944_2 (world_record varchar, kenenisa_bekele___eth__ varchar, PRIMARY KEY (world_record))
|
select count(world_record) from table_24062944_2 where kenenisa_bekele___eth__ = "marílson gomes dos santos ( bra )"
|
Show the most frequently used carrier of the phones.
|
create table phone (carrier varchar, PRIMARY KEY (carrier))
|
select carrier from phone group by carrier order by count(*) desc limit 1
|
How many alt names does 1964-011a have?
|
create table table_12141496_1 (alt_name varchar, id varchar, PRIMARY KEY (alt_name))
|
select count(alt_name) from table_12141496_1 where id = "1964-011a"
|
How many languages have le roman de renart as the original title?
|
create table table_22073745_1 (languages varchar, original_title varchar, PRIMARY KEY (languages))
|
select count(languages) from table_22073745_1 where original_title = "le roman de renart"
|
What is the record when round of 32 is 0 and metro atlantic conference?
|
create table table_10722506_6 (record varchar, round_of_32 varchar, conference varchar, PRIMARY KEY (record))
|
select record from table_10722506_6 where round_of_32 = 0 and conference = "metro atlantic"
|
What date was the participant/recipient takakazu watanabe?
|
create table table_26282750_1 (date_of_ceremony varchar, participants_recipients varchar, PRIMARY KEY (date_of_ceremony))
|
select date_of_ceremony from table_26282750_1 where participants_recipients = "takakazu watanabe"
|
If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?
|
create table table_21021796_1 (power varchar, torque varchar, applications varchar, PRIMARY KEY (power))
|
select power from table_21021796_1 where torque = "n·m (lb·ft) @1600–2400 rpm" and applications = "2000 w90x sprinter"
|
What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships?
|
create table table_174491_1 (fis_nordic_world_ski_championships varchar, country varchar, holmenkollen varchar, PRIMARY KEY (fis_nordic_world_ski_championships))
|
select fis_nordic_world_ski_championships from table_174491_1 where country = "norway" and holmenkollen = "1958"
|
How many flights have a velocity larger than 200?
|
create table flight (velocity integer, PRIMARY KEY (velocity))
|
select count(*) from flight where velocity > 200
|
Name the number of names for exeter chiefs
|
create table table_22977424_8 (name varchar, promoted_from_league varchar, PRIMARY KEY (name))
|
select count(name) from table_22977424_8 where promoted_from_league = "exeter chiefs"
|
find the package option of the tv channel that do not have any cartoon directed by Ben Jones.
|
create table cartoon (package_option varchar, id varchar, channel varchar, directed_by varchar, PRIMARY KEY (package_option)); create table tv_channel (package_option varchar, id varchar, channel varchar, directed_by varchar, PRIMARY KEY (package_option))
|
select package_option from tv_channel where not id in (select channel from cartoon where directed_by = 'ben jones')
|
What was the source of the poll that gave McAuliffe 30% on June 8?
|
create table table_21535453_1 (source varchar, terry_mcauliffe varchar, dates_administered varchar, PRIMARY KEY (source))
|
select source from table_21535453_1 where terry_mcauliffe = "30%" and dates_administered = "june 8"
|
What party does clyde t. ellis represent?
|
create table table_1342256_5 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1342256_5 where incumbent = "clyde t. ellis"
|
Which locomotives 12" x 17" are both ex-industrial and built by Manning Wardle?
|
create table table_1157867_2 (name varchar, notes varchar, builder varchar, PRIMARY KEY (name))
|
select name from table_1157867_2 where notes = "ex-industrial" and builder = "manning wardle"
|
Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?
|
create table table_29225103_2 (hp_winning_team varchar, ep_winning_team varchar, gm_winning_team varchar, PRIMARY KEY (hp_winning_team))
|
select hp_winning_team from table_29225103_2 where ep_winning_team = "hans zereis" and gm_winning_team = "charles gibson"
|
Find the id of students who do not have a cat pet.
|
create table has_pet (stuid varchar, petid varchar, PRIMARY KEY (stuid)); create table pets (petid varchar, pettype varchar, PRIMARY KEY (petid)); create table student (stuid varchar, PRIMARY KEY (stuid))
|
select stuid from student except select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat'
|
What is the number of locations with the fastest times of 11.13?
|
create table table_1231316_7 (location varchar, fastest_time__s_ varchar, PRIMARY KEY (location))
|
select count(location) from table_1231316_7 where fastest_time__s_ = "11.13"
|
What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?
|
create table table_27279050_3 (country varchar, last_current_driver_s__3_november_2013 varchar, PRIMARY KEY (country))
|
select country from table_27279050_3 where last_current_driver_s__3_november_2013 = "daniel abt ( 2012 )"
|
What are the ids and names of the companies that operated more than one flight?
|
create table flight (id varchar, PRIMARY KEY (id)); create table operate_company (id varchar, name varchar, PRIMARY KEY (id))
|
select t1.id, t1.name from operate_company as t1 join flight as t2 on t1.id = t2.company_id group by t1.id having count(*) > 1
|
What is the party for richard j. welch?
|
create table table_1342338_6 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1342338_6 where incumbent = "richard j. welch"
|
What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?
|
create table tourist_attractions (name varchar, location_id varchar, how_to_get_there varchar, PRIMARY KEY (name)); create table locations (location_id varchar, address varchar, PRIMARY KEY (location_id))
|
select t2.name from locations as t1 join tourist_attractions as t2 on t1.location_id = t2.location_id where t1.address = "254 ottilie junction" or t2.how_to_get_there = "bus"
|
What is the population density of mongmong-toto-maite?
|
create table table_2588674_1 (pop_density integer, village varchar, PRIMARY KEY (pop_density))
|
select min(pop_density) from table_2588674_1 where village = "mongmong-toto-maite"
|
How many customers do we have?
|
create table customers (id varchar, PRIMARY KEY (id))
|
select count(*) from customers
|
Where is the University that is also called Hawks?
|
create table table_19210115_1 (location varchar, nickname varchar, PRIMARY KEY (location))
|
select location from table_19210115_1 where nickname = "hawks"
|
What FlatSpin actor played the same role as Robert Austin?
|
create table table_17827271_1 (flatspin varchar, actor_in_original_production varchar, PRIMARY KEY (flatspin))
|
select flatspin from table_17827271_1 where actor_in_original_production = "robert austin"
|
Return all reviewer names and movie names together in a single list.
|
create table reviewer (name varchar, title varchar, PRIMARY KEY (name)); create table movie (name varchar, title varchar, PRIMARY KEY (name))
|
select name from reviewer union select title from movie
|
When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg?
|
create table table_14219514_2 (home__1st_leg_ varchar, PRIMARY KEY (home__1st_leg_))
|
select count(1 as st_leg) from table_14219514_2 where home__1st_leg_ = "altos hornos zapla"
|
Who is the round winner when entrant is craven mild racing?
|
create table table_19886463_1 (round_winner varchar, entrant varchar, PRIMARY KEY (round_winner))
|
select round_winner from table_19886463_1 where entrant = "craven mild racing"
|
Name the nationality who played for 1987-89?
|
create table table_11545282_17 (nationality varchar, years_for_jazz varchar, PRIMARY KEY (nationality))
|
select nationality from table_11545282_17 where years_for_jazz = "1987-89"
|
Who made the decisions in the game whose first star was V. Lecavalier?
|
create table table_27537518_6 (decision varchar, first_star varchar, PRIMARY KEY (decision))
|
select decision from table_27537518_6 where first_star = "v. lecavalier"
|
What is the manner of departure when the replaced by is bahman hasanov?
|
create table table_27057070_3 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))
|
select manner_of_departure from table_27057070_3 where replaced_by = "bahman hasanov"
|
What is the qualifying end date when the qualifying start date is qualifying start date?
|
create table table_23995075_2 (qualifying_end_date varchar, PRIMARY KEY (qualifying_end_date))
|
select qualifying_end_date from table_23995075_2 where "qualifying_start_date" = "qualifying_start_date"
|
How many papers have "Atsushi Ohori" published?
|
create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid)); create table papers (paperid varchar, PRIMARY KEY (paperid))
|
select count(*) from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = "atsushi" and t1.lname = "ohori"
|
Name the 3rd stage for parameter of thrust
|
create table table_16537783_2 (parameter varchar, PRIMARY KEY (parameter))
|
select 3 as rd_stage from table_16537783_2 where parameter = "thrust"
|
Name the fixed telephone line for 25.6% vehicle
|
create table table_25042332_27 (fixed_telephone_line varchar, vehicle varchar, PRIMARY KEY (fixed_telephone_line))
|
select fixed_telephone_line from table_25042332_27 where vehicle = "25.6%"
|
what is the company with the parent company wrightbus?
|
create table table_250309_1 (company varchar, parent_company varchar, PRIMARY KEY (company))
|
select company from table_250309_1 where parent_company = "wrightbus"
|
Who are the writers of the episodes directed by Justin Hartley?
|
create table table_26464364_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))
|
select written_by from table_26464364_1 where directed_by = "justin hartley"
|
If the highest score is 88, what are the 50s?
|
create table table_27268238_4 (highest_score varchar, PRIMARY KEY (highest_score))
|
select 50 as s from table_27268238_4 where highest_score = "88"
|
Name the circuit for united arab emirates
|
create table table_2446333_2 (circuit varchar, country varchar, PRIMARY KEY (circuit))
|
select circuit from table_2446333_2 where country = "united arab emirates"
|
What are the names of entrepreneurs?
|
create table people (name varchar, people_id varchar, PRIMARY KEY (name)); create table entrepreneur (people_id varchar, PRIMARY KEY (people_id))
|
select t2.name from entrepreneur as t1 join people as t2 on t1.people_id = t2.people_id
|
Show names for all employees who have certificate of Boeing 737-800.
|
create table employee (name varchar, eid varchar, PRIMARY KEY (name)); create table certificate (eid varchar, aid varchar, PRIMARY KEY (eid)); create table aircraft (aid varchar, name varchar, PRIMARY KEY (aid))
|
select t1.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t3.name = "boeing 737-800"
|
What party does sid simpson represent?
|
create table table_1342198_13 (party varchar, incumbent varchar, PRIMARY KEY (party))
|
select party from table_1342198_13 where incumbent = "sid simpson"
|
Name thenames for 2002-04-01
|
create table table_1585609_2 (name varchar, date_of_designation varchar, PRIMARY KEY (name))
|
select name from table_1585609_2 where date_of_designation = "2002-04-01"
|
How many numbers were listed under Silver Medals for Portsmouth HS?
|
create table table_1305623_20 (silver_medals varchar, ensemble varchar, PRIMARY KEY (silver_medals))
|
select count(silver_medals) from table_1305623_20 where ensemble = "portsmouth hs"
|
How many new conferences are in the NCLL deep south conference?
|
create table table_26476336_2 (new_conference varchar, new_classification varchar, PRIMARY KEY (new_conference))
|
select count(new_conference) from table_26476336_2 where new_classification = "ncll deep south conference"
|
Name the vcore for multi 11x
|
create table table_27277284_8 (v_core varchar, mult_1 varchar, PRIMARY KEY (v_core))
|
select v_core from table_27277284_8 where mult_1 = "11x"
|
Find id of the candidate who most recently accessed the course?
|
create table candidate_assessments (candidate_id varchar, assessment_date varchar, PRIMARY KEY (candidate_id))
|
select candidate_id from candidate_assessments order by assessment_date desc limit 1
|
Name the application for caligari corporation
|
create table table_19495707_1 (application varchar, developed_by varchar, PRIMARY KEY (application))
|
select application from table_19495707_1 where developed_by = "caligari corporation"
|
how many native american with whites being 1.0%
|
create table table_1333612_1 (native_american varchar, whites varchar, PRIMARY KEY (native_american))
|
select count(native_american) from table_1333612_1 where whites = "1.0%"
|
Name the singer for joe wilkinson
|
create table table_29135051_2 (singer_s_ varchar, comedian varchar, PRIMARY KEY (singer_s_))
|
select singer_s_ from table_29135051_2 where comedian = "joe wilkinson"
|
Who won the mens singles when sayaka sato won the womens singles?
|
create table table_12275551_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))
|
select mens_singles from table_12275551_1 where womens_singles = "sayaka sato"
|
Show all role codes with at least 3 employees.
|
create table employees (role_code varchar, PRIMARY KEY (role_code))
|
select role_code from employees group by role_code having count(*) >= 3
|
what is the name of the institution of the sparta, wi location?
|
create table table_20887670_1 (institution varchar, location varchar, PRIMARY KEY (institution))
|
select institution from table_20887670_1 where location = "sparta, wi"
|
are rolled wafers in many episodes
|
create table table_15187735_17 (series_ep varchar, segment_a varchar, PRIMARY KEY (series_ep))
|
select series_ep from table_15187735_17 where segment_a = "rolled wafers"
|
Show the distinct venues of debates
|
create table debate (venue varchar, PRIMARY KEY (venue))
|
select distinct venue from debate
|
Which network was located in Illinois?
|
create table table_27871460_2 (network varchar, state_or_territory varchar, PRIMARY KEY (network))
|
select network from table_27871460_2 where state_or_territory = "illinois"
|
Show all game names played by Linda Smith
|
create table student (stuid varchar, lname varchar, fname varchar, PRIMARY KEY (stuid)); create table plays_games (gameid varchar, stuid varchar, PRIMARY KEY (gameid)); create table video_games (gameid varchar, PRIMARY KEY (gameid))
|
select gname from plays_games as t1 join video_games as t2 on t1.gameid = t2.gameid join student as t3 on t3.stuid = t1.stuid where t3.lname = "smith" and t3.fname = "linda"
|
What is the Branding for Group Owner Qantam of Cape Cod, LLC?
|
create table table_10333757_1 (branding varchar, group_owner varchar, PRIMARY KEY (branding))
|
select branding from table_10333757_1 where group_owner = "qantam of cape cod, llc"
|
What is the Medal of Honor with Army Distinguished Service Medal?
|
create table table_2104176_1 (medal_of_honor varchar, air_force_cross varchar, PRIMARY KEY (medal_of_honor))
|
select medal_of_honor from table_2104176_1 where air_force_cross = "army distinguished service medal"
|
Who was the first star of the game with record of 17-11-5?
|
create table table_27537518_6 (first_star varchar, record varchar, PRIMARY KEY (first_star))
|
select first_star from table_27537518_6 where record = "17-11-5"
|
Find the title of the course that is offered by more than one department.
|
create table course (title varchar, PRIMARY KEY (title))
|
select title from course group by title having count(*) > 1
|
What was the UK broadcast date for the episode presented by Buck Henry?
|
create table table_15211468_3 (uk_broadcast_date varchar, presenter varchar, PRIMARY KEY (uk_broadcast_date))
|
select uk_broadcast_date from table_15211468_3 where presenter = "buck henry"
|
The president, peter williamson, had how many home grounds?
|
create table table_11365528_2 (home_ground varchar, president varchar, PRIMARY KEY (home_ground))
|
select count(home_ground) from table_11365528_2 where president = "peter williamson"
|
Show the title and director for all films.
|
create table film (title varchar, directed_by varchar, PRIMARY KEY (title))
|
select title, directed_by from film
|
Show the account name, id and the number of transactions for each account.
|
create table financial_transactions (account_id varchar, PRIMARY KEY (account_id)); create table accounts (account_name varchar, account_id varchar, PRIMARY KEY (account_name))
|
select t2.account_name, t1.account_id, count(*) from financial_transactions as t1 join accounts as t2 on t1.account_id = t2.account_id group by t1.account_id
|
Name the position in table for 1 july 2008 when manner of departure is resigned
|
create table table_17039232_3 (position_in_table varchar, date_of_appointment varchar, manner_of_departure varchar, PRIMARY KEY (position_in_table))
|
select position_in_table from table_17039232_3 where date_of_appointment = "1 july 2008" and manner_of_departure = "resigned"
|
at what location is the last flew on 11 june 2000
|
create table table_1997759_1 (location varchar, last_flew varchar, PRIMARY KEY (location))
|
select location from table_1997759_1 where last_flew = "11 june 2000"
|
How many synthesis are there for 5~16.2 pw per cycle (calculated) output power?
|
create table table_30057479_1 (synthesis varchar, output_power varchar, PRIMARY KEY (synthesis))
|
select count(synthesis) from table_30057479_1 where output_power = "5~16.2 pw per cycle (calculated)"
|
How many users are logged in?
|
create table users (user_login varchar, PRIMARY KEY (user_login))
|
select count(*) from users where user_login = 1
|
there are in tobago species name helicops angulatus
|
create table table_1850282_5 (tobago varchar, species varchar, PRIMARY KEY (tobago))
|
select tobago from table_1850282_5 where species = "helicops angulatus"
|
When did customer with first name as Carole and last name as Bernhard became a customer?
|
create table customers (date_became_customer varchar, first_name varchar, last_name varchar, PRIMARY KEY (date_became_customer))
|
select date_became_customer from customers where first_name = "carole" and last_name = "bernhard"
|
Which races did Paul Greifzu win?
|
create table table_1140116_6 (race_name varchar, winning_driver varchar, PRIMARY KEY (race_name))
|
select race_name from table_1140116_6 where winning_driver = "paul greifzu"
|
what's the trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb
|
create table table_1373768_1 (trim varchar, fuel_mileage__latest_epa_mpg___us__ varchar, PRIMARY KEY (trim))
|
select trim from table_1373768_1 where fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb"
|
What type of settlemen is Krušedol Selo?
|
create table table_2562572_50 (type varchar, settlement varchar, PRIMARY KEY (type))
|
select type from table_2562572_50 where settlement = "krušedol selo"
|
What is the number of participating parties when registered voters totaled 643629?
|
create table table_2676980_4 (participating_parties varchar, registered_voters varchar, PRIMARY KEY (participating_parties))
|
select count(participating_parties) from table_2676980_4 where registered_voters = 643629
|
What are the names of the courses that have exactly 1 student enrollment?
|
create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id))
|
select t1.course_name from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name having count(*) = 1
|
What is the aspect ratio of the DVD released on 12/10/2009?
|
create table table_1180228_1 (aspect_ratio varchar, released varchar, PRIMARY KEY (aspect_ratio))
|
select aspect_ratio from table_1180228_1 where released = "12/10/2009"
|
What is the title of the prerequisite class of International Finance course?
|
create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table prereq (prereq_id varchar, course_id varchar, PRIMARY KEY (prereq_id)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id))
|
select title from course where course_id in (select t1.prereq_id from prereq as t1 join course as t2 on t1.course_id = t2.course_id where t2.title = 'international finance')
|
What's the HC for the standard with NO x of 7.0 g/kWh?
|
create table table_2780146_6 (hc__g_kwh_ varchar, no_x__g_kwh_ varchar, PRIMARY KEY (hc__g_kwh_))
|
select hc__g_kwh_ from table_2780146_6 where no_x__g_kwh_ = "7.0"
|
Who was in 4th when in 6th is Air Traffic?
|
create table table_17111812_1 (fourth varchar, sixth varchar, PRIMARY KEY (fourth))
|
select fourth from table_17111812_1 where sixth = "air traffic"
|
Who was the winner when the SEC team LSU played?
|
create table table_20540006_6 (winner varchar, sec_team varchar, PRIMARY KEY (winner))
|
select winner from table_20540006_6 where sec_team = "lsu"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.