sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT date FROM table_name_64 WHERE score = "6-2, 6-4"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what Date was the match with a Score of 6-2 6-4?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE State = california AND Year = 2011
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the venue in 2011, when the state is California?.It is not neccessary to use all the tables.
|
SELECT cross_code_debut FROM table_name_87 WHERE year > 1958 AND player = "dick thornett"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the cross-code debut later than 1958 for Dick Thornett?It is not neccessary to use all the tables.
|
SELECT analog FROM table_name_9 WHERE callsign = "wxmi"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the analog type for wxmi?It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_62 WHERE away_team = "richmond"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
At what venue was richmond the away team?It is not neccessary to use all the tables.
|
SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the Years as tallest that has Height metres / ft of 01.0 27 / 90?It is not neccessary to use all the tables.
|
SELECT AVG(total) FROM table_name_83 WHERE finish = "t52" AND player = "hale irwin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average total of player hale irwin who had a t52 finish?It is not neccessary to use all the tables.
|
SELECT AVG(lane) FROM table_name_21 WHERE name = "elizabeth simmonds"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Elizabeth Simmonds' average lane number?It is not neccessary to use all the tables.
|
SELECT revising_convention_s_ FROM table_2001348_1 WHERE denunciations__september_2011_ = 21
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the revising conventions commentary with a denunciation of 21?It is not neccessary to use all the tables.
|
SELECT COUNT("Lost") FROM table_20011 WHERE "Against" = '46'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of lost for against being 46It is not neccessary to use all the tables.
|
SELECT frequency FROM table_name_74 WHERE branding = "cbc radio 2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the branding frequency of cbc radio 2?It is not neccessary to use all the tables.
|
SELECT Race Name FROM table WHERE Fastest lap = Buddy Rice
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what race did Buddy Rice hav fastest lap? .It is not neccessary to use all the tables.
|
SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the date with the catalogue # cocy-80093?It is not neccessary to use all the tables.
|
SELECT record FROM table_name_72 WHERE attendance = "4,516"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When the Attendance was 4516 what was the Record?It is not neccessary to use all the tables.
|
SELECT COUNT(placings) FROM table_name_92 WHERE nation = "east germany"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the placing of the nation of East Germany?It is not neccessary to use all the tables.
|
SELECT points FROM table_name_15 WHERE date = "february 10"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What were the points on February 10?It is not neccessary to use all the tables.
|
SELECT MAX(preliminary) FROM table_name_35 WHERE state = "new mexico" AND interview < 9.533
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the best preliminary for a contestant from New Mexico with interview less than 9.533?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Opponent = zab judah
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result of the match with Zab Judah as the opponent?.It is not neccessary to use all the tables.
|
SELECT Date(s) administered FROM table WHERE Joe Sestak (D) = 46% AND Margin of error = ± 3.0%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHAT DATE DID JOE SESTAK HAVE 46% WITH ± 3.0% MARGIN OF ERROR?.It is not neccessary to use all the tables.
|
SELECT MAX # of Home Games FROM table WHERE Year < 2012 AND Canada - USA Rank = 52nd AND Average Attendance < 992
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Before 2012, what was the greatest # of Home Games with a Canada - USA Rank of 52nd, and an Average Attendance less than 992?.It is not neccessary to use all the tables.
|
SELECT MAX Model FROM table WHERE Introduction = May 1999
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the model number introduced May 1999?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Opponent = Miami Dolphins
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game when the opponent was the Miami Dolphins?.It is not neccessary to use all the tables.
|
SELECT Joined FROM table WHERE Conference championships = 5 AND Nickname = wolfpack
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the year joined with a Conference championships of 5, and a Nickname of wolfpack?.It is not neccessary to use all the tables.
|
SELECT round FROM table_name_39 WHERE opponent = "freiburg"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which round has an opponent of Freiburg?It is not neccessary to use all the tables.
|
SELECT built FROM table_name_71 WHERE location = "lovell"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what year was the bridge in Lovell built?It is not neccessary to use all the tables.
|
SELECT To par FROM table WHERE Winner's share ( $ ) = 450,000
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is to par for the Winner's share 450,000.It is not neccessary to use all the tables.
|
SELECT representing FROM table_name_82 WHERE original_title = "ingenjör andrées luftfärd"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the representating for ingenj r andr es luftf rdIt is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE Role = molly o'day
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title of the work where the role was Molly O'Day?.It is not neccessary to use all the tables.
|
SELECT MAX("Game") FROM table_1665 WHERE "High assists" = 'LeBron James (7)' AND "High points" = 'LeBron James (21)'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What number game had a high assist of lebron james (7) and high point of lebron james (21)?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Attendance > 26,198 AND Date = october 25, 1959
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result of the game on October 25, 1959 with more than 26,198 fans in attendance?.It is not neccessary to use all the tables.
|
SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY CRS_DESCRIPTION, EMP_FNAME ORDER BY EMP_FNAME DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the number of courses for each instructor in a stacked bar chart The x-axis is instructor's first name and group by course description, sort in descending by the EMP_FNAME please.It is not neccessary to use all the tables.
|
SELECT SUM(attendance) FROM table_name_49 WHERE game_site = "miami orange bowl"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many people attended the game at the miami orange bowl?It is not neccessary to use all the tables.
|
SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Tell me the engine for dhg tom's racingIt is not neccessary to use all the tables.
|
SELECT 2012 FROM table_name_70 WHERE tournament = "grand slam tournaments"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2012 value at the Grand Slam Tournaments?It is not neccessary to use all the tables.
|
SELECT 1st Runner Up FROM table WHERE Putri Pariwisata Indonesia = Albertina Fransisca Mailoa
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata contest?.It is not neccessary to use all the tables.
|
SELECT fraction FROM table_name_85 WHERE dots = "0.\dot{3}"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What fraction has a value for dots of 0.\dot{3}?It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Competition = olympic games AND Year = 2008
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the position of the Olympic Games in the year 2008?.It is not neccessary to use all the tables.
|
SELECT peak_position FROM table_name_12 WHERE date = "july 11, 2001"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Peak Position on July 11 2001?It is not neccessary to use all the tables.
|
SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = "utah jazz"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average first round for Utah Jazz team with a weight smaller than 229?It is not neccessary to use all the tables.
|
SELECT Nationality FROM table WHERE Position = center
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the nationality of the center?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Game = 25
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the score for game for 25.It is not neccessary to use all the tables.
|
SELECT MIN Stolen Ends FROM table WHERE Country = Germany
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the stolen ends for germany.It is not neccessary to use all the tables.
|
SELECT player FROM table_name_93 WHERE place = "2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Player when Place is 2?It is not neccessary to use all the tables.
|
SELECT MAX 2500–3000ft FROM table
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most of 2500-3000ft.It is not neccessary to use all the tables.
|
SELECT chassis FROM table_name_47 WHERE points = 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which chassis was used when over 6 points were earned?It is not neccessary to use all the tables.
|
SELECT Original air date FROM table WHERE Director = Kevin Dowling
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the original air date for the episode directed by kevin dowling?.It is not neccessary to use all the tables.
|
SELECT record FROM table_name_68 WHERE game = 43
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record of Game 43?It is not neccessary to use all the tables.
|
SELECT COUNT Opponent FROM table WHERE Record = 3-2-2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many opponents were there with the record of 3-2-2?.It is not neccessary to use all the tables.
|
SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the name of the coloneo of the 35th regimentIt is not neccessary to use all the tables.
|
SELECT COUNT No. in series FROM table WHERE Directed by = Alan Taylor
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many episodes in the series were directed by Alan Taylor?.It is not neccessary to use all the tables.
|
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE STRFTIME('%y', procedures_icd.charttime) = '2100' GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 <= 4)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are the procedures that are the top four most common in 2100?It is not neccessary to use all the tables.
|
SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was Thierry Beccaro the spokesperson?It is not neccessary to use all the tables.
|
SELECT Winner FROM table WHERE Stage = p
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which winner has a P stage?.It is not neccessary to use all the tables.
|
SELECT Theme FROM table WHERE Week # = Top 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME?.It is not neccessary to use all the tables.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
look for the number of patients who were discharged to short term hospital.It is not neccessary to use all the tables.
|
SELECT COUNT Rank FROM table WHERE Matches = 427 AND Goals < 320
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the total number of Rank that has the Matches of 427, and the Goals smaller than 320?.It is not neccessary to use all the tables.
|
SELECT Heat & Lane FROM table WHERE Time = 1:01.12
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Heat & Lane is the person who has a time of 1:01.12?.It is not neccessary to use all the tables.
|
SELECT march_27_29 FROM table_1708610_3 WHERE november_3 = "133"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the march 27-29 for november 3 being 133It is not neccessary to use all the tables.
|
SELECT scoring_average FROM table_18198579_6 WHERE best_finish = "T35"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the scoring average for best finsih being t35It is not neccessary to use all the tables.
|
SELECT SUM(played) FROM table_name_35 WHERE drawn < 2 AND against > 29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of Played when the drawn is less than 2 and against is more than 29?It is not neccessary to use all the tables.
|
SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which School Colors were Founded of 1969, with an Institution of barton community college?It is not neccessary to use all the tables.
|
SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the explanation for alben w. barkleyIt is not neccessary to use all the tables.
|
SELECT population_2000_census FROM table_14986292_1 WHERE area__km²_ = "77"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the population 2000 census for 77 areaIt is not neccessary to use all the tables.
|
SELECT site FROM table_name_26 WHERE game = "game 2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the site for game of game 2It is not neccessary to use all the tables.
|
SELECT 2007 Result FROM table WHERE Elected = 1996
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the 2007 result in the district where the incumbent was elected in 1996? .It is not neccessary to use all the tables.
|
SELECT "Opponent" FROM table_66422 WHERE "Result" = 'l 27-7'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What opponent has l 27-7 as the result?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_73 WHERE attendance = "67,472"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which date had 67472 in attendance?It is not neccessary to use all the tables.
|
SELECT Writer FROM table WHERE Title = "What You Mean By Home"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who wrote "what you mean by home"?.It is not neccessary to use all the tables.
|
SELECT MIN PF FROM table WHERE Skip = Rebecca Jean MacPhee
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the pf for Rebecca Jean Macphee?.It is not neccessary to use all the tables.
|
SELECT 2 AS nd_leg FROM table_name_41 WHERE home__2nd_leg_ = "estudiantes la plata"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg?It is not neccessary to use all the tables.
|
SELECT 2012 FROM table_name_46 WHERE 2010 = "0–0"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which 2012 has a 2010 of 0 0?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_74 WHERE home = "montreal canadiens" AND date = "april 22"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Score has a Home of Montreal Canadiens and a Date of April 22?It is not neccessary to use all the tables.
|
SELECT SUM(scored) FROM table_name_81 WHERE team = "recoleta"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Scored has a Team of recoleta?It is not neccessary to use all the tables.
|
SELECT Winning driver FROM table WHERE Fastest lap = Jamie Green
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won when Jamie Green had the best lap?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Championship = French Open
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the results of those matches where the championship is French Open?.It is not neccessary to use all the tables.
|
SELECT SUM(erp_w) FROM table_name_30 WHERE call_sign = "k231bg"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Call sign of k231bg has what sum of erp w?It is not neccessary to use all the tables.
|
SELECT name FROM table_1157867_2 WHERE notes = "Ex-industrial" AND builder = "Manning Wardle"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which locomotives 12" x 17" are both ex-industrial and built by Manning Wardle?It is not neccessary to use all the tables.
|
SELECT long FROM table_name_78 WHERE car < 30 AND yards = "0"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the long for the player with under 30 carries and 0 yards?It is not neccessary to use all the tables.
|
SELECT rnd FROM table_14154271_2 WHERE lmp2_winning_team = "Jos Verstappen Jeroen Bleekemolen"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.It is not neccessary to use all the tables.
|
SELECT COUNT(lost_to_eventual_winner) FROM table_12444503_1 WHERE lost_to_eventual_runner_up = "ASC Jeanne d'Arc"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?It is not neccessary to use all the tables.
|
SELECT gene FROM table_name_42 WHERE route_of_administration = "intramuscular" AND status = "ongoing"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which gene is ongoing and has an intramuscular route of administration?It is not neccessary to use all the tables.
|
SELECT vacator FROM table_1847180_4 WHERE successor = "Walter B. Jones, Sr. (D)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who did Walter B. Jones Sr. (d) succeeded in office?It is not neccessary to use all the tables.
|
SELECT margin_of_victory FROM table_name_7 WHERE winner = "nikki garrett"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the margin of victory for nikki garrett?It is not neccessary to use all the tables.
|
SELECT Title FROM table WHERE U.S. viewers (millions) = 18.29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the title for us viewers being 18.29.It is not neccessary to use all the tables.
|
SELECT MAX("year") FROM table_203_723
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what year did firehouse release their last single ?It is not neccessary to use all the tables.
|
SELECT hl_birkett FROM table_1320857_1 WHERE wh_archer = "R. Cochrane"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is h.l birkett if w.h. archer is r. cochrane?It is not neccessary to use all the tables.
|
SELECT Prize money FROM table WHERE Matches > 1 AND New entries this round = 102
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the prize money amount after match 1, with 102 new entries to the round?.It is not neccessary to use all the tables.
|
SELECT 1 AS st_round FROM table_name_91 WHERE team_2 = "paris sg (d1)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 1st round with a team 2 paris sg (d1)?It is not neccessary to use all the tables.
|
SELECT COUNT Club FROM table WHERE Points = 29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many clubs had 29 points?.It is not neccessary to use all the tables.
|
SELECT COUNT("Length") FROM table_20512 WHERE "Line" = 'Line 3'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many lengths of line 3 are given?It is not neccessary to use all the tables.
|
SELECT AVG Against FROM table WHERE Date = 23/03/2002
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the average Against thaylt has the Date of 23/03/2002?.It is not neccessary to use all the tables.
|
SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many managers for club in Turku where kitmaker is Puma?It is not neccessary to use all the tables.
|
SELECT born_died FROM table_name_16 WHERE country = "italy"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Born-Died date for the Representative of Italy?It is not neccessary to use all the tables.
|
SELECT SUM(laps) FROM table_name_99 WHERE grid > 17 AND time_retired = "collision"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many laps had a grid of greater than 17 and retired due to collision?It is not neccessary to use all the tables.
|
SELECT outcome FROM table_name_43 WHERE opponent_in_the_final = "simone colombo"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Outcome has an Opponent in the final of simone colombo?It is not neccessary to use all the tables.
|
SELECT ATHLETE FROM table WHERE CITY = riverbank, california
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Athlete from Riverbank, California?.It is not neccessary to use all the tables.
|
SELECT Stadium FROM table WHERE Year > 2012
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the stadium past 2012?.It is not neccessary to use all the tables.
|
SELECT AVG Lost FROM table WHERE Pct. > 0.7334 AND Total Games > 48
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number lost when the PCT is more than 0.7334 and the total number of games is larger than 48?.It is not neccessary to use all the tables.
|
SELECT DISTINCT country FROM singer WHERE age > 20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are all distinct countries where singers above age 20 are from?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Loss = sparks (0–1)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date was the loss of sparks (0–1)?.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.