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_name_31 (surface VARCHAR, opponent VARCHAR)
### Question:
What is Surface, when Opponent is "Jiří Vaněk"?
### Answer:
SELECT surface FROM table_name_31 WHERE opponent = "jiří vaněk" |
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 HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Name VARCHAR, Host_ID VARCHAR)
### Question:
List the names of hosts who did not serve as a host of any party in our record.
### Answer:
SELECT Name FROM HOST WHERE NOT Host_ID IN (SELECT Host_ID FROM party_host) |
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_78 (total_deaths VARCHAR, total_casualties VARCHAR, israeli_and_or_foreigner_wounded VARCHAR, other_deaths VARCHAR)
### Question:
What is the total number of deaths of the attack with 0 Israelis or foreigners wounded, 0 other deaths, and a total casualty of 1?
### Answer:
SELECT total_deaths FROM table_name_78 WHERE israeli_and_or_foreigner_wounded = "0" AND other_deaths = "0" AND total_casualties = "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_12280396_1 (county VARCHAR, elevation__m_ VARCHAR)
### Question:
What is the county with an elevation of 1262?
### Answer:
SELECT county FROM table_12280396_1 WHERE elevation__m_ = 1262 |
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_99 (title VARCHAR, production_code VARCHAR)
### Question:
What is the title of the episode with production code ad1c07?
### Answer:
SELECT title FROM table_name_99 WHERE production_code = "ad1c07" |
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 (tournament VARCHAR, date VARCHAR)
### Question:
What was the name of the tournament played on Jun 17, 1973?
### Answer:
SELECT tournament FROM table_name_3 WHERE date = "jun 17, 1973" |
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 (runner_s__up VARCHAR, winning_score VARCHAR)
### Question:
During the championship where the winning score was −9 (66-69-73-71=279)?, who was the runner-up?
### Answer:
SELECT runner_s__up FROM table_name_32 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279) |
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_71 (extra_laps VARCHAR, total_points VARCHAR)
### Question:
What is the number of extra laps for 9 total points?
### Answer:
SELECT extra_laps FROM table_name_71 WHERE total_points = "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_22265225_1 (no_in_season VARCHAR, no_in_series VARCHAR)
### Question:
How many episodes were listed as number 29 in the series?
### Answer:
SELECT COUNT(no_in_season) FROM table_22265225_1 WHERE no_in_series = "29" |
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 (career_sr VARCHAR, tournament VARCHAR)
### Question:
What is the career SR for the tournament of wimbledon?
### Answer:
SELECT career_sr FROM table_name_21 WHERE tournament = "wimbledon" |
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_20 (artist VARCHAR, issue_price VARCHAR)
### Question:
Which Artist has an Issue Price of $1,541.95?
### Answer:
SELECT artist FROM table_name_20 WHERE issue_price = "$1,541.95" |
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 (points INTEGER, artist VARCHAR, draw VARCHAR)
### Question:
How many points does catcat have with more than 2 draws?
### Answer:
SELECT AVG(points) FROM table_name_21 WHERE artist = "catcat" AND draw > 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_30 (player VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
### Question:
Who had a transfer fee of released and played the position of DF?
### Answer:
SELECT player FROM table_name_30 WHERE transfer_fee = "released" AND pos = "df" |
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_22 (free_agent_class VARCHAR, pick INTEGER)
### Question:
What was the free agent class, with a pick less than 38?
### Answer:
SELECT free_agent_class FROM table_name_22 WHERE pick < 38 |
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_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)
### Question:
What was the original air date of the episode directed by frederick e. o. toye?
### Answer:
SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye" |
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_62 (high_rebounds VARCHAR, score VARCHAR)
### Question:
Which High rebounds has a Score of w 81-69?
### Answer:
SELECT high_rebounds FROM table_name_62 WHERE score = "w 81-69" |
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_18173916_8 (wednesday VARCHAR, tuesday VARCHAR)
### Question:
which episode was Transmitted on wednesday if the episode of "319 sucker punch" was transmitted on tuesday?
### Answer:
SELECT COUNT(wednesday) FROM table_18173916_8 WHERE tuesday = "319 Sucker Punch" |
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 device (Carrier VARCHAR)
### Question:
List the carriers of devices in ascending alphabetical order.
### Answer:
SELECT Carrier FROM device ORDER BY Carrier |
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 (max_power VARCHAR)
### Question:
What is the 0–100km/h (62mph) when the max power is s diesel engine all direct injection (dci)?
### Answer:
SELECT 0 AS _100km_h__62mph_ FROM table_name_16 WHERE max_power = "s diesel engine all direct injection (dci)" |
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 Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR, friend_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)
### Question:
Show the names of all of the high schooler Kyle's friends.
### Answer:
SELECT T3.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id JOIN Highschooler AS T3 ON T1.friend_id = T3.id WHERE T2.name = "Kyle" |
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 battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR)
### Question:
What are the name and results of the battles when the bulgarian commander is not 'Boril'
### Answer:
SELECT name, RESULT FROM battle WHERE bulgarian_commander <> 'Boril' |
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_10707176_2 (pole_position VARCHAR, rnd VARCHAR)
### Question:
Who was the pole position for the rnd equalling 12?
### Answer:
SELECT pole_position FROM table_10707176_2 WHERE rnd = "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_4 (venue VARCHAR, opponents VARCHAR)
### Question:
Where did v kent play?
### Answer:
SELECT venue FROM table_name_4 WHERE opponents = "v kent" |
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_8 (record VARCHAR, head_coach VARCHAR)
### Question:
What was the record of the team with head coach Steve Spurrier?
### Answer:
SELECT record FROM table_name_8 WHERE head_coach = "steve spurrier" |
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_99 (institution VARCHAR, aided VARCHAR, total VARCHAR, government VARCHAR)
### Question:
Which Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0?
### Answer:
SELECT institution FROM table_name_99 WHERE total < 13 AND government = 1 AND aided = 0 |
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_12886178_4 (points VARCHAR, club VARCHAR)
### Question:
How many points does Croesyceiliog RFC have?
### Answer:
SELECT points FROM table_12886178_4 WHERE club = "Croesyceiliog RFC" |
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_256286_20 (no_votes INTEGER, _percentage_yes VARCHAR)
### Question:
HOw many no votes were there when there were 45.60% yes votes
### Answer:
SELECT MIN(no_votes) FROM table_256286_20 WHERE _percentage_yes = "45.60%" |
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 (score VARCHAR, date VARCHAR)
### Question:
What was the final score for the game on May 1?
### Answer:
SELECT score FROM table_name_72 WHERE date = "may 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_1140080_2 (race VARCHAR, constructor VARCHAR)
### Question:
what's the race winner with constructor renault
### Answer:
SELECT race AS Winner FROM table_1140080_2 WHERE constructor = "Renault" |
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 (iata VARCHAR, icao VARCHAR)
### Question:
What is RJCM's IATA?
### Answer:
SELECT iata FROM table_name_76 WHERE icao = "rjcm" |
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 (pos VARCHAR, height VARCHAR, date_of_birth VARCHAR)
### Question:
What is Pos., when Height is "m (ft 10in)", and when Date of Birth is "1983-05-29"?
### Answer:
SELECT pos FROM table_name_45 WHERE height = "m (ft 10in)" AND date_of_birth = "1983-05-29" |
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_9 (pick__number VARCHAR, position VARCHAR, affiliation VARCHAR)
### Question:
Tell me the total number of picks for position of m of williams college
### Answer:
SELECT COUNT(pick__number) FROM table_name_9 WHERE position = "m" AND affiliation = "williams college" |
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_71 (winner VARCHAR, semi_finalists VARCHAR)
### Question:
Which Winner has Semi-Finalists of £2,000?
### Answer:
SELECT winner FROM table_name_71 WHERE semi_finalists = "£2,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_2102714_1 (broadcast_date VARCHAR, run_time VARCHAR)
### Question:
What date was an episode broadcasted on that had a run time of 24:40?
### Answer:
SELECT broadcast_date FROM table_2102714_1 WHERE run_time = "24:40" |
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 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
### Question:
WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh?
### Answer:
SELECT partner FROM table_name_3 WHERE outcome = "winner" AND opponents_in_the_final = "rick leach jim pugh" |
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_1756264_2 (company_name VARCHAR, parent__holding__company VARCHAR)
### Question:
How many companies have Postermobile Limited as a parent company?
### Answer:
SELECT COUNT(company_name) FROM table_1756264_2 WHERE parent__holding__company = "POSTERMOBILE LIMITED" |
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 (opponent VARCHAR, loss VARCHAR)
### Question:
Who was the opponent at the game with a loss of Sele (0-1)?
### Answer:
SELECT opponent FROM table_name_36 WHERE loss = "sele (0-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_2 (netflix VARCHAR, segment_d VARCHAR)
### Question:
What is the Netflix number having a segment D, of NED can corn?
### Answer:
SELECT netflix FROM table_name_2 WHERE segment_d = "ned can corn" |
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_224672_2 (term_ended VARCHAR, term_began VARCHAR)
### Question:
When did the term end that began December 4, 1978?
### Answer:
SELECT term_ended FROM table_224672_2 WHERE term_began = "December 4, 1978" |
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 (total INTEGER, rank VARCHAR, county VARCHAR, tally VARCHAR)
### Question:
Which Total has a County of kilkenny, and a Tally of 1–4, and a Rank larger than 10?
### Answer:
SELECT AVG(total) FROM table_name_13 WHERE county = "kilkenny" AND tally = "1–4" AND rank > 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 table_name_77 (rank VARCHAR, points VARCHAR, placings VARCHAR)
### Question:
What is the Rank of the couple with less than 408.8 Points and Placings of 160?
### Answer:
SELECT rank FROM table_name_77 WHERE points < 408.8 AND placings = 160 |
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_6 (career VARCHAR, giant_slalom VARCHAR, parallel VARCHAR, combined VARCHAR)
### Question:
What Career has a Parallel of –, a Combined of –, and a Giant Slalom of 5?
### Answer:
SELECT career FROM table_name_6 WHERE parallel = "–" AND combined = "–" AND giant_slalom = "5" |
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 (matches INTEGER, points VARCHAR, results VARCHAR)
### Question:
Points larger than 6, and a Results of 522:443 had what lowest matches?
### Answer:
SELECT MIN(matches) FROM table_name_44 WHERE points > 6 AND results = "522:443" |
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 (position VARCHAR, college VARCHAR)
### Question:
What position did the player have who was from the college of california?
### Answer:
SELECT position FROM table_name_55 WHERE college = "california" |
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_18 (goals_for INTEGER, ties INTEGER)
### Question:
What is the largest Goals For by a team that has more than 0 ties?
### Answer:
SELECT MAX(goals_for) FROM table_name_18 WHERE ties > 0 |
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 (city VARCHAR, venue VARCHAR)
### Question:
What city is University Gym (Gold Mine) in?
### Answer:
SELECT city FROM table_name_76 WHERE venue = "university gym (gold mine)" |
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 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
What is the average number of bronze medals with 1 silver, 5 gold, and over 6 total medals?
### Answer:
SELECT AVG(bronze) FROM table_name_85 WHERE silver = 1 AND gold = 5 AND total < 6 |
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_65 (moving_from VARCHAR, ends INTEGER)
### Question:
What is Moving From, when Ends is before 2011?
### Answer:
SELECT moving_from FROM table_name_65 WHERE ends < 2011 |
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 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR)
### Question:
What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals?
### Answer:
SELECT AVG(fa_cup) FROM table_name_57 WHERE total > 20 AND fa_trophy < 1 AND league < 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_27 (score VARCHAR, leading_scorer VARCHAR)
### Question:
What is the score of the game with Manu ginóbili (44) as the leading scorer?
### Answer:
SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)" |
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 (name VARCHAR, rank VARCHAR, placings VARCHAR)
### Question:
Who has a rank great than 3 and a placing of 64?
### Answer:
SELECT name FROM table_name_60 WHERE rank > 3 AND placings = "64" |
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_1602620_1 (type VARCHAR, term_began VARCHAR)
### Question:
What type had a beginning term of December 8, 1980
### Answer:
SELECT type FROM table_1602620_1 WHERE term_began = "December 8, 1980" |
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_67 (period VARCHAR, year VARCHAR)
### Question:
What was the period for 1896?
### Answer:
SELECT period FROM table_name_67 WHERE year = 1896 |
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_29301050_1 (train_number VARCHAR, frequency VARCHAR, arrival_lonavla VARCHAR)
### Question:
how many trains run daily to lonavla and arrive at 12:25
### Answer:
SELECT COUNT(train_number) FROM table_29301050_1 WHERE frequency = "Daily" AND arrival_lonavla = "12: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_75 (date VARCHAR, tv_time VARCHAR)
### Question:
When has a TV Time of fox 12:00 pm cdt?
### Answer:
SELECT date FROM table_name_75 WHERE tv_time = "fox 12:00 pm cdt" |
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_30108930_6 (cfl_team VARCHAR, pick__number VARCHAR)
### Question:
Which CFL team got pick 34?
### Answer:
SELECT cfl_team FROM table_30108930_6 WHERE pick__number = 34 |
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 (frequency INTEGER, brand VARCHAR)
### Question:
Name the sum of frequecy with brand of exa fm
### Answer:
SELECT SUM(frequency) FROM table_name_47 WHERE brand = "exa fm" |
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_42 (tournament VARCHAR, opponent_in_the_final VARCHAR)
### Question:
Olga Blahotová was the opponent in the final at what tournament?
### Answer:
SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová" |
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 (e_score INTEGER, total VARCHAR)
### Question:
What was the sum of the E scores when the total score was 19.466?
### Answer:
SELECT SUM(e_score) FROM table_name_7 WHERE total = 19.466 |
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_18442691_2 (album VARCHAR, no VARCHAR)
### Question:
When 35 is the number what is the album?
### Answer:
SELECT album FROM table_18442691_2 WHERE no = 35 |
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 PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, job VARCHAR, gender VARCHAR)
### Question:
Find the male friend of Alice whose job is a doctor?
### Answer:
SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'male' AND T1.job = 'doctor' |
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 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
### Question:
What is the airing date for costume comedy that has 20 episodes?
### Answer:
SELECT airing_date FROM table_name_91 WHERE number_of_episodes = 20 AND genre = "costume comedy" |
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 (lane VARCHAR, heat VARCHAR, nationality VARCHAR)
### Question:
What is the Lane of the swimmer from Uzbekistan in Heat 1?
### Answer:
SELECT COUNT(lane) FROM table_name_88 WHERE heat = 1 AND nationality = "uzbekistan" |
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 (region VARCHAR, catalog VARCHAR)
### Question:
Which region is identified as 38xa-3 in the catalog?
### Answer:
SELECT region FROM table_name_7 WHERE catalog = "38xa-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_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR)
### Question:
what are all the playoffs for u.s. open cup in 1st round
### Answer:
SELECT playoffs FROM table_1046170_5 WHERE us_open_cup = "1st Round" |
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 (january VARCHAR, april VARCHAR)
### Question:
Name the january when april is courtney rachel culkin
### Answer:
SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin" |
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 (week_13_nov_30 VARCHAR, week_11_nov_16 VARCHAR)
### Question:
What is the week 13 Nov 30 standing with USC (7-3) on week 11 Nov 16?
### Answer:
SELECT week_13_nov_30 FROM table_name_36 WHERE week_11_nov_16 = "usc (7-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_32 (premiere VARCHAR, the_biggest_loser VARCHAR)
### Question:
What was the premiere date of the season won by Matt Hoover?
### Answer:
SELECT premiere FROM table_name_32 WHERE the_biggest_loser = "matt hoover" |
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_10321805_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
How many original titles did Marriage Italian-Style have?
### Answer:
SELECT COUNT(original_title) FROM table_10321805_1 WHERE film_title_used_in_nomination = "Marriage Italian-Style" |
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_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)
### Question:
Who is the outgoing head coach when the incoming head coach is abdollah veysi?
### Answer:
SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi" |
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 (lane VARCHAR, rank VARCHAR, name VARCHAR)
### Question:
what is the number of lane with a rank more than 2 for Louise ørnstedt?
### Answer:
SELECT COUNT(lane) FROM table_name_86 WHERE rank > 2 AND name = "louise ørnstedt" |
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_1939214_1 (year VARCHAR, league VARCHAR)
### Question:
In what year did the team compete in the USISL Pro League?
### Answer:
SELECT year FROM table_1939214_1 WHERE league = "USISL Pro league" |
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_41 (total VARCHAR, name VARCHAR)
### Question:
What is Norikazu Murakami's total?
### Answer:
SELECT total FROM table_name_41 WHERE name = "norikazu murakami" |
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_19312274_2 (current INTEGER)
### Question:
what is the least current
### Answer:
SELECT MIN(current) FROM table_19312274_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_93 (week VARCHAR, attendance VARCHAR)
### Question:
Which week had an attendance of 51,265?
### Answer:
SELECT week FROM table_name_93 WHERE attendance = "51,265" |
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 (pages VARCHAR, date VARCHAR)
### Question:
How many pages does the story from 1987-08 have?
### Answer:
SELECT pages FROM table_name_69 WHERE date = "1987-08" |
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_25840200_1 (division VARCHAR, tv VARCHAR)
### Question:
What division was on HBO PPV?
### Answer:
SELECT division FROM table_25840200_1 WHERE tv = "HBO PPV" |
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_38 (role VARCHAR, year VARCHAR)
### Question:
Tell me the role for 2005
### Answer:
SELECT role FROM table_name_38 WHERE year = 2005 |
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 (engine VARCHAR, rounds VARCHAR)
### Question:
In rounds 7-13 what engine was featured?
### Answer:
SELECT engine FROM table_name_58 WHERE rounds = "7-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_96 (team VARCHAR, year VARCHAR, class VARCHAR)
### Question:
Which Team has a Year smaller than 2007, and a Class of gts?
### Answer:
SELECT team FROM table_name_96 WHERE year < 2007 AND class = "gts" |
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 (number VARCHAR, builder VARCHAR, works_number VARCHAR)
### Question:
With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
### Answer:
SELECT number FROM table_name_15 WHERE builder = "baldwin locomotive works" AND works_number = 40864 |
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 (launched VARCHAR, ship VARCHAR)
### Question:
What launch has a Ship of fearless?
### Answer:
SELECT launched FROM table_name_64 WHERE ship = "fearless" |
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 (actor_actress VARCHAR, tenure VARCHAR, character VARCHAR)
### Question:
What Actor/Actress a Tenure of 2008–2011 played Stella Dagostino?
### Answer:
SELECT actor_actress FROM table_name_88 WHERE tenure = "2008–2011" AND character = "stella dagostino" |
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 (draws VARCHAR, losses VARCHAR, against VARCHAR, club VARCHAR)
### Question:
Mortlake club has more than 924 against, less than 14 losses, and how many total draws?
### Answer:
SELECT COUNT(draws) FROM table_name_66 WHERE against > 924 AND club = "mortlake" AND losses < 14 |
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_15637071_1 (fleet_size INTEGER, callsign VARCHAR)
### Question:
What is the fleet size of the airline which has a callsign of cool red?
### Answer:
SELECT MIN(fleet_size) FROM table_15637071_1 WHERE callsign = "COOL RED" |
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_30 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was St Kilda's away team score?
### Answer:
SELECT away_team AS score FROM table_name_30 WHERE home_team = "st kilda" |
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_65 (type VARCHAR, project VARCHAR, weight__kg_ VARCHAR)
### Question:
Name the typ for project of igmdp and weight of 16,000
### Answer:
SELECT type FROM table_name_65 WHERE project = "igmdp" AND weight__kg_ = "16,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_197638_6 (australian_open VARCHAR, player VARCHAR)
### Question:
How many times did Roy Emerson win the Australian Open?
### Answer:
SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Roy Emerson" |
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 (date VARCHAR, venue VARCHAR)
### Question:
What date was the game played at Lake Oval?
### Answer:
SELECT date FROM table_name_80 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_name_6 (location_attendance VARCHAR, record VARCHAR)
### Question:
What is the location and attendance of the game with a 3-1-0 record?
### Answer:
SELECT location_attendance FROM table_name_6 WHERE record = "3-1-0" |
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 (title VARCHAR, date VARCHAR, artist VARCHAR)
### Question:
Which title was created in 2001 by Mellow?
### Answer:
SELECT title FROM table_name_73 WHERE date = 2001 AND artist = "mellow" |
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_28 (site VARCHAR, superintendent VARCHAR)
### Question:
What is the site when the superintendent was John Barry?
### Answer:
SELECT site FROM table_name_28 WHERE superintendent = "john barry" |
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 (quarterfinals VARCHAR, rank VARCHAR)
### Question:
What's the quarterfinals when the rank was bronze?
### Answer:
SELECT quarterfinals FROM table_name_79 WHERE rank = "bronze" |
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_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)
### Question:
Name the open cup for usl pdl for did not qualify
### Answer:
SELECT open_cup FROM table_2365150_1 WHERE league = "USL PDL" AND playoffs = "Did not qualify" |
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_17798548_4 (date_released VARCHAR, season VARCHAR)
### Question:
On how many dates was the complete 4th series released?
### Answer:
SELECT COUNT(date_released) FROM table_17798548_4 WHERE season = "The Complete 4th Series" |
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 (engine_capacity INTEGER, mpg_us_urban VARCHAR, mpg_uk_urban__cold_ VARCHAR, mpg_uk_extra_urban VARCHAR)
### Question:
What's the engine capacity when the mpg-UK urban is less than 12.2, the mpg-UK extra urban is less than 18.8 and the mpg-US turban is less than 7.2?
### Answer:
SELECT SUM(engine_capacity) FROM table_name_53 WHERE mpg_uk_urban__cold_ < 12.2 AND mpg_uk_extra_urban < 18.8 AND mpg_us_urban < 7.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_18077713_1 (year_to_april VARCHAR, earnings_per_share__¢_ VARCHAR)
### Question:
When the earning per share is listed as 22.0 what is the year to april?
### Answer:
SELECT COUNT(year_to_april) FROM table_18077713_1 WHERE earnings_per_share__¢_ = "22.0" |
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 (order VARCHAR, elector VARCHAR)
### Question:
What's the Order with an Elector of Marino Bulcani?
### Answer:
SELECT order FROM table_name_61 WHERE elector = "marino bulcani" |
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_2933761_1 (gender VARCHAR, name VARCHAR)
### Question:
What gender is Quentin?
### Answer:
SELECT gender FROM table_2933761_1 WHERE name = "Quentin" |
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 (result VARCHAR, year VARCHAR)
### Question:
What was the result in 1995?
### Answer:
SELECT result FROM table_name_79 WHERE year = 1995 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.