sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT MIN Goals for FROM table WHERE Played < 34 | CREATE TABLE INST, Here is a database schema( table schema); | Which lowest goals for number had a played number of less than 34?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer" | CREATE TABLE INST, Here is a database schema( table schema); | what is the score for the tournament cagnes-sur-mer?It is not neccessary to use all the tables. |
SELECT date FROM table_name_93 WHERE tie_no = "replay" AND home_team = "huddersfield town" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date of the match with a home team of Huddersfield Town and was a replay tie?It is not neccessary to use all the tables. |
SELECT AVG(lowest) FROM table_name_24 WHERE average < 307 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest attendance for a stadium that has an average smaller than 307?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.expire_flag = "0" AND procedures.short_title = "Regional lymph node exc" | CREATE TABLE INST, Here is a database schema( table schema); | provide the number of patients whose death status is 0 and procedure short title is regional lymph node exc?It is not neccessary to use all the tables. |
SELECT Away team FROM table WHERE Home team = st kilda | CREATE TABLE INST, Here is a database schema( table schema); | Which away team played against the home team of St Kilda?.It is not neccessary to use all the tables. |
SELECT Athlete FROM table WHERE Place = 1 AND Year < 1988 AND Country = gre AND Time = 21:57:00 | CREATE TABLE INST, Here is a database schema( table schema); | Which Athlete has a Place of 1, and a Year smaller than 1988, and a Country of gre, and a Time of 21:57:00?.It is not neccessary to use all the tables. |
SELECT COUNT(rank) FROM table_name_92 WHERE points > 99 AND club = "barcelona" | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the total number of Rank that has the Points larger than 99 and the Club of barcelona?It is not neccessary to use all the tables. |
SELECT Host Team FROM table WHERE Date = december 19 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the host team on December 19?.It is not neccessary to use all the tables. |
SELECT number_ & _name FROM table_name_57 WHERE description = "stanier (period iii) full brake" | CREATE TABLE INST, Here is a database schema( table schema); | What is the identifying number for a description of Stanier (Period III) full brake?It is not neccessary to use all the tables. |
SELECT MIN 08-09 GP/JGP 2nd FROM table WHERE 07-08 GP/JGP best = 223 | CREATE TABLE INST, Here is a database schema( table schema); | What is the least 08-09 gp/jgp 2nd was when the 07-08 gp/jgp best is 223?.It is not neccessary to use all the tables. |
SELECT winnings FROM table_name_93 WHERE starts > 34 AND poles < 1 AND top_10 = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5?It is not neccessary to use all the tables. |
SELECT COUNT Result FROM table WHERE Race = Stan Fox Stakes | CREATE TABLE INST, Here is a database schema( table schema); | How many results were there for the Stan Fox Stakes race?.It is not neccessary to use all the tables. |
SELECT Institution FROM table WHERE Location (all in Minnesota) = St. Peter | CREATE TABLE INST, Here is a database schema( table schema); | What institution is located in St. Peter? .It is not neccessary to use all the tables. |
SELECT record FROM table_name_6 WHERE leading_scorer = "antawn jamison (14)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the record when the leading scorer is Antawn Jamison (14)?It is not neccessary to use all the tables. |
SELECT MAX Year FROM table WHERE Result = nominated AND Nominee(s) = neal baer | CREATE TABLE INST, Here is a database schema( table schema); | What is the latest year when Neal Baer was a nominee, and the result was nominated?.It is not neccessary to use all the tables. |
SELECT record FROM table_27539535_7 WHERE february = 1 | CREATE TABLE INST, Here is a database schema( table schema); | What was the team's rcord on february 1?It is not neccessary to use all the tables. |
SELECT MIN Ends Lost FROM table WHERE Skip (Club) = Joëlle Belley (Glenmore) | CREATE TABLE INST, Here is a database schema( table schema); | Name the least ends lost for joëlle belley (glenmore).It is not neccessary to use all the tables. |
SELECT AVG Byes FROM table WHERE Benalla DFL = bonnie doon AND Wins > 16 | CREATE TABLE INST, Here is a database schema( table schema); | What are the average byes of Bonnie Doon having more than 16 wins?.It is not neccessary to use all the tables. |
SELECT First Appearance FROM table WHERE Season 4 = 7 | CREATE TABLE INST, Here is a database schema( table schema); | What episode was the first appearance of the character who appears 7 times in season 4?.It is not neccessary to use all the tables. |
SELECT Runs FROM table WHERE Strike Rate = 101.42 | CREATE TABLE INST, Here is a database schema( table schema); | How many runs were scored when the strike rate was 101.42?.It is not neccessary to use all the tables. |
SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home | CREATE TABLE INST, Here is a database schema( table schema); | Draw a bar chart about the distribution of All_Home and the amount of All_Home , and group by attribute All_Home.It is not neccessary to use all the tables. |
WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id = p.OwnerUserId WHERE LOWER(Location) LIKE '%new york%' AND TagName = 'c++' GROUP BY u.Id, TagName) SELECT * FROM USER_BY_TAG WHERE rank <= 1000 ORDER BY UpVotes DESC | CREATE TABLE INST, Here is a database schema( table schema); | TOP C++ users in New York.It is not neccessary to use all the tables. |
SELECT theme FROM table_name_59 WHERE week = "top 11" | CREATE TABLE INST, Here is a database schema( table schema); | What was the theme for the Top 11 week?It is not neccessary to use all the tables. |
SELECT COUNT(grid) FROM table_17256857_1 WHERE driver = "Vitor Meira" | CREATE TABLE INST, Here is a database schema( table schema); | How many drivers on the grid are called Vitor Meira?It is not neccessary to use all the tables. |
SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = "19.3" | CREATE TABLE INST, Here is a database schema( table schema); | What's the number of starts in the year with 19.3 average finish?It is not neccessary to use all the tables. |
SELECT "Date" FROM table_63979 WHERE "Competition" = '1996 tiger cup' AND "Result" = 'drew' | CREATE TABLE INST, Here is a database schema( table schema); | what is the date when the competition is 1996 tiger cup and the result is drew?It is not neccessary to use all the tables. |
SELECT tournament FROM table_name_62 WHERE score = "6–4, 6–2" | CREATE TABLE INST, Here is a database schema( table schema); | Which Tournament has a Score of 6–4 6–2?It is not neccessary to use all the tables. |
SELECT MAX(points) FROM table_name_36 WHERE goals_scored < 25 AND draws = 3 AND games_played > 21 | CREATE TABLE INST, Here is a database schema( table schema); | What is the most points scored for teams with under 25 goals scored 3 draws and more than 21 games played?It is not neccessary to use all the tables. |
SELECT date FROM table_name_92 WHERE week < 10 AND game_site = "texas stadium" AND opponent = "atlanta falcons" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date of the game in a week earlier than 10 played in Texas stadium agains the Atlanta Falcons?It is not neccessary to use all the tables. |
SELECT COUNT Status FROM table WHERE Incumbent = Alex McMillan | CREATE TABLE INST, Here is a database schema( table schema); | How many districts are respresented by Alex McMillan?.It is not neccessary to use all the tables. |
SELECT SUM Year FROM table WHERE Regional GVA = 6,584 AND Services < 5,277 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of Year, when Regional GVA is 6,584, and when Services is less than 5,277?.It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_92 WHERE result = "w 38-14" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent at the game with a result of W 38-14?It is not neccessary to use all the tables. |
SELECT COUNT(directed_by) FROM table_14724369_1 WHERE written_by = "Chris Sheridan" | CREATE TABLE INST, Here is a database schema( table schema); | How many people directed the show written by Chris Sheridan?It is not neccessary to use all the tables. |
SELECT Coach FROM table WHERE 2007-2008 season = 6th | CREATE TABLE INST, Here is a database schema( table schema); | Which coach had a 2007-2008 season of 6th?.It is not neccessary to use all the tables. |
SELECT AVG Year FROM table WHERE Entrant = austria-marlboro brm AND Points > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What year did Austria-Marlboro BRM get more than 0 points?.It is not neccessary to use all the tables. |
SELECT COUNT(result) FROM table_1342292_45 WHERE incumbent = "Dave E. Satterfield, Jr." | CREATE TABLE INST, Here is a database schema( table schema); | In how many districts is the incumbent Dave E. Satterfield Jr.It is not neccessary to use all the tables. |
SELECT college FROM table_20861261_4 WHERE player = "Terrance Taylor" | CREATE TABLE INST, Here is a database schema( table schema); | What college did Terrance Taylor play for?It is not neccessary to use all the tables. |
SELECT constructor FROM table_1706942_1 WHERE q1_order = 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is the constructor when the Q1 order is 4?It is not neccessary to use all the tables. |
SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins" | CREATE TABLE INST, Here is a database schema( table schema); | What was the finish for Lanny Wadkins of the United States?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Attendance > 16,494 AND Visitor = nets | CREATE TABLE INST, Here is a database schema( table schema); | What was the score when the nets were the visitors and attendance was over 16,494?.It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_55 WHERE tie_no = "20" | CREATE TABLE INST, Here is a database schema( table schema); | Who were the away team in tie number 20?It is not neccessary to use all the tables. |
SELECT # FROM table WHERE Prod. code = 175020 | CREATE TABLE INST, Here is a database schema( table schema); | Which episodein season 3 had 175020 for a production code?.It is not neccessary to use all the tables. |
SELECT MIN(year) FROM table_name_15 WHERE cause = "gas explosion" AND colliery = "tylorstown colliery" AND death_toll > 57 | CREATE TABLE INST, Here is a database schema( table schema); | Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?It is not neccessary to use all the tables. |
SELECT civil_parish FROM table_30120556_1 WHERE townland = "Ballynamona" AND area__acres__ = 126 | CREATE TABLE INST, Here is a database schema( table schema); | What civil paris appears when Ballynamona is the townland with 126 acres?It is not neccessary to use all the tables. |
SELECT story AS code FROM table_name_38 WHERE date = "2002-12" | CREATE TABLE INST, Here is a database schema( table schema); | What is the story code of the story published on 2002-12?It is not neccessary to use all the tables. |
SELECT MIN Points won FROM table WHERE Player = Victoria Azarenka | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest points won from player victoria azarenka?.It is not neccessary to use all the tables. |
SELECT SUM(round) FROM table_name_11 WHERE position = "tackle" AND player = "john sutro" AND pick < 79 | CREATE TABLE INST, Here is a database schema( table schema); | What round was john sutro, tackle, drafter with a pick lower than 79?It is not neccessary to use all the tables. |
SELECT position FROM table_name_75 WHERE years_for_rockets = "2004-05" | CREATE TABLE INST, Here is a database schema( table schema); | What is the position for the Rockets years of 2004-05?It is not neccessary to use all the tables. |
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE area.area LIKE '%theory%' AND semester.semester IN ('WN', 'FA') AND semester.year = 2002 | CREATE TABLE INST, Here is a database schema( table schema); | What courses are available for theory for Winter or Fall 2002 ?It is not neccessary to use all the tables. |
SELECT score FROM table_name_36 WHERE place = "t10" AND player = "thomas levet" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score that thomas levet got when he placed t10?It is not neccessary to use all the tables. |
SELECT SUM("gold") FROM table_203_314 WHERE "nation" IN ('italy', 'belgium', 'ireland') | CREATE TABLE INST, Here is a database schema( table schema); | how many gold medals did italy , belgium and ireland have altogether .It is not neccessary to use all the tables. |
SELECT venue FROM table_name_62 WHERE goal = 4 | CREATE TABLE INST, Here is a database schema( table schema); | Which venue has a Goal of 4?It is not neccessary to use all the tables. |
SELECT hanja FROM table_name_4 WHERE rr_romaja = "hamgyeong" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Hanja for the hamgyeong RR Romaja?It is not neccessary to use all the tables. |
SELECT Headquarters FROM table WHERE Member = Alpha Nu Omega | CREATE TABLE INST, Here is a database schema( table schema); | Where is the headquarters of Alpha Nu Omega.It is not neccessary to use all the tables. |
SELECT 1997 FROM table WHERE 2003 = 0 / 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is 1997, when 2003 is 0 / 4?.It is not neccessary to use all the tables. |
SELECT T2.dept_name FROM course AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.crs_description LIKE '%Statistics%' | CREATE TABLE INST, Here is a database schema( table schema); | Find the name of department that offers the class whose description has the word "Statistics".It is not neccessary to use all the tables. |
SELECT Series 5 FROM table WHERE Series 3 = deborah meaden | CREATE TABLE INST, Here is a database schema( table schema); | Who in series 5 corresponds to Deborah Meaden in series 3?.It is not neccessary to use all the tables. |
SELECT COUNT Top-25 FROM table WHERE Events > 86 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Top-25, when Events is greater than 86?.It is not neccessary to use all the tables. |
SELECT COUNT(body_width_mm) FROM table_name_50 WHERE body_length_mm = 18.4 AND pins = "40" | CREATE TABLE INST, Here is a database schema( table schema); | How much Body Width/mm has a Body Length/mm of 18.4 and Pins of 40?It is not neccessary to use all the tables. |
SELECT high_assists FROM table_name_62 WHERE score = "l 86–94 (ot)" | CREATE TABLE INST, Here is a database schema( table schema); | What were the high assists when the score was l 86–94 (ot)?It is not neccessary to use all the tables. |
SELECT Start (reg. season) FROM table WHERE Top record = Lindenwood (20–0–0) | CREATE TABLE INST, Here is a database schema( table schema); | When did the season start that ended with the top record of Lindenwood (20–0–0)?.It is not neccessary to use all the tables. |
SELECT Winning driver FROM table WHERE Fastest lap = lorenzo bandini AND Pole position = lorenzo bandini | CREATE TABLE INST, Here is a database schema( table schema); | Who is the Winnning driver in which lorenzo bandini has the fastest lap as well as the Pole position?.It is not neccessary to use all the tables. |
SELECT ACC_Percent, All_Games_Percent FROM basketball_match GROUP BY All_Neutral | CREATE TABLE INST, Here is a database schema( table schema); | Visualize the relationship between ACC_Percent and All_Games_Percent , and group by attribute All_Neutral.It is not neccessary to use all the tables. |
SELECT COUNT Location Attendance FROM table WHERE Date = April 8 | CREATE TABLE INST, Here is a database schema( table schema); | How many locations did the game that was on April 8 take place at?.It is not neccessary to use all the tables. |
SELECT AVG 10K Wins FROM table WHERE Country = united states AND 5K Wins = 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average 10K wins the United States, which had 0 5K wins, have?.It is not neccessary to use all the tables. |
SELECT result FROM table_1342359_39 WHERE district = "South Carolina 4" | CREATE TABLE INST, Here is a database schema( table schema); | What is the result for south carolina 4?It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_37 WHERE result = "loss" AND location = "westbury, ny" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent with the loss in Westbury NY?It is not neccessary to use all the tables. |
SELECT Res. FROM table WHERE Round < 3 AND Opponent = gil rael | CREATE TABLE INST, Here is a database schema( table schema); | What was the result when there were less than 3 rounds against Gil Rael?.It is not neccessary to use all the tables. |
SELECT record FROM table_name_76 WHERE home = "bucks" AND date = "24 november 2007" | CREATE TABLE INST, Here is a database schema( table schema); | Name the record with home of bucks on 24 november 2007It is not neccessary to use all the tables. |
SELECT SUM Gold FROM table WHERE Bronze < 1 | CREATE TABLE INST, Here is a database schema( table schema); | How many golds for nations with under 1 bronze?.It is not neccessary to use all the tables. |
SELECT MIN(points) FROM table_name_74 WHERE goals_for < 13 | CREATE TABLE INST, Here is a database schema( table schema); | What are the fewest points for goals fewer than 13?It is not neccessary to use all the tables. |
SELECT constructor FROM table_name_63 WHERE grid = 2 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the Constructor when the Grid was 2?It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE City = sheffield | CREATE TABLE INST, Here is a database schema( table schema); | What is the time for Sheffield?.It is not neccessary to use all the tables. |
SELECT Single FROM table WHERE Date = 2008 AND Other details = 4000 copies | CREATE TABLE INST, Here is a database schema( table schema); | What single(s) released in 2008 and had 4000 copies?.It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Venue = junction oval | CREATE TABLE INST, Here is a database schema( table schema); | What is the score for the home team when the venue is Junction Oval?.It is not neccessary to use all the tables. |
SELECT AVG Week FROM table WHERE Result = w 20-13 | CREATE TABLE INST, Here is a database schema( table schema); | Which Week has a Result of w 20-13?.It is not neccessary to use all the tables. |
SELECT white FROM table_name_80 WHERE moves > 19 AND black = "kasparov" AND year < 2000 AND opening = "e93 king's indian defence" | CREATE TABLE INST, Here is a database schema( table schema); | What's the white of E93 King's Indian Defence when Kasparov was black moves were greater than 19 and happened before 2000?It is not neccessary to use all the tables. |
SELECT AVG Population (1960) FROM table WHERE County = oslo AND Population (2000) > 507,467 | CREATE TABLE INST, Here is a database schema( table schema); | What was Oslo's population in 1960, with a population of 507,467 in 2000?.It is not neccessary to use all the tables. |
SELECT Position in table FROM table WHERE Date of vacancy = 4 december 2008 | CREATE TABLE INST, Here is a database schema( table schema); | What is the table position for 4 December 2008 vacancy?.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE To par = e AND Score = 68-73-69=210 | CREATE TABLE INST, Here is a database schema( table schema); | Who is the player with an E to par and a 68-73-69=210?.It is not neccessary to use all the tables. |
SELECT Title FROM table WHERE Season # = 5 | CREATE TABLE INST, Here is a database schema( table schema); | What is the title of the Series 40 Season 5 show?.It is not neccessary to use all the tables. |
SELECT Championship FROM table WHERE Year > 2002 AND Surface = hard | CREATE TABLE INST, Here is a database schema( table schema); | What is Championship, when Year is greater than 2002, and when Surface is Hard?.It is not neccessary to use all the tables. |
SELECT Margin FROM table WHERE Championship = nabisco championship | CREATE TABLE INST, Here is a database schema( table schema); | What is the margin at the Nabisco Championship?.It is not neccessary to use all the tables. |
SELECT MIN(laps) FROM table_name_20 WHERE grid > 6 AND driver = "henri pescarolo" | CREATE TABLE INST, Here is a database schema( table schema); | What is the low lap total for henri pescarolo with a grad larger than 6?It is not neccessary to use all the tables. |
SELECT Home FROM table WHERE Date = 16 april 2008 | CREATE TABLE INST, Here is a database schema( table schema); | Name the home for 16 april 2008.It is not neccessary to use all the tables. |
SELECT % Change 2008/2009 FROM table WHERE Airport = Belfast International | CREATE TABLE INST, Here is a database schema( table schema); | What is the percent change from 08/09 for belfast international?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0" | CREATE TABLE INST, Here is a database schema( table schema); | What is the score when Philadelphia was the visitor with a Record of 7–4–0?It is not neccessary to use all the tables. |
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Code DESC | CREATE TABLE INST, Here is a database schema( table schema); | For those records from the products and each product's manufacturer, show me about the distribution of name and code , and group by attribute name in a bar chart, display by the y-axis in descending please.It is not neccessary to use all the tables. |
SELECT mens_singles FROM table_12204717_1 WHERE year = 2009 | CREATE TABLE INST, Here is a database schema( table schema); | Who won the mens singles in 2009?It is not neccessary to use all the tables. |
SELECT home FROM table_name_40 WHERE date = "march 5, 2008" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the home team on March 5 2008?It is not neccessary to use all the tables. |
SELECT AVG Time FROM table WHERE Lane < 4 AND Rank > 6 | CREATE TABLE INST, Here is a database schema( table schema); | Which Time has a Lane smaller than 4, and a Rank larger than 6?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Player = nick faldo | CREATE TABLE INST, Here is a database schema( table schema); | What is the score for Nick Faldo?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_61 WHERE result = "w" AND date = "3 march 2010" | CREATE TABLE INST, Here is a database schema( table schema); | What is the venue of the match with a w result on 3 March 2010?It is not neccessary to use all the tables. |
SELECT "Laid down" FROM table_33842 WHERE "Launched" = '1899-04-25' | CREATE TABLE INST, Here is a database schema( table schema); | What is the date that the item was laid down if it was launched on 1899-04-25?It is not neccessary to use all the tables. |
SELECT COUNT(country) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar" | CREATE TABLE INST, Here is a database schema( table schema); | how many country with currency name being republika srpska dinarIt is not neccessary to use all the tables. |
SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose" | CREATE TABLE INST, Here is a database schema( table schema); | What is the margin of victory in the race where Justin Rose was the runner-up?It is not neccessary to use all the tables. |
SELECT result FROM table_1342270_3 WHERE district = "Alabama 1" | CREATE TABLE INST, Here is a database schema( table schema); | what are all the result with district being alabama 1It is not neccessary to use all the tables. |
SELECT home_team AS score FROM table_name_49 WHERE home_team = "fitzroy" | CREATE TABLE INST, Here is a database schema( table schema); | What is fitzroy's score as the home team?It is not neccessary to use all the tables. |
SELECT home FROM table_name_90 WHERE score = "5 – 6" | CREATE TABLE INST, Here is a database schema( table schema); | Which home team has a score of 5 – 6?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.