instruction
stringlengths 212
6.3k
| output
stringlengths 6
2.03k
|
---|---|
### Instruction:
CREATE TABLE table_name_93 (
opponents VARCHAR,
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponents when the surface is clay and the date is 12 july 1992?
### Response:
|
SELECT opponents FROM table_name_93 WHERE surface = "clay" AND date = "12 july 1992"
|
### Instruction:
CREATE TABLE table_name_48 (
partner VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the partner when the final score was 7 6, 3 6, 6 7?
### Response:
|
SELECT partner FROM table_name_48 WHERE score_in_the_final = "7–6, 3–6, 6–7"
|
### Instruction:
CREATE TABLE table_8670 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score was associated with an attendance of 275?
### Response:
|
SELECT "Score" FROM table_8670 WHERE "Attendance" = '275'
|
### Instruction:
CREATE TABLE table_name_41 (
date_of_birth__age_ VARCHAR,
caps VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of birth of the player that has 11 caps and plays the prop position?
### Response:
|
SELECT date_of_birth__age_ FROM table_name_41 WHERE caps = 11 AND position = "prop"
|
### Instruction:
CREATE TABLE table_12325 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did Trinidad and Tobago play?
### Response:
|
SELECT "Place" FROM table_12325 WHERE "Country" = 'trinidad and tobago'
|
### Instruction:
CREATE TABLE table_25200461_9 (
population INTEGER,
registered_voters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the registered voters is 66.8%, what is the minimum population?
### Response:
|
SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = "66.8%"
|
### Instruction:
CREATE TABLE table_name_78 (
win__percentage VARCHAR,
appearances VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total number of Win % with an Appearances of 4, and Losses that's larger than 3?
### Response:
|
SELECT COUNT(win__percentage) FROM table_name_78 WHERE appearances = 4 AND losses > 3
|
### Instruction:
CREATE TABLE table_name_4 (
transfer_fee VARCHAR,
ends VARCHAR,
moving_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What transfer fee did Birmingham City get on 30 June 2010?
### Response:
|
SELECT transfer_fee FROM table_name_4 WHERE ends = "30 june 2010" AND moving_from = "birmingham city"
|
### Instruction:
CREATE TABLE table_68911 (
"Round" text,
"Name" text,
"Song" text,
"Score" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which status accompanies the score 21.5?
### Response:
|
SELECT "Status" FROM table_68911 WHERE "Score" = '21.5'
|
### Instruction:
CREATE TABLE table_14603057_2 (
class_aAAA VARCHAR,
school_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Class AAAA champion in 2006-07?
### Response:
|
SELECT class_aAAA FROM table_14603057_2 WHERE school_year = "2006-07"
|
### Instruction:
CREATE TABLE table_67799 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what venue was the result a draw?
### Response:
|
SELECT "Venue" FROM table_67799 WHERE "Result" = 'draw'
|
### Instruction:
CREATE TABLE table_66159 (
"Rank" real,
"Heat" real,
"Cyclist" text,
"Nation" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which cyclist is from Australia?
### Response:
|
SELECT "Cyclist" FROM table_66159 WHERE "Nation" = 'australia'
|
### Instruction:
CREATE TABLE table_2266976_1 (
miles__km_ VARCHAR,
race_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long in miles (km) was the race that lasted 3:07:53?
### Response:
|
SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53"
|
### Instruction:
CREATE TABLE table_2562572_52 (
dominant_religion__2002_ VARCHAR,
settlement VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times is the settlement karlov i ?
### Response:
|
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_52 WHERE settlement = "Karlovčić"
|
### Instruction:
CREATE TABLE table_name_62 (
chassis VARCHAR,
rounds VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the Chassis of Diver Maria Teresa de Filippis in round 1?
### Response:
|
SELECT chassis FROM table_name_62 WHERE rounds = "1" AND driver = "maria teresa de filippis"
|
### Instruction:
CREATE TABLE table_14142 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest pick for the position tight end?
### Response:
|
SELECT MAX("Pick") FROM table_14142 WHERE "Position" = 'tight end'
|
### Instruction:
CREATE TABLE table_38513 (
"Name" text,
"Type" text,
"Date" text,
"Condition" text,
"Ownership" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the Courtyard Castle?
### Response:
|
SELECT "Date" FROM table_38513 WHERE "Type" = 'courtyard castle'
|
### Instruction:
CREATE TABLE table_55256 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the points difference for points of 14
### Response:
|
SELECT "Points difference" FROM table_55256 WHERE "Points" = '14'
|
### Instruction:
CREATE TABLE table_36184 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses have draw values under 1?
### Response:
|
SELECT COUNT("Lost") FROM table_36184 WHERE "Drawn" < '1'
|
### Instruction:
CREATE TABLE table_name_81 (
years_as_tallest VARCHAR,
street_address VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street?
### Response:
|
SELECT years_as_tallest FROM table_name_81 WHERE street_address = "01.0 10 light street"
|
### Instruction:
CREATE TABLE table_52567 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were there with #9 grid?
### Response:
|
SELECT COUNT("Laps") FROM table_52567 WHERE "Grid" = '9'
|
### Instruction:
CREATE TABLE table_20711545_1 (
marseille__32_draw_ VARCHAR,
seed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items were recorded marseille (32 draw) was a 2 seed?
### Response:
|
SELECT COUNT(marseille__32_draw_) FROM table_20711545_1 WHERE seed = 2
|
### Instruction:
CREATE TABLE table_2104176_1 (
medal_of_honor VARCHAR,
air_force_cross VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Medal of Honor with Army Distinguished Service Medal?
### Response:
|
SELECT medal_of_honor FROM table_2104176_1 WHERE air_force_cross = "Army Distinguished Service Medal"
|
### Instruction:
CREATE TABLE table_name_80 (
field_goals VARCHAR,
touchdowns VARCHAR,
extra_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the total number of field goals when there were 0 touchdowns and 2 extra points?
### Response:
|
SELECT COUNT(field_goals) FROM table_name_80 WHERE touchdowns = 0 AND extra_points = 2
|
### Instruction:
CREATE TABLE table_name_42 (
name VARCHAR,
height__cm_ VARCHAR,
birthplace VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a Height (cm) of 175 and a Birthplace of detroit, michigan
### Response:
|
SELECT name FROM table_name_42 WHERE height__cm_ = 175 AND birthplace = "detroit, michigan"
|
### Instruction:
CREATE TABLE table_42241 (
"City" text,
"Province" text,
"Country" text,
"IATA" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city's IATA is nkg?
### Response:
|
SELECT "City" FROM table_42241 WHERE "IATA" = 'nkg'
|
### Instruction:
CREATE TABLE table_197446_1 (
elected VARCHAR,
term_began VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the congressional service elected for a term beginning on January 3, 1989?
### Response:
|
SELECT elected FROM table_197446_1 WHERE term_began = "January 3, 1989"
|
### Instruction:
CREATE TABLE table_21165255_1 (
no_in_season INTEGER,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number in season for 4300062
### Response:
|
SELECT MAX(no_in_season) FROM table_21165255_1 WHERE production_code = 4300062
|
### Instruction:
CREATE TABLE table_23614702_1 (
built_year VARCHAR,
tons___lton__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In how many different years was the warship that weights 1130 tons built?
### Response:
|
SELECT COUNT(built_year) FROM table_23614702_1 WHERE tons___lton__ = 1130
|
### Instruction:
CREATE TABLE table_17521433_1 (
average VARCHAR,
evening_gown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average score for the country with the evening gown score of 9.100?
### Response:
|
SELECT COUNT(average) FROM table_17521433_1 WHERE evening_gown = "9.100"
|
### Instruction:
CREATE TABLE table_24910733_2 (
episode VARCHAR,
air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes aired on October 17, 2007?
### Response:
|
SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
|
### Instruction:
CREATE TABLE table_66616 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total attendance before week 1?
### Response:
|
SELECT SUM("Attendance") FROM table_66616 WHERE "Week" < '1'
|
### Instruction:
CREATE TABLE table_203_345 (
id number,
"name" text,
"party" text,
"took office" number,
"left office" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the last representative to take office ?
### Response:
|
SELECT "name" FROM table_203_345 ORDER BY "took office" DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_62282 (
"Name" text,
"Builder" text,
"Type" text,
"Works Number" text,
"Built" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Type, when Works Number is 'unknown'?
### Response:
|
SELECT "Type" FROM table_62282 WHERE "Works Number" = 'unknown'
|
### Instruction:
CREATE TABLE table_name_4 (
diagram INTEGER,
built VARCHAR,
lot_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What diagram built in 1962 has a lot number smaller than 30702?
### Response:
|
SELECT MIN(diagram) FROM table_name_4 WHERE built = "1962" AND lot_no < 30702
|
### Instruction:
CREATE TABLE table_29273115_1 (
original_air_date VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On how many different dates was the episode written by Charlie Day aired for the first time?
### Response:
|
SELECT COUNT(original_air_date) FROM table_29273115_1 WHERE written_by = "Charlie Day"
|
### Instruction:
CREATE TABLE table_name_52 (
laps INTEGER,
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the highest laps when the grid was larger than 19 and the time/retired was fuel?
### Response:
|
SELECT MAX(laps) FROM table_name_52 WHERE grid > 19 AND time_retired = "fuel"
|
### Instruction:
CREATE TABLE table_13026799_3 (
scoring_average VARCHAR,
money_list_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of scoring average for money list rank of 174
### Response:
|
SELECT COUNT(scoring_average) FROM table_13026799_3 WHERE money_list_rank = "174"
|
### Instruction:
CREATE TABLE table_50367 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team when the record was 2-3?
### Response:
|
SELECT "Home" FROM table_50367 WHERE "Record" = '2-3'
|
### Instruction:
CREATE TABLE table_203_382 (
id number,
"date" text,
"opponent" text,
"site" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many points did the tigers score in november ?
### Response:
|
SELECT SUM("result") FROM table_203_382 WHERE "date" = 11
|
### Instruction:
CREATE TABLE table_42371 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the authors of Molnar?
### Response:
|
SELECT "Location" FROM table_42371 WHERE "Authors" = 'molnar'
|
### Instruction:
CREATE TABLE table_46899 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Road Team of Game 3?
### Response:
|
SELECT "Road Team" FROM table_46899 WHERE "Game" = 'game 3'
|
### Instruction:
CREATE TABLE table_50281 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Phil Mickelson has what To par?
### Response:
|
SELECT "To par" FROM table_50281 WHERE "Player" = 'phil mickelson'
|
### Instruction:
CREATE TABLE table_name_68 (
transfer_fee VARCHAR,
transfer_window VARCHAR,
moving_to VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What transfer fee has both winter as the transfer window, and Madureira as the moving to?
### Response:
|
SELECT transfer_fee FROM table_name_68 WHERE transfer_window = "winter" AND moving_to = "madureira"
|
### Instruction:
CREATE TABLE table_46590 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Visitor has a Score of 0-4?
### Response:
|
SELECT "Visitor" FROM table_46590 WHERE "Score" = '0-4'
|
### Instruction:
CREATE TABLE table_41793 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Matches have a Rank of 2?
### Response:
|
SELECT COUNT("Matches") FROM table_41793 WHERE "Rank" = '2'
|
### Instruction:
CREATE TABLE table_39487 (
"Name" text,
"Pennant number" text,
"Ordered" real,
"Builder" text,
"Commissioned" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ships are named Monge?
### Response:
|
SELECT COUNT("Ordered") FROM table_39487 WHERE "Name" = 'monge'
|
### Instruction:
CREATE TABLE table_29546030_2 (
skip__club_ VARCHAR,
pa VARCHAR,
blank_ends VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which skip (club) had 31 PA and 9 blank ends?
### Response:
|
SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9
|
### Instruction:
CREATE TABLE table_name_65 (
service VARCHAR,
age_at_first_step VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The astronaut who was 37y 8m 4d when making a first step on the moon was in which service?
### Response:
|
SELECT service FROM table_name_65 WHERE age_at_first_step = "37y 8m 4d"
|
### Instruction:
CREATE TABLE table_44312 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Score when the Country is canada?
### Response:
|
SELECT MIN("Score") FROM table_44312 WHERE "Country" = 'canada'
|
### Instruction:
CREATE TABLE table_60004 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Place has a Player of seve ballesteros?
### Response:
|
SELECT "Place" FROM table_60004 WHERE "Player" = 'seve ballesteros'
|
### Instruction:
CREATE TABLE table_66053 (
"Year" real,
"Category" text,
"Film" text,
"Result" text,
"Lost to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the loss to for the film Chicago?
### Response:
|
SELECT "Lost to" FROM table_66053 WHERE "Film" = 'chicago'
|
### Instruction:
CREATE TABLE table_name_56 (
opposition VARCHAR,
stadium VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the opposition at westpac stadium when the attendance is 31,853?
### Response:
|
SELECT opposition FROM table_name_56 WHERE stadium = "westpac stadium" AND attendance = "31,853"
|
### Instruction:
CREATE TABLE table_26825349_1 (
no_in_season VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the episode number of the episode with a production code of 4aky14?
### Response:
|
SELECT no_in_season FROM table_26825349_1 WHERE production_code = "4AKY14"
|
### Instruction:
CREATE TABLE table_52098 (
"Year" text,
"Player" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is from Queens, NY?
### Response:
|
SELECT "Player" FROM table_52098 WHERE "Hometown" = 'queens, ny'
|
### Instruction:
CREATE TABLE table_13821 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank was the swimmer in lane 4?
### Response:
|
SELECT "Rank" FROM table_13821 WHERE "Lane" = '4'
|
### Instruction:
CREATE TABLE table_45665 (
"Rank" real,
"Title" text,
"Studio" text,
"Director(s)" text,
"Worldwide Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What studio has 6 as the rank?
### Response:
|
SELECT "Studio" FROM table_45665 WHERE "Rank" = '6'
|
### Instruction:
CREATE TABLE table_204_937 (
id number,
"rank" number,
"lane" number,
"athlete" text,
"time" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long did it take the fifth place finisher to run the race ?
### Response:
|
SELECT "time" FROM table_204_937 WHERE "rank" = 5
|
### Instruction:
CREATE TABLE table_70373 (
"Language" text,
"Number" text,
"percentage (%)" text,
"males" text,
"females" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the language that has number of 14
### Response:
|
SELECT "Language" FROM table_70373 WHERE "Number" = '14'
|
### Instruction:
CREATE TABLE table_name_12 (
payment VARCHAR,
type VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Payment has a Type of text, and a Release date of 26 september, 2003?
### Response:
|
SELECT payment FROM table_name_12 WHERE type = "text" AND release_date = "26 september, 2003"
|
### Instruction:
CREATE TABLE table_name_79 (
heat INTEGER,
lane VARCHAR,
mark VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest heat for a lane past 1 and mark of 1:48.61?
### Response:
|
SELECT MAX(heat) FROM table_name_79 WHERE lane > 1 AND mark = "1:48.61"
|
### Instruction:
CREATE TABLE student_course_attendance (
student_id VARCHAR,
course_id VARCHAR,
date_of_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the id of the student who most recently registered course 301?
### Response:
|
SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_77370 (
"Movie Title" text,
"Year" real,
"Role" text,
"Director" text,
"Producer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the roles in 1961?
### Response:
|
SELECT "Role" FROM table_77370 WHERE "Year" = '1961'
|
### Instruction:
CREATE TABLE table_31825 (
"Rank" real,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average speed of rider Peter Williams?
### Response:
|
SELECT "Speed" FROM table_31825 WHERE "Rider" = 'peter williams'
|
### Instruction:
CREATE TABLE table_53217 (
"Year" real,
"Tracks" text,
"Title" text,
"Format, Special Notes" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What label is after 2004?
### Response:
|
SELECT "Label" FROM table_53217 WHERE "Year" > '2004'
|
### Instruction:
CREATE TABLE table_5781 (
"Call sign" text,
"Frequency" text,
"City of License" text,
"Owner" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city of license has the Kyli call sign?
### Response:
|
SELECT "City of License" FROM table_5781 WHERE "Call sign" = 'kyli'
|
### Instruction:
CREATE TABLE table_name_85 (
country VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country listed that has a place of t4 with a score of 72-70=142?
### Response:
|
SELECT country FROM table_name_85 WHERE place = "t4" AND score = 72 - 70 = 142
|
### Instruction:
CREATE TABLE table_name_45 (
place VARCHAR,
money___£__ VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place of player sergio garc a, who has 77,500?
### Response:
|
SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía"
|
### Instruction:
CREATE TABLE table_54482 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Utah Jazz player played Center?
### Response:
|
SELECT "Player" FROM table_54482 WHERE "Position" = 'center'
|
### Instruction:
CREATE TABLE table_66668 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time of the Rowers from Belgium?
### Response:
|
SELECT "Time" FROM table_66668 WHERE "Country" = 'belgium'
|
### Instruction:
CREATE TABLE table_name_32 (
_percentage_2001 VARCHAR,
seats_2001 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of % for 2001 if 2001 seats equals 7?
### Response:
|
SELECT COUNT(_percentage_2001) FROM table_name_32 WHERE seats_2001 = 7
|
### Instruction:
CREATE TABLE table_23887174_1 (
area__km²_ VARCHAR,
province__ashkharh_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How big (in km2) is Persarmenia?
### Response:
|
SELECT area__km²_ FROM table_23887174_1 WHERE province__ashkharh_ = "Persarmenia"
|
### Instruction:
CREATE TABLE table_2508633_8 (
pick__number INTEGER,
nfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the pick number minimum if the NFL team is the San Diego Chargers?
### Response:
|
SELECT MIN(pick__number) FROM table_2508633_8 WHERE nfl_team = "San Diego Chargers"
|
### Instruction:
CREATE TABLE table_47144 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance in Week 10?
### Response:
|
SELECT "Attendance" FROM table_47144 WHERE "Week" = '10'
|
### Instruction:
CREATE TABLE table_24337 (
"Season" real,
"Episode" real,
"Episode Summary" text,
"Premier date" text,
"External Link" text,
"Coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the last season?
### Response:
|
SELECT MAX("Season") FROM table_24337
|
### Instruction:
CREATE TABLE table_13636_1 (
computing_mechanism VARCHAR,
first_operational VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the computing mechanbeingm with first operational being february 1944
### Response:
|
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944"
|
### Instruction:
CREATE TABLE table_77994 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date with a Round with sf?
### Response:
|
SELECT "Date" FROM table_77994 WHERE "Round" = 'sf'
|
### Instruction:
CREATE TABLE table_42113 (
"Source" text,
"Date" text,
"Clinton" text,
"Obama" text,
"Undecided" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When has a Source of rasmussen reports?
### Response:
|
SELECT "Date" FROM table_42113 WHERE "Source" = 'rasmussen reports'
|
### Instruction:
CREATE TABLE table_203_565 (
id number,
"wrestlers" text,
"times" number,
"date" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the last date listed ?
### Response:
|
SELECT "date" FROM table_203_565 ORDER BY id DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_68490 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a score of 2-1?
### Response:
|
SELECT "Date" FROM table_68490 WHERE "Score" = '2-1'
|
### Instruction:
CREATE TABLE table_58967 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is moving to Triestina?
### Response:
|
SELECT "Name" FROM table_58967 WHERE "Moving to" = 'triestina'
|
### Instruction:
CREATE TABLE table_name_96 (
score VARCHAR,
competition VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did vasil levski national stadium, sofia, which was friendly during competition, earn?
### Response:
|
SELECT score FROM table_name_96 WHERE competition = "friendly" AND venue = "vasil levski national stadium, sofia"
|
### Instruction:
CREATE TABLE table_name_57 (
maximum_diameter VARCHAR,
name__year_commissioned_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum diameter of the Mid West Gas Pipeline (1999)?
### Response:
|
SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (1999)"
|
### Instruction:
CREATE TABLE table_name_89 (
total INTEGER,
bronze VARCHAR,
rank VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total with a rank less than 5, gold larger than 5 and bronze larger than 8?
### Response:
|
SELECT SUM(total) FROM table_name_89 WHERE rank < 5 AND gold > 5 AND bronze > 8
|
### Instruction:
CREATE TABLE table_42772 (
"Region" text,
"Date" real,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Region, when Date is 2004?
### Response:
|
SELECT "Region" FROM table_42772 WHERE "Date" = '2004'
|
### Instruction:
CREATE TABLE table_name_59 (
population INTEGER,
median_house__hold_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Population where the Median House-hold Income is $25,016?
### Response:
|
SELECT MIN(population) FROM table_name_59 WHERE median_house__hold_income = "$25,016"
|
### Instruction:
CREATE TABLE table_name_50 (
year INTEGER,
program_title VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the latest year placement for Taboo with a score smaller than 96.125?
### Response:
|
SELECT MAX(year) FROM table_name_50 WHERE program_title = "taboo" AND score < 96.125
|
### Instruction:
CREATE TABLE table_name_16 (
country VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has t4 place and a 67-71-73=211 score?
### Response:
|
SELECT country FROM table_name_16 WHERE place = "t4" AND score = 67 - 71 - 73 = 211
|
### Instruction:
CREATE TABLE table_name_46 (
pick VARCHAR,
round VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name all Pick that has a Round of 7, and a School/Club Team of arizona st.?
### Response:
|
SELECT COUNT(pick) FROM table_name_46 WHERE round = 7 AND school_club_team = "arizona st."
|
### Instruction:
CREATE TABLE table_64252 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the opponents on Week 8?
### Response:
|
SELECT "Opponent" FROM table_64252 WHERE "Week" = '8'
|
### Instruction:
CREATE TABLE table_70009 (
"Date" text,
"City" text,
"Country" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City has mandalay bay resort
### Response:
|
SELECT "City" FROM table_70009 WHERE "Venue" = 'mandalay bay resort'
|
### Instruction:
CREATE TABLE table_65044 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in week 6?
### Response:
|
SELECT "Opponent" FROM table_65044 WHERE "Week" = '6'
|
### Instruction:
CREATE TABLE table_16278602_1 (
seat_of_administration VARCHAR,
largest_city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the region where Roskilde is the largest city, what is the seat of administration?
### Response:
|
SELECT seat_of_administration FROM table_16278602_1 WHERE largest_city = "Roskilde"
|
### Instruction:
CREATE TABLE table_14903355_2 (
men_doubles VARCHAR,
womens_doubles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the men doubles for caroline persyn smids
### Response:
|
SELECT men_doubles FROM table_14903355_2 WHERE womens_doubles = "Caroline Persyn Smids"
|
### Instruction:
CREATE TABLE table_40871 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school did draft pick from round 3 go to?
### Response:
|
SELECT "School" FROM table_40871 WHERE "Round" = '3'
|
### Instruction:
CREATE TABLE table_76224 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tie is from everton?
### Response:
|
SELECT "Tie no" FROM table_76224 WHERE "Home team" = 'everton'
|
### Instruction:
CREATE TABLE table_name_33 (
grid INTEGER,
time VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest grid with time of +0.499,when laps are larger than 21?
### Response:
|
SELECT MIN(grid) FROM table_name_33 WHERE time = "+0.499" AND laps > 21
|
### Instruction:
CREATE TABLE table_203_692 (
id number,
"name" text,
"pos." text,
"caps" number,
"goals" number,
"club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the last player listed ?
### Response:
|
SELECT "name" FROM table_203_692 ORDER BY id DESC LIMIT 1
|
### Instruction:
CREATE TABLE table_name_8 (
bb_pop VARCHAR,
riaa VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961?
### Response:
|
SELECT bb_pop FROM table_name_8 WHERE riaa = "g" AND year < 1961
|
### Instruction:
CREATE TABLE table_29213 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college did Jim Bennett attend?
### Response:
|
SELECT "College" FROM table_29213 WHERE "Player" = 'Jim Bennett'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.