sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT Votes FROM election ORDER BY Votes DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the votes of elections in descending order.It is not neccessary to use all the tables.
|
SELECT home_team FROM table_name_62 WHERE date = "20 april 1957" AND venue = "victoria park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the home team at Victoria Park on 20 April 1957?It is not neccessary to use all the tables.
|
SELECT 3-dart Average FROM table WHERE High Checkout = 112
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 3-dart average with a high checkout of 112?.It is not neccessary to use all the tables.
|
SELECT T1.Name, COUNT(*) FROM Physician AS T1 JOIN Patient AS T2 ON T1.EmployeeID = T2.PCP GROUP BY T1.EmployeeID ORDER BY COUNT(*) DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many patients do each physician take care of? List their names and number of patients they take care of Show bar chart, and list by the y-axis in desc.It is not neccessary to use all the tables.
|
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the average of manager_id , and group by attribute job_id, order in asc by the JOB_ID.It is not neccessary to use all the tables.
|
SELECT attendance FROM table_name_27 WHERE result = "w29-7"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many spectators attended the game that ended in a result of w29-7?It is not neccessary to use all the tables.
|
SELECT population__2011_ FROM table_2562572_26 WHERE cyrillic_name_other_names = "Стари Жедник (Croatian: Stari Žednik)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the population in стари жедник (croatian: stari žednik)?It is not neccessary to use all the tables.
|
SELECT Episode Air Date FROM table WHERE Guest Fourth Judge = Luiza Possi
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List all episode air dates where Luiza Possi was the guest fourth judge?.It is not neccessary to use all the tables.
|
SELECT class FROM table_name_52 WHERE rank = "2nd"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which class had a rank of 2nd?It is not neccessary to use all the tables.
|
SELECT finalists FROM table_name_79 WHERE tournament = "miami"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Finalists when Tournament is Miami?It is not neccessary to use all the tables.
|
SELECT MIN Year FROM table WHERE Location = athens
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the earliest year a game was played in Athens?.It is not neccessary to use all the tables.
|
SELECT COUNT Quality FROM table WHERE Sanskrit gloss = scorpion
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When scorpion is the sankrit gloss how many qualities are there?.It is not neccessary to use all the tables.
|
SELECT MIN(year) FROM table_name_37 WHERE fighter = "manny pacquiao"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did Manny Pacquiao win his first championship?It is not neccessary to use all the tables.
|
SELECT Nationality FROM table WHERE Fate = sunk AND Ship = rinos
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the nationality of the sunk ship named Rinos?.It is not neccessary to use all the tables.
|
SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Height of the Player with a Date of Birth of 1982-07-05?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Venue = kuwait city
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date was Kuwait City a venue?.It is not neccessary to use all the tables.
|
SELECT AVG Jianshu FROM table WHERE Rank < 2 AND Qiangshu < 9.85
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average Jianshu higher than rank 2, with a Qiangshu smaller than 9.85?.It is not neccessary to use all the tables.
|
SELECT MAX(mass__kg_) FROM table_1558077_2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the largest mass(kg)?It is not neccessary to use all the tables.
|
SELECT Start FROM table WHERE Laps = 55
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the start of lap 55?.It is not neccessary to use all the tables.
|
SELECT Play-by-play FROM table WHERE Studio analysts = Mike Milbury AND Ice level reporters = Darren Pang
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which play-by-play has mike milbury as the studio analyst and darren pang as the ice level reporters?.It is not neccessary to use all the tables.
|
SELECT host FROM table_name_12 WHERE venue = "hammons student center"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the host of the round at Hammons Student Center?It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Position = kicker
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What player is a kicker?.It is not neccessary to use all the tables.
|
SELECT City FROM table WHERE Short name = pontisola
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What city has the nickname of pontisola?.It is not neccessary to use all the tables.
|
SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Visitor when the home was toronto maple leafs and the score was 4–1?It is not neccessary to use all the tables.
|
SELECT Championship FROM table WHERE Score = 6–7 (4–7) , 3–6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the championship venues where the score was 6–7 (4–7) , 3–6?.It is not neccessary to use all the tables.
|
SELECT player_name FROM table_12321870_32 WHERE period = "2009"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the player who played in 2009 only?It is not neccessary to use all the tables.
|
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show names of musicals and the number of actors who have appeared in the musicals.It is not neccessary to use all the tables.
|
SELECT COUNT 1st prize ( $ ) FROM table WHERE Date = aug 17
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many 1st prizes have a Date of aug 17?.It is not neccessary to use all the tables.
|
SELECT "Prefecture" FROM table_27445 WHERE "City/Town" = 'Daito'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what prefecture is Daito located?It is not neccessary to use all the tables.
|
SELECT AU Air Date FROM table WHERE Viewers (m) = 2.267
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did the episode seen by is 2.267 million people get aired?.It is not neccessary to use all the tables.
|
SELECT Drainage basin (km²) FROM table WHERE Type = Gravity AND Reservoir surface (ha) = 34.36
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is listed in drainage basin when the type is gravity and the reservoir surface is 34.36?.It is not neccessary to use all the tables.
|
SELECT quarterfinals FROM table_17427004_7 WHERE athlete = "Abdelhafid Benchebla"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who did Abdelhafid Benchebla face in the quarterfinals?It is not neccessary to use all the tables.
|
SELECT AVG("Year") FROM table_62629 WHERE "Country" = 'u.s.' AND "Location" = 'edmond , ok'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average Year, when Country is 'U.S.', and when Location is 'Edmond , OK'?It is not neccessary to use all the tables.
|
SELECT SUM Week FROM table WHERE Opponent = houston oilers AND Attendance > 54,582
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance?.It is not neccessary to use all the tables.
|
SELECT Original airdate FROM table WHERE Title = The Transit of Venus
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the original air date for the episode Calle, The Transit of Venus? .It is not neccessary to use all the tables.
|
SELECT MIN Enrollment FROM table WHERE Founded = 1992 AND Joined Conference < 1998
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998?.It is not neccessary to use all the tables.
|
SELECT Part number(s) FROM table WHERE Model number = atom z500
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which part number was used for the Atom Z500 processor?.It is not neccessary to use all the tables.
|
SELECT MAX 2007-03 FROM table WHERE 2009-03 > 10.6 AND 2012-03 = 15.4
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest 2007-03, when 2009-03 is greater than 10.6, and when 2012-03 is 15.4?.It is not neccessary to use all the tables.
|
SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show me about the distribution of meter_200 and the sum of meter_100 , and group by attribute meter_200 in a bar chart.It is not neccessary to use all the tables.
|
SELECT 2012 FROM table_name_35 WHERE 2005 = "1r"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE 2012 WITH 2005 OF 1R?It is not neccessary to use all the tables.
|
SELECT mission FROM table_name_13 WHERE location = "rome"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the mission when the location is rome?It is not neccessary to use all the tables.
|
SELECT MIN Density (inhabitants/km 2 ) FROM table WHERE City = serravalle scrivia
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest density of serravalle scrivia?.It is not neccessary to use all the tables.
|
SELECT home_team AS score FROM table_name_99 WHERE venue = "vfl park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the home team score at VFL Park?It is not neccessary to use all the tables.
|
SELECT MAX(public) FROM table_26375386_23 WHERE result = "Eliminated"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many public is there for the couple that got eliminated?It is not neccessary to use all the tables.
|
SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2003 value with 1r in 2009 at the Australian Open?It is not neccessary to use all the tables.
|
SELECT Opponent in the final FROM table WHERE Partner = gastón etlis
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Opponent in the final had a Partner of Gastón Etlis?.It is not neccessary to use all the tables.
|
SELECT questions.Id AS "post_link", COUNT(*) AS "AnswerCount" FROM Posts AS questions JOIN Posts AS answers ON answers.ParentId = questions.Id WHERE questions.OwnerUserId = '##UserId##' AND questions.PostTypeId = 1 AND questions.AcceptedAnswerId IS NULL GROUP BY questions.Id
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Questions from a user with no accepted answer.It is not neccessary to use all the tables.
|
SELECT MIN(wins) FROM table_name_88 WHERE goals_conceded < 26 AND draws = 1 AND goals_scored < 74
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest number of wins where goals conceded are below 26 draws are 1 and goals scored are below 74?It is not neccessary to use all the tables.
|
SELECT Award FROM table WHERE Result = won AND Category = most popular star AND Year = 2007
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For the category of most popular star with a result of won for 2007, what was the award?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Record = 37-44
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game where the indians record was 37-44?.It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Written by = Anne Cofell Saunders
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the titles of episodes written by Anne Cofell Saunders..It is not neccessary to use all the tables.
|
SELECT week FROM table_name_94 WHERE game_site = "rich stadium"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What week was the game played at Rich Stadium?It is not neccessary to use all the tables.
|
SELECT name FROM table_name_27 WHERE area = "kelston" AND roll < 322
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the name for kelston with roll less than 322It is not neccessary to use all the tables.
|
SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the school is Central Colleges of the Philippines CCP Bobcats what is the stunts number?It is not neccessary to use all the tables.
|
SELECT Nationality FROM table WHERE NHL team = New York Islanders
|
CREATE TABLE INST, Here is a database schema( table schema);
|
The nhl team new york islanders is what nationality?.It is not neccessary to use all the tables.
|
SELECT MIN(year) FROM table_name_98 WHERE engine = "bristol"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the earliest year that has a Bristol engine?It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM address WHERE district = 'California'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many addresses are in the district of California?It is not neccessary to use all the tables.
|
SELECT Nickname FROM table WHERE Weight at birth = 730g (23.5 oz.)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nickname of the baby with the birth weight of 730g (23.5 oz.)?.It is not neccessary to use all the tables.
|
SELECT engine FROM table_name_52 WHERE years = "2012-"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the engine for year 2012-?It is not neccessary to use all the tables.
|
SELECT total_viewers__in_millions_ FROM table_23799417_2 WHERE rating = "9.1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the rating is 9.1 what was the total viewers?It is not neccessary to use all the tables.
|
SELECT Away team score FROM table WHERE Home team = hawthorn
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the away side score when hawthorn is the home side?.It is not neccessary to use all the tables.
|
SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "George Green"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the fa cup apps for george greenIt is not neccessary to use all the tables.
|
SELECT AVG("Draws") FROM table_67928 WHERE "Total" = '1' AND "Goal difference" = '2:0'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number of draws that have a total of 1 and a goal difference of 2:0?It is not neccessary to use all the tables.
|
SELECT COUNT Writer(s) FROM table WHERE Season # = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many writers were for season #1?.It is not neccessary to use all the tables.
|
SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Elimination number is listed againt Eliminated by Sonjay Dutt?It is not neccessary to use all the tables.
|
SELECT Original air date FROM table WHERE Written by = Michael S. Chernuchin & Joe Morgenstern
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was the original air date written by michael s. chernuchin & joe morgenstern?.It is not neccessary to use all the tables.
|
SELECT avg_finish FROM table_2387790_2 WHERE position = "3rd"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the average finish the year Bodine finished 3rd?It is not neccessary to use all the tables.
|
SELECT AVG Top-10 FROM table WHERE Wins < 1 AND Top-25 = 5 AND Cuts made < 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the average top 10 for cuts made less than 10, wins less than 1 and top 25 of 5.It is not neccessary to use all the tables.
|
SELECT SUM("Round") FROM table_60363 WHERE "Opponent" = 'brett chism'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of the rounds of the match with brett chism as the opponent?It is not neccessary to use all the tables.
|
SELECT Survey FROM table WHERE Title = ehsas jdeed
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What survey has the Ehsas Jdeed title?.It is not neccessary to use all the tables.
|
SELECT SUM(touchdowns) FROM table_name_81 WHERE field_goals < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many touchdowns were made where field goals were less than 0?It is not neccessary to use all the tables.
|
SELECT MIN(game) FROM table_19789597_6 WHERE high_assists = "S. Johnson (3)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the lowest number of a game where S. Johnson (3) did the most high assists?It is not neccessary to use all the tables.
|
SELECT Game FROM table WHERE Date = June 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the game for june 7.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Opponent = san francisco 49ers
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the result when the San Francisco 49ers were the opponents?.It is not neccessary to use all the tables.
|
SELECT AVG(nangun) FROM table_name_80 WHERE rank > 2 AND total = 17.85
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2 TOTAL OF 17.85?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_49 WHERE home = "olimpia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what Date is Olimpia the Home team?It is not neccessary to use all the tables.
|
SELECT Outcome FROM table WHERE Partner = andoni vivanco
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Outcome of the match with Partner Andoni Vivanco?.It is not neccessary to use all the tables.
|
SELECT SUM Attendance FROM table WHERE Date = august 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total attendance for the August 8 game?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Home = mavericks
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date of the game when the Mavericks were the home team?.It is not neccessary to use all the tables.
|
SELECT party FROM table_1341884_45 WHERE district = "Texas 12"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the political affiliation of the texas 12 districtIt is not neccessary to use all the tables.
|
SELECT miles__km_ FROM table_22648285_1 WHERE race_time = "2:47:11"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many miles were driven in the race where the winner finished in 2:47:11?It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Score = 69-69=138 AND Player = ian poulter
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Country, when Score is "69-69=138", and when Player is "Ian Poulter"?.It is not neccessary to use all the tables.
|
SELECT In service FROM table WHERE Versions = t-260 eu
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many T-260 EU aircrafts are currently in service?.It is not neccessary to use all the tables.
|
SELECT MIN(crowd) FROM table_name_83 WHERE venue = "glenferrie oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the lowest attendance at Glenferrie Oval?It is not neccessary to use all the tables.
|
SELECT SUM(viewers) FROM table_name_71 WHERE rank < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Viewers have a Rank smaller than 2?It is not neccessary to use all the tables.
|
SELECT Pole Position FROM table WHERE Country = France
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the pole position for france?.It is not neccessary to use all the tables.
|
SELECT album FROM table_name_66 WHERE number = 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which album is #10?It is not neccessary to use all the tables.
|
SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest number of losses associated with 2 matches played a first game after 1997 and more than 0 draws?It is not neccessary to use all the tables.
|
SELECT record FROM table_name_75 WHERE round = "1" AND res = "loss" AND opponent = "alex hunter"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the record when the loss was to Alex Hunter in round 1?It is not neccessary to use all the tables.
|
SELECT MAX(place) FROM table_name_37 WHERE national_final = "4th" AND points < 139
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the highest place when the national final is 4th and the points is less than 139?It is not neccessary to use all the tables.
|
SELECT COUNT(year_of_issue) FROM table_name_52 WHERE issue_price = "$19.95"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many years was the issue price $19.95?It is not neccessary to use all the tables.
|
SELECT AVG(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "lanny wadkins"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the average money for United States when Lanny Wadkins played?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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "MAIN" AND lab.label = "Reticulocyte Count, Manual"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
provide the number of patients on main type of drug prescription who had manual reticulocyte count.It is not neccessary to use all the tables.
|
SELECT time_retired FROM table_name_25 WHERE grid > 9 AND driver = "rolf stommelen"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driver?It is not neccessary to use all the tables.
|
SELECT MAX Points FROM table WHERE Grid > 7 AND Driver = alex tagliani AND Laps < 85
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85?.It is not neccessary to use all the tables.
|
SELECT customer_details, COUNT(customer_details) FROM Customers GROUP BY customer_details ORDER BY customer_details DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Bar graph to show the number of customer details from different customer details, and list in desc by the names.It is not neccessary to use all the tables.
|
SELECT Wheels FROM table WHERE Built = 1920
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which wheels were built 1920?.It is not neccessary to use all the tables.
|
SELECT Home team FROM table WHERE Away team = st kilda
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What home team played against St Kilda?.It is not neccessary to use all the tables.
|
SELECT Director FROM table WHERE Title = the star packer
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who directed the movie The Star Packer?.It is not neccessary to use all the tables.
|
SELECT website FROM table_name_27 WHERE name = "yamagata international documentary film festival"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the website for the yamagata international documentary film festival?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.