text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25518547_4 (affiliation VARCHAR, mls_team VARCHAR)
### Question:
What university is houston dynamo affiliated with?
### Answer:
SELECT affiliation FROM table_25518547_4 WHERE mls_team = "Houston Dynamo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23293785_3 (race_2_pts_ VARCHAR, race_1_pts_ VARCHAR)
### Question:
How many are the Race 2 points when Race 1 was 12?
### Answer:
SELECT race_2_pts_ FROM table_23293785_3 WHERE race_1_pts_ = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR)
### Question:
Who was the opponent at the game with a score of 6–5 (10)?
### Answer:
SELECT opponent FROM table_name_47 WHERE score = "6–5 (10)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE teaches (course_id VARCHAR, id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)
### Question:
list in alphabetic order all course names and their instructors' names in year 2008.
### Answer:
SELECT T1.title, T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.id = T3.id WHERE YEAR = 2008 ORDER BY T1.title |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (personal_name VARCHAR); CREATE TABLE Students (personal_name VARCHAR, student_id VARCHAR)
### Question:
Find the personal names of students not enrolled in any course.
### Answer:
SELECT personal_name FROM Students EXCEPT SELECT T1.personal_name FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id = T2.student_id |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (award VARCHAR, result VARCHAR, year VARCHAR)
### Question:
Which Award has a Result of nominated, and a Year of 2003?
### Answer:
SELECT award FROM table_name_85 WHERE result = "nominated" AND year = 2003 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (away_team VARCHAR)
### Question:
What is north melbourne's score as an away side?
### Answer:
SELECT away_team AS score FROM table_name_80 WHERE away_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (music VARCHAR, choreographer_s_ VARCHAR)
### Question:
What is the music for choreographer sabina dalfjäll?
### Answer:
SELECT music FROM table_name_23 WHERE choreographer_s_ = "sabina dalfjäll" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (part_3 VARCHAR, part_1 VARCHAR)
### Question:
What is Part 3, when Part 1 is "frjósa"?
### Answer:
SELECT part_3 FROM table_name_36 WHERE part_1 = "frjósa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (site_stadium VARCHAR, date VARCHAR)
### Question:
Where was the game on May 9 played?
### Answer:
SELECT site_stadium FROM table_name_21 WHERE date = "may 9" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (song VARCHAR, total_points VARCHAR, jury__points_ VARCHAR)
### Question:
What is the song with more than 9 points and 44 (11) jury (points)?
### Answer:
SELECT song FROM table_name_55 WHERE total_points > 9 AND jury__points_ = "44 (11)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE mill (id VARCHAR, architect_id VARCHAR, built_year INTEGER); CREATE TABLE architect (id VARCHAR, architect_id VARCHAR, built_year INTEGER)
### Question:
How many architects haven't built a mill before year 1850?
### Answer:
SELECT COUNT(*) FROM architect WHERE NOT id IN (SELECT architect_id FROM mill WHERE built_year < 1850) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (result VARCHAR, date VARCHAR)
### Question:
What was the final score of the November 8, 2001 game?
### Answer:
SELECT result FROM table_name_64 WHERE date = "november 8, 2001" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (country VARCHAR, propulsion VARCHAR)
### Question:
What country had an anti-ship missile that had a solid rocket propulsion?
### Answer:
SELECT country FROM table_name_96 WHERE propulsion = "solid rocket" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR)
### Question:
What is the rate of 17 years?
### Answer:
SELECT rate FROM table_name_55 WHERE year = "17 years" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (american VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR)
### Question:
What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is "y /aɪ, ɨ/"?
### Answer:
SELECT american FROM table_name_7 WHERE initial_syllable_open_semi_open_unstressed_vowels = "y /aɪ, ɨ/" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (play VARCHAR, company VARCHAR)
### Question:
what is the play when the company is cyprus theatre organisation?
### Answer:
SELECT play FROM table_name_61 WHERE company = "cyprus theatre organisation" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)
### Question:
What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?
### Answer:
SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (home VARCHAR, visitor VARCHAR, date VARCHAR)
### Question:
Who was the home team that played against the Boston Bruins on January 11?
### Answer:
SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR)
### Question:
What's listed for the Turnout % with a Ngilu of 30,535?
### Answer:
SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17244483_1 (fin_pos VARCHAR, time_retired VARCHAR)
### Question:
How many positions did the car with a final time of +10.8098 finish in?
### Answer:
SELECT COUNT(fin_pos) FROM table_17244483_1 WHERE time_retired = "+10.8098" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20592988_1 (partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
### Question:
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
### Answer:
SELECT partial_thromboplastin_time FROM table_20592988_1 WHERE platelet_count = "Decreased" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (rank INTEGER, nationality VARCHAR, lane VARCHAR)
### Question:
What is the total national rank of Canada with lanes larger than 3?
### Answer:
SELECT SUM(rank) FROM table_name_72 WHERE nationality = "canada" AND lane > 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)
### Question:
Which Player has a Round larger than 5, and a School/Club Team of bethune-cookman?
### Answer:
SELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = "bethune-cookman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (tournament VARCHAR, score VARCHAR)
### Question:
Score of 4–6, 6–4, 6–4 included which tournament?
### Answer:
SELECT tournament FROM table_name_57 WHERE score = "4–6, 6–4, 6–4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11916083_1 (year INTEGER, mintage__proof_ VARCHAR)
### Question:
What is the earliest year where the mintage (proof) is 25,000?
### Answer:
SELECT MIN(year) FROM table_11916083_1 WHERE mintage__proof_ = "25,000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_182499_1 (substrate VARCHAR, enzyme VARCHAR)
### Question:
what is the subtrate for enzyme ala dehydratase
### Answer:
SELECT substrate FROM table_182499_1 WHERE enzyme = "ALA dehydratase" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR)
### Question:
What is Player, when Figures is source: . last updated: 28 june 2007.?
### Answer:
SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (rest_mass_mev___c_2 VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR)
### Question:
When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2?
### Answer:
SELECT rest_mass_mev___c_2 FROM table_name_58 WHERE makeup = "u s s" AND spin___parity___j_p = "3⁄2 +" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (result VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
Where week is greater than 14 and Opponent is Dallas Cowboys, what is the result?
### Answer:
SELECT result FROM table_name_89 WHERE week > 14 AND opponent = "dallas cowboys" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (original_air_date VARCHAR, series__number VARCHAR, season__number VARCHAR, production_code VARCHAR)
### Question:
Name the air date for the seasons before 14 and series less than 183 with production code more than 709
### Answer:
SELECT original_air_date FROM table_name_88 WHERE season__number < 14 AND production_code > 709 AND series__number < 183 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (position INTEGER, points VARCHAR, pilot VARCHAR)
### Question:
What is the average position of pilot petr krejcirik, who has less than 11 points?
### Answer:
SELECT AVG(position) FROM table_name_31 WHERE points < 11 AND pilot = "petr krejcirik" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (language VARCHAR, network VARCHAR, service VARCHAR)
### Question:
What language is the movie in that is on SAB network through Sky service?
### Answer:
SELECT language FROM table_name_97 WHERE network = "sab" AND service = "sky" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE has_pet (stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
### Question:
Find the number of pets for each student who has any pet and student id.
### Answer:
SELECT COUNT(*), T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (final_venue VARCHAR, winner VARCHAR)
### Question:
What was the Final Venue having Sheffield Reserves as the Winner?
### Answer:
SELECT final_venue FROM table_name_17 WHERE winner = "sheffield reserves" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (m939_series VARCHAR, m809_series VARCHAR, m39_series VARCHAR)
### Question:
Name the M939 series with M809 series of m817 and M39 series of m51
### Answer:
SELECT m939_series FROM table_name_54 WHERE m809_series = "m817" AND m39_series = "m51" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
### Question:
Who is everyone on the men's doubles when men's singles is Ma Wenge?
### Answer:
SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Ma Wenge" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (joined VARCHAR, conference_championships VARCHAR, nickname VARCHAR)
### Question:
What is the year joined with a Conference championships of 5, and a Nickname of wolfpack?
### Answer:
SELECT joined FROM table_name_15 WHERE conference_championships = 5 AND nickname = "wolfpack" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_53 (date VARCHAR, home VARCHAR)
### Question:
Which date had the Hornets as the home team?
### Answer:
SELECT date FROM table_name_53 WHERE home = "hornets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (year INTEGER, us_cham_rank INTEGER)
### Question:
Which Year is the lowest one that has a US Cham Rank smaller than 1?
### Answer:
SELECT MIN(year) FROM table_name_16 WHERE us_cham_rank < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
What is the average bronze with a rank of 4 and less than 1 silver?
### Answer:
SELECT AVG(bronze) FROM table_name_73 WHERE rank = 4 AND silver < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (Id VARCHAR)
### Question:
What is the 2008 result when 2006 is Year-End Championship?
### Answer:
SELECT 2008 FROM table_name_89 WHERE 2006 = "year-end championship" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (result VARCHAR, competition VARCHAR)
### Question:
What was the result of the UEFA Euro 2008 Qualifying competition?
### Answer:
SELECT result FROM table_name_97 WHERE competition = "uefa euro 2008 qualifying" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR)
### Question:
Name the report for 6 may
### Answer:
SELECT report FROM table_name_82 WHERE date = "6 may" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR)
### Question:
Name who wrote the production code 322
### Answer:
SELECT written_by FROM table_27462209_1 WHERE prod_code = 322 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
### Question:
What was the result on October 20, 2002?
### Answer:
SELECT result FROM table_name_87 WHERE date = "october 20, 2002" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (airport VARCHAR, country VARCHAR, icao VARCHAR)
### Question:
Which airport is in South Africa and has a ICAO fajs?
### Answer:
SELECT airport FROM table_name_44 WHERE country = "south africa" AND icao = "fajs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (date VARCHAR, course VARCHAR)
### Question:
What date was moena to aprica the course?
### Answer:
SELECT date FROM table_name_13 WHERE course = "moena to aprica" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (crowd INTEGER, venue VARCHAR)
### Question:
What was the attendance when VFL played MCG?
### Answer:
SELECT MAX(crowd) FROM table_name_11 WHERE venue = "mcg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (Id VARCHAR)
### Question:
What is the 1998 value if the 2000 value is 25?
### Answer:
SELECT 1998 FROM table_name_3 WHERE 2000 = "25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (race VARCHAR, category VARCHAR, date VARCHAR)
### Question:
What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
### Answer:
SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (club_province VARCHAR, caps VARCHAR)
### Question:
What club/province has 41 caps?
### Answer:
SELECT club_province FROM table_name_66 WHERE caps = 41 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (usage VARCHAR, engine VARCHAR)
### Question:
What is the for the f136fb engine?
### Answer:
SELECT usage FROM table_name_98 WHERE engine = "f136fb" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (season VARCHAR, skip VARCHAR, third VARCHAR)
### Question:
Which Season has a Skip of Eve Muirhead with a thirs of Jackie Lockhart (e/o) Kelly Wood (w)?
### Answer:
SELECT season FROM table_name_79 WHERE skip = "eve muirhead" AND third = "jackie lockhart (e/o) kelly wood (w)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (car_spec VARCHAR, team VARCHAR, drivers VARCHAR)
### Question:
What is the car specs for team Airwaves BMW's driver Rob Collard?
### Answer:
SELECT car_spec FROM table_name_68 WHERE team = "airwaves bmw" AND drivers = "rob collard" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Who directed the episode that had 3.55 million viewers?
### Answer:
SELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = "3.55" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR)
### Question:
What is the attendance sum of the game on March 16, 1990 with a loss record?
### Answer:
SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR)
### Question:
What is the most lanes used that had a winner from Ireland?
### Answer:
SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR)
### Question:
What is the result of the UEFA Cup, against Palermo?
### Answer:
SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341577_43 (district VARCHAR, candidates VARCHAR)
### Question:
In what district would you find the candidates listed as jim cooper (d) unopposed?
### Answer:
SELECT district FROM table_1341577_43 WHERE candidates = "Jim Cooper (D) Unopposed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)
### Question:
What was the Attendance of August 26?
### Answer:
SELECT attendance FROM table_name_14 WHERE date = "august 26" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (company VARCHAR, profits__billion_$_ VARCHAR, industry VARCHAR, assets__billion_$_ VARCHAR, sales__billion_$_ VARCHAR)
### Question:
Which company in the oil and gas industry has assets (billion $) under 235.45, sales (billion $) larger than 159.29 and brings in profits (billion $) of 19.28?
### Answer:
SELECT company FROM table_name_86 WHERE assets__billion_$_ < 235.45 AND sales__billion_$_ > 159.29 AND industry = "oil and gas" AND profits__billion_$_ = 19.28 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_287159_1 (other_abbreviation VARCHAR, genitive VARCHAR)
### Question:
What is the other abbreviation of the constellation that has hydrae /ˈhaɪdriː/ as genitive?
### Answer:
SELECT other_abbreviation FROM table_287159_1 WHERE genitive = "Hydrae /ˈhaɪdriː/" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (site VARCHAR, date VARCHAR)
### Question:
What is the Site when the date is 11/11/1950?
### Answer:
SELECT site FROM table_name_37 WHERE date = "11/11/1950" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)
### Question:
Who was the home team at Kardinia Park?
### Answer:
SELECT home_team FROM table_name_45 WHERE venue = "kardinia park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (visitor VARCHAR, date VARCHAR)
### Question:
What is the Visitor of the game on April 2?
### Answer:
SELECT visitor FROM table_name_86 WHERE date = "april 2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team score at lake oval?
### Answer:
SELECT home_team AS score FROM table_name_45 WHERE venue = "lake oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2985664_8 (innings INTEGER)
### Question:
What is the lowest value for innings?
### Answer:
SELECT MIN(innings) FROM table_2985664_8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18821196_1 (tv_network_s_ VARCHAR, weekly_schedule VARCHAR)
### Question:
What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?
### Answer:
SELECT tv_network_s_ FROM table_18821196_1 WHERE weekly_schedule = "Monday to Thursday @ 11:00 pm" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
### Question:
What home team did South Melbourne play as the away team?
### Answer:
SELECT home_team FROM table_name_19 WHERE away_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20728138_1 (seats_contested VARCHAR, party VARCHAR)
### Question:
How many seats are contested for independents?
### Answer:
SELECT seats_contested FROM table_20728138_1 WHERE party = "Independents" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR, wins VARCHAR)
### Question:
Who is the lowest ranked player from the United States that has less than 3 Wins?
### Answer:
SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (week INTEGER, opponent VARCHAR)
### Question:
What is the lowest attendance when the Atlanta Falcons were the opponent?
### Answer:
SELECT MIN(week) FROM table_name_69 WHERE opponent = "atlanta falcons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (away_team VARCHAR)
### Question:
When the away team was north melbourne, what was the away team score?
### Answer:
SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)
### Question:
What college, junior, or club team did defence player Rory Fitzpatrick play for?
### Answer:
SELECT college_junior_club_team FROM table_name_81 WHERE position = "defence" AND player = "rory fitzpatrick" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16337329_5 (imperative VARCHAR, past_habitual VARCHAR)
### Question:
Name the imperative for गरिस् garis 'you did'
### Answer:
SELECT imperative FROM table_16337329_5 WHERE past_habitual = "गरिस् garis 'you did'" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (best VARCHAR, team VARCHAR, qual_1 VARCHAR)
### Question:
Who from Conquest Racing had the best time of 1:34.748 in Qual 1?
### Answer:
SELECT best FROM table_name_4 WHERE team = "conquest racing" AND qual_1 = "1:34.748" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (bronze INTEGER, silver VARCHAR)
### Question:
What is the lowest bronze total that has a silver total of 13 medals?
### Answer:
SELECT MIN(bronze) FROM table_name_72 WHERE silver = "13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR)
### Question:
What is Collingwood's home venue?
### Answer:
SELECT venue FROM table_name_45 WHERE home_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (position VARCHAR, school VARCHAR)
### Question:
What position for the player from villa park high school?
### Answer:
SELECT position FROM table_name_5 WHERE school = "villa park high school" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (wins INTEGER, losses INTEGER)
### Question:
For the teams that had less than 1 loss, what was the average number of Wins?
### Answer:
SELECT AVG(wins) FROM table_name_51 WHERE losses < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)
### Question:
What is south in the 2001-02 season, which had germering wanderers east?
### Answer:
SELECT south FROM table_name_92 WHERE east = "germering wanderers" AND season = "2001-02" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)
### Question:
When did the old manager vacate his position in Plymouth Argyle?
### Answer:
SELECT date_of_vacancy FROM table_19359427_6 WHERE team = "Plymouth Argyle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
### Question:
Which Score has a Date of may 4?
### Answer:
SELECT score FROM table_name_60 WHERE date = "may 4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (morse_taper_number INTEGER, d__max_ VARCHAR, b__max_ VARCHAR)
### Question:
What's the total of the Morse Taper number when the D (max) is 20 and the B (max) greater than 94?
### Answer:
SELECT SUM(morse_taper_number) FROM table_name_1 WHERE d__max_ = 20 AND b__max_ > 94 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (wins INTEGER, team VARCHAR, season VARCHAR)
### Question:
Which Wins have a Team of winnipeg blue bombers, and a Season larger than 1964?
### Answer:
SELECT AVG(wins) FROM table_name_56 WHERE team = "winnipeg blue bombers" AND season > 1964 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1939367_1 (arabs_2001 INTEGER, province VARCHAR)
### Question:
If the province is Manitoba, what is the Arabs 2001 number?
### Answer:
SELECT MAX(arabs_2001) FROM table_1939367_1 WHERE province = "Manitoba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR)
### Question:
What Site has Attendance of 53,000, and a Date of october 21, 1967?
### Answer:
SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR)
### Question:
Name the termination of mission for appointed by of franklin pierce
### Answer:
SELECT termination_of_mission FROM table_name_76 WHERE appointed_by = "franklin pierce" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (tie_no VARCHAR, away_team VARCHAR)
### Question:
Which tie number has Bolton Wanderers as away?
### Answer:
SELECT tie_no FROM table_name_59 WHERE away_team = "bolton wanderers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (place VARCHAR, artist VARCHAR, draw VARCHAR, points VARCHAR)
### Question:
In what place is the artist Midnight Band with a draw larger than 2 and less than 139 points.
### Answer:
SELECT place FROM table_name_7 WHERE draw > 2 AND points < 139 AND artist = "midnight band" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (entered_service VARCHAR, locomotive VARCHAR)
### Question:
What is the Entered service date of the H1 Locomotive?
### Answer:
SELECT entered_service FROM table_name_54 WHERE locomotive = "h1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)
### Question:
What is the largest number of innings with less than 342 runs and more than 4 matches?
### Answer:
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22669816_1 (rnd VARCHAR, track VARCHAR)
### Question:
What rounds did Phoenix International Raceway host?
### Answer:
SELECT rnd FROM table_22669816_1 WHERE track = "Phoenix International Raceway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29289213_1 (australian_cast VARCHAR, _2012 VARCHAR, character VARCHAR)
### Question:
Who played Lily Cahill in the Australian 2012 production?
### Answer:
SELECT australian_cast, _2012 FROM table_29289213_1 WHERE character = "Lily Cahill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (d_43 VARCHAR, d_45 VARCHAR)
### Question:
Name the D 43 when it has D 45 of d 25
### Answer:
SELECT d_43 FROM table_name_45 WHERE d_45 = "d 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
### Question:
How many papers are published by the institution "Tokohu University"?
### Answer:
SELECT COUNT(DISTINCT t1.title) FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Tokohu University" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (name VARCHAR, out_of VARCHAR, rank VARCHAR)
### Question:
Which Name had a Rank of 18 Out of a number smaller than 149?
### Answer:
SELECT name FROM table_name_31 WHERE out_of < 149 AND rank = 18 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (results¹ VARCHAR, city VARCHAR)
### Question:
What were the results against the game against Skoplje?
### Answer:
SELECT results¹ FROM table_name_61 WHERE city = "skoplje" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1676073_12 (played VARCHAR, points VARCHAR)
### Question:
How many games played for the team with 48 points?
### Answer:
SELECT played FROM table_1676073_12 WHERE points = "48" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.