sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT SUM Points FROM table WHERE Team = bultaco AND Rank = 6th
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many points did she have with team bultaco, ranked 6th?.It is not neccessary to use all the tables.
|
SELECT Year, AVG(MAX(Score)) FROM wine ORDER BY AVG(MAX(Score)) DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Compare the average of maximum score of wines each year, bin the year into the weekday interval, and show by the Y-axis from high to low.It is not neccessary to use all the tables.
|
SELECT Surface FROM table WHERE Partner = marty riessen
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Marty Riessen played as a partner during a match with what kind of surface?.It is not neccessary to use all the tables.
|
SELECT AVG Wins FROM table WHERE Goal Difference > -24 AND Draws > 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the average Wins that has the Goal Difference larger than -24, and the Draws larger than 7?.It is not neccessary to use all the tables.
|
SELECT MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "SQUAMOUS CELL CARCINOMA ORAL TONGUE/SDA"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is maximum age of patients whose death status is 0 and primary disease is squamous cell carcinoma oral tongue/sda?It is not neccessary to use all the tables.
|
SELECT result FROM table_name_32 WHERE date = "november 22"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Result when Date is "November 22"?It is not neccessary to use all the tables.
|
SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken?It is not neccessary to use all the tables.
|
SELECT season FROM table_175980_2 WHERE finale = "May 25, 2004"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What seasons had a finale on May 25 2004?It is not neccessary to use all the tables.
|
SELECT release_date FROM table_name_42 WHERE title = "three little bops"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the release date of Three Little Bops?It is not neccessary to use all the tables.
|
SELECT Rank (week) FROM table WHERE No. = 34
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the rank (week) for episode number 34?.It is not neccessary to use all the tables.
|
SELECT gender FROM table_name_74 WHERE years = "7-15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which gender has 7-15 years?It is not neccessary to use all the tables.
|
SELECT district FROM table_name_45 WHERE party = "democratic"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What district has a democratic party?It is not neccessary to use all the tables.
|
SELECT players_per_console FROM table_name_51 WHERE genre = "strategy" AND year = 1992
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the strategy game in 1992 how many players were allowed per console?It is not neccessary to use all the tables.
|
SELECT Location Attendance FROM table WHERE Date = february 27
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Location Attendance when the Date was February 27?.It is not neccessary to use all the tables.
|
SELECT official_native_language FROM country WHERE official_native_language LIKE "%English%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the official native languages that contain the string 'English'.It is not neccessary to use all the tables.
|
SELECT COUNT General classification FROM table WHERE Team classification = Quick Step
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the team classification was quick step, what was the total number of general classifications?.It is not neccessary to use all the tables.
|
SELECT Date successor seated FROM table WHERE Reason for change = Until August 2, 1813
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the successor who got his seat because of "until august 2, 1813" seated?.It is not neccessary to use all the tables.
|
SELECT home_team FROM table_name_68 WHERE away_team = "crystal palace"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What home team played against Crystal Palace?It is not neccessary to use all the tables.
|
SELECT COUNT U wins FROM table WHERE Alianza goals = 0 AND U goals > 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of U Wins, when Alianza Goals is "0", and when U Goals is greater than 3?.It is not neccessary to use all the tables.
|
SELECT MIN Pick # FROM table WHERE Nationality = canada AND Team from = sudbury wolves
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Pick # has a Nationality of canada, and a Team from of sudbury wolves?.It is not neccessary to use all the tables.
|
SELECT To par FROM table WHERE Country = united states AND Player = jay haas
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is To par, when Country is "United States", and when Player is "Jay Haas"?.It is not neccessary to use all the tables.
|
SELECT AVG Bronze FROM table WHERE Total = 54
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the bronze number when the total is 54/.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "RBC, Pleural"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many patients tested for rbc pleural in lab?It is not neccessary to use all the tables.
|
SELECT team FROM table_name_8 WHERE position = "offensive guard" AND pick < 154
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the team that has a pick less than 154 and an offensive guard position?It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Game 1 = noel cleal
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Position has a Game 1 of noel cleal?.It is not neccessary to use all the tables.
|
SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1449 tourism receipts in 2011 US dollars per arrival?It is not neccessary to use all the tables.
|
SELECT "Score" FROM table_63868 WHERE "Venue" = 'olympic stadium tokyo, japan'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the score at Olympic Stadium Tokyo, Japan?It is not neccessary to use all the tables.
|
SELECT party FROM table_name_70 WHERE member = "hon paul keating"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Hon Paul Keating's Party?It is not neccessary to use all the tables.
|
SELECT player FROM table_name_61 WHERE school_club_team = "western kentucky"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player played for Western Kentucky?It is not neccessary to use all the tables.
|
SELECT AVG(attendance) FROM table_name_78 WHERE home = "pittsburgh"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the attendance when Pittsburgh is the home team?It is not neccessary to use all the tables.
|
SELECT title FROM table_name_96 WHERE language = "korean" AND network = "kbs2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title for the Korean progran on KBS2?It is not neccessary to use all the tables.
|
SELECT MAX Attendance FROM table WHERE Loss = darling (0–1)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the largest Attendance with a Loss of darling (0–1)?.It is not neccessary to use all the tables.
|
SELECT missouri_vs FROM table_16201038_4 WHERE at_neutral_site = "MU, 2-1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Against which team does Missouri Tigers have a record of mu 2-1 at a neutral site?It is not neccessary to use all the tables.
|
SELECT MAX Rank FROM table WHERE Team = beirasar rosalía AND Games < 32
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the ranking of Beirasar Rosalía, the year they played 32 games?.It is not neccessary to use all the tables.
|
SELECT COUNT Series # FROM table WHERE Written by = Lew Schneider
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many episodes are written by Lew Schneider?.It is not neccessary to use all the tables.
|
SELECT competition FROM table_name_71 WHERE result = "17-1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What competition has 17-1 as the result?It is not neccessary to use all the tables.
|
SELECT COUNT(laps) FROM table_name_3 WHERE constructor = "toyota" AND time_retired = "+13.409"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many laps had a constructor of toyota and a Time/Retired of +13.409?It is not neccessary to use all the tables.
|
SELECT away_team AS score FROM table_name_83 WHERE away_team = "collingwood"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the scoreof the away team Collingwood?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Home team = cairns taipans
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the home team is Cairns Taipans, at which venue do they play?.It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Winner = sydney roosters AND Crowd > 7,426
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When Sydney Roosters won with a Crown of more than 7,426, what was the Venue?.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Opponent = leeds united
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result from the Leeds United opponent?.It is not neccessary to use all the tables.
|
SELECT Runners-up FROM table WHERE Nation = Malaysia
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the runners-up with nation being malaysia.It is not neccessary to use all the tables.
|
SELECT fourth-placed FROM table WHERE Third-place = Beijing Guoan AND Winners = Dalian Wanda AND Total wins = 4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was placed fourth when third was Beijing Guoan and the winner was Dalian Wanda and wins total was 4?.It is not neccessary to use all the tables.
|
SELECT Loss FROM table WHERE Opponent = angels AND Record = 26-30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the loss of the game against the Angels with a 26-30 record?.It is not neccessary to use all the tables.
|
SELECT MIN(gold) FROM table_name_59 WHERE total = 3 AND silver < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers?It is not neccessary to use all the tables.
|
SELECT Director FROM table WHERE Writer = russell t davies and james moran
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the director of the episode written by Russell T Davies and James Moran?.It is not neccessary to use all the tables.
|
SELECT High assists FROM table WHERE Location/Attendance = uic pavilion 3,520
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What high assists have uic pavilion 3,520 as the location/attendance?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Location = mexico city AND Winner = vampiro
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date of the match where vampiro was the winner in Mexico City?.It is not neccessary to use all the tables.
|
SELECT place FROM table_15988037_24 WHERE perfect_40s = 0 AND average = "27.25"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are all the places where the number of perfect 40s is 0 and the average is 27.25?It is not neccessary to use all the tables.
|
SELECT Rank FROM table WHERE Time = 1:55.40
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the rank of the swimmer with a time of 1:55.40?.It is not neccessary to use all the tables.
|
SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-86136') AND NOT patient.admissionheight IS NULL AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', patient.unitadmittime) = '08' ORDER BY patient.unitadmittime LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what the first height of patient 004-86136 in 08/this year.It is not neccessary to use all the tables.
|
SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the total number of ties for name of totals and lost more than 30It is not neccessary to use all the tables.
|
SELECT MIN Population FROM table WHERE Canton = Redange
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the minimum population with canton being redange.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_23 WHERE visitor = "mavericks"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score when the mavericks were visitors?It is not neccessary to use all the tables.
|
SELECT MIN Total FROM table WHERE Gold = 11 AND Bronze > 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest total that has 11 golds and bronzes over 2?.It is not neccessary to use all the tables.
|
SELECT Number & Name FROM table WHERE Date < 1905
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number and name where the date is earlier than 1905?.It is not neccessary to use all the tables.
|
SELECT Final score FROM table WHERE Date = Saturday, May 25
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the final score on Saturday, May 25?.It is not neccessary to use all the tables.
|
SELECT Qual FROM table WHERE Rank = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the qual when the rank was 2?.It is not neccessary to use all the tables.
|
SELECT "(M) Best & Fairest" FROM table_47972 WHERE "President" = 'ray kaduck' AND "(M) Coach" = 'richard keane'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach?It is not neccessary to use all the tables.
|
SELECT Institution FROM table WHERE Mascot = Blue Devils
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the institution with the mascot of blue devils?.It is not neccessary to use all the tables.
|
SELECT nation FROM table_name_56 WHERE time__sec_ = 47.049
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which nation finished with a time of 47.049?It is not neccessary to use all the tables.
|
SELECT COUNT Reason for change FROM table WHERE Vacator = A. Willis Robertson (D)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many reasons were given when A. Willis Robertson (D) resigned?.It is not neccessary to use all the tables.
|
SELECT MIN Rank FROM table WHERE Name = citigroup
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest rank of Citigroup?.It is not neccessary to use all the tables.
|
SELECT MAX Grid FROM table WHERE Driver = giancarlo fisichella AND Laps < 52
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When Giancarlo Fisichella was the Driver and there were less than 52 Laps, what was the highest Grid?.It is not neccessary to use all the tables.
|
SELECT COUNT Division FROM table WHERE Apps > 5 AND Country = greece
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of division for apps more than 5 for greece.It is not neccessary to use all the tables.
|
SELECT AVG TD's FROM table WHERE Player = jacques rumph AND Yards > 214
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the average td's for the player jacques rumph with yards more than 214?.It is not neccessary to use all the tables.
|
SELECT Quarterfinals FROM table WHERE Round of 32 = S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6?.It is not neccessary to use all the tables.
|
SELECT birth_place FROM table_name_83 WHERE monarchs_served = "george v" AND entered_office = "23 october 1922"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the birth place of the prime minister who served George V and entered office on 23 October 1922?It is not neccessary to use all the tables.
|
SELECT February FROM table WHERE September = kristine hanson
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is in February where has September is kristine hanson?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Venue = headingley stadium
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date was a game played at Headingley Stadium?.It is not neccessary to use all the tables.
|
SELECT partially_deleted FROM table_name_96 WHERE name = "bunker hill mining & metallurgical"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the partially deleted result for Bunker Hill Mining & Metallurgical?It is not neccessary to use all the tables.
|
SELECT MIN(games) FROM table_name_88 WHERE rank > 1 AND name = "luis scola"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the least amount of games for Luis scola with a rank greater than 1?It is not neccessary to use all the tables.
|
SELECT airport FROM table_name_33 WHERE country = "singapore"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which airport is located in Singapore?It is not neccessary to use all the tables.
|
SELECT Height in Ft. FROM table WHERE No.(s) = 24
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the height in feet of player number 24?.It is not neccessary to use all the tables.
|
SELECT League FROM table WHERE Sport = arena football AND Club = laredo lobos
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which league has arena football in the club Laredo Lobos?.It is not neccessary to use all the tables.
|
SELECT MIN Week FROM table WHERE Attendance > 58,615 AND Opponent = cincinnati bengals
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the first Week against Cincinnati Bengals with an Attendance greater than 58,615?.It is not neccessary to use all the tables.
|
SELECT Dam type FROM table WHERE Year completed = 1961
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which dam type was completed in 1961?.It is not neccessary to use all the tables.
|
SELECT Mid-Atlantic South (Washington, D.C.) FROM table WHERE Alaska ( Juneau ) = 90 g/mi (56 g/km) AND California (San Francisco) = 110 g/mi (68 g/km)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?.It is not neccessary to use all the tables.
|
SELECT semi_finalists FROM table_name_25 WHERE runner_up = "gigi fernández natalia zvereva" AND week_of = "26 june 2 weeks"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the runner-up is listed as Gigi Fernández Natalia Zvereva and the week is 26 June 2 weeks who are the semi finalists?It is not neccessary to use all the tables.
|
SELECT manufacturer FROM table_name_43 WHERE fleet_numbers = "wlwr 2, 4, 11"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who manufactured fleet numbers of wlwr 2 4 11?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_37 WHERE date = "28 march 1979"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
I want the score for 28 march 1979It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM driver
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many drivers are there?It is not neccessary to use all the tables.
|
SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.It is not neccessary to use all the tables.
|
SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_24852001_2 WHERE attendance = 16115
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the opponents that had an attendance of exactly 16115?It is not neccessary to use all the tables.
|
SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average election result for the province of Grosseto from 1766 and prior?It is not neccessary to use all the tables.
|
SELECT cerclis_id FROM table_name_96 WHERE county = "polk" AND deleted = "08/04/2009"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the CERCLIS ID of the site in Polk County with the date 08/04/2009?It is not neccessary to use all the tables.
|
SELECT Lead FROM table WHERE Third = randy ferbey (skip) AND Second = scott pfeifer AND Season = 2009–10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Lead has a Third of randy ferbey (skip), a Second of scott pfeifer, and a Season of 2009–10?.It is not neccessary to use all the tables.
|
SELECT Nationality FROM table WHERE Player = rod langway
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What nationality is Rod Langway?.It is not neccessary to use all the tables.
|
SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the number of days in 1945 where the constituent was heywood and radcliffe?It is not neccessary to use all the tables.
|
SELECT COUNT(number) FROM table_25401874_1 WHERE assists = 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many numbers belong to the player with 10 assists?It is not neccessary to use all the tables.
|
SELECT Original air date FROM table WHERE Production code = 9ABX02
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The episode with production code 9abx02 was originally aired on what date?.It is not neccessary to use all the tables.
|
SELECT MAX Date FROM table WHERE Type = 0-4-4 forney locomotive AND Number > 20 AND Works number > 23754
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754?.It is not neccessary to use all the tables.
|
SELECT Headquarters FROM table WHERE School Board = Renfrew County Catholic District School Board
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which headquarters are associated with the school board Renfrew County Catholic District School Board?.It is not neccessary to use all the tables.
|
SELECT NFL Team FROM table WHERE Player = patrick collins
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which NFL team picked Patrick Collins?.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_45 WHERE rank < 6 AND notes = "fb" AND time = "6:32.32"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country has a rank smaller than 6 a time of 6:32.32 and notes of FB?It is not neccessary to use all the tables.
|
SELECT class_aAA FROM table_name_85 WHERE school_year = "2006-07"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Whcih was the Class AAA in school year 2006-07?It is not neccessary to use all the tables.
|
SELECT Points FROM table WHERE Player = Clark
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many points does Clark have? .It is not neccessary to use all the tables.
|
SELECT COUNT(position) FROM table_19730892_1 WHERE name = "Don Clegg"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of position for don cleggIt is not neccessary to use all the tables.
|
SELECT name FROM table_name_75 WHERE rank < 6 AND year > 1974
|
CREATE TABLE INST, Here is a database schema( table schema);
|
I want the name for rank less than 6 and year more than 1974It 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.