instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
---|---|---|
Write a SQL query that answers the following question: what is the minimum code with area (km 2 ) being 12,245.9
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404456_1 (code INTEGER, area__km_2__ VARCHAR)
|
SELECT MIN(code) FROM table_1404456_1 WHERE area__km_2__ = "12,245.9"
|
Write a SQL query that answers the following question: what's the county with code being 2
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404456_1 (county VARCHAR, code VARCHAR)
|
SELECT county FROM table_1404456_1 WHERE code = 2
|
Write a SQL query that answers the following question: In what year did Tom Sneva win a race?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1405704_1 (season VARCHAR, winning_driver VARCHAR)
|
SELECT season FROM table_1405704_1 WHERE winning_driver = "Tom Sneva"
|
Write a SQL query that answers the following question: What kind of chassis did a winning car with a Foyt engine have in 1979?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1405704_1 (chassis VARCHAR, season VARCHAR, engine VARCHAR)
|
SELECT chassis FROM table_1405704_1 WHERE season = 1979 AND engine = "Foyt"
|
Write a SQL query that answers the following question: What team does Al Unser drive for?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1405704_1 (team VARCHAR, winning_driver VARCHAR)
|
SELECT team FROM table_1405704_1 WHERE winning_driver = "Al Unser"
|
Write a SQL query that answers the following question: What team has a vehicle with an Offenhauser engine and a McLaren chassis?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1405704_1 (team VARCHAR, chassis VARCHAR, engine VARCHAR)
|
SELECT team FROM table_1405704_1 WHERE chassis = "McLaren" AND engine = "Offenhauser"
|
Write a SQL query that answers the following question: What team raced with a Foyt engine in the Texas Grand Prix?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1405704_1 (team VARCHAR, race_name VARCHAR, engine VARCHAR)
|
SELECT team FROM table_1405704_1 WHERE race_name = "Texas Grand Prix" AND engine = "Foyt"
|
Write a SQL query that answers the following question: What network is virtual channel 9.1 linked to?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404984_1 (network VARCHAR, virtual_channel VARCHAR)
|
SELECT network FROM table_1404984_1 WHERE virtual_channel = "9.1"
|
Write a SQL query that answers the following question: Who owns the station on channel 33.3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404984_1 (station_ownership VARCHAR, virtual_channel VARCHAR)
|
SELECT station_ownership FROM table_1404984_1 WHERE virtual_channel = "33.3"
|
Write a SQL query that answers the following question: What is JCTV's digital channel?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404984_1 (digital_channel VARCHAR, network VARCHAR)
|
SELECT digital_channel FROM table_1404984_1 WHERE network = "JCTV"
|
Write a SQL query that answers the following question: What is channel 33.7's official call sign?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404984_1 (call_sign VARCHAR, virtual_channel VARCHAR)
|
SELECT call_sign FROM table_1404984_1 WHERE virtual_channel = "33.7"
|
Write a SQL query that answers the following question: What is HSN's official virtual channel in Minneapolis-St. Paul?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404984_1 (virtual_channel VARCHAR, network VARCHAR)
|
SELECT virtual_channel FROM table_1404984_1 WHERE network = "HSN"
|
Write a SQL query that answers the following question: How many stations own Bounce TV?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1404984_1 (station_ownership VARCHAR, network VARCHAR)
|
SELECT COUNT(station_ownership) FROM table_1404984_1 WHERE network = "Bounce TV"
|
Write a SQL query that answers the following question: How many points were made when the tries for was 83?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_3 (points VARCHAR, tries_for VARCHAR)
|
SELECT points FROM table_14058433_3 WHERE tries_for = "83"
|
Write a SQL query that answers the following question: How many points are there when the lost is 7?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_3 (points_for VARCHAR, lost VARCHAR)
|
SELECT points_for FROM table_14058433_3 WHERE lost = "7"
|
Write a SQL query that answers the following question: What is the losing bonus when the points are 24?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_3 (losing_bonus VARCHAR, points VARCHAR)
|
SELECT losing_bonus FROM table_14058433_3 WHERE points = "24"
|
Write a SQL query that answers the following question: How many losing points does Llandudno RFC have?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_3 (losing_bonus VARCHAR, club VARCHAR)
|
SELECT losing_bonus FROM table_14058433_3 WHERE club = "Llandudno RFC"
|
Write a SQL query that answers the following question: What is the try bonus for Ruthin RFC?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_3 (try_bonus VARCHAR, club VARCHAR)
|
SELECT try_bonus FROM table_14058433_3 WHERE club = "Ruthin RFC"
|
Write a SQL query that answers the following question: how many tries against with lost being 11
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_4 (tries_against VARCHAR, lost VARCHAR)
|
SELECT COUNT(tries_against) FROM table_14058433_4 WHERE lost = "11"
|
Write a SQL query that answers the following question: what's the won with try bonus being 12
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_4 (won VARCHAR, try_bonus VARCHAR)
|
SELECT won FROM table_14058433_4 WHERE try_bonus = "12"
|
Write a SQL query that answers the following question: what's the drawn with lost being 4
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_4 (drawn VARCHAR, lost VARCHAR)
|
SELECT drawn FROM table_14058433_4 WHERE lost = "4"
|
Write a SQL query that answers the following question: what's the points against with lost being 13
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_4 (points_against VARCHAR, lost VARCHAR)
|
SELECT points_against FROM table_14058433_4 WHERE lost = "13"
|
Write a SQL query that answers the following question: what's the points against with won being 11
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR)
|
SELECT points_against FROM table_14058433_4 WHERE won = "11"
|
Write a SQL query that answers the following question: what's the drawn with points for being 350
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_4 (drawn VARCHAR, points_for VARCHAR)
|
SELECT drawn FROM table_14058433_4 WHERE points_for = "350"
|
Write a SQL query that answers the following question: how many points for with points against being 177
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR)
|
SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177"
|
Write a SQL query that answers the following question: what's the lost with club being colwyn bay rfc
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_5 (lost VARCHAR, club VARCHAR)
|
SELECT lost FROM table_14058433_5 WHERE club = "Colwyn Bay RFC"
|
Write a SQL query that answers the following question: what's the won with tries for being 84
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_5 (won VARCHAR, tries_for VARCHAR)
|
SELECT won FROM table_14058433_5 WHERE tries_for = "84"
|
Write a SQL query that answers the following question: what's the won with points for being 596
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR)
|
SELECT won FROM table_14058433_5 WHERE points_for = "596"
|
Write a SQL query that answers the following question: what's the points for with lost being 4
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_5 (points_for VARCHAR, lost VARCHAR)
|
SELECT points_for FROM table_14058433_5 WHERE lost = "4"
|
Write a SQL query that answers the following question: what's the won with points for being 643
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR)
|
SELECT won FROM table_14058433_5 WHERE points_for = "643"
|
Write a SQL query that answers the following question: What is the Telugu word for хонгорцог in Mongolian?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1408397_3 (telugu_తెలుగు VARCHAR, mongolian VARCHAR)
|
SELECT telugu_తెలుగు FROM table_1408397_3 WHERE mongolian = "Хонгорцог"
|
Write a SQL query that answers the following question: What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, kannada_ಕನ್ನಡ VARCHAR)
|
SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE kannada_ಕನ್ನಡ = "Punarvasu ಪುನರ್ವಸು"
|
Write a SQL query that answers the following question: What is the Malayalam word that is listed as #10 in the table?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, _number VARCHAR)
|
SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE _number = 10
|
Write a SQL query that answers the following question: tell the score when the times gone was 75
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14070062_4 (points_against VARCHAR, tries_against VARCHAR)
|
SELECT points_against FROM table_14070062_4 WHERE tries_against = "75"
|
Write a SQL query that answers the following question: was the the score when the tries was 743
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14070062_4 (points_against VARCHAR, points_for VARCHAR)
|
SELECT points_against FROM table_14070062_4 WHERE points_for = "743"
|
Write a SQL query that answers the following question: tell how many wins there was when the score was 490
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14070062_4 (won VARCHAR, points_for VARCHAR)
|
SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490"
|
Write a SQL query that answers the following question: how many extra points were there when the score was 48
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14070062_4 (try_bonus VARCHAR, points VARCHAR)
|
SELECT try_bonus FROM table_14070062_4 WHERE points = "48"
|
Write a SQL query that answers the following question: what was the extra score when the overall score was 52
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14070062_4 (losing_bonus VARCHAR, tries_for VARCHAR)
|
SELECT losing_bonus FROM table_14070062_4 WHERE tries_for = "52"
|
Write a SQL query that answers the following question: what was the score when the extras were 6
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14070062_4 (points VARCHAR, try_bonus VARCHAR)
|
SELECT points FROM table_14070062_4 WHERE try_bonus = "6"
|
Write a SQL query that answers the following question: What country's capital is buenos aires?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
|
SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Buenos Aires"
|
Write a SQL query that answers the following question: What unit of measurement for uruguay?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14098_1 (area__km²___per_sqmi_ VARCHAR, country_or_territory_with_flag VARCHAR)
|
SELECT area__km²___per_sqmi_ FROM table_14098_1 WHERE country_or_territory_with_flag = "Uruguay"
|
Write a SQL query that answers the following question: What country'c capital is santiago?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14098_1 (country_or_territory_with_flag VARCHAR, capital VARCHAR)
|
SELECT country_or_territory_with_flag FROM table_14098_1 WHERE capital = "Santiago"
|
Write a SQL query that answers the following question: who is the the voice actor (englbeingh 1998 / pioneer) with voice actor (englbeingh 1997 / saban) being alec willows and voice actor (englbeingh 2006 / funimation) being andy mcavin
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__english_1997___saban_ VARCHAR, voice_actor__english_2006___funimation_ VARCHAR)
|
SELECT voice_actor__english_1998___pioneer_ FROM table_1410384_1 WHERE voice_actor__english_1997___saban_ = "Alec Willows" AND voice_actor__english_2006___funimation_ = "Andy McAvin"
|
Write a SQL query that answers the following question: what's the character name with voice actor (englbeingh 1997 / saban) being ian james corlett
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1410384_1 (character_name VARCHAR, voice_actor__english_1997___saban_ VARCHAR)
|
SELECT character_name FROM table_1410384_1 WHERE voice_actor__english_1997___saban_ = "Ian James Corlett"
|
Write a SQL query that answers the following question: what's the character name with voice actor (englbeingh 1998 / pioneer) being paul dobson
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1410384_1 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR)
|
SELECT character_name FROM table_1410384_1 WHERE voice_actor__english_1998___pioneer_ = "Paul Dobson"
|
Write a SQL query that answers the following question: how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__japanese_ VARCHAR)
|
SELECT COUNT(voice_actor__english_1998___pioneer_) FROM table_1410384_1 WHERE voice_actor__japanese_ = "Shinobu Satouchi"
|
Write a SQL query that answers the following question: who is the the voice actor (japanese) with character name being goku
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1410384_1 (voice_actor__japanese_ VARCHAR, character_name VARCHAR)
|
SELECT voice_actor__japanese_ FROM table_1410384_1 WHERE character_name = "Goku"
|
Write a SQL query that answers the following question: how many big wins does peru state college have
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14115168_4 (national_titles VARCHAR, school VARCHAR)
|
SELECT COUNT(national_titles) FROM table_14115168_4 WHERE school = "Peru State College"
|
Write a SQL query that answers the following question: which school has 14 large championships
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14115168_4 (school VARCHAR, national_titles VARCHAR)
|
SELECT school FROM table_14115168_4 WHERE national_titles = 14
|
Write a SQL query that answers the following question: how many overall championships does concordia university have
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14115168_4 (national_titles INTEGER, school VARCHAR)
|
SELECT MIN(national_titles) FROM table_14115168_4 WHERE school = "Concordia University"
|
Write a SQL query that answers the following question: what's the duration with mission being sts-87
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14118521_1 (duration VARCHAR, mission VARCHAR)
|
SELECT duration FROM table_14118521_1 WHERE mission = "STS-87"
|
Write a SQL query that answers the following question: what's the edo flight with duration being 17 days, 15 hours, 53 minutes, 18 seconds
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14118521_1 (edo_flight VARCHAR, duration VARCHAR)
|
SELECT edo_flight FROM table_14118521_1 WHERE duration = "17 days, 15 hours, 53 minutes, 18 seconds"
|
Write a SQL query that answers the following question: what's the primary payload(s) with launch date being july 8, 1994
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, launch_date VARCHAR)
|
SELECT primary_payload_s_ FROM table_14118521_1 WHERE launch_date = "July 8, 1994"
|
Write a SQL query that answers the following question: what's the mission with primary payload(s) being spacelab life sciences-2
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14118521_1 (mission VARCHAR, primary_payload_s_ VARCHAR)
|
SELECT mission FROM table_14118521_1 WHERE primary_payload_s_ = "Spacelab Life Sciences-2"
|
Write a SQL query that answers the following question: what's the shuttle with primary payload(s) being united states microgravity laboratory-1
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14118521_1 (shuttle VARCHAR, primary_payload_s_ VARCHAR)
|
SELECT shuttle FROM table_14118521_1 WHERE primary_payload_s_ = "United States Microgravity Laboratory-1"
|
Write a SQL query that answers the following question: how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)
|
SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia" AND duration = "13 days, 19 hours, 30 minutes, 4 seconds"
|
Write a SQL query that answers the following question: what's the pts with team being kopron team scot
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14139408_1 (pts VARCHAR, team VARCHAR)
|
SELECT pts FROM table_14139408_1 WHERE team = "Kopron team Scot"
|
Write a SQL query that answers the following question: what's the pts with position being nc
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14139408_1 (pts VARCHAR, position VARCHAR)
|
SELECT pts FROM table_14139408_1 WHERE position = "NC"
|
Write a SQL query that answers the following question: what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR)
|
SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"
|
Write a SQL query that answers the following question: what's the poles with pts being 81
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14139408_1 (poles VARCHAR, pts VARCHAR)
|
SELECT poles FROM table_14139408_1 WHERE pts = "81"
|
Write a SQL query that answers the following question: how many class with poles being bigger than 1.0
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER)
|
SELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0
|
Write a SQL query that answers the following question: what's the position with team being skilled racing team
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14139408_1 (position VARCHAR, team VARCHAR)
|
SELECT position FROM table_14139408_1 WHERE team = "Skilled Racing team"
|
Write a SQL query that answers the following question: Who was the defensive award winner in February when the rookie award was given to Rhys Duch?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14132239_3 (defensive VARCHAR, month VARCHAR, rookie VARCHAR)
|
SELECT defensive FROM table_14132239_3 WHERE month = "February" AND rookie = "Rhys Duch"
|
Write a SQL query that answers the following question: Who was the offensive award winner the week when Bob Watson was given the overall award?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14132239_3 (offensive VARCHAR, overall VARCHAR)
|
SELECT offensive FROM table_14132239_3 WHERE overall = "Bob Watson"
|
Write a SQL query that answers the following question: Who was the defensive award winner when the rookie award was given to Daryl Veltman and the offensive award was given to Mark Steenhuis?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14132239_3 (defensive VARCHAR, rookie VARCHAR, offensive VARCHAR)
|
SELECT defensive FROM table_14132239_3 WHERE rookie = "Daryl Veltman" AND offensive = "Mark Steenhuis"
|
Write a SQL query that answers the following question: Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14132239_3 (rookie VARCHAR, transition VARCHAR, offensive VARCHAR)
|
SELECT rookie FROM table_14132239_3 WHERE transition = "Brodie Merrill" AND offensive = "Pat Maddalena"
|
Write a SQL query that answers the following question: What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414702_3 (enrollment INTEGER, wiaa_classification VARCHAR)
|
SELECT MIN(enrollment) FROM table_1414702_3 WHERE wiaa_classification = "3A"
|
Write a SQL query that answers the following question: What is the WIAA classification of Oakland Alternative High School?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414702_3 (wiaa_classification VARCHAR, high_school VARCHAR)
|
SELECT wiaa_classification FROM table_1414702_3 WHERE high_school = "Oakland Alternative"
|
Write a SQL query that answers the following question: When was Mount Tahoma established?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414702_3 (established INTEGER, high_school VARCHAR)
|
SELECT MAX(established) FROM table_1414702_3 WHERE high_school = "Mount Tahoma"
|
Write a SQL query that answers the following question: What's the note about the school established in the year of 1973?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414702_3 (notes VARCHAR, established VARCHAR)
|
SELECT notes FROM table_1414702_3 WHERE established = 1973
|
Write a SQL query that answers the following question: Who was in the 4th district in 1924?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14123513_5 (year VARCHAR)
|
SELECT 4 AS th_district FROM table_14123513_5 WHERE year = 1924
|
Write a SQL query that answers the following question: List all FTE middle school teachers in Sunnyvale.
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, school_level VARCHAR, city VARCHAR)
|
SELECT fte_teachers FROM table_1414743_1 WHERE school_level = "Middle" AND city = "Sunnyvale"
|
Write a SQL query that answers the following question: What is the highest number of students with a teacher:student ratio of 20.8?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414743_1 (students INTEGER, pupil_teacher_ratio VARCHAR)
|
SELECT MAX(students) FROM table_1414743_1 WHERE pupil_teacher_ratio = "20.8"
|
Write a SQL query that answers the following question: How many FTE teachers are there when the student:teacher ration is 19?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, pupil_teacher_ratio VARCHAR)
|
SELECT fte_teachers FROM table_1414743_1 WHERE pupil_teacher_ratio = "19"
|
Write a SQL query that answers the following question: What edition of congress for member-elect richard p. giles?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14158567_1 (congress VARCHAR, member_elect VARCHAR)
|
SELECT congress FROM table_14158567_1 WHERE member_elect = "Richard P. Giles"
|
Write a SQL query that answers the following question: how many mean elevation with lowest point being gulf of mexico and state being texas
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1416612_1 (mean_elevation VARCHAR, lowest_point VARCHAR, state VARCHAR)
|
SELECT COUNT(mean_elevation) FROM table_1416612_1 WHERE lowest_point = "Gulf of Mexico" AND state = "Texas"
|
Write a SQL query that answers the following question: what's the highest point with lowest point being belle fourche river at south dakota border
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1416612_1 (highest_point VARCHAR, lowest_point VARCHAR)
|
SELECT highest_point FROM table_1416612_1 WHERE lowest_point = "Belle Fourche River at South Dakota border"
|
Write a SQL query that answers the following question: what's the lowest elevation with highest point being charles mound
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1416612_1 (lowest_elevation VARCHAR, highest_point VARCHAR)
|
SELECT lowest_elevation FROM table_1416612_1 WHERE highest_point = "Charles Mound"
|
Write a SQL query that answers the following question: what's the lowest point with highest point being mount greylock
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1416612_1 (lowest_point VARCHAR, highest_point VARCHAR)
|
SELECT lowest_point FROM table_1416612_1 WHERE highest_point = "Mount Greylock"
|
Write a SQL query that answers the following question: what's the state with highest point being mount katahdin
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1416612_1 (state VARCHAR, highest_point VARCHAR)
|
SELECT state FROM table_1416612_1 WHERE highest_point = "Mount Katahdin"
|
Write a SQL query that answers the following question: What language for the glam genre?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14160327_4 (language VARCHAR, genre VARCHAR)
|
SELECT language FROM table_14160327_4 WHERE genre = "Glam"
|
Write a SQL query that answers the following question: What game allow the 1980s to be exportable?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14160327_4 (exportable VARCHAR, decade VARCHAR)
|
SELECT exportable FROM table_14160327_4 WHERE decade = "1980s"
|
Write a SQL query that answers the following question: How many family friendly games are in the 1990s?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14160327_4 (family_friendly VARCHAR, decade VARCHAR)
|
SELECT COUNT(family_friendly) FROM table_14160327_4 WHERE decade = "1990s"
|
Write a SQL query that answers the following question: When 0-1 is the aggregate what are the home (1st leg)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
|
SELECT home__1st_leg_ FROM table_14219514_2 WHERE aggregate = "0-1"
|
Write a SQL query that answers the following question: When belgrano is the home (1st leg) what is the home (2nd leg)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
|
SELECT home__2nd_leg_ FROM table_14219514_2 WHERE home__1st_leg_ = "Belgrano"
|
Write a SQL query that answers the following question: When platense is the home (2nd leg) what is the 2nd leg?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR)
|
SELECT 2 AS nd_leg FROM table_14219514_2 WHERE home__2nd_leg_ = "Platense"
|
Write a SQL query that answers the following question: When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR)
|
SELECT COUNT(1 AS st_leg) FROM table_14219514_2 WHERE home__1st_leg_ = "Altos Hornos Zapla"
|
Write a SQL query that answers the following question: When temperley is the home (2nd leg) what is the home (1st leg)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR)
|
SELECT home__1st_leg_ FROM table_14219514_2 WHERE home__2nd_leg_ = "Temperley"
|
Write a SQL query that answers the following question: How many 2nd legs had an aggregate of 2-4?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_1 (aggregate VARCHAR)
|
SELECT COUNT(2 AS nd_leg) FROM table_14219514_1 WHERE aggregate = "2-4"
|
Write a SQL query that answers the following question: How many 2nd legs are there where home (1st leg) is Independiente?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)
|
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Independiente"
|
Write a SQL query that answers the following question: Who was in home (2nd leg) when Talleres was in home (1st leg)
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_1 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
|
SELECT home__2nd_leg_ FROM table_14219514_1 WHERE home__1st_leg_ = "Talleres"
|
Write a SQL query that answers the following question: Who was in 2nd leg when Boca Juniors was in home (1st leg)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)
|
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Boca Juniors"
|
Write a SQL query that answers the following question: Name the playoffs for 2nd round open cup
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14240688_1 (playoffs VARCHAR, open_cup VARCHAR)
|
SELECT playoffs FROM table_14240688_1 WHERE open_cup = "2nd Round"
|
Write a SQL query that answers the following question: What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14225409_1 (reg_season VARCHAR, playoffs VARCHAR, us_open_cup VARCHAR)
|
SELECT reg_season FROM table_14225409_1 WHERE playoffs = "Conference Semifinals" AND us_open_cup = "Did not qualify"
|
Write a SQL query that answers the following question: Name the population in 1931 for lubelskie
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14245_3 (population__1931__in_1 VARCHAR, voivodeship_or_city VARCHAR)
|
SELECT population__1931__in_1, 000 AS s FROM table_14245_3 WHERE voivodeship_or_city = "lubelskie"
|
Write a SQL query that answers the following question: Name the population when the capital is tarnopol
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14245_3 (population__1931__in_1 VARCHAR, capital VARCHAR)
|
SELECT population__1931__in_1, 000 AS s FROM table_14245_3 WHERE capital = "Tarnopol"
|
Write a SQL query that answers the following question: Name the most bits 14-12 for output from accumulator to character bus
|
The relevant table was constructed using the following SQL : CREATE TABLE table_14249278_1 (bits_14_12 INTEGER, description VARCHAR)
|
SELECT MIN(bits_14_12) FROM table_14249278_1 WHERE description = "Output from accumulator to character bus"
|
Write a SQL query that answers the following question: what is smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1425948_1 (number_in_fleet INTEGER, chassis_manufacturer VARCHAR, fleet_numbers VARCHAR)
|
SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_manufacturer = "Scania" AND fleet_numbers = "3230"
|
Write a SQL query that answers the following question: Which chassis manufacturer is for fleet numbers range 2530-2558
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1425948_1 (chassis_manufacturer VARCHAR, fleet_numbers VARCHAR)
|
SELECT chassis_manufacturer FROM table_1425948_1 WHERE fleet_numbers = "2530-2558"
|
Write a SQL query that answers the following question: Chassis model Scania K360ua has what minimum number in fleet?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_1425948_1 (number_in_fleet INTEGER, chassis_model VARCHAR)
|
SELECT MIN(number_in_fleet) FROM table_1425948_1 WHERE chassis_model = "Scania K360UA"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.