instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
What is Television Service, when HDTV is No, and when Language is Italian?
CREATE TABLE table_name_11 ( television_service VARCHAR, hdtv VARCHAR, language VARCHAR )
SELECT television_service FROM table_name_11 WHERE hdtv = "no" AND language = "italian"
Return a histogram on what are the names and seatings for all tracks opened after 2000, ordered by seating?
CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real )
SELECT Name, Seating FROM track WHERE Year_Opened > 2000 ORDER BY Seating
When nathaniel g. taylor (u) is the successor what is the vacator?
CREATE TABLE table_2147588_4 ( vacator VARCHAR, successor VARCHAR )
SELECT vacator FROM table_2147588_4 WHERE successor = "Nathaniel G. Taylor (U)"
Which round had 24 new entries?
CREATE TABLE table_26074 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text, "Leagues entering at this round" text )
SELECT "Round" FROM table_26074 WHERE "New entries this round" = '24'
What is the weight of the player from the vk primorac kotor club?
CREATE TABLE table_name_42 ( weight VARCHAR, club VARCHAR )
SELECT weight FROM table_name_42 WHERE club = "vk primorac kotor"
List the writers of the books in ascending alphabetical order, and count them by a bar chart
CREATE TABLE book ( Book_ID int, Title text, Issues real, Writer text ) CREATE TABLE publication ( Publication_ID int, Book_ID int, Publisher text, Publication_Date text, Price real )
SELECT Writer, COUNT(Writer) FROM book GROUP BY Writer ORDER BY Writer
Name the james e. holmes for erselle young
CREATE TABLE table_3255 ( "Information" text, "James E. Holmes" text, "Reidsville" text, "Rockingham County" text, "Western Rockingham Middle School" text )
SELECT "James E. Holmes" FROM table_3255 WHERE "Reidsville" = 'Erselle Young'
Visualize a bar chart, count and group by nationality from the journalist table, list X in descending order please.
CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working int ) CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance int )
SELECT Nationality, COUNT(Nationality) FROM journalist GROUP BY Nationality ORDER BY Nationality DESC
When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?
CREATE TABLE table_40634 ( "Year" real, "Division" real, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text )
SELECT COUNT("Division") FROM table_40634 WHERE "Regular Season" = '2nd, northeast' AND "Year" < '2008'
WHAT IS THE TO PAR WITH A FINISH OF T11, FOR DAVID GRAHAM?
CREATE TABLE table_77328 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" real, "Finish" text )
SELECT "To par" FROM table_77328 WHERE "Finish" = 't11' AND "Player" = 'david graham'
What is Television Service, when Content is Presentazione?
CREATE TABLE table_name_90 ( television_service VARCHAR, content VARCHAR )
SELECT television_service FROM table_name_90 WHERE content = "presentazione"
What was the date of Henk Hordijk's death?
CREATE TABLE table_16904 ( "number" real, "date of debut" text, "name" text, "date of birth" text, "number of caps" real, "number of goals" real, "date of death\u2020" text )
SELECT "date of death\u2020" FROM table_16904 WHERE "name" = 'Henk Hordijk'
What mechanical has lpm regulation?
CREATE TABLE table_1348246_3 ( mechanical VARCHAR, regulating VARCHAR )
SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM"
When was the game where the home team score was 8.9 (57)?
CREATE TABLE table_53070 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_53070 WHERE "Home team score" = '8.9 (57)'
Who were the candidates for election that had a result of a retired jacksonian gain?
CREATE TABLE table_2668264_8 ( candidates VARCHAR, result VARCHAR )
SELECT candidates FROM table_2668264_8 WHERE result = "Retired Jacksonian gain"
What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4?
CREATE TABLE table_40121 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT MAX("Played") FROM table_40121 WHERE "Position" < '2' AND "Drawn" < '4'
Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
CREATE TABLE table_65989 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Rank" FROM table_65989 WHERE "Silver" = '1' AND "Gold" = '0' AND "Nation" = 'austria'
When there was a draw, what was the time?
CREATE TABLE table_32025 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Time" FROM table_32025 WHERE "Res." = 'draw'
What was the range of finishing position for 15 awarded platinum points?
CREATE TABLE table_11254821_2 ( finishing_position VARCHAR, points_awarded__platinum_ VARCHAR )
SELECT finishing_position FROM table_11254821_2 WHERE points_awarded__platinum_ = 15
How many games were played against the Chicago Bears?
CREATE TABLE table_14966537_1 ( record VARCHAR, opponent VARCHAR )
SELECT COUNT(record) FROM table_14966537_1 WHERE opponent = "Chicago Bears"
What's the Order with an Elector of Marino Bulcani?
CREATE TABLE table_71578 ( "Elector" text, "Order" text, "Title" text, "Elevated" text, "Elevator" text )
SELECT "Order" FROM table_71578 WHERE "Elector" = 'marino bulcani'
What date was the result 3-1 in Hague?
CREATE TABLE table_65434 ( "Date" text, "Location" text, "Lineup" text, "Assist/pass" text, "Score" text, "Result" text, "Competition" text )
SELECT "Date" FROM table_65434 WHERE "Result" = '3-1' AND "Location" = 'hague'
What number pick was the player with the hometown school of concordia college?
CREATE TABLE table_name_96 ( pick VARCHAR, hometown_school VARCHAR )
SELECT pick FROM table_name_96 WHERE hometown_school = "concordia college"
How many players 89 points?
CREATE TABLE table_25342713_5 ( blocks VARCHAR, points VARCHAR )
SELECT COUNT(blocks) FROM table_25342713_5 WHERE points = 89
What is the nickname of the school with an enrollment of 2386?
CREATE TABLE table_11658094_3 ( nickname VARCHAR, enrollment VARCHAR )
SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386
What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey?
CREATE TABLE table_name_44 ( home VARCHAR, visitor VARCHAR, date VARCHAR )
SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11"
which county has the most representation ?
CREATE TABLE table_204_190 ( id number, "rank" number, "city" text, "county" text, "state" text, "percentage" text )
SELECT "county" FROM table_204_190 GROUP BY "county" ORDER BY SUM("percentage") DESC LIMIT 1
Who vacated his post when his successor was formally installed on May 11, 1966?
CREATE TABLE table_22348 ( "State (class)" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date of successors formal installation" text )
SELECT "Vacator" FROM table_22348 WHERE "Date of successors formal installation" = 'May 11, 1966'
Which spike has a 2008 club Karava?
CREATE TABLE table_62736 ( "Name" text, "Height" text, "Weight" text, "Spike" text, "2008 club" text )
SELECT "Spike" FROM table_62736 WHERE "2008 club" = 'karava'
How many bids does Atlantic 10 have?
CREATE TABLE table_name_98 ( _number_of_bids VARCHAR, conference VARCHAR )
SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10"
The successor for the Massachusetts 20th district was seated on what date?
CREATE TABLE table_25068 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text )
SELECT "Date successor seated" FROM table_25068 WHERE "District" = 'Massachusetts 20th'
What is the velocity of the pilot named 'Thompson'?
CREATE TABLE operate_company ( id number, name text, type text, principal_activities text, incorporated_in text, group_equity_shareholding number ) CREATE TABLE flight ( id number, vehicle_flight_number text, date text, pilot text, velocity number, altitude number, airport_id number, company_id number ) CREATE TABLE airport ( id number, city text, country text, iata text, icao text, name text )
SELECT AVG(velocity) FROM flight WHERE pilot = 'Thompson'
What is the name of the technician whose team is not 'NYY'?
CREATE TABLE machine ( machine_id number, making_year number, class text, team text, machine_series text, value_points number, quality_rank number ) CREATE TABLE repair_assignment ( technician_id number, repair_id number, machine_id number ) CREATE TABLE repair ( repair_id number, name text, launch_date text, notes text ) CREATE TABLE technician ( technician_id number, name text, team text, starting_year number, age number )
SELECT name FROM technician WHERE team <> "NYY"
What league was involved in 2010?
CREATE TABLE table_73329 ( "Year" real, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text, "National Open" text )
SELECT "League" FROM table_73329 WHERE "Year" = '2010'
Name the term ends for bethlehem
CREATE TABLE table_1979619_3 ( term_ends VARCHAR, residence VARCHAR )
SELECT COUNT(term_ends) FROM table_1979619_3 WHERE residence = "Bethlehem"
What was the score when the opponent was Dominika Cibulkov ?
CREATE TABLE table_72981 ( "Outcome" text, "Edition" real, "Round" text, "Opponent Team" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Score" FROM table_72981 WHERE "Opponent" = 'Dominika Cibulková'
What is the most number of losses for Quetta Zorawar?
CREATE TABLE table_name_15 ( lost INTEGER, team VARCHAR )
SELECT MAX(lost) FROM table_name_15 WHERE team = "quetta zorawar"
Who did the Mariners play when their record was 26 32?
CREATE TABLE table_name_70 ( opponent VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_70 WHERE record = "26–32"
what is the grid when the time/retired is +27.112?
CREATE TABLE table_name_79 ( grid VARCHAR, time_retired VARCHAR )
SELECT grid FROM table_name_79 WHERE time_retired = "+27.112"
In which Parish (Prestegjeld) is the church called Stavang Kyrkje?
CREATE TABLE table_62466 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sokn)" text, "Church Name" text, "Year Built" text, "Location of the Church" text )
SELECT "Parish (Prestegjeld)" FROM table_62466 WHERE "Church Name" = 'stavang kyrkje'
Who is the candidate in Race for State representative, hd18?
CREATE TABLE table_51555 ( "Race" text, "Candidate" text, "Party" text, "Notes" text, "Votes" real )
SELECT "Candidate" FROM table_51555 WHERE "Race" = 'state representative, hd18'
What is the Venue of the Friendly Competition with a Score of 1 4?
CREATE TABLE table_name_58 ( venue VARCHAR, competition VARCHAR, score VARCHAR )
SELECT venue FROM table_name_58 WHERE competition = "friendly" AND score = "1–4"
What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value?
CREATE TABLE table_name_52 ( hong_kong INTEGER, brisbane VARCHAR, kuala_lumpur VARCHAR )
SELECT MIN(hong_kong) FROM table_name_52 WHERE brisbane = 0 AND kuala_lumpur > 0
what's the record where result is l 24-10
CREATE TABLE table_11406866_2 ( record VARCHAR, result VARCHAR )
SELECT record FROM table_11406866_2 WHERE result = "L 24-10"
What is the total year of release of the title what goes around comes around?
CREATE TABLE table_76357 ( "Year of release" real, "Title" text, "Label" text, "Format" text, "Cat. No." text )
SELECT COUNT("Year of release") FROM table_76357 WHERE "Title" = 'what goes around comes around'
How many million viewers watched episode number 20?
CREATE TABLE table_21025437_5 ( viewers__millions_ VARCHAR, episode_no VARCHAR )
SELECT viewers__millions_ FROM table_21025437_5 WHERE episode_no = 20
What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20?
CREATE TABLE table_name_76 ( pick INTEGER, player VARCHAR, round VARCHAR )
SELECT AVG(pick) FROM table_name_76 WHERE player = "marc lewis (lhp)" AND round < 20
how many episodes aired originally but not in english ?
CREATE TABLE table_203_758 ( id number, "no." number, "dub no." number, "english dubbed title / english subbed title\noriginal japanese title" text, "original air date" text, "english air date" text )
SELECT COUNT("english dubbed title / english subbed title\noriginal japanese title") FROM table_203_758 WHERE NOT "original air date" IS NULL AND "english air date" IS NULL
how many games did this team play against spain ?
CREATE TABLE table_204_933 ( id number, "year" number, "competition" text, "date" text, "location" text, "opponent" text, "score" text, "result" text, "bye" text )
SELECT COUNT(*) FROM table_204_933 WHERE "opponent" = 'spain'
Show the distinct fate of missions that involve ships with nationality 'United States
CREATE TABLE mission ( mission_id number, ship_id number, code text, launched_year number, location text, speed_knots number, fate text ) CREATE TABLE ship ( ship_id number, name text, type text, nationality text, tonnage number )
SELECT DISTINCT T1.fate FROM mission AS T1 JOIN ship AS T2 ON T1.ship_id = T2.ship_id WHERE T2.nationality = "United States"
What is the smallest number of extra points?
CREATE TABLE table_3283 ( "Player" text, "Position" text, "Starter" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT MIN("Extra points") FROM table_3283
Who wrote 'Monica's bad day'?
CREATE TABLE table_29106 ( "Series #" real, "Season #" real, "Title" text, "Director" text, "Writer" text, "Original air date" text )
SELECT "Writer" FROM table_29106 WHERE "Title" = 'Monica''s Bad Day'
How many Ties have Years of 1919 1925, and a Pct larger than 0.734?
CREATE TABLE table_name_75 ( ties INTEGER, years VARCHAR, pct VARCHAR )
SELECT SUM(ties) FROM table_name_75 WHERE years = "1919–1925" AND pct > 0.734
Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?
CREATE TABLE table_name_22 ( average_cards_a_game INTEGER, season VARCHAR, red_cards VARCHAR )
SELECT MIN(average_cards_a_game) FROM table_name_22 WHERE season = "2004/2005" AND red_cards > 3
Give me a bar chart for the total number of each class, and could you sort from high to low by the y-axis please?
CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text ) CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real )
SELECT Class, COUNT(*) FROM race GROUP BY Class ORDER BY COUNT(*) DESC
WHAT IS THE NAME WITH 01.0 10 light street?
CREATE TABLE table_61421 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft ( m )" text, "Floors" real )
SELECT "Name" FROM table_61421 WHERE "Street address" = '01.0 10 light street'
What year was the developer(s) Bioware?
CREATE TABLE table_64172 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text )
SELECT AVG("Year") FROM table_64172 WHERE "Developer(s)" = 'bioware'
Team of honda 250cc, and a Time of 31 03.093 has what lowest rank?
CREATE TABLE table_5974 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text )
SELECT MIN("Rank") FROM table_5974 WHERE "Team" = 'honda 250cc' AND "Time" = '31’ 03.093'
Who led with the highest points during the game against Indiana?
CREATE TABLE table_2856 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_2856 WHERE "Team" = 'Indiana'
What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?
CREATE TABLE table_name_3 ( speed VARCHAR, construction_begun VARCHAR, expected_start_of_revenue_services VARCHAR )
SELECT speed FROM table_name_3 WHERE construction_begun = "2010" AND expected_start_of_revenue_services = 2015
What is the Hanja for McCune-Reischauer of ch n?
CREATE TABLE table_name_56 ( hanja VARCHAR, mccune_reischauer VARCHAR )
SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn"
What is the Retail name with a Digital/analog signal with analog, and a Chipset based on with radeon 9600?
CREATE TABLE table_10490 ( "Retail name" text, "Chipset based on" text, "Digital/analog signal" text, "AVIVO" text, "Available interface" text )
SELECT "Retail name" FROM table_10490 WHERE "Digital/analog signal" = 'analog' AND "Chipset based on" = 'radeon 9600'
How many gold medals does the country ranked higher than 2 with more than 8 bronze have?
CREATE TABLE table_70723 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Gold") FROM table_70723 WHERE "Rank" < '2' AND "Bronze" > '8'
Name the surface when the partner is carlos berlocq
CREATE TABLE table_51313 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Surface" FROM table_51313 WHERE "Partner" = 'carlos berlocq'
Which Rank has a Show of alcatraz, and a Number of Viewers larger than 1,229,000?
CREATE TABLE table_64376 ( "Rank" real, "Show" text, "Episode" text, "Number of Viewers" real, "Date" text )
SELECT MIN("Rank") FROM table_64376 WHERE "Show" = 'alcatraz' AND "Number of Viewers" > '1,229,000'
Name the style for 27
CREATE TABLE table_28677723_14 ( style VARCHAR, total VARCHAR )
SELECT style FROM table_28677723_14 WHERE total = 27
How many distinct companies are there?
CREATE TABLE entrepreneur ( entrepreneur_id number, people_id number, company text, money_requested number, investor text ) CREATE TABLE people ( people_id number, name text, height number, weight number, date_of_birth text )
SELECT COUNT(DISTINCT company) FROM entrepreneur
Show the different headquarters and number of companies at each headquarter, and list X-axis in descending order.
CREATE TABLE employment ( Company_ID int, People_ID int, Year_working int ) CREATE TABLE company ( Company_ID real, Name text, Headquarters text, Industry text, Sales_in_Billion real, Profits_in_Billion real, Assets_in_Billion real, Market_Value_in_Billion real ) CREATE TABLE people ( People_ID int, Age int, Name text, Nationality text, Graduation_College text )
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC
What's the name of Constituency number 108?
CREATE TABLE table_name_65 ( name VARCHAR, constituency_number VARCHAR )
SELECT name FROM table_name_65 WHERE constituency_number = "108"
Name the number of barangay for 205.4 density
CREATE TABLE table_269888_1 ( no_of_s_barangay VARCHAR, pop_density__per_km²_ VARCHAR )
SELECT no_of_s_barangay FROM table_269888_1 WHERE pop_density__per_km²_ = "205.4"
What airs at 7:00 am when The Big Cartoonie Show airs at 3pm?
CREATE TABLE table_13178 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "7:00 am" FROM table_13178 WHERE "3:00 pm" = 'the big cartoonie show'
Which advisors are advising more than 2 students?
CREATE TABLE voting_record ( stuid number, registration_date text, election_cycle text, president_vote number, vice_president_vote number, secretary_vote number, treasurer_vote number, class_president_vote number, class_senator_vote number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text )
SELECT advisor FROM student GROUP BY advisor HAVING COUNT(*) > 2
Which Chinese has a Pali of atappa?
CREATE TABLE table_45211 ( "English" text, "Pali" text, "Sanskrit" text, "Chinese" text, "Tibetan" text )
SELECT "Chinese" FROM table_45211 WHERE "Pali" = 'atappa'
In which venue did the home team score 10.11 (71)
CREATE TABLE table_52838 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_52838 WHERE "Home team score" = '10.11 (71)'
how many tons does the te class displace ?
CREATE TABLE table_203_764 ( id number, "name" text, "date" number, "nation" text, "displacement" text, "speed" text, "number" number, "notes" text )
SELECT "displacement" FROM table_203_764 WHERE "name" = 'te-class'
Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann?
CREATE TABLE table_55249 ( "Year" text, "President" text, "Vice President" text, "Gen.-Secretary" text, "Treasurer" text )
SELECT "Vice President" FROM table_55249 WHERE "President" = 'daniel masny' AND "Treasurer" = 'rebecca t. altmann'
Visualize a bar chart about the distribution of Name and Weight , and I want to sort in descending by the Y.
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real )
SELECT Name, Weight FROM people ORDER BY Weight DESC
Who wrote the movie positioned at 8 on the list?
CREATE TABLE table_28271 ( "No." real, "#" real, "Title" text, "Director" text, "Writer(s)" text, "Original air date" text, "Prod. code" real, "U.S. viewers (million)" text )
SELECT "Writer(s)" FROM table_28271 WHERE "#" = '8'
When was Lachlan Dale born?
CREATE TABLE table_36220 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text )
SELECT "D.O.B." FROM table_36220 WHERE "Surname" = 'dale' AND "First" = 'lachlan'
How many countries earned 177.2 points?
CREATE TABLE table_69 ( "Rank" real, "Member Association" text, "Points" text, "Group stage" real, "Play-off" real, "AFC Cup" real )
SELECT COUNT("Member Association") FROM table_69 WHERE "Points" = '177.2'
Which hometown has a player of Ray Drew?
CREATE TABLE table_name_19 ( hometown VARCHAR, player VARCHAR )
SELECT hometown FROM table_name_19 WHERE player = "ray drew"
What is on at 5pm on the channel where As the World Turns is on at 2pm?
CREATE TABLE table_61209 ( "7:00 am" text, "7:30 am" text, "8:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "3:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "5:00 pm" FROM table_61209 WHERE "2:00 pm" = 'as the world turns'
Name the team for week 1 of 28
CREATE TABLE table_75061 ( "Team" text, "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text, "Week 6" text, "Week 7" text, "Week 8 Final" text )
SELECT "Team" FROM table_75061 WHERE "Week 1" = '28'
What is the FCC info for the city of Tribune, Kansas?
CREATE TABLE table_name_74 ( fcc_info VARCHAR, city_of_license VARCHAR )
SELECT fcc_info FROM table_name_74 WHERE city_of_license = "tribune, kansas"
Who is in November after 1988 when Prinzzess is in October?
CREATE TABLE table_name_52 ( november VARCHAR, year VARCHAR, october VARCHAR )
SELECT november FROM table_name_52 WHERE year > 1988 AND october = "prinzzess"
Name the number of wheel arrangement when class is d14
CREATE TABLE table_15608800_2 ( wheel_arrangement VARCHAR, class VARCHAR )
SELECT COUNT(wheel_arrangement) FROM table_15608800_2 WHERE class = "D14"
What Report is on June 3, 2000?
CREATE TABLE table_name_85 ( report VARCHAR, date VARCHAR )
SELECT report FROM table_name_85 WHERE date = "june 3, 2000"
What was the date of the game with a score of 15 6?
CREATE TABLE table_name_15 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_name_15 WHERE score = "15–6"
Give me a bar chart for mean max(score) of each year, and sort by the y-axis in ascending.
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT )
SELECT Year, AVG(MAX(Score)) FROM wine ORDER BY AVG(MAX(Score))
Which heat and lane was in rank of 22?
CREATE TABLE table_4612 ( "Rank" real, "Heat (Lane)" text, "Name" text, "Nationality" text, "Time" text )
SELECT "Heat (Lane)" FROM table_4612 WHERE "Rank" = '22'
the number of points daniel willemsen scored with his passenger
CREATE TABLE table_203_295 ( id number, "position" number, "driver / passenger" text, "equipment" text, "points" number, "wins" number, "second" number, "third" number )
SELECT "points" FROM table_203_295 WHERE "driver / passenger" = 'daniel willemsen'
What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996?
CREATE TABLE table_70475 ( "Year" real, "Chassis" text, "Engine" text, "Tyres" text, "Points" real )
SELECT MIN("Points") FROM table_70475 WHERE "Chassis" = 'forti fg01b forti fg03' AND "Year" < '1996'
Who had Pole position for the French Grand Prix?
CREATE TABLE table_11142 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text )
SELECT "Pole position" FROM table_11142 WHERE "Race" = 'french grand prix'
Show the different statuses and the numbers of roller coasters for each status.
CREATE TABLE roller_coaster ( Status VARCHAR )
SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status
What is Ariel 3's COSPAR ID?
CREATE TABLE table_name_3 ( cospar_id VARCHAR, satellite VARCHAR )
SELECT cospar_id FROM table_name_3 WHERE satellite = "ariel 3"
What is the highest K 2 O, when Na 2 O is greater than 1.87, when Fe 2 O 3 is greater than 0.07, when Objects is Ritual Disk, and when Al 2 O 3 is less than 0.62?
CREATE TABLE table_7207 ( "Objects" text, "Date" text, "SiO 2" real, "Al 2 O 3" real, "Fe 2 O 3" real, "K 2 O" real, "Na 2 O" real )
SELECT MAX("K 2 O") FROM table_7207 WHERE "Na 2 O" > '1.87' AND "Fe 2 O 3" > '0.07' AND "Objects" = 'ritual disk' AND "Al 2 O 3" < '0.62'
What shows for 3rd place when Runner-up shows as runner-up?
CREATE TABLE table_69011 ( "Year" text, "Venue" text, "Winners" text, "Runner-up" text, "3rd place" text )
SELECT "3rd place" FROM table_69011 WHERE "Runner-up" = 'runner-up'
What is the highest roll number of the school with a state authority and a decile smaller than 8?
CREATE TABLE table_69120 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real )
SELECT MAX("Roll") FROM table_69120 WHERE "Authority" = 'state' AND "Decile" < '8'
which game did they score more , week 10 or 12 ?
CREATE TABLE table_204_644 ( id number, "week" number, "date" text, "opponent" text, "result" text, "record" text, "game site" text, "bye" text )
SELECT "week" FROM table_204_644 WHERE "week" IN (10, 12) ORDER BY "result" DESC LIMIT 1
What is the number of tries for that has 30 tries against?
CREATE TABLE table_69514 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Tries for" FROM table_69514 WHERE "Tries against" = '30'