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_14 (team_2 VARCHAR)
### Question:
What was the 1st leg for Team 2, Leeds United?
### Answer:
SELECT 1 AS st_leg FROM table_name_14 WHERE team_2 = "leeds united"
|
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_19131921_1 (dma INTEGER, format VARCHAR)
### Question:
What is the dma when the format is rhythmic contemporary?
### Answer:
SELECT MIN(dma) FROM table_19131921_1 WHERE format = "Rhythmic Contemporary"
|
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 (year INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)
### Question:
In what Year did the Norton Team have 0 Points and 350cc Class?
### Answer:
SELECT AVG(year) FROM table_name_81 WHERE class = "350cc" AND team = "norton" AND points < 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_58 (bronze INTEGER, nation VARCHAR, total VARCHAR)
### Question:
How much Bronze has a Nation of mexico, and a Total larger than 1?
### Answer:
SELECT SUM(bronze) FROM table_name_58 WHERE nation = "mexico" AND total > 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 tryout (cName VARCHAR)
### Question:
Find the number of students who participate in the tryout for each college ordered by descending count.
### Answer:
SELECT COUNT(*), cName FROM tryout GROUP BY cName ORDER BY COUNT(*) DESC
|
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 customers (Id VARCHAR)
### Question:
Find the number of customers in total.
### Answer:
SELECT COUNT(*) FROM customers
|
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 (attendance VARCHAR, time VARCHAR)
### Question:
What was the attendance for the game played at 3:31?
### Answer:
SELECT attendance FROM table_name_76 WHERE time = "3:31"
|
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 (points INTEGER, year INTEGER)
### Question:
Year larger than 2001 has what average points?
### Answer:
SELECT AVG(points) FROM table_name_92 WHERE year > 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_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR)
### Question:
What is the democratic seat plurality with 29% democrat?
### Answer:
SELECT democratic_seat_plurality FROM table_name_94 WHERE percentage_democrats = "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_35 (high_assists VARCHAR, high_points VARCHAR)
### Question:
What was the high assist when the high point was Eric Gordon (21)?
### Answer:
SELECT high_assists FROM table_name_35 WHERE high_points = "eric gordon (21)"
|
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 CHARACTERISTICS (characteristic_name VARCHAR, characteristic_data_type VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### Question:
List all the characteristic names and data types of product "cumin".
### Answer:
SELECT t3.characteristic_name, t3.characteristic_data_type FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "cumin"
|
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_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What was the outcome for Newcombe in the matches he played against Jan Kodeš?
### Answer:
SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš"
|
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 (total INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
Name the lowest total for rank of 13 with bronze less than 1
### Answer:
SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 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_30 (season VARCHAR, wins VARCHAR, final_placing VARCHAR)
### Question:
What is the total number of seasons with more than 0 wins and a 1st final placing?
### Answer:
SELECT COUNT(season) FROM table_name_30 WHERE wins > 0 AND final_placing = "1st"
|
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 (winner VARCHAR, stage VARCHAR)
### Question:
what is the winner of stage 3
### Answer:
SELECT winner FROM table_name_75 WHERE stage = 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_26036389_1 (sr_no INTEGER, name_of_road VARCHAR)
### Question:
What is the Sr. number of Banikhet Dalhouse Khajiar?
### Answer:
SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar"
|
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 (tied VARCHAR, mountain_west VARCHAR, years VARCHAR)
### Question:
How many games tied for the air force with over 57 years participating?
### Answer:
SELECT COUNT(tied) FROM table_name_69 WHERE mountain_west = "air force" AND years > 57
|
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 shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf?
### Answer:
SELECT 1992 FROM table_name_3 WHERE 2001 = "1r" AND 1994 = "1r" AND 2002 = "qf"
|
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_1341586_43 (first_elected VARCHAR, district VARCHAR)
### Question:
Name number first elected for tennessee 2?
### Answer:
SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = "Tennessee 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_15824796_3 (title VARCHAR, original_air_date VARCHAR)
### Question:
How many episodes aired on february 13, 1954?
### Answer:
SELECT COUNT(title) FROM table_15824796_3 WHERE original_air_date = "February 13, 1954"
|
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 (position VARCHAR, school VARCHAR)
### Question:
Name the position for indiana state
### Answer:
SELECT position FROM table_name_17 WHERE school = "indiana state"
|
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 (laps INTEGER, year VARCHAR, co_drivers VARCHAR)
### Question:
What is the lowest Laps that has a Year after 2002 with Alexander Frei Bruno Besson?
### Answer:
SELECT MIN(laps) FROM table_name_4 WHERE year > 2002 AND co_drivers = "alexander frei bruno besson"
|
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 tracks (name VARCHAR, genre_id VARCHAR); CREATE TABLE albums (id VARCHAR, title VARCHAR)
### Question:
List name of all tracks in Balls to the Wall.
### Answer:
SELECT T2.name FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.title = "Balls to the Wall"
|
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 (constituency_number VARCHAR, district VARCHAR)
### Question:
Bhiwani district have what constituency number?
### Answer:
SELECT constituency_number FROM table_name_37 WHERE district = "bhiwani"
|
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 (hdtv VARCHAR, television_service VARCHAR)
### Question:
What is HDTV, when Television Service is MTV Rocks?
### Answer:
SELECT hdtv FROM table_name_21 WHERE television_service = "mtv rocks"
|
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_21761882_4 (final_score VARCHAR, opponent VARCHAR)
### Question:
What was the final score when the game was @ roughriders?
### Answer:
SELECT final_score FROM table_21761882_4 WHERE opponent = "@ Roughriders"
|
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 (total_points VARCHAR, gp_gs VARCHAR)
### Question:
What is the total points for GP/GS of 24/23?
### Answer:
SELECT total_points FROM table_name_28 WHERE gp_gs = "24/23"
|
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 Person (name VARCHAR, age VARCHAR); CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR)
### Question:
Find the name and age of the person who is a friend of both Dan and Alice.
### Answer:
SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' INTERSECT SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice'
|
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 (nationality VARCHAR, fate VARCHAR, tonnage__grt_ VARCHAR)
### Question:
Which Nationality has a Fate of sunk (mine), and a Tonnage (GRT) smaller than 2,266?
### Answer:
SELECT nationality FROM table_name_80 WHERE fate = "sunk (mine)" AND tonnage__grt_ < 2 OFFSET 266
|
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 (score VARCHAR, city VARCHAR)
### Question:
What is the score in Leicester?
### Answer:
SELECT score FROM table_name_42 WHERE city = "leicester"
|
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 (tournament VARCHAR)
### Question:
What are the results in 2008 when 2009 is 0, and the ATP Tournaments Won is the tournament?
### Answer:
SELECT 2008 FROM table_name_36 WHERE 2009 = "0" AND tournament = "atp tournaments won"
|
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_19850806_3 (winning_driver VARCHAR, rd VARCHAR)
### Question:
Who is the winning driver when rd. is 3?
### Answer:
SELECT winning_driver FROM table_19850806_3 WHERE rd = "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_2509505_1 (games VARCHAR, lost VARCHAR)
### Question:
Name the total number of games for lost being 41
### Answer:
SELECT COUNT(games) FROM table_2509505_1 WHERE lost = 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_77 (crowd INTEGER, home_team VARCHAR)
### Question:
What was the average crowd size for the game when the Gold Coast Blaze was the home team?
### Answer:
SELECT AVG(crowd) FROM table_name_77 WHERE home_team = "gold coast blaze"
|
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_29 (to_par VARCHAR, player VARCHAR)
### Question:
what is the to par when the player is jack nicklaus?
### Answer:
SELECT to_par FROM table_name_29 WHERE player = "jack nicklaus"
|
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_11803648_20 (position VARCHAR, overall VARCHAR)
### Question:
What position is associated with an overall value of 126?
### Answer:
SELECT position FROM table_11803648_20 WHERE overall = "126"
|
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 (opponent VARCHAR, score VARCHAR)
### Question:
Who was the Opponent in the match with a Score of 6–3, 6–4?
### Answer:
SELECT opponent FROM table_name_61 WHERE score = "6–3, 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_name_17 (opponent VARCHAR, event VARCHAR)
### Question:
What is Opponent, when Event is RITC 22 - Rage In The Cage 22?
### Answer:
SELECT opponent FROM table_name_17 WHERE event = "ritc 22 - rage in the cage 22"
|
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 (first_class_team VARCHAR, player VARCHAR)
### Question:
What first class team does sanath jayasuriya play for?
### Answer:
SELECT first_class_team FROM table_name_51 WHERE player = "sanath jayasuriya"
|
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_28215780_4 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
How many episodes had 11.86 million US viewers?
### Answer:
SELECT COUNT(no_in_series) FROM table_28215780_4 WHERE us_viewers__millions_ = "11.86"
|
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_70 (date VARCHAR, venue VARCHAR)
### Question:
what is the date when the venue is gold coast convention centre?
### Answer:
SELECT date FROM table_name_70 WHERE venue = "gold coast convention centre"
|
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_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
### Question:
Who has high points when verizon center 17,152 is location attendance?
### Answer:
SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Verizon Center 17,152"
|
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 (nhl_team VARCHAR, player VARCHAR)
### Question:
On what NHL team does Roman Vopat play for?
### Answer:
SELECT nhl_team FROM table_name_57 WHERE player = "roman vopat"
|
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 (duration VARCHAR, test_flight VARCHAR)
### Question:
What is Duration, when Test Flight is Taxi Test #2?
### Answer:
SELECT duration FROM table_name_20 WHERE test_flight = "taxi test #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_1341549_33 (first_elected VARCHAR, result VARCHAR, incumbent VARCHAR)
### Question:
how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district
### Answer:
SELECT COUNT(first_elected) FROM table_1341549_33 WHERE result = "Re-elected" AND incumbent = "Gary Ackerman Redistricted from the 7th district"
|
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_26240481_1 (charleston_southerns_head_coach VARCHAR, result VARCHAR)
### Question:
Who is Charleston Southerns head coach where the result is L, 56-6?-
### Answer:
SELECT charleston_southerns_head_coach FROM table_26240481_1 WHERE result = "L, 56-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_45 (away_team VARCHAR, venue VARCHAR)
### Question:
What Away Team's venue is Arden Street Oval?
### Answer:
SELECT away_team FROM table_name_45 WHERE venue = "arden street 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_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)
### Question:
What is the digital reaction for week of top 5 for Taylor Hicks?
### Answer:
SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks"
|
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 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
### Question:
What was the chassis when the entrant was Lavazza March, and the year was 1975?
### Answer:
SELECT chassis FROM table_name_38 WHERE entrant = "lavazza march" AND year = 1975
|
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_29 (overs INTEGER, economy_rate VARCHAR, team VARCHAR, best_bowling VARCHAR)
### Question:
What is the lowest overs of the Chennai Super Kings when the Economy Rate is less than 5.92 with a Best Bowling number of 2/17?
### Answer:
SELECT MIN(overs) FROM table_name_29 WHERE team = "chennai super kings" AND best_bowling = "2/17" AND economy_rate < 5.92
|
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 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
### Question:
What was the original title for the film used in nomination of keep smiling?
### Answer:
SELECT original_title FROM table_name_36 WHERE film_title_used_in_nomination = "keep smiling"
|
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 (geo_id INTEGER, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)
### Question:
What is the highest GEO ID for land masses over 38.117 sq mi and over 2.065 sq mi of water?
### Answer:
SELECT MAX(geo_id) FROM table_name_99 WHERE land___sqmi__ > 38.117 AND water__sqmi_ > 2.065
|
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_25355392_2 (march_27_29 VARCHAR, november_3 VARCHAR)
### Question:
what is march 27-29 when november 3 is 133?
### Answer:
SELECT march_27_29 FROM table_25355392_2 WHERE november_3 = "133"
|
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_25 (attendance VARCHAR, week VARCHAR)
### Question:
What was the Attendance in Week 2?
### Answer:
SELECT attendance FROM table_name_25 WHERE week = 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_24574438_1 (population_density___km_2__ VARCHAR, ds_division VARCHAR)
### Question:
Name the popultion density being manthai west
### Answer:
SELECT population_density___km_2__ FROM table_24574438_1 WHERE ds_division = "Manthai West"
|
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 (release_date VARCHAR, title VARCHAR)
### Question:
What's the release date of Upswept Hare?
### Answer:
SELECT release_date FROM table_name_28 WHERE title = "upswept hare"
|
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_22402438_7 (player VARCHAR, pick__number VARCHAR)
### Question:
Who is the player with the pick# 80?
### Answer:
SELECT player FROM table_22402438_7 WHERE pick__number = 80
|
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_1015914_24 (them_two__the_two_ VARCHAR, you_and_i VARCHAR)
### Question:
What is them two (the two) when you and i is ngœbalngu?
### Answer:
SELECT them_two__the_two_ FROM table_1015914_24 WHERE you_and_i = "ngœbalngu"
|
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_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
### Question:
How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
### Answer:
SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 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 appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)
### Question:
What are names of patients who made an appointment?
### Answer:
SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn
|
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 (year VARCHAR, mixed_doubles VARCHAR)
### Question:
What year was there no competition in Mixed Doubles?
### Answer:
SELECT year FROM table_name_45 WHERE mixed_doubles = "no competition"
|
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 (player VARCHAR, pick VARCHAR, round VARCHAR)
### Question:
Who was picked before 149 in round 9?
### Answer:
SELECT player FROM table_name_64 WHERE pick < 149 AND round = 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_13 (away_team VARCHAR, venue VARCHAR)
### Question:
What team played away at vfl park?
### Answer:
SELECT away_team FROM table_name_13 WHERE venue = "vfl 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_13505192_3 (series_number INTEGER, episode_title VARCHAR)
### Question:
What number episode in the series is the episode "things that fly"?
### Answer:
SELECT MAX(series_number) FROM table_13505192_3 WHERE episode_title = "Things That Fly"
|
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_25818630_1 (affiliation VARCHAR, candidate VARCHAR)
### Question:
What is every affiliation for candidate Daren Ireland?
### Answer:
SELECT affiliation FROM table_25818630_1 WHERE candidate = "Daren 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_55 (school_club_team VARCHAR, position VARCHAR, player VARCHAR)
### Question:
Amal McCaskill who plays forward-center played for what school/club team?
### Answer:
SELECT school_club_team FROM table_name_55 WHERE position = "forward-center" AND player = "amal mccaskill"
|
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_245801_1 (duration__days_ VARCHAR, crew VARCHAR)
### Question:
Name the duration for vladimir vasyutin , alexander volkov
### Answer:
SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov"
|
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 (engine VARCHAR, pts INTEGER)
### Question:
What engine has more than 0 pts?
### Answer:
SELECT engine FROM table_name_79 WHERE pts > 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_2182562_1 (avg_finish VARCHAR, winnings VARCHAR)
### Question:
What is the average finish when winnings equals $71,200?
### Answer:
SELECT avg_finish FROM table_2182562_1 WHERE winnings = "$71,200"
|
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_2374338_2 (germans VARCHAR, slovaks VARCHAR)
### Question:
How many values for Germans occurs when value for Slovaks is 0.11%?
### Answer:
SELECT COUNT(germans) FROM table_2374338_2 WHERE slovaks = "0.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_2 (drawn VARCHAR, points_for VARCHAR)
### Question:
Which Drawn has Points for of 782?
### Answer:
SELECT drawn FROM table_name_2 WHERE points_for = "782"
|
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_16729930_18 (release_price___usd__ VARCHAR, part_number_s_ VARCHAR)
### Question:
What is the release price for a processor with part number cy80632007227ab?
### Answer:
SELECT release_price___usd__ FROM table_16729930_18 WHERE part_number_s_ = "CY80632007227AB"
|
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 (pinyin VARCHAR, simplified VARCHAR)
### Question:
What is the pinyin when the simplified shows 南山区?
### Answer:
SELECT pinyin FROM table_name_22 WHERE simplified = "南山区"
|
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 (championship VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What championship had Francesca Schiavone in the finals?
### Answer:
SELECT championship FROM table_name_81 WHERE opponent_in_the_final = "francesca schiavone"
|
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_29141354_7 (scores VARCHAR, andrew_and_jacks_guest VARCHAR)
### Question:
What was the score for the episode with Matt Smith as Andrew and Jack's guest?
### Answer:
SELECT scores FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Matt Smith"
|
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 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the average Silver with rank 30 and a Bronze greater than 0
### Answer:
SELECT AVG(silver) FROM table_name_42 WHERE rank = "30" AND bronze > 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_15928363_1 (aspect_ratio VARCHAR, horizontal VARCHAR)
### Question:
Name the aspect ratio for 720
### Answer:
SELECT aspect_ratio FROM table_15928363_1 WHERE horizontal = 720
|
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_35 (circuit VARCHAR, winning_driver VARCHAR, race_name VARCHAR)
### Question:
What circuit did Innes Ireland win at for the I lombank trophy?
### Answer:
SELECT circuit FROM table_name_35 WHERE winning_driver = "innes ireland" AND race_name = "i lombank trophy"
|
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_27756314_11 (high_rebounds VARCHAR, game VARCHAR)
### Question:
How many different results for high rebounds were there for game number 76?
### Answer:
SELECT COUNT(high_rebounds) FROM table_27756314_11 WHERE game = 76
|
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 (icelandic VARCHAR, german VARCHAR)
### Question:
What's the Icelandic word for the German word for hand?
### Answer:
SELECT icelandic FROM table_name_85 WHERE german = "hand"
|
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_28742659_2 (eliminated VARCHAR, finish VARCHAR)
### Question:
What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?
### Answer:
SELECT eliminated FROM table_28742659_2 WHERE finish = "15th voted Out 9th Jury Member Day 46"
|
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 (date VARCHAR, tyre VARCHAR, circuit VARCHAR)
### Question:
On what date is there a Tryre of d at the Circuit of monaco?
### Answer:
SELECT date FROM table_name_91 WHERE tyre = "d" AND circuit = "monaco"
|
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_2446333_2 (date VARCHAR, circuit VARCHAR)
### Question:
Name the date for eastern creek raceway
### Answer:
SELECT date FROM table_2446333_2 WHERE circuit = "Eastern Creek 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_name_65 (location VARCHAR, authors VARCHAR)
### Question:
What is the location of the authors of Molnar?
### Answer:
SELECT location FROM table_name_65 WHERE authors = "molnar"
|
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_24 (ihsaa_class__football_ VARCHAR, mascot VARCHAR)
### Question:
What IHSAA football class do the Generals play in?
### Answer:
SELECT ihsaa_class__football_ FROM table_name_24 WHERE mascot = "generals"
|
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_26 (position VARCHAR, played INTEGER)
### Question:
How many positions have a played greater than 12?
### Answer:
SELECT COUNT(position) FROM table_name_26 WHERE played > 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_20 (player VARCHAR, college VARCHAR)
### Question:
Which player went to Vanderbilt?
### Answer:
SELECT player FROM table_name_20 WHERE college = "vanderbilt"
|
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 (polling_institute VARCHAR, lead VARCHAR)
### Question:
Which polling institute showed a lead of 6%?
### Answer:
SELECT polling_institute FROM table_name_1 WHERE lead = "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_12 (d_erp VARCHAR, city_of_license VARCHAR)
### Question:
What's the D ERP in San Martin Texmelucan, Puebla?
### Answer:
SELECT d_erp FROM table_name_12 WHERE city_of_license = "san martin texmelucan, puebla"
|
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 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR)
### Question:
What is the total number of bronze medals for the team with more than 4 silver and less than 30 gold medals?
### Answer:
SELECT COUNT(bronze) FROM table_name_41 WHERE silver > 4 AND nation = "total" AND gold < 30
|
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 (place VARCHAR, score VARCHAR)
### Question:
What is the Place of the Player with a Score of 68-73-76=217?
### Answer:
SELECT place FROM table_name_86 WHERE score = 68 - 73 - 76 = 217
|
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_27401228_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Name who directed when the viewers is 5.86
### Answer:
SELECT directed_by FROM table_27401228_1 WHERE us_viewers__million_ = "5.86"
|
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_95 (to_par VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What is the To par of T9 Place Player Ernie Els?
### Answer:
SELECT to_par FROM table_name_95 WHERE place = "t9" AND player = "ernie els"
|
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_25 (stepping VARCHAR, release_date VARCHAR)
### Question:
What is the stepping for the processor released June 5, 2007?
### Answer:
SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 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_3 (call_sign VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR)
### Question:
Which call sign has ERP Wlarger than 250, and Frequency MHZ smaller than 99.3?
### Answer:
SELECT call_sign FROM table_name_3 WHERE erp_w > 250 AND frequency_mhz < 99.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_27 (nickname VARCHAR, colors VARCHAR)
### Question:
What is the nickname of the team that has the colors black and gold?
### Answer:
SELECT nickname FROM table_name_27 WHERE colors = "black and gold"
|
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_27683516_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
### Question:
What is the outgoing manager when the date of vacancy is 10 october 2010?
### Answer:
SELECT outgoing_manager FROM table_27683516_3 WHERE date_of_vacancy = "10 October 2010"
|
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_26250145_1 (result VARCHAR, original_artist VARCHAR)
### Question:
How many times is the original artist Alicia keys?
### Answer:
SELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = "Alicia Keys"
|
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_1773707_2 (length VARCHAR, body_style VARCHAR)
### Question:
What's the length of the model with 500 E body style?
### Answer:
SELECT length FROM table_1773707_2 WHERE body_style = "500 E"
|
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_21330550_2 (date VARCHAR, big_ten_team VARCHAR)
### Question:
How many dates have a big ten team of #10 purdue?
### Answer:
SELECT COUNT(date) FROM table_21330550_2 WHERE big_ten_team = "#10 Purdue"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.