sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT episode FROM table_15026994_3 WHERE viewing_figure = "6.34 million" | CREATE TABLE INST, Here is a database schema( table schema); | Which episode has been viewed 6.34 million times?It is not neccessary to use all the tables. |
SELECT Rowers FROM table WHERE Country = great britain | CREATE TABLE INST, Here is a database schema( table schema); | Who were the rowers for Great britain?.It is not neccessary to use all the tables. |
SELECT TV companions featured FROM table WHERE Author = william emms | CREATE TABLE INST, Here is a database schema( table schema); | What is TV Companions Featured, when Author is "William Emms"?.It is not neccessary to use all the tables. |
SELECT Socialist ticket FROM table WHERE American Labor ticket = caroline o'day | CREATE TABLE INST, Here is a database schema( table schema); | Which Socialist candidate ran against American Labor candidate Caroline O'Day?.It is not neccessary to use all the tables. |
SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 10 | CREATE TABLE INST, Here is a database schema( table schema); | How many losses had a total of 17 and more than 10 wins?It is not neccessary to use all the tables. |
SELECT Written by FROM table WHERE Original airdate = june 6, 1999 | CREATE TABLE INST, Here is a database schema( table schema); | Who wrote the program that originally aired on June 6, 1999?.It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Away team score = 6.8 (44) | CREATE TABLE INST, Here is a database schema( table schema); | What did the home team score when the away team scored 6.8 (44)?.It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND procedures.long_title = "Endoscopic sphincterotomy and papillotomy" | CREATE TABLE INST, Here is a database schema( table schema); | how many patients whose admission location is clinic referral/premature underwent endoscopic sphincterotomy and papillotomy?It is not neccessary to use all the tables. |
SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv mec ven <96 hrs') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 56635) | CREATE TABLE INST, Here is a database schema( table schema); | calculate how many times patient 56635 has received cont inv mec ven <96 hrs procedures.It is not neccessary to use all the tables. |
SELECT Years FROM table WHERE Flights = 134 Orbital | CREATE TABLE INST, Here is a database schema( table schema); | What years had 134 orbital flights? .It is not neccessary to use all the tables. |
SELECT AVG(enrollment) FROM university WHERE founded < 1850 | CREATE TABLE INST, Here is a database schema( table schema); | What are the average enrollment size of the universities that are founded before 1850?It is not neccessary to use all the tables. |
SELECT MAX("Total") FROM table_50193 WHERE "Year(s) won" < '1959' | CREATE TABLE INST, Here is a database schema( table schema); | What is Highest Total, when Year(s) Won is before 1959?It is not neccessary to use all the tables. |
SELECT "Artist" FROM table_26446 WHERE "Song title" = ' ...And Justice for All ' | CREATE TABLE INST, Here is a database schema( table schema); | Who is the artist for the song title of ' ...and justice for all '?It is not neccessary to use all the tables. |
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Rachel Rinaldo%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id AND semester.semester_id = course_offering.semester AND ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017)) | CREATE TABLE INST, Here is a database schema( table schema); | Over the next year , which courses is Prof. Rachel Rinaldo teaching ?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Loss = travers (0–2) | CREATE TABLE INST, Here is a database schema( table schema); | What was the opponent at the game that had a loss of Travers (0–2)?.It is not neccessary to use all the tables. |
SELECT position FROM table_name_16 WHERE name = "ronjay buenafe" | CREATE TABLE INST, Here is a database schema( table schema); | What position has ronjay buenafe as the name?It is not neccessary to use all the tables. |
SELECT player FROM table_name_80 WHERE college = "depaul" | CREATE TABLE INST, Here is a database schema( table schema); | What player went to DePaul University?It is not neccessary to use all the tables. |
SELECT MIN(draws) FROM table_name_75 WHERE byes > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the fewest number of draws for teams with more than 0 byes?It is not neccessary to use all the tables. |
SELECT bronze FROM table_name_32 WHERE rank = "1" | CREATE TABLE INST, Here is a database schema( table schema); | How many Bronze medals did the team ranked 1 win?It is not neccessary to use all the tables. |
SELECT MIN(round) FROM table_name_86 WHERE college = "clark" | CREATE TABLE INST, Here is a database schema( table schema); | What is the earliest round Clark was in?It is not neccessary to use all the tables. |
SELECT high_assists FROM table_name_80 WHERE high_rebounds = "dwight howard , rashard lewis (10)" | CREATE TABLE INST, Here is a database schema( table schema); | What is High Assists, when High Rebounds is 'Dwight Howard , Rashard Lewis (10)'?It is not neccessary to use all the tables. |
SELECT week_1 FROM table_name_53 WHERE week_3 = "candice hunnicutt" | CREATE TABLE INST, Here is a database schema( table schema); | What is the week 1 with candice hunnicutt in week 3?It is not neccessary to use all the tables. |
SELECT Fastest Lap FROM table WHERE Grand Prix = dutch tt | CREATE TABLE INST, Here is a database schema( table schema); | What was the fastest lap for Grand Prix dutch tt?.It is not neccessary to use all the tables. |
SELECT 2011 FROM table WHERE Tournament = cincinnati masters | CREATE TABLE INST, Here is a database schema( table schema); | What tournament was at the 2011 Cincinnati Masters?.It is not neccessary to use all the tables. |
SELECT high_assists FROM table_27722408_2 WHERE date = "October 7" | CREATE TABLE INST, Here is a database schema( table schema); | Who had the most assists and how many did they have on October 7?It is not neccessary to use all the tables. |
SELECT COUNT Year FROM table WHERE Winning score = (76-73-79-72=300) | CREATE TABLE INST, Here is a database schema( table schema); | HOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?.It is not neccessary to use all the tables. |
SELECT title, AVG(stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title | CREATE TABLE INST, Here is a database schema( table schema); | Visualize the title and and the average star rating of the movie using a bar chart.It is not neccessary to use all the tables. |
SELECT location FROM table_name_68 WHERE year > 2006 | CREATE TABLE INST, Here is a database schema( table schema); | Which location had a year over 2006?It is not neccessary to use all the tables. |
SELECT aircraft FROM table_name_39 WHERE type = "heavy transport" | CREATE TABLE INST, Here is a database schema( table schema); | Which aircraft has heavy transport?It is not neccessary to use all the tables. |
SELECT Game site FROM table WHERE Record = 6-2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the site of the game with a Record of 6-2?.It is not neccessary to use all the tables. |
SELECT COUNT Song choice FROM table WHERE Original artist = Gino Paoli | CREATE TABLE INST, Here is a database schema( table schema); | What is the song choice where the original artist is Gino Paoli?.It is not neccessary to use all the tables. |
SELECT week_1 FROM table_name_24 WHERE week_8 = "not eligible" AND week_9 = "no nominations" AND week_3 = "cyril" | CREATE TABLE INST, Here is a database schema( table schema); | What kind of Week 1 has a Week 8 of not eligible and a Week 9 of no nominations and a Week 3 of cyril? Question 3It is not neccessary to use all the tables. |
SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of attendence has points greater than 40 and detroit as the home?It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2122.0" AND prescriptions.formulary_drug_cd = "LINEBASE" | CREATE TABLE INST, Here is a database schema( table schema); | give me the number of patients whose year of death is less than or equal to 2122 and drug code is linebase?It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE CONMEBOL 1995 = round 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which Team has a round 1 CONMEBOL 1995?.It is not neccessary to use all the tables. |
SELECT location___city FROM table_29483673_1 WHERE institution = "Tiffin University" | CREATE TABLE INST, Here is a database schema( table schema); | What city is Tiffin University located in?It is not neccessary to use all the tables. |
SELECT MAX Share FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What was the highest share?.It is not neccessary to use all the tables. |
SELECT MAX(killed) FROM table_name_34 WHERE perpetrator = "basobas, florentino" | CREATE TABLE INST, Here is a database schema( table schema); | How many kills did basobas florentino have?It is not neccessary to use all the tables. |
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-30149')) AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-1 year') | CREATE TABLE INST, Here is a database schema( table schema); | since 1 year ago, patient 029-30149 has undergone a procedure?It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Competition = world athletics final AND Year > 2008 | CREATE TABLE INST, Here is a database schema( table schema); | What position was played at the World Athletics Final Competition in a year more recent than 2008?.It is not neccessary to use all the tables. |
SELECT home_team AS score FROM table_name_9 WHERE home_team = "south melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What was South Melbourne's score when they played as the home team?It is not neccessary to use all the tables. |
SELECT result FROM table_14966537_1 WHERE date = "October 4, 1970" | CREATE TABLE INST, Here is a database schema( table schema); | What was the final score of the game on October 4 1970?It is not neccessary to use all the tables. |
SELECT Last match FROM table WHERE Date of vacancy = round 2 AND Outgoing manager = ney franco | CREATE TABLE INST, Here is a database schema( table schema); | What is the last match with a vacancy date of round 2 and Ney Franco as outgoing manager?.It is not neccessary to use all the tables. |
SELECT MIN(no) FROM table_25084227_1 WHERE directed_by = "Michael Offer" | CREATE TABLE INST, Here is a database schema( table schema); | If the episode was directed by Michael Offer what was the episode number?It is not neccessary to use all the tables. |
SELECT 1999 FROM table WHERE 2011 = 2r | CREATE TABLE INST, Here is a database schema( table schema); | Name the 1999 with 2011 of 2r.It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE Start = 8 AND Year < 2008 | CREATE TABLE INST, Here is a database schema( table schema); | Which team had a start of 8 in years under 2008?.It is not neccessary to use all the tables. |
SELECT major, AVG(age), MIN(age), MAX(age) FROM Student GROUP BY major | CREATE TABLE INST, Here is a database schema( table schema); | Show the average minimum and maximum age for different majors.It is not neccessary to use all the tables. |
SELECT case_type FROM table_name_57 WHERE cartridge_length = "64.77 (2.550)" | CREATE TABLE INST, Here is a database schema( table schema); | Which Case type has a Cartridge length of 64.77 (2.550)?It is not neccessary to use all the tables. |
SELECT Office FROM table WHERE Liberal ticket = spencer c. young | CREATE TABLE INST, Here is a database schema( table schema); | What is the Office when spencer c. young is on the liberal ticket??.It is not neccessary to use all the tables. |
SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4" | CREATE TABLE INST, Here is a database schema( table schema); | Name the Outcome has a Surface of hard, and a Score in the final of 6 2, 6 4?It is not neccessary to use all the tables. |
SELECT MIN Total points FROM table WHERE Best Winning Average = 7.3-71 | CREATE TABLE INST, Here is a database schema( table schema); | If the best winning average is 7.3-71, what are the total points?.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE To par = e AND Score = 68-72=140 | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140?.It is not neccessary to use all the tables. |
SELECT MAX(episodes) FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "今夜ひとりのベッドで" | CREATE TABLE INST, Here is a database schema( table schema); | Which Episodes have a TV Station of tbs and a Japanese Title of 今夜ひとりのベッドで?It is not neccessary to use all the tables. |
SELECT broadcast_date FROM table_2102782_1 WHERE run_time = "25:04" | CREATE TABLE INST, Here is a database schema( table schema); | Name the broadcast date for run timke of 25:04It is not neccessary to use all the tables. |
SELECT MIN Rank FROM table WHERE Country = guam | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Rank for a Guam Player?.It is not neccessary to use all the tables. |
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND partner = "aurelija misevičiūtė" | CREATE TABLE INST, Here is a database schema( table schema); | Partner Aurelija Misevičiūtė had an outcome of runner-up in what tournament?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Attendance = 76 AND Home team = meir ka | CREATE TABLE INST, Here is a database schema( table schema); | What is Score, when Attendance is "76", and when Home Team is "Meir Ka"?.It is not neccessary to use all the tables. |
SELECT COUNT("Prominence (metres)") FROM table_62472 WHERE "Height (feet)" > '11,663' AND "Mountain/Peak" = 'otter mountain' AND "Height (metres)" < '2692' | CREATE TABLE INST, Here is a database schema( table schema); | What's the total number of prominence in metres of Otter Mountain with a height of less than 2692 metres and taller than 11,663 ft?It is not neccessary to use all the tables. |
SELECT COUNT(high_points) FROM table_27722408_6 WHERE score = "L 87–89 (OT)" | CREATE TABLE INST, Here is a database schema( table schema); | How many entries are shown for high points when the score was l 87 89 (ot)?It is not neccessary to use all the tables. |
SELECT confmethod FROM resultsdata15 as T2 JOIN sampledata15 as T1 ON T1.sample_pk = T2.sample_pk ORDER BY year, month, day DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( sampledata15); | What's the code for confirmation for the latest sample?. It is not neccessary to use all the tables. |
SELECT Chef FROM table WHERE Location = toronto, on AND Original Name = n/a AND Restaurant Name = bagel world | CREATE TABLE INST, Here is a database schema( table schema); | What chef that has a location in Toronto, ON, that has n/a as the original name, and a Restaurant Name of Bagel World?.It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Conference = American Athletic Conference | CREATE TABLE INST, Here is a database schema( table schema); | Where is the University that plays in the American Athletic Conference?.It is not neccessary to use all the tables. |
SELECT DISTINCT T1.Advisor FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote WHERE T2.Election_Cycle = "Spring" | CREATE TABLE INST, Here is a database schema( table schema); | Find the distinct Advisor of students who have treasurer votes in the spring election cycle.It is not neccessary to use all the tables. |
SELECT COUNT(attendance) FROM table_name_25 WHERE visitor = "detroit" AND record = "36–13–5" | CREATE TABLE INST, Here is a database schema( table schema); | What was the total attendance at games when Detroit was the visiting team and the record was 36–13–5?It is not neccessary to use all the tables. |
SELECT SUM(season) FROM table_name_40 WHERE score = "1:3" AND venue = "national stadium, maldives" | CREATE TABLE INST, Here is a database schema( table schema); | Which season was there a game with the score of 1:3 played at the venue of national stadium maldives?It is not neccessary to use all the tables. |
SELECT status FROM table_name_19 WHERE against = 24 | CREATE TABLE INST, Here is a database schema( table schema); | What is the status of the match with 24 against?It is not neccessary to use all the tables. |
SELECT prefix FROM table_name_78 WHERE group = "bromo" | CREATE TABLE INST, Here is a database schema( table schema); | What prefix has Bromo as the group?It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Round < 11 AND Pick < 152 AND Position = guard | CREATE TABLE INST, Here is a database schema( table schema); | Which Player has a Round smaller than 11, and a Pick smaller than 152, and a Position of guard?.It is not neccessary to use all the tables. |
SELECT MAX(flaps) FROM table_23128286_1 WHERE points = 109 | CREATE TABLE INST, Here is a database schema( table schema); | How many flaps did he have when he had 109 points?It is not neccessary to use all the tables. |
SELECT Class FROM table WHERE Machine = nsr250 AND Points > 97 | CREATE TABLE INST, Here is a database schema( table schema); | What class has nsr250 as the machine, with points greater than 97?.It is not neccessary to use all the tables. |
SELECT kitmaker FROM table_name_84 WHERE head_coach = "uwe rapolder" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the kitmaker for the team that Uwe Rapolder is the head coach of.It is not neccessary to use all the tables. |
SELECT date FROM table_name_37 WHERE visitor = "toronto" | CREATE TABLE INST, Here is a database schema( table schema); | What is Date when Visitor is Toronto?It is not neccessary to use all the tables. |
SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE tower_height_in_ft__m_ = "46ft (14.0m)" | CREATE TABLE INST, Here is a database schema( table schema); | Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).It is not neccessary to use all the tables. |
SELECT COUNT South Asians 2001 FROM table WHERE % 2011 = 4.4% | CREATE TABLE INST, Here is a database schema( table schema); | How many figures are given for total number of South Asians in 2001 for the area where they were 4.4% of population in 2011?.It is not neccessary to use all the tables. |
SELECT time FROM table_13050822_2 WHERE stage = "SS18" | CREATE TABLE INST, Here is a database schema( table schema); | What is the time for stage ss18?It is not neccessary to use all the tables. |
SELECT SUM Code FROM table WHERE Density (inh./km²) = 621.68 AND Land area (hectares) > 75.28 | CREATE TABLE INST, Here is a database schema( table schema); | How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?.It is not neccessary to use all the tables. |
SELECT MIN(killed) FROM table_name_93 WHERE perpetrator = "sherrill, patrick henry , 44" | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Killed when Perpetrator is "Sherrill Patrick Henry 44"?It is not neccessary to use all the tables. |
SELECT DISTINCT paper.year FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'LSTM' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid GROUP BY paper.year ORDER BY paper.year | CREATE TABLE INST, Here is a database schema( table schema); | What was the first paper on LSTM written ?It is not neccessary to use all the tables. |
SELECT COUNT(population) FROM table_name_5 WHERE former_local_authority = "cockermouth rural district" AND name = "plumbland" | CREATE TABLE INST, Here is a database schema( table schema); | What is the population of the Parish Plumbland that had a former local authority of Cockermouth Rural District?It is not neccessary to use all the tables. |
SELECT iata FROM table_name_3 WHERE city = "budapest" | CREATE TABLE INST, Here is a database schema( table schema); | Name the IATA with a City of budapest?It is not neccessary to use all the tables. |
SELECT City / State FROM table WHERE Circuit = mallala motor sport park | CREATE TABLE INST, Here is a database schema( table schema); | What city was the circuit of mallala motor sport park?.It is not neccessary to use all the tables. |
SELECT Status FROM table WHERE Against = 10 | CREATE TABLE INST, Here is a database schema( table schema); | What is the status of the 10 against?.It is not neccessary to use all the tables. |
SELECT MAX(first_elected) FROM table_1341423_40 WHERE results = "Re-elected" AND district = "South Carolina 3" | CREATE TABLE INST, Here is a database schema( table schema); | what is the earliest first elected with the results re-elected in the district south carolina 3?It is not neccessary to use all the tables. |
SELECT Build date FROM table WHERE Total produced < 45 AND Model = fb-2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the build date of the locomotives with a total produced less than 45 and a fb-2 model?.It is not neccessary to use all the tables. |
SELECT over_total_tax_revenue__in__percentage_ FROM table_name_75 WHERE stamp_duty_reserve_tax = "n.a." AND year = "1995-96" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Total Tax Revenue that has an n.a. Stamp Duty Reserve Tax in the years 1995-96?It is not neccessary to use all the tables. |
SELECT * FROM table_train_154 WHERE hemoglobin_a1c_hba1c > 8 OR (systolic_blood_pressure_sbp > 140 OR diastolic_blood_pressure_dbp > 90) | CREATE TABLE INST, Here is a database schema( table schema); | hemoglobin a1c > 8 or bp > 140 / 90It is not neccessary to use all the tables. |
SELECT elected FROM table_name_92 WHERE party = "republican" AND status = "re-elected" AND incumbent = "john all barham" | CREATE TABLE INST, Here is a database schema( table schema); | What year was republican re-elected incumbent John all barham elected?It is not neccessary to use all the tables. |
SELECT COUNT 2001 Census FROM table WHERE # = 13 | CREATE TABLE INST, Here is a database schema( table schema); | How many 2001 censuses are there on number 13?.It is not neccessary to use all the tables. |
SELECT "English translation" FROM table_77002 WHERE "Language" = 'english' AND "Draw" < '16' AND "Artist" = 'aysel and arash' | CREATE TABLE INST, Here is a database schema( table schema); | what is the english translation when the Language is english, Draw is smaller than 16, and the Artist is aysel and arash?It is not neccessary to use all the tables. |
SELECT COUNT(wounded) FROM table_2596811_12 WHERE complement = "22 off 637 men" | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of wounded figures associated with a complement of 22 off 637 men?It is not neccessary to use all the tables. |
SELECT MAX League Cup FROM table WHERE FA Cup > 2 | CREATE TABLE INST, Here is a database schema( table schema); | What's the highest League Cup with an FA Cup thats larger than 2?.It is not neccessary to use all the tables. |
SELECT Residence Hall FROM table WHERE Mascot = Vermin | CREATE TABLE INST, Here is a database schema( table schema); | What residence hall has the vermin mascot?.It is not neccessary to use all the tables. |
SELECT Skipper FROM table WHERE Elapsed time d:hh:mm:ss = 3:07:39:33 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the skipper of the yacht with an elapsed time of 3:07:39:33?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_59 WHERE away_team = "collingwood" | CREATE TABLE INST, Here is a database schema( table schema); | When was the game at Collingwood?It is not neccessary to use all the tables. |
SELECT player FROM table_name_74 WHERE country = "united states" AND total < 293 AND year_s__won = "1984" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the player from the United States with a total less than 293 and won in 1984?It is not neccessary to use all the tables. |
SELECT MIN Week FROM table WHERE Opponent = chicago cardinals AND Attendance < 25,312 | CREATE TABLE INST, Here is a database schema( table schema); | What was the earliest week the team played the chicago cardinals in front of less than 25,312?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_69 WHERE tie_no = "13" | CREATE TABLE INST, Here is a database schema( table schema); | The game with 13 as the tie no had what as the score?It is not neccessary to use all the tables. |
SELECT label FROM table_name_40 WHERE region = "japan" | CREATE TABLE INST, Here is a database schema( table schema); | What is Label when Region is Japan?It is not neccessary to use all the tables. |
SELECT AVG(in_service) FROM table_name_37 WHERE aircraft = "antonov an-2 colt" | CREATE TABLE INST, Here is a database schema( table schema); | How many Antonov An-2 Colt aircraft are in service?It is not neccessary to use all the tables. |
SELECT COUNT(road_number) FROM table_name_18 WHERE year < 1922 | CREATE TABLE INST, Here is a database schema( table schema); | How many road numbers are before 1922?It is not neccessary to use all the tables. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.