answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT italian FROM table_2077192_2 WHERE english = "orange"
What is the Italian word for "orange" in English?
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
SELECT "Away team" FROM table_54703 WHERE "Venue" = 'moorabbin oval'
What away team is based in moorabbin oval?
CREATE TABLE table_54703 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT d_42 FROM table_name_41 WHERE r_51 = "r 11"
I want the D 42 with R 51 of r 11
CREATE TABLE table_name_41 (d_42 VARCHAR, r_51 VARCHAR)
SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE french = "grenouille"
How many Phonetic Greek words translate to grenouille in French?
CREATE TABLE table_2077192_2 (phonetic_greek VARCHAR, french VARCHAR)
SELECT surface FROM table_name_60 WHERE score = "akgul amanmuradova chuang chia-jung"
What was the surface of the match when the score was akgul amanmuradova chuang chia-jung?
CREATE TABLE table_name_60 ( surface VARCHAR, score VARCHAR )
SELECT r_53 FROM table_name_95 WHERE d_41 = "r 21"
I want the R 53 of D 41 of r 21
CREATE TABLE table_name_95 (r_53 VARCHAR, d_41 VARCHAR)
SELECT italian FROM table_2077192_2 WHERE english = "frog"
What does the word "frog"in English translate to in Italian?
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
SELECT County, COUNT(County) FROM appellations GROUP BY County
Return a bar chart about the number of counties for all appellations?
CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TE...
SELECT MIN(silver) FROM table_name_30 WHERE gold > 0 AND nation = "switzerland"
What is the low silver total for switzerland with over 0 golds?
CREATE TABLE table_name_30 (silver INTEGER, gold VARCHAR, nation VARCHAR)
SELECT enrollment FROM table_2076608_3 WHERE location_s_ = "Alexandria"
Where are the Alexandria enrollment locations?
CREATE TABLE table_2076608_3 (enrollment VARCHAR, location_s_ VARCHAR)
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 41132) AND prescriptions.drug IN ('calcium gluconate', 'lisinopril', 'iso-osmotic dextrose') AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-4 year')
until 4 years ago, has patient 41132 been ordered with calcium gluconate, lisinopril or iso-osmotic dextrose?
CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, war...
SELECT SUM(silver) FROM table_name_93 WHERE bronze = 10
What is the silver total for nations with 10 bronze medals?
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR)
SELECT control FROM table_2076608_3 WHERE founded = "1991"
What is the control type which was founded in 1991?
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR)
SELECT "Label" FROM table_60264 WHERE "English Title" = 'another she'
What is Another She's Label?
CREATE TABLE table_60264 ( "Album#" text, "English Title" text, "Chinese (Traditional)" text, "Chinese (Simplified)" text, "Release date" text, "Label" text )
SELECT SUM(gold) FROM table_name_5 WHERE nation = "lithuania" AND silver < 2
What is the gold total for lithuania with under 2 silvers?
CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT control FROM table_2076608_3 WHERE founded = "1818"
What is the control type which was founded in 1818?
CREATE TABLE table_2076608_3 (control VARCHAR, founded VARCHAR)
SELECT AVG("Year") FROM table_68641 WHERE "Competition" = 'u.s championships' AND "Event" = 'all around'
Competition of u.s championships, and a Event of all around has what average year?
CREATE TABLE table_68641 ( "Year" real, "Competition" text, "Location" text, "Event" text, "Final-Rank" real, "Final-Score" real )
SELECT home_team AS score FROM table_name_68 WHERE venue = "moorabbin oval"
What was the score for the home team that played at Moorabbin Oval?
CREATE TABLE table_name_68 (home_team VARCHAR, venue VARCHAR)
SELECT founded FROM table_2076608_3 WHERE school = "Hartland College"
What year was Hartland College founded?
CREATE TABLE table_2076608_3 (founded VARCHAR, school VARCHAR)
SELECT date_of_latest_logon, COUNT(date_of_latest_logon) FROM Students WHERE family_name = "Jaskolski" OR family_name = "Langosh" ORDER BY COUNT(date_of_latest_logon) DESC
What are the dates of the latest logon of the students with family name 'Jaskolski' or 'Langosh', and count them by a bar chart, list in descending by the y-axis.
CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABL...
SELECT screen_size__inch_ FROM table_name_73 WHERE intro_year = "2006" AND model = "iliad"
Name the size of the screen that came out in 2006 and is iliad
CREATE TABLE table_name_73 (screen_size__inch_ VARCHAR, intro_year VARCHAR, model VARCHAR)
SELECT type FROM table_2076608_3 WHERE school = "Cordoba University"
What type of school is Cordoba University?
CREATE TABLE table_2076608_3 (type VARCHAR, school VARCHAR)
SELECT "Length" FROM table_21959 WHERE "Map colour" = 'Turquoise'
When turquoise is the map colour what is the length?
CREATE TABLE table_21959 ( "Name" text, "Map colour" text, "First operated" real, "Type" text, "Length" text, "No. Sta" real, "Current Stock" text, "Future Stock" text, "Trips per annum (\u00d71000)" real, "Avg. trips per mile (\u00d71000)" real )
SELECT report FROM table_name_25 WHERE race = "belgian grand prix"
Which Report includes the Belgian Grand Prix Race?
CREATE TABLE table_name_25 (report VARCHAR, race VARCHAR)
SELECT school FROM table_2076608_3 WHERE location_s_ = "Richmond"
What school is in Richmond?
CREATE TABLE table_2076608_3 (school VARCHAR, location_s_ VARCHAR)
SELECT "Away team" FROM table_53443 WHERE "Home team score" = '31.9 (195)'
What was the score for the away team when the home team scored 31.9 (195)?
CREATE TABLE table_53443 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT report FROM table_name_95 WHERE location = "monaco"
Which Report includes Monaco?
CREATE TABLE table_name_95 (report VARCHAR, location VARCHAR)
SELECT accreditation FROM table_2076608_1 WHERE school = "Hollins University"
What accreditation does Hollins University have?
CREATE TABLE table_2076608_1 (accreditation VARCHAR, school VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51256" AND lab.flag = "abnormal"
what is the number of patients whose item id is 51256 and lab test abnormal status is abnormal?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( ...
SELECT date FROM table_name_38 WHERE fastest_lap = "gunnar nilsson"
On what date did Gunnar Nilsson make the fastest lap?
CREATE TABLE table_name_38 (date VARCHAR, fastest_lap VARCHAR)
SELECT MAX(founded) FROM table_2076608_1 WHERE enrollment = "696"
What was the largest founded year for schools having enrollment of exactly 696?
CREATE TABLE table_2076608_1 (founded INTEGER, enrollment VARCHAR)
SELECT record FROM table_17340355_9 WHERE date = "March 15"
After the March 15 game, what was the team's record?
CREATE TABLE table_17340355_9 ( record VARCHAR, date VARCHAR )
SELECT fastest_lap FROM table_name_71 WHERE race = "german grand prix"
Who had the fastest lap for the German Grand Prix?
CREATE TABLE table_name_71 (fastest_lap VARCHAR, race VARCHAR)
SELECT control FROM table_2076608_1 WHERE school = "Christopher Newport University"
What is the control for Christopher Newport University?
CREATE TABLE table_2076608_1 (control VARCHAR, school VARCHAR)
SELECT season_result FROM table_1139835_3 WHERE margin = 51
who is the season result where margin is 51
CREATE TABLE table_1139835_3 ( season_result VARCHAR, margin VARCHAR )
SELECT format FROM table_name_15 WHERE catalog = "3645" AND date > 1981 AND label = "luaka bop"
What is the format for the album under the label, luaka bop, that had a catalog number of 3645 and dated after 1981?
CREATE TABLE table_name_15 (format VARCHAR, label VARCHAR, catalog VARCHAR, date VARCHAR)
SELECT COUNT(founded) FROM table_2076608_1 WHERE enrollment = "5634"
What is the total number of schools founded that have an enrollment of 5634?
CREATE TABLE table_2076608_1 (founded VARCHAR, enrollment VARCHAR)
SELECT "Date" FROM table_62306 WHERE "Home team" = 'west bromwich albion'
What is the date of the match with west bromwich albion as the home team?
CREATE TABLE table_62306 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT MIN(date) FROM table_name_2 WHERE catalog = "3645" AND format = "cd" AND label = "luaka bop"
what is the earliest date for the album that had a catalog number of 3645, was formatted as a cd and was under the luaka bop label?
CREATE TABLE table_name_2 (date INTEGER, label VARCHAR, catalog VARCHAR, format VARCHAR)
SELECT type FROM table_2076608_1 WHERE school = "Stratford University"
What type of school is Stratford University?
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR)
SELECT All_Neutral, School_ID FROM basketball_match
Give me the comparison about School_ID over the All_Neutral by a bar chart.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT label FROM table_name_42 WHERE catalog = "3645" AND date > 1987
Under what label was the album with the catalog of 3645 and came out later than 1987?
CREATE TABLE table_name_42 (label VARCHAR, catalog VARCHAR, date VARCHAR)
SELECT type FROM table_2076608_1 WHERE school = "Jefferson College of Health Sciences"
What type of school is Jefferson College of Health Sciences?
CREATE TABLE table_2076608_1 (type VARCHAR, school VARCHAR)
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-69410' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi...
is patient 021-69410's phosphate second measured on the first hospital visit less than first measured on the first hospital visit?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime...
SELECT MAX(points) FROM table_name_59 WHERE home = "toronto" AND game__number > 63
What is the points where Toronto was the home team and the game number was larger than 63?
CREATE TABLE table_name_59 (points INTEGER, home VARCHAR, game__number VARCHAR)
SELECT nec_record FROM table_20774360_2 WHERE standing = "11th"
Name the nec record for 11th standing
CREATE TABLE table_20774360_2 (nec_record VARCHAR, standing VARCHAR)
SELECT AVG(opening) FROM table_name_20 WHERE stadium = "stadyum samsun" AND capacity < 34 OFFSET 658
What is the average opening at Stadyum Samsun with a capacity smaller than 34,658?
CREATE TABLE table_name_20 ( opening INTEGER, stadium VARCHAR, capacity VARCHAR )
SELECT COUNT(laps) FROM table_name_85 WHERE driver = "mike spence" AND grid > 12
How many laps did mike spence complete grids above 12?
CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT year FROM table_20774360_2 WHERE standing = "9th"
Name the year for standing 9th
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR)
SELECT MIN(grid) FROM table_name_83 WHERE laps > 22
What is the minimum grid when there was more than 22 laps?
CREATE TABLE table_name_83 ( grid INTEGER, laps INTEGER )
SELECT AVG(laps) FROM table_name_70 WHERE constructor = "brm" AND grid = 12
How many average laps did brm complete in grids larger than 12?
CREATE TABLE table_name_70 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
SELECT year FROM table_20774360_2 WHERE standing = "T-10th"
Name the year for t-10th
CREATE TABLE table_20774360_2 (year VARCHAR, standing VARCHAR)
SELECT * FROM table_dev_9 WHERE triglyceride_tg < 150
triglycerides < 150 mg / dl.
CREATE TABLE table_dev_9 ( "id" int, "heart_disease" bool, "hba1c" float, "coronary_artery_disease_cad" bool, "triglyceride_tg" float, "hypertension" bool, "NOUSE" float )
SELECT driver FROM table_name_17 WHERE grid > 3 AND time_retired = "accident"
Who drove in grids more than 3 and exited in an accident?
CREATE TABLE table_name_17 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
SELECT regular_season_record__w_l_ FROM table_20774360_2 WHERE standing = "11th"
Name the regular season record for standing 11th
CREATE TABLE table_20774360_2 (regular_season_record__w_l_ VARCHAR, standing VARCHAR)
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24268)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [syst...
had patient 24268 had a normal arterial bp [systolic] on 03/19/last year?
CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, ...
SELECT grid FROM table_name_21 WHERE driver = "jim clark"
In what grid did jim clark drive in?
CREATE TABLE table_name_21 (grid VARCHAR, driver VARCHAR)
SELECT MAX(previous_br_no) FROM table_2079664_3
Name the most previous br number
CREATE TABLE table_2079664_3 (previous_br_no INTEGER)
SELECT COUNT(*) FROM customers
Find the number of customers in total.
CREATE TABLE customers ( Id VARCHAR )
SELECT opponent FROM table_name_3 WHERE date = "21 jul 2007"
Which opponent has a date 21 jul 2007?
CREATE TABLE table_name_3 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(previous_br_no) FROM table_2079664_3 WHERE number = "21"
Name the total number of previous br number for number 21
CREATE TABLE table_2079664_3 (previous_br_no VARCHAR, number VARCHAR)
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LOS ANGELES' AND CITY_...
yes i'd like to find a flight from MEMPHIS to TACOMA stopping in LOS ANGELES
CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight text, arrival_time int, connections int, departu...
SELECT venue FROM table_name_91 WHERE home_team = "melbourne"
What was the venue of the Melbourne team?
CREATE TABLE table_name_91 (venue VARCHAR, home_team VARCHAR)
SELECT country_region FROM table_20780285_1 WHERE title = "Marele câștigător The Big Winner"
What country uses the title Marele Câștigător The Big Winner?
CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA...
i'd like to fly between BOSTON and SAN FRANCISCO
CREATE TABLE aircraft ( aircraft_code varchar, aircraft_description varchar, manufacturer varchar, basic_type varchar, engines int, propulsion varchar, wide_body varchar, wing_span int, length int, weight int, capacity int, pay_load int, cruising_speed int, range_...
SELECT race_name FROM table_name_45 WHERE constructor = "maserati" AND circuit = "aintree" AND winning_driver = "stirling moss"
What was the race that featured stirling moss winning with a maserati at aintree?
CREATE TABLE table_name_45 (race_name VARCHAR, winning_driver VARCHAR, constructor VARCHAR, circuit VARCHAR)
SELECT country_region FROM table_20780285_1 WHERE presenters = "Silvio Santos"
Silvio Santos is the presenter in what country?
CREATE TABLE table_20780285_1 (country_region VARCHAR, presenters VARCHAR)
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30460) AND microbiologyevents.spec_type_desc = 'mrsa screen' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime, 'start of year') = ...
was there any organism found in patient 30460's first mrsa screen microbiological examination in 03/last year?
CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, chartt...
SELECT report FROM table_name_98 WHERE circuit = "caen"
What does the Circuit of caen report?
CREATE TABLE table_name_98 (report VARCHAR, circuit VARCHAR)
SELECT home_town FROM table_20785990_2 WHERE name = "David Noel"
What is the home town of David Noel?
CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR)
SELECT "U.S. viewers (millions)" FROM table_30228 WHERE "Production code" = '6AKY07'
How many millions of U.S. viewers watched the episode with the production code of 6AKY07?
CREATE TABLE table_30228 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT winning_driver FROM table_name_51 WHERE race_name = "iv grand prix de caen"
Who is the winning drive of iv grand prix de caen?
CREATE TABLE table_name_51 (winning_driver VARCHAR, race_name VARCHAR)
SELECT high_school FROM table_20785990_2 WHERE home_town = "Blue Island, IL"
What is the high school for the player who's hometown is Blue Island, Il?
CREATE TABLE table_20785990_2 (high_school VARCHAR, home_town VARCHAR)
SELECT "Fuel Propulsion" FROM table_6427 WHERE "Numbers (Quantity Ordered)" = '7124-7156 (33 buses)'
Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)?
CREATE TABLE table_6427 ( "Make/ Model" text, "length" text, "Year" real, "Numbers (Quantity Ordered)" text, "Fuel Propulsion" text )
SELECT ship_types_delivered FROM table_name_32 WHERE yard_name = "froemming brothers"
What types of ships were made at the Froemming Brothers ship yard?
CREATE TABLE table_name_32 (ship_types_delivered VARCHAR, yard_name VARCHAR)
SELECT position FROM table_20785990_2 WHERE home_town = "North Babylon, NY"
What is the position of the player who's hometown is North Babylon, NY?
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR)
SELECT "Rank" FROM table_64538 WHERE "Name" = 'tatyana lebedeva'
What rank does Tatyana Lebedeva have?
CREATE TABLE table_64538 ( "Rank" text, "Group" text, "Name" text, "Nationality" text, "Mark" text )
SELECT appearances FROM table_name_5 WHERE goals = 36
What is the amount of apperances of the person who had 36 goals?
CREATE TABLE table_name_5 (appearances VARCHAR, goals VARCHAR)
SELECT position FROM table_20785990_2 WHERE home_town = "Chapel Hill, NC"
What position is the player from Chapel Hill, NC?
CREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR)
SELECT lot_details, COUNT(lot_details) FROM Lots GROUP BY lot_details ORDER BY lot_details
Return the lot details, group the lot details, and compute the number of each lot details, list X-axis from low to high order please.
CREATE TABLE Purchases ( purchase_transaction_id INTEGER, purchase_details VARCHAR(255) ) CREATE TABLE Ref_Transaction_Types ( transaction_type_code VARCHAR(10), transaction_type_description VARCHAR(80) ) CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) ) CREATE T...
SELECT name FROM table_name_7 WHERE points = 151.66
Tell me the name with points of 151.66
CREATE TABLE table_name_7 (name VARCHAR, points VARCHAR)
SELECT height FROM table_20785990_2 WHERE home_town = "Gulfport, MS"
What is the height of the player from Gulfport, MS?
CREATE TABLE table_20785990_2 (height VARCHAR, home_town VARCHAR)
SELECT studio FROM table_name_85 WHERE director = "reginald hudlin"
What studio is director Reginald Hudlin from?
CREATE TABLE table_name_85 ( studio VARCHAR, director VARCHAR )
SELECT COUNT(rank) FROM table_name_98 WHERE places < 94 AND points < 169.8 AND nation = "japan"
Tell me the total number of rank for places less than 94 and points less than 169.8 for japan
CREATE TABLE table_name_98 (rank VARCHAR, nation VARCHAR, places VARCHAR, points VARCHAR)
SELECT county FROM table_20799905_1 WHERE mccain_percentage = "57.8%"
In what county did McCain get 57.8%?
CREATE TABLE table_20799905_1 (county VARCHAR, mccain_percentage VARCHAR)
SELECT MAX("For Round Trip") FROM table_23321 WHERE "Till Agra" = '1050'
If the till agra is 1050, what is the max round trip?
CREATE TABLE table_23321 ( "Vehicle Category" text, "Till Aligarh" real, "Till Mathura" real, "Till Agra" real, "For Round Trip" real )
SELECT COUNT(sp) + fs FROM table_name_75 WHERE rank > 8 AND nation = "netherlands" AND points > 127.26
Tell me the total number of SP+FS with rank more than 8 for the netherlands and points more than 127.26
CREATE TABLE table_name_75 (fs VARCHAR, sp VARCHAR, points VARCHAR, rank VARCHAR, nation VARCHAR)
SELECT COUNT(mccain_percentage) FROM table_20799905_1 WHERE county = "DAVIDSON"
How many figures are given for McCain's % in Davidson county?
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR)
SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_...
list types of aircraft that fly between BOSTON and SAN FRANCISCO
CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flig...
SELECT COUNT(sp) + fs FROM table_name_28 WHERE places = 60 AND points > 151.66
Name the total number of SP+FS for places of 60 and points more than 151.66
CREATE TABLE table_name_28 (fs VARCHAR, sp VARCHAR, places VARCHAR, points VARCHAR)
SELECT obama_percentage FROM table_20799905_1 WHERE county = "RUTHERFORD"
What percentage did Obama get in Rutherford county?
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, county VARCHAR)
SELECT "2006" FROM table_7312 WHERE "Career W-L" = 'career statistics'
What is the value in 2006 when Career Statistics is in Career W-L?
CREATE TABLE table_7312 ( "Tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "Career W-L" text )
SELECT AVG(sp) + fs FROM table_name_2 WHERE places < 94 AND name = "renata baierova"
Name the average SP+FS with places less tha 94 for renata baierova
CREATE TABLE table_name_2 (fs VARCHAR, sp INTEGER, places VARCHAR, name VARCHAR)
SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON"
What percentage did McCain get in Hamilton county?
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR)
SELECT COUNT(*) > 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'CMBIOL' AND course.number = 682 AND semester.semester <> 'Summer'
Is CMBIOL 682 taught only in the Summer ?
CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int )...
SELECT color FROM table_name_14 WHERE model__number = "pd-kb400w"
What color is model # pd-kb400w?
CREATE TABLE table_name_14 (color VARCHAR, model__number VARCHAR)
SELECT obama_percentage FROM table_20799905_1 WHERE mccain_percentage = "52.8%"
What percentage did Obama get when McCain got 52.8%?
CREATE TABLE table_20799905_1 (obama_percentage VARCHAR, mccain_percentage VARCHAR)
SELECT "Position" FROM table_2500 WHERE "Races" = '16'
What was the highest position for the person who performed in 16 races?
CREATE TABLE table_2500 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text )
SELECT MIN(average) FROM table_name_29 WHERE swimsuit > 6.89 AND evening_gown > 7.76 AND state = "illinois" AND interview > 8.57
What's the lowest average for a swimsuit over 6.89, evening gown over 7.76, and an interview over 8.57 in illinois?
CREATE TABLE table_name_29 (average INTEGER, interview VARCHAR, state VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
SELECT MIN(obama_number) FROM table_20799905_1 WHERE county = "LAKE"
How many votes did Obama get in Lake County?
CREATE TABLE table_20799905_1 (obama_number INTEGER, county VARCHAR)