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_4 (round VARCHAR, pick VARCHAR, nfl_club VARCHAR)
### Question:
What round has a pick less than 189, with arizona cardinals as the NFL club?
### Answer:
SELECT round FROM table_name_4 WHERE pick < 189 AND nfl_club = "arizona cardinals" |
Below is an context that describes a 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 (start VARCHAR, year INTEGER)
### Question:
Name the start for year less than 1977
### Answer:
SELECT start FROM table_name_70 WHERE year < 1977 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_105344_2 (aircraft_kilometers INTEGER, departures VARCHAR)
### Question:
Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown?
### Answer:
SELECT MAX(aircraft_kilometers) FROM table_105344_2 WHERE departures = 17096 |
Below is an context that describes a 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 (record VARCHAR, game VARCHAR, date VARCHAR)
### Question:
What was the record of the game played on November 7?
### Answer:
SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7" |
Below is an context that describes a 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_50 (gold VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1?
### Answer:
SELECT gold FROM table_name_50 WHERE total > 2 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_67 (home VARCHAR, attendance VARCHAR, away VARCHAR)
### Question:
Who was the home team for the game with Platense as the away team and attendance under 529?
### Answer:
SELECT home FROM table_name_67 WHERE attendance < 529 AND away = "platense" |
Below is an context that describes a 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_84 (decision VARCHAR, record VARCHAR)
### Question:
what is the decision when the record is 13–10–4?
### Answer:
SELECT decision FROM table_name_84 WHERE record = "13–10–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_71 (location VARCHAR, floors VARCHAR, building VARCHAR)
### Question:
Which Location has Floors smaller than 27, and a Building of 150 elgin?
### Answer:
SELECT location FROM table_name_71 WHERE floors < 27 AND building = "150 elgin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15128839_22 (gp VARCHAR, ff VARCHAR, qbh VARCHAR)
### Question:
Name the gp for ff being 0 and qbh being 1
### Answer:
SELECT gp FROM table_15128839_22 WHERE ff = 0 AND qbh = 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_25363904_2 (season__number INTEGER, title_english VARCHAR)
### Question:
Name the least season # for the first time
### Answer:
SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "The first time" |
Below is an context that describes a 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 (founded INTEGER, enrollment VARCHAR)
### Question:
What is the most recent year founded with an enrollment of 42,708?
### Answer:
SELECT MAX(founded) FROM table_name_81 WHERE enrollment = 42 OFFSET 708 |
Below is an context that describes a 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 (league VARCHAR, number VARCHAR, record VARCHAR)
### Question:
What league has a number less than 122, and least wins as the record?
### Answer:
SELECT league FROM table_name_38 WHERE number < 122 AND record = "least wins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10960039_6 (cfl_team VARCHAR, college VARCHAR)
### Question:
What teams drafted players that played for northwood school?
### Answer:
SELECT cfl_team FROM table_10960039_6 WHERE college = "Northwood" |
Below is an context that describes a 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 (quantity_made VARCHAR, withdrawn VARCHAR)
### Question:
How many locomotives were made that were withdrawn in 1913?
### Answer:
SELECT quantity_made FROM table_name_97 WHERE withdrawn = "1913" |
Below is an context that describes a 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 (type VARCHAR, location VARCHAR, entered_service VARCHAR)
### Question:
Which type entered service in 1976/1997 and is located in Brazil?
### Answer:
SELECT type FROM table_name_87 WHERE location = "brazil" AND entered_service = "1976/1997" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677100_12 (mlb_draft VARCHAR, hometown VARCHAR)
### Question:
Who were the MLB draft with the hometown Opa-locka, Fl?
### Answer:
SELECT mlb_draft FROM table_11677100_12 WHERE hometown = "Opa-locka, FL" |
Below is an context that describes a 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 (venue VARCHAR, opponent VARCHAR)
### Question:
What is the venue of the match with the wightlink raiders as the opponent?
### Answer:
SELECT venue FROM table_name_9 WHERE opponent = "wightlink raiders" |
Below is an context that describes a 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 (rotterterode VARCHAR, reimboldsh VARCHAR)
### Question:
What Rotterterrode has a Reimboldsh 80?
### Answer:
SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "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_name_51 (try_bonus VARCHAR, lost VARCHAR, drawn VARCHAR)
### Question:
What is the try bonus when the loss is 13 and the draw is 2?
### Answer:
SELECT try_bonus FROM table_name_51 WHERE lost = "13" AND drawn = "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_13 (distance VARCHAR, stage VARCHAR)
### Question:
What was the distance of the course for stage 4?
### Answer:
SELECT distance FROM table_name_13 WHERE stage = "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_2226817_8 (production_code VARCHAR, written_by VARCHAR)
### Question:
What are all the production codes of episodes written by Michael G. Moye?
### Answer:
SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye" |
Below is an context that describes a 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_74 (team_classification VARCHAR, winner VARCHAR)
### Question:
What is Ludo Peeters' team classification?
### Answer:
SELECT team_classification FROM table_name_74 WHERE winner = "ludo peeters" |
Below is an context that describes a 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 (year VARCHAR, time VARCHAR)
### Question:
What is Year, when Time is "1:47.55"?
### Answer:
SELECT year FROM table_name_37 WHERE time = "1:47.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_83 (result VARCHAR, game VARCHAR)
### Question:
Game of game 5 had what result?
### Answer:
SELECT result FROM table_name_83 WHERE game = "game 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 customer (cust_name VARCHAR, acc_type VARCHAR)
### Question:
Find the name of customers who do not have an saving account.
### Answer:
SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = 'saving' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
### Question:
Find the first names of the faculty members who participate in Canoeing and Kayaking.
### Answer:
SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' INTERSECT SELECT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Kayaking' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR)
### Question:
Who is in group c when wisconsin is in group d?
### Answer:
SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin" |
Below is an context that describes a 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 (pba_team VARCHAR, pick VARCHAR, college VARCHAR)
### Question:
What PBA team is the player from Ateneo college with a pick number smaller than 15 from?
### Answer:
SELECT pba_team FROM table_name_65 WHERE pick < 15 AND college = "ateneo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24099916_1 (model__list_ VARCHAR, socket VARCHAR, tdp VARCHAR)
### Question:
What's the model of the processor with BGA479 socket and a 5.5 w TDP?
### Answer:
SELECT model__list_ FROM table_24099916_1 WHERE socket = "BGA479" AND tdp = "5.5 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_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR)
### Question:
Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region?
### Answer:
SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
### Question:
When the score in the final is 3–6, 6–4, 3–6, 4–6, who are all the opponents in the final?
### Answer:
SELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = "3–6, 6–4, 3–6, 4–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_94 (prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR)
### Question:
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?
### Answer:
SELECT prize_money___$__ FROM table_name_94 WHERE rank < 7 AND events > 6 AND country = "fiji" |
Below is an context that describes a 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 (sail VARCHAR, syndicate VARCHAR, yacht VARCHAR)
### Question:
Which sail is in the America 3 Foundation syndicate on the America 3 yacht?
### Answer:
SELECT sail FROM table_name_96 WHERE syndicate = "america 3 foundation" AND yacht = "america 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_88 (touchdowns INTEGER, player VARCHAR, field_goals VARCHAR)
### Question:
What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0?
### Answer:
SELECT MIN(touchdowns) FROM table_name_88 WHERE player = "total" AND field_goals > 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_38 (length_overall VARCHAR, designation VARCHAR)
### Question:
What is the overall length with a designation of s-8ko?
### Answer:
SELECT length_overall FROM table_name_38 WHERE designation = "s-8ko" |
Below is an context that describes a 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 (score INTEGER, place VARCHAR, country VARCHAR)
### Question:
What is the lowest score that has t10 as the place, with Ireland as the country?
### Answer:
SELECT MIN(score) FROM table_name_79 WHERE place = "t10" AND 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_81 (home VARCHAR, date VARCHAR)
### Question:
Who was the home team on June 9?
### Answer:
SELECT home FROM table_name_81 WHERE date = "june 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_99 (draw INTEGER, language VARCHAR, points VARCHAR)
### Question:
What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points?
### Answer:
SELECT AVG(draw) FROM table_name_99 WHERE language = "swedish" AND points < 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_35 (grid INTEGER, constructor VARCHAR, laps VARCHAR)
### Question:
How many grids had a constructor of renault and less than 4 laps?
### Answer:
SELECT SUM(grid) FROM table_name_35 WHERE constructor = "renault" AND laps < 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_47 (round VARCHAR, pick VARCHAR)
### Question:
Which Round has a Pick of 174?
### Answer:
SELECT round FROM table_name_47 WHERE pick = 174 |
Below is an context that describes a 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_74 (tournament VARCHAR)
### Question:
WHAT IS THE 2011 PERFORMANCE AT THE MIAMI MASTERS?
### Answer:
SELECT 2011 FROM table_name_74 WHERE tournament = "miami masters" |
Below is an context that describes a 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 (county VARCHAR, city VARCHAR)
### Question:
Which County has a City of changhua?
### Answer:
SELECT county FROM table_name_61 WHERE city = "changhua" |
Below is an context that describes a 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 (revenues VARCHAR, name VARCHAR)
### Question:
What are the revenues for ōoka tadayoshi (2nd) (大岡忠愛)?
### Answer:
SELECT revenues FROM table_name_15 WHERE name = "ōoka tadayoshi (2nd) (大岡忠愛)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)
### Question:
What party is listed for the Representative under the 85th congress?
### Answer:
SELECT party FROM table_2841865_2 WHERE congress = "85th" |
Below is an context that describes a 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 (opponent VARCHAR, round VARCHAR)
### Question:
Which opponent had a round of SF?
### Answer:
SELECT opponent FROM table_name_45 WHERE round = "sf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
### Question:
Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
### Answer:
SELECT high_rebounds FROM table_23248910_5 WHERE record = "5-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_77 (competition VARCHAR, event VARCHAR, time VARCHAR)
### Question:
What Competition has an Event of 4x100 m relay and has the Time of 38.89?
### Answer:
SELECT competition FROM table_name_77 WHERE event = "4x100 m relay" AND time = "38.89" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE game (season VARCHAR, home_team VARCHAR, away_team VARCHAR)
### Question:
List the season, home team, away team of all the games.
### Answer:
SELECT season, home_team, away_team FROM game |
Below is an context that describes a 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 (hanyu_pinyin VARCHAR, name VARCHAR)
### Question:
What Hanyu Pinyin is in the Jinning Township?
### Answer:
SELECT hanyu_pinyin FROM table_name_66 WHERE name = "jinning township" |
Below is an context that describes a 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 (tournament VARCHAR)
### Question:
Which tournament was on 2009 with 11?
### Answer:
SELECT tournament FROM table_name_30 WHERE 2009 = "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_53 (last_10_meetings VARCHAR, overall_record VARCHAR)
### Question:
What is the record for the last 10 meetings when the overall record is *as of March 14, 2013?
### Answer:
SELECT last_10_meetings FROM table_name_53 WHERE overall_record = "*as of march 14, 2013" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1499791_2 (english_gloss VARCHAR, southern_lakota VARCHAR)
### Question:
Name the english gloss for naháŋȟčiŋ
### Answer:
SELECT english_gloss FROM table_1499791_2 WHERE southern_lakota = "naháŋȟčiŋ" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29773532_21 (episode INTEGER, share_16_39 VARCHAR)
### Question:
Which episode had a share 16-19 of 23,22%?
### Answer:
SELECT MAX(episode) FROM table_29773532_21 WHERE share_16_39 = "23,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_33 (t20_matches VARCHAR, year VARCHAR)
### Question:
What T20 match was played in 1979?
### Answer:
SELECT t20_matches FROM table_name_33 WHERE year = "1979" |
Below is an context that describes a 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 (role VARCHAR, year VARCHAR)
### Question:
What were the roles in 1961?
### Answer:
SELECT role FROM table_name_70 WHERE year = 1961 |
Below is an context that describes a 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 (attendance INTEGER, record VARCHAR)
### Question:
What is the lowest number of people in attendance when the record was 9–26?
### Answer:
SELECT MIN(attendance) FROM table_name_7 WHERE record = "9–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_14425454_1 (crowd VARCHAR, home_team VARCHAR)
### Question:
What is the total number of attendees where the home team was Port Adelaide?
### Answer:
SELECT COUNT(crowd) FROM table_14425454_1 WHERE home_team = "Port Adelaide" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)
### Question:
What is the flange thickness (mm) for the weight (kg/m) 10.4?
### Answer:
SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "10.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_89 (completions VARCHAR, attempts VARCHAR)
### Question:
Which Completions has Attempts of 1,271?
### Answer:
SELECT completions FROM table_name_89 WHERE attempts = "1,271" |
Below is an context that describes a 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 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
What was the winning score for the tournament where Garth Mulroy was the runner-up, and the margin of victory was 1 stroke?
### Answer:
SELECT winning_score FROM table_name_98 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "garth mulroy" |
Below is an context that describes a 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_84 (away_team VARCHAR)
### Question:
How many points did the away team of st kilda score?
### Answer:
SELECT away_team AS score FROM table_name_84 WHERE away_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_262501_1 (primary_conference_when_joining_the_csfl VARCHAR, joined VARCHAR)
### Question:
what was the primary conference when joining the csfl for the institution that joined in 2004-05?
### Answer:
SELECT primary_conference_when_joining_the_csfl FROM table_262501_1 WHERE joined = "2004-05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)
### Question:
What is the final score when July 16 is the date?
### Answer:
SELECT final_score FROM table_23612439_2 WHERE date = "July 16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28677723_16 (total INTEGER, couple VARCHAR, karianne_gulliksen VARCHAR)
### Question:
What is the greatest total score received by aylar & egor when karianne Gulliksen gave an 8?
### Answer:
SELECT MAX(total) FROM table_28677723_16 WHERE couple = "Aylar & Egor" AND karianne_gulliksen = 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_name_82 (new_council VARCHAR, previous_council VARCHAR, staying_councillors VARCHAR)
### Question:
What is the full number of New Council when the previous council was 54 and the staying councilor number is bigger than 36?
### Answer:
SELECT COUNT(new_council) FROM table_name_82 WHERE previous_council = 54 AND staying_councillors > 36 |
Below is an context that describes a 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 (nation VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR)
### Question:
Which nation has 0 gold, 0 silver and 2 total?
### Answer:
SELECT nation FROM table_name_53 WHERE gold = 0 AND silver = 0 AND total = 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_97 (strike_rate VARCHAR, matches VARCHAR)
### Question:
What strike rate is 9 the matches?
### Answer:
SELECT strike_rate FROM table_name_97 WHERE matches = "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 payments (payment_type_code VARCHAR)
### Question:
What are all the distinct payment types?
### Answer:
SELECT DISTINCT payment_type_code FROM payments |
Below is an context that describes a 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 (week VARCHAR, date VARCHAR, attendance VARCHAR)
### Question:
In which week was the game played on October 12, 1975 and the crowd was larger than 44,043?
### Answer:
SELECT COUNT(week) FROM table_name_15 WHERE date = "october 12, 1975" AND attendance > 44 OFFSET 043 |
Below is an context that describes a 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 (country VARCHAR, season VARCHAR)
### Question:
What is the Country for the 2006-07 season?
### Answer:
SELECT country FROM table_name_11 WHERE season = "2006-07" |
Below is an context that describes a 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 (place VARCHAR, player VARCHAR)
### Question:
What place did Keith Clearwater get?
### Answer:
SELECT place FROM table_name_99 WHERE player = "keith clearwater" |
Below is an context that describes a 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 (game_site VARCHAR, week VARCHAR)
### Question:
What was the game site week 15?
### Answer:
SELECT game_site FROM table_name_79 WHERE week = 15 |
Below is an context that describes a 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 (state_s__on_the_ballot VARCHAR, candidate VARCHAR)
### Question:
Name the staes on the ballot for jack herer
### Answer:
SELECT state_s__on_the_ballot FROM table_name_98 WHERE candidate = "jack herer" |
Below is an context that describes a 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 (Id VARCHAR)
### Question:
What shows for 2006 when 2002 is Grand Slam Tournaments?
### Answer:
SELECT 2006 FROM table_name_52 WHERE 2002 = "grand slam tournaments" |
Below is an context that describes a 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_33 (reason_for_termination VARCHAR, chief_judge VARCHAR)
### Question:
What is the reason the Chief Judge of 1971–1977 was terminated?
### Answer:
SELECT reason_for_termination FROM table_name_33 WHERE chief_judge = "1971–1977" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
### Question:
What percentage did Obama get when McCain got 52.8%?
### Answer:
SELECT obama_percentage FROM table_20799905_1 WHERE mccain_percentage = "52.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_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)
### Question:
What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
### Answer:
SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-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_11 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
### Question:
When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken?
### Answer:
SELECT date FROM table_name_11 WHERE surface = "hard (i)" AND tournament = "brighton , united kingdom" |
Below is an context that describes a 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 (method VARCHAR, time VARCHAR)
### Question:
What was the method when the time was 1:01?
### Answer:
SELECT method FROM table_name_51 WHERE time = "1:01" |
Below is an context that describes a 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 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)
### Question:
What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
### Answer:
SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82 |
Below is an context that describes a 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 (years VARCHAR, state VARCHAR, lifespan VARCHAR)
### Question:
What years did the Representative from Iowa with a lifespan of 1880–1942 serve?
### Answer:
SELECT years FROM table_name_20 WHERE state = "iowa" AND lifespan = "1880–1942" |
Below is an context that describes a 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 (japanese_title VARCHAR, tv_station VARCHAR, romaji_title VARCHAR)
### Question:
What is the Japanese Title of the Episode on NTV Station with a Romaji Title of Kuitan 2?
### Answer:
SELECT japanese_title FROM table_name_42 WHERE tv_station = "ntv" AND romaji_title = "kuitan 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_58 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
### Question:
What was the opponent in the 2008–09 season, with a final score of 2–3 l?
### Answer:
SELECT opponent FROM table_name_58 WHERE season = "2008–09" AND final_score = "2–3 l" |
Below is an context that describes a 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 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR)
### Question:
Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes?
### Answer:
SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes" |
Below is an context that describes a 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 (stage__winner_ VARCHAR, general_classification VARCHAR, young_rider_classification VARCHAR)
### Question:
What stage (winner) has thor hushovd as a general classification, and trent lowe as a rider classification?
### Answer:
SELECT stage__winner_ FROM table_name_3 WHERE general_classification = "thor hushovd" AND young_rider_classification = "trent lowe" |
Below is an context that describes a 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 (college VARCHAR, player VARCHAR)
### Question:
What college had Jim Leonhard Category:articles with hcards?
### Answer:
SELECT college FROM table_name_79 WHERE player = "jim leonhard category:articles with hcards" |
Below is an context that describes a 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 (points INTEGER, played VARCHAR, average VARCHAR)
### Question:
Total points with 114 played and average of 0.982?
### Answer:
SELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982 |
Below is an context that describes a 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_74 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent on May 20?
### Answer:
SELECT opponent FROM table_name_74 WHERE date = "may 20" |
Below is an context that describes a 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 (distance VARCHAR, route VARCHAR)
### Question:
What is the distance of the maldegem > brussels route?
### Answer:
SELECT distance FROM table_name_71 WHERE route = "maldegem > brussels" |
Below is an context that describes a 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 (us_rap VARCHAR, album VARCHAR)
### Question:
What U.S. Rap has life in the concrete jungle as the album?
### Answer:
SELECT us_rap FROM table_name_15 WHERE album = "life in the concrete jungle" |
Below is an context that describes a 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 (result VARCHAR, attendance VARCHAR)
### Question:
What is the result of the game when the attendance is 56,906?
### Answer:
SELECT result FROM table_name_38 WHERE attendance = "56,906" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12784134_24 (short_stem VARCHAR, imperfect_stem VARCHAR)
### Question:
What is the short stem for garbitzen?
### Answer:
SELECT short_stem FROM table_12784134_24 WHERE imperfect_stem = "garbitzen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20750731_1 (county VARCHAR, obama_percentage VARCHAR)
### Question:
What County was the Obama% at 41.7%?
### Answer:
SELECT county FROM table_20750731_1 WHERE obama_percentage = "41.7%" |
Below is an context that describes a 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 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR)
### Question:
What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?
### Answer:
SELECT COUNT(time) FROM table_name_52 WHERE lane < 8 AND nationality = "canada" AND rank < 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_2077192_2 (italian VARCHAR, english VARCHAR)
### Question:
What does the word "frog"in English translate to in Italian?
### Answer:
SELECT italian FROM table_2077192_2 WHERE english = "frog" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
### Question:
What is the most common hometown of gymnasts?
### Answer:
SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC LIMIT 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_27533947_1 (total_points INTEGER, players VARCHAR)
### Question:
If the player is William Jakes, what are the total points?
### Answer:
SELECT MIN(total_points) FROM table_27533947_1 WHERE players = "William Jakes" |
Below is an context that describes a 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score of the match on July 22, 2008?
### Answer:
SELECT score FROM table_name_98 WHERE date = "july 22, 2008" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)
### Question:
Who was the TO winning team when the TU winning team was Joe Richardson?
### Answer:
SELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = "Joe Richardson" |
Below is an context that describes a 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 (week VARCHAR, date VARCHAR, attendance VARCHAR)
### Question:
How many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4
### Answer:
SELECT COUNT(week) FROM table_name_22 WHERE date = "september 8, 1980" AND attendance > 55 OFFSET 045 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.