question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
How many times is the formula tl 2 ba 2 cuo 6?
|
create table table_101336_1 (no_of_cu_o_planes_in_unit_cell varchar, formula varchar, PRIMARY KEY (no_of_cu_o_planes_in_unit_cell))
|
select no_of_cu_o_planes_in_unit_cell from table_101336_1 where formula = "tl 2 ba 2 cuo 6"
|
how many matches were played that average goals scored 1.25?
|
create table table_27708484_3 (matches_played varchar, average_goals_scored_per_match varchar, PRIMARY KEY (matches_played))
|
select count(matches_played) from table_27708484_3 where average_goals_scored_per_match = "1.25"
|
Name the original airdate for robin mukherjee and margy kinmonth
|
create table table_27208814_1 (original_airdate varchar, writer varchar, director varchar, PRIMARY KEY (original_airdate))
|
select original_airdate from table_27208814_1 where writer = "robin mukherjee" and director = "margy kinmonth"
|
What was the % 2006 rating in 2006 where there were 5 seats?
|
create table table_21132404_1 (_percentage_2006 varchar, seats_2006 varchar, PRIMARY KEY (_percentage_2006))
|
select _percentage_2006 from table_21132404_1 where seats_2006 = 5
|
Who wrote the episode with 7.52 million US viewers?
|
create table table_28688313_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_28688313_1 where us_viewers__in_millions_ = "7.52"
|
What instrument did the musician with last name "Heilo" use in the song "Le Pop"?
|
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 = "le pop"
|
List the section_name in reversed lexicographical order.
|
create table sections (section_name varchar, PRIMARY KEY (section_name))
|
select section_name from sections order by section_name desc
|
How many different industries are the companies in?
|
create table companies (industry varchar, PRIMARY KEY (industry))
|
select count(distinct industry) from companies
|
What is the highest number of interceptions?
|
create table table_19418696_3 (interceptions integer, PRIMARY KEY (interceptions))
|
select max(interceptions) from table_19418696_3
|
What's the transcription for the Thai name พฤษภาคม?
|
create table table_20354_5 (transcription varchar, thai_name varchar, PRIMARY KEY (transcription))
|
select transcription from table_20354_5 where thai_name = "พฤษภาคม"
|
What is the type of allergy Cat?
|
create table allergy_type (allergytype varchar, allergy varchar, PRIMARY KEY (allergytype))
|
select allergytype from allergy_type where allergy = "cat"
|
When interplanet janet is the episode title who is the music by?
|
create table table_191105_3 (music_by varchar, episode_title varchar, PRIMARY KEY (music_by))
|
select music_by from table_191105_3 where episode_title = "interplanet janet"
|
When did the player from Hawaii play for Toronto?
|
create table table_10015132_3 (years_in_toronto varchar, school_club_team varchar, PRIMARY KEY (years_in_toronto))
|
select years_in_toronto from table_10015132_3 where school_club_team = "hawaii"
|
Find the texts of assessment notes for teachers with last name "Schuster".
|
create table assessment_notes (text_of_notes varchar, teacher_id varchar, PRIMARY KEY (text_of_notes)); create table teachers (teacher_id varchar, last_name varchar, PRIMARY KEY (teacher_id))
|
select t1.text_of_notes from assessment_notes as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id where t2.last_name = "schuster"
|
What day did the job open up when bogićević was outgoing?
|
create table table_17933600_2 (date_of_vacancy varchar, outgoing_manage varchar, PRIMARY KEY (date_of_vacancy))
|
select date_of_vacancy from table_17933600_2 where outgoing_manage = "bogićević"
|
Who is the builder for the location Irton Road shed
|
create table table_142159_1 (builder varchar, location varchar, PRIMARY KEY (builder))
|
select builder from table_142159_1 where location = "irton road shed"
|
What country had a contestant that was 1.70 meters tall?
|
create table table_23495048_2 (represent varchar, height__mtr_ varchar, PRIMARY KEY (represent))
|
select represent from table_23495048_2 where height__mtr_ = "1.70"
|
What is the number of s sikh where 955 is the number of buddhists?
|
create table table_14598_5 (s_sikh varchar, buddhist varchar, PRIMARY KEY (s_sikh))
|
select s_sikh from table_14598_5 where buddhist = "955"
|
What is the mind of the one that has qut reason?
|
create table table_19760_1 (mind varchar, reason varchar, PRIMARY KEY (mind))
|
select mind from table_19760_1 where reason = "qut"
|
How many lbs were lost at the reunion by the contestant whose finale weight was 151.4?
|
create table table_28654454_5 (lbs_lost_reunion varchar, finale_weight varchar, PRIMARY KEY (lbs_lost_reunion))
|
select lbs_lost_reunion from table_28654454_5 where finale_weight = "151.4"
|
How many yards for the player with tfl-yds of 2.5-4?
|
create table table_18064020_21 (no_yds varchar, tfl_yds varchar, PRIMARY KEY (no_yds))
|
select no_yds from table_18064020_21 where tfl_yds = "2.5-4"
|
What are the names of circuits that belong to UK or Malaysia?
|
create table circuits (name varchar, country varchar, PRIMARY KEY (name))
|
select name from circuits where country = "uk" or country = "malaysia"
|
How many times did Neu-Vehlefanz occur when Schwante had 2.043?
|
create table table_11680175_1 (vehlefanz varchar, neu varchar, schwante varchar, PRIMARY KEY (vehlefanz))
|
select count(neu) - vehlefanz from table_11680175_1 where schwante = "2.043"
|
Who directed the episode seen by 3.93 million people in the US?
|
create table table_18268826_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))
|
select directed_by from table_18268826_1 where us_viewers__million_ = "3.93"
|
When are team Galway's dates of appointment?
|
create table table_11190568_7 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))
|
select date_of_appointment from table_11190568_7 where team = "galway"
|
Who were the candidates when Jack Fields was the incumbent?
|
create table table_1341577_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
|
select candidates from table_1341577_44 where incumbent = "jack fields"
|
When they played Universidad de Chile, what was the score of the first leg?
|
create table table_17282875_3 (team__number2 varchar, PRIMARY KEY (team__number2))
|
select count(1 as st_leg) from table_17282875_3 where team__number2 = "universidad de chile"
|
Who was the high scorer in the game when the team was 1-4?
|
create table table_13619105_3 (high_points varchar, record varchar, PRIMARY KEY (high_points))
|
select high_points from table_13619105_3 where record = "1-4"
|
how many milion of viewers where in the episode called in english "is a great way to care"
|
create table table_29633639_1 (hk_viewers varchar, english_title varchar, PRIMARY KEY (hk_viewers))
|
select hk_viewers from table_29633639_1 where english_title = "a great way to care"
|
How many states are there?
|
create table area_code_state (id varchar, PRIMARY KEY (id))
|
select count(*) from area_code_state
|
What is the least number of miss united continents?
|
create table table_17522854_6 (miss_united_continent integer, PRIMARY KEY (miss_united_continent))
|
select min(miss_united_continent) from table_17522854_6
|
What is the largest ethnic group in мале пијаце (hungarian: kispiac)?
|
create table table_2562572_33 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))
|
select largest_ethnic_group__2002_ from table_2562572_33 where cyrillic_name_other_names = "мале пијаце (hungarian: kispiac)"
|
What score did the away team receive against home team Port Adelaide?
|
create table table_16388478_3 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))
|
select away_team as score from table_16388478_3 where home_team = "port adelaide"
|
How many were promoted from the league when Esher was relegated to the league?
|
create table table_23927423_4 (promoted_from_league varchar, relegated_to_league varchar, PRIMARY KEY (promoted_from_league))
|
select count(promoted_from_league) from table_23927423_4 where relegated_to_league = "esher"
|
What was the record when they played golden state?
|
create table table_23274514_9 (record varchar, team varchar, PRIMARY KEY (record))
|
select record from table_23274514_9 where team = "golden state"
|
When did Minnesota Poll administer their poll?
|
create table table_20032301_3 (dates_administered varchar, poll_source varchar, PRIMARY KEY (dates_administered))
|
select dates_administered from table_20032301_3 where poll_source = "minnesota poll"
|
Who wrote the episode seen by 10.64 million people in the US?
|
create table table_23528223_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))
|
select written_by from table_23528223_2 where us_viewers__millions_ = "10.64"
|
Name the horizontal 0 for 通 tong
|
create table table_25519358_1 (horizontal_0_a varchar, name varchar, PRIMARY KEY (horizontal_0_a))
|
select horizontal_0_a from table_25519358_1 where name = "通 tong"
|
What is the 100 year for Carbon Dioxide?
|
create table table_21350772_2 (gas_name varchar, PRIMARY KEY (gas_name))
|
select 100 as _yr from table_21350772_2 where gas_name = "carbon dioxide"
|
Show the name of aircraft which fewest people have its certificate.
|
create table certificate (aid varchar, PRIMARY KEY (aid)); create table aircraft (name varchar, aid varchar, PRIMARY KEY (name))
|
select t2.name from certificate as t1 join aircraft as t2 on t2.aid = t1.aid group by t1.aid order by count(*) desc limit 1
|
How many party classifications are there for the senator from Canton?
|
create table table_26129220_2 (party varchar, residence varchar, PRIMARY KEY (party))
|
select party from table_26129220_2 where residence = "canton"
|
How many authors or editors are there for the book title elf child?
|
create table table_20193855_2 (author_s__or_editor_s_ varchar, book_title varchar, PRIMARY KEY (author_s__or_editor_s_))
|
select count(author_s__or_editor_s_) from table_20193855_2 where book_title = "elf child"
|
Find the number of professors with a Ph.D. degree in each department.
|
create table professor (dept_code varchar, prof_high_degree varchar, PRIMARY KEY (dept_code))
|
select count(*), dept_code from professor where prof_high_degree = 'ph.d.' group by dept_code
|
What was the date that the st. george-illawarra dragons lost?
|
create table table_11236195_5 (grand_finaldate varchar, losingteam varchar, PRIMARY KEY (grand_finaldate))
|
select grand_finaldate from table_11236195_5 where losingteam = "st. george-illawarra dragons"
|
What are the stations in Tarzana?
|
create table table_2093995_1 (stations varchar, city__neighborhood varchar, PRIMARY KEY (stations))
|
select stations from table_2093995_1 where city__neighborhood = "tarzana"
|
Which student visited restaurant most often? List student's first name and last name.
|
create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table student (id varchar, PRIMARY KEY (id))
|
select student.fname, student.lname from student join visits_restaurant on student.stuid = visits_restaurant.stuid group by student.stuid order by count(*) desc limit 1
|
Name the womens doubles when mens doubles is charalambos kazilas stepan partemian
|
create table table_14903881_1 (womens_doubles varchar, mens_doubles varchar, PRIMARY KEY (womens_doubles))
|
select womens_doubles from table_14903881_1 where mens_doubles = "charalambos kazilas stepan partemian"
|
How many vehicle in total?
|
create table vehicles (id varchar, PRIMARY KEY (id))
|
select count(*) from vehicles
|
Name the outgoing manager for esteban vigo
|
create table table_27666856_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))
|
select count(outgoing_manager) from table_27666856_3 where replaced_by = "esteban vigo"
|
what is the number of teams where the record is 0-1
|
create table table_26173058_2 (amman varchar, wehdat varchar, PRIMARY KEY (amman))
|
select count(amman) from table_26173058_2 where wehdat = "0-1"
|
what's the saturday time with wednesday being 10:00-5:00
|
create table table_11019212_1 (saturday varchar, wednesday varchar, PRIMARY KEY (saturday))
|
select saturday from table_11019212_1 where wednesday = "10:00-5:00"
|
Show the names of journalists from "England" or "Wales".
|
create table journalist (name varchar, nationality varchar, PRIMARY KEY (name))
|
select name from journalist where nationality = "england" or nationality = "wales"
|
What is the part 4 of the word with the part 1 "heizan"?
|
create table table_1745843_8 (part_4 varchar, part_1 varchar, PRIMARY KEY (part_4))
|
select part_4 from table_1745843_8 where part_1 = "heizan"
|
How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi
|
create table table_15059783_1 (combination_classification varchar, points_classification varchar, winner varchar, PRIMARY KEY (combination_classification))
|
select count(combination_classification) from table_15059783_1 where points_classification = "alessandro petacchi" and winner = "erik zabel"
|
What was the production number of the episode filmed in aug/sept 1968?
|
create table table_1971734_1 (prod__number varchar, filmed varchar, PRIMARY KEY (prod__number))
|
select prod__number from table_1971734_1 where filmed = "aug/sept 1968"
|
Who won soccer when madison won volleyball, lexington won cross country and orrville won softball
|
create table table_16423070_4 (soccer varchar, softball varchar, volleyball varchar, cross_country varchar, PRIMARY KEY (soccer))
|
select soccer from table_16423070_4 where volleyball = "madison" and cross_country = "lexington" and softball = "orrville"
|
What is the status in the district with the incumbent Bob Barr?
|
create table table_26336739_1 (status varchar, incumbent varchar, PRIMARY KEY (status))
|
select status from table_26336739_1 where incumbent = "bob barr"
|
Who had 41.76% yes votes
|
create table table_256286_20 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))
|
select description from table_256286_20 where _percentage_yes = "41.76%"
|
How many runs conceded when the earned runs was 4.96?
|
create table table_15700367_6 (runs_conceded varchar, er varchar, PRIMARY KEY (runs_conceded))
|
select runs_conceded from table_15700367_6 where er = "4.96"
|
What time was the kickoff against the Frankfurt Galaxy?
|
create table table_27764201_2 (kickoff varchar, opponent varchar, PRIMARY KEY (kickoff))
|
select kickoff from table_27764201_2 where opponent = "frankfurt galaxy"
|
Name the maximum discs
|
create table table_14562722_2 (discs integer, PRIMARY KEY (discs))
|
select max(discs) from table_14562722_2
|
What was the actors name for fuchzhou and nomination was best non-professional actor?
|
create table table_10236830_1 (actors_name varchar, film_name varchar, nomination varchar, PRIMARY KEY (actors_name))
|
select actors_name from table_10236830_1 where film_name = "fuchzhou" and nomination = "best non-professional actor"
|
Who scored the high points for the game with record 9–3?
|
create table table_27722408_6 (high_points varchar, record varchar, PRIMARY KEY (high_points))
|
select high_points from table_27722408_6 where record = "9–3"
|
What is the desired rate when the rate limit (p) is 50.33?
|
create table table_25316812_1 (desired_rate__p_ varchar, rate_limit__p_ varchar, PRIMARY KEY (desired_rate__p_))
|
select desired_rate__p_ from table_25316812_1 where rate_limit__p_ = "50.33"
|
Find the first and last name of the staff members who reported problems from the product "rem" but not "aut"?
|
create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table staff (staff_first_name varchar, staff_last_name varchar, staff_id varchar, PRIMARY KEY (staff_first_name)); create table problems (product_id varchar, reported_by_staff_id varchar, PRIMARY KEY (product_id))
|
select t3.staff_first_name, t3.staff_last_name from problems as t1 join product as t2 join staff as t3 on t1.product_id = t2.product_id and t1.reported_by_staff_id = t3.staff_id where t2.product_name = "rem" except select t3.staff_first_name, t3.staff_last_name from problems as t1 join product as t2 join staff as t3 on t1.product_id = t2.product_id and t1.reported_by_staff_id = t3.staff_id where t2.product_name = "aut"
|
Show the distinct countries of managers.
|
create table manager (country varchar, PRIMARY KEY (country))
|
select distinct country from manager
|
Show all video games and their types in the order of their names.
|
create table video_games (gname varchar, gtype varchar, PRIMARY KEY (gname))
|
select gname, gtype from video_games order by gname
|
Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?
|
create table table_22546460_4 (best_female_artist varchar, best_male_lyricist varchar, PRIMARY KEY (best_female_artist))
|
select best_female_artist from table_22546460_4 where best_male_lyricist = "best r&b contributor"
|
Who was the opponent during the biggest defeat?
|
create table table_1233808_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))
|
select opponent from table_1233808_2 where record = "biggest defeat"
|
Who made the challenge on the Albert Park Grand Prix Circuit?
|
create table table_25531112_2 (challenge varchar, circuit varchar, PRIMARY KEY (challenge))
|
select challenge from table_25531112_2 where circuit = "albert park grand prix circuit"
|
What's the title of the episode originally aired on September 23, 2008?
|
create table table_19401346_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))
|
select title from table_19401346_1 where original_air_date = "september 23, 2008"
|
how many equivalent daily inflation rate with time required for prices to double being 3.7 days
|
create table table_13681_2 (equivalent_daily_inflation_rate varchar, time_required_for_prices_to_double varchar, PRIMARY KEY (equivalent_daily_inflation_rate))
|
select count(equivalent_daily_inflation_rate) from table_13681_2 where time_required_for_prices_to_double = "3.7 days"
|
Which school did the player that played 2004-05 attend?
|
create table table_10015132_21 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))
|
select school_club_team from table_10015132_21 where years_in_toronto = "2004-05"
|
What is the episode title for the episode numbered #1.4?
|
create table table_15211468_1 (episode_title varchar, episode_no varchar, PRIMARY KEY (episode_title))
|
select episode_title from table_15211468_1 where episode_no = "#1.4"
|
What manner of departure is listed with an appointment date of 13 march 2008
|
create table table_11206916_2 (manner_of_departure varchar, date_of_appointment varchar, PRIMARY KEY (manner_of_departure))
|
select manner_of_departure from table_11206916_2 where date_of_appointment = "13 march 2008"
|
List all the name of organizations in order of the date formed.
|
create table organizations (organization_name varchar, date_formed varchar, PRIMARY KEY (organization_name))
|
select organization_name from organizations order by date_formed
|
Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011?
|
create table table_27487310_5 (judges varchar, country varchar, air_dates varchar, PRIMARY KEY (judges))
|
select judges from table_27487310_5 where country = "netherlands" and air_dates = "28 november 2011 – 24 december 2011"
|
What are all the distinct participant ids who attended any events?
|
create table participants_in_events (participant_id varchar, PRIMARY KEY (participant_id))
|
select count(distinct participant_id) from participants_in_events
|
The location (transmitter site) San Fernando, Pampanga ** has what Power kW (ERP)?
|
create table table_2610582_2 (power_kw__erp_ varchar, location__transmitter_site_ varchar, PRIMARY KEY (power_kw__erp_))
|
select power_kw__erp_ from table_2610582_2 where location__transmitter_site_ = "san fernando, pampanga **"
|
find id of the tv channels that from the countries where have more than two tv channels.
|
create table tv_channel (id varchar, country varchar, PRIMARY KEY (id))
|
select id from tv_channel group by country having count(*) > 2
|
Name the reward eliminated hilca
|
create table table_24233848_2 (reward varchar, eliminated varchar, PRIMARY KEY (reward))
|
select reward from table_24233848_2 where eliminated = "hilca"
|
Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email.
|
create table owners (first_name varchar, last_name varchar, email_address varchar, state varchar, PRIMARY KEY (first_name))
|
select first_name, last_name, email_address from owners where state like '%north%'
|
What team had average speed of 107.063 mph?
|
create table table_2241101_1 (team varchar, average_speed__mph_ varchar, PRIMARY KEY (team))
|
select team from table_2241101_1 where average_speed__mph_ = "107.063"
|
Name the team for oct 30, 1989
|
create table table_1594772_2 (team__b_ varchar, match_date varchar, PRIMARY KEY (team__b_))
|
select team__b_ from table_1594772_2 where match_date = "oct 30, 1989"
|
Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving?
|
create table table_17628022_2 (play_by_play varchar, pregame_host varchar, sideline_reporters varchar, PRIMARY KEY (play_by_play))
|
select play_by_play from table_17628022_2 where pregame_host = "brian williams" and sideline_reporters = "steve armitage and brenda irving"
|
In the year (ceremony) 1995 (68th), what is the film title?
|
create table table_26385848_1 (film_title varchar, year__ceremony_ varchar, PRIMARY KEY (film_title))
|
select film_title from table_26385848_1 where year__ceremony_ = "1995 (68th)"
|
How many divisions in bowling ?
|
create table table_2849652_1 (_number_of_divisions varchar, sport varchar, PRIMARY KEY (_number_of_divisions))
|
select _number_of_divisions from table_2849652_1 where sport = "bowling"
|
How many episodes were watched by 12.72 million U.S. viewers?
|
create table table_12570759_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))
|
select count(written_by) from table_12570759_2 where us_viewers__millions_ = "12.72"
|
How many viewers were there on 1august1964?
|
create table table_1723080_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))
|
select viewers__in_millions_ from table_1723080_1 where broadcast_date = "1august1964"
|
When the team is Toronto how many times did they place third?
|
create table table_1571238_2 (third_place varchar, team varchar, PRIMARY KEY (third_place))
|
select count(third_place) from table_1571238_2 where team = "toronto"
|
What station owns Moody Bible Institute
|
create table table_134729_3 (format varchar, owner varchar, PRIMARY KEY (format))
|
select format from table_134729_3 where owner = "moody bible institute"
|
list all cartoon titles and their directors ordered by their air date
|
create table cartoon (title varchar, directed_by varchar, original_air_date varchar, PRIMARY KEY (title))
|
select title, directed_by from cartoon order by original_air_date
|
What party was the winner when A. Krishnaswamy was the runner-up?
|
create table table_22756549_1 (party varchar, runner_up_a varchar, PRIMARY KEY (party))
|
select party from table_22756549_1 where runner_up_a = "a. krishnaswamy"
|
When was the episode with a 999,000 BARB rating first aired in Denmark?
|
create table table_26591309_3 (first_broadcast_denmark___dr1__ varchar, official_barb_ratings varchar, PRIMARY KEY (first_broadcast_denmark___dr1__))
|
select first_broadcast_denmark___dr1__ from table_26591309_3 where official_barb_ratings = "999,000"
|
Who was drafted from the school Mountain Pointe High School?
|
create table table_11677100_16 (mlb_draft varchar, school varchar, PRIMARY KEY (mlb_draft))
|
select mlb_draft from table_11677100_16 where school = "mountain pointe high school"
|
In what division was there a population density in km2 of 1,604.3 in 2011?
|
create table table_24027047_1 (administrative_division varchar, population_density___km²_2011_ varchar, PRIMARY KEY (administrative_division))
|
select administrative_division from table_24027047_1 where population_density___km²_2011_ = "1,604.3"
|
What are the enrollment dates of all the tests that have result "Pass"?
|
create table student_tests_taken (registration_id varchar, test_result varchar, PRIMARY KEY (registration_id)); create table student_course_enrolment (date_of_enrolment varchar, registration_id varchar, PRIMARY KEY (date_of_enrolment))
|
select t1.date_of_enrolment from student_course_enrolment as t1 join student_tests_taken as t2 on t1.registration_id = t2.registration_id where t2.test_result = "pass"
|
When 1:34:01 is the race time what is the miles in kilometers?
|
create table table_1771753_3 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))
|
select miles__km_ from table_1771753_3 where race_time = "1:34:01"
|
The episode with original air date January 13, 1999 is written by who?
|
create table table_2618152_1 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))
|
select written_by from table_2618152_1 where original_air_date = "january 13, 1999"
|
When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest?
|
create table table_1656555_1 (ordained_priest varchar, vacated_throne varchar, PRIMARY KEY (ordained_priest))
|
select ordained_priest from table_1656555_1 where vacated_throne = "august 18, 1885"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.