sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT location FROM table_name_5 WHERE event = "fury fc 4: high voltage"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where was the Fury FC 4: High Voltage event held?It is not neccessary to use all the tables.
|
SELECT COUNT Week # FROM table WHERE Theme = Billboard Hot 100 Hits AND Order # = 3 AND Original artist = Sixpence None the Richer
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer?.It is not neccessary to use all the tables.
|
SELECT Total power FROM table WHERE Construction finish = 14.06.1963
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the total power of the unit whose construction finished on 14.06.1963?.It is not neccessary to use all the tables.
|
SELECT COUNT Temp (°C) FROM table WHERE Adhesive Type = Acryl
|
CREATE TABLE INST, Here is a database schema( table schema);
|
HOW MANY TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL? .It is not neccessary to use all the tables.
|
SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are all the percent (1990) where state is united statesIt is not neccessary to use all the tables.
|
SELECT Ipsos 5/16/09 FROM table WHERE TNS-Sofres 5/28/09 = 2.5%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?.It is not neccessary to use all the tables.
|
SELECT Home team score FROM table WHERE Away team score = 18.8 (116)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the Away team scored 18.8 (116), what was the Home team's score?.It is not neccessary to use all the tables.
|
SELECT Attendance FROM table WHERE Away team = oadby town
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the attendance when oadby town is away?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Record = 47-49
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score that made the record 47-49?.It is not neccessary to use all the tables.
|
SELECT race_name FROM table_name_23 WHERE winning_driver = "stirling moss" AND circuit = "oulton park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of race that has a winning driver of Stirling moss and a Circuit of oulton park?It is not neccessary to use all the tables.
|
SELECT MIN Laps FROM table WHERE Driver = graham hill
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the lowest laps of Graham Hill?.It is not neccessary to use all the tables.
|
SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'ali farhadi' AND paper.year = 2015 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
|
CREATE TABLE INST, Here is a database schema( table schema);
|
ali farhadi 's papers in 2015It is not neccessary to use all the tables.
|
SELECT Notes FROM table WHERE Rank > 2 AND Country = mexico
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What notes have a rank greater than 2, with mexico as the country?.It is not neccessary to use all the tables.
|
SELECT "Manner of departure" FROM table_7212 WHERE "Replaced by" = 'dick advocaat'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What manner of departure was Dick Advocaat replaced by?It is not neccessary to use all the tables.
|
SELECT venue FROM table_name_96 WHERE result = "1–0"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which venue has a Result of 1–0?It is not neccessary to use all the tables.
|
SELECT Band FROM table WHERE Ratio = 13/9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Band has a Ratio of 13/9?.It is not neccessary to use all the tables.
|
SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "D. J. Augustin (8)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the high rebound for the high assists of d. j. augustin (8)?It is not neccessary to use all the tables.
|
SELECT T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id = T2.enzyme_id JOIN medicine AS T3 ON T2.medicine_id = T3.id WHERE T3.name = 'Amisulpride' AND T2.interaction_type = 'inhibitor'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the names of the enzymes used in the medicine Amisulpride that acts as inhibitors?It is not neccessary to use all the tables.
|
SELECT SUM(wins) FROM table_name_57 WHERE top_5 < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many Wins have a Top 5 smaller than 0?It is not neccessary to use all the tables.
|
SELECT mind FROM table_19760_1 WHERE reason = "qut"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the mind of the one that has qut reason?It is not neccessary to use all the tables.
|
SELECT Written by FROM table WHERE Title = "What Are You Made Of?"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the writer for the episode called "What Are You Made of?".It is not neccessary to use all the tables.
|
SELECT Episode Summary FROM table WHERE Coach = Travis Brown
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the episode summary for travis brown.It is not neccessary to use all the tables.
|
SELECT AVG Week FROM table WHERE Opponent = san diego chargers
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What week was the opponent the San Diego Chargers?.It is not neccessary to use all the tables.
|
SELECT longitude FROM table_18600760_13 WHERE water__sqmi_ = "0.068"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What longitudes associated with a water (sqmi) area of 0.068?It is not neccessary to use all the tables.
|
SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the sum of league goals when the fa cup goals is more than 0?It is not neccessary to use all the tables.
|
SELECT "Year" FROM table_51488 WHERE "Organisation" = 'star awards' AND "Result" = 'won' AND "Nominated Work Title" = 'n/a'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the year when then organisation is star awards, the result is won and the nominated work title is n/a?It is not neccessary to use all the tables.
|
SELECT COUNT(no_in_season) FROM table_19897294_11 WHERE no_in_series = "US18"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What episode in the season was episode us18 in the series?It is not neccessary to use all the tables.
|
SELECT CreationDate, t.TagName FROM Posts AS p JOIN PostTags AS pt ON p.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id WHERE t.TagName = 'numpy'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Select all posts from a single tag.It is not neccessary to use all the tables.
|
SELECT Original air date FROM table WHERE Title = "A Pig in a Poke"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the original air date for the episode "a pig in a poke"?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Game > 4 AND Team = san antonio AND Record = 4-3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When Date has a Game larger than 4 and a Team of san antonio, and a Record of 4-3?.It is not neccessary to use all the tables.
|
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY AVG(Age)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the average ages for male and female students Plot them as bar chart, and list Y in asc order.It is not neccessary to use all the tables.
|
SELECT Margin of victory FROM table WHERE Runner(s)-up = gary player
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When Gary Player was the runner-up, what was the margin of victory?.It is not neccessary to use all the tables.
|
SELECT MAX Rank FROM table WHERE Change < 44 AND Centre = buenos aires AND Rating > 628
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?.It is not neccessary to use all the tables.
|
SELECT prize__eur_ FROM table_20195922_3 WHERE divisions = "6th"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the prize (eur) for the 6th division?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Year < 1994 AND Partner = elizabeth sayers smylie
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie?.It is not neccessary to use all the tables.
|
SELECT institution FROM table_1974443_1 WHERE location = "Watertown, Wisconsin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What institution is located in Watertown Wisconsin?It is not neccessary to use all the tables.
|
SELECT 2004 FROM table WHERE 2011 = 90.917
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2004 Lukoil oil prodroduction when in 2011 oil production 90.917 million tonnes?.It is not neccessary to use all the tables.
|
SELECT 2006 FROM table_name_68 WHERE 2009 = "a" AND 2011 = "a" AND 2007 = "a"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2006 value of the 2009 A value 2011 A value and A as the 2007 value?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Established > 1948
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the venue established after 1948?.It is not neccessary to use all the tables.
|
SELECT high_rebounds FROM table_name_44 WHERE game > 33 AND score = "w 132-101"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is High Rebounds when Game is greater than 33 and when Score is "W 132-101"?It is not neccessary to use all the tables.
|
SELECT Name, Country FROM member
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the names and countries of members?It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Year = 2010 AND Notes = team
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the position in 2010 with team notes?.It is not neccessary to use all the tables.
|
SELECT COUNT Year FROM table WHERE Notes = 5000 m AND Competition = world junior championships in athletics
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the year when the notes is 5000 m and the competition is world junior championships in athletics?.It is not neccessary to use all the tables.
|
SELECT station_type FROM table_12547903_2 WHERE branding = "SMNI TV-26 Naga"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the station type of smni tv-26 nagaIt is not neccessary to use all the tables.
|
SELECT "Intergiro classification" FROM table_66911 WHERE "Trofeo Fast Team" = 'team polti' AND "Stage" = '14'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which intergiro classification is there for team Polti at stage 14?It is not neccessary to use all the tables.
|
SELECT 2 AS nd_round FROM table_name_86 WHERE score = "3 - 3" AND team_1 = "fc gueugnon (d2)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2nd round with a score of 3 - 3 and a team 1 fc gueugnon (d2)?It is not neccessary to use all the tables.
|
SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 12
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many people won in No. 12It is not neccessary to use all the tables.
|
SELECT prize_fund___¥__ FROM table_26144632_1 WHERE location = "Ibaraki"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the prize for the tournament at Ibaraki?It is not neccessary to use all the tables.
|
SELECT MAX(debut_year) FROM table_name_56 WHERE player = "joe youlden" AND goals > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest debut year for player Joe Youlden with goals larger than 0?It is not neccessary to use all the tables.
|
SELECT category FROM table_name_45 WHERE country = "russia"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Russia has films in which category?It is not neccessary to use all the tables.
|
SELECT COUNT Enrollment FROM table WHERE IHSAA Class = aaaaa AND Mascot = spartans
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans?.It is not neccessary to use all the tables.
|
SELECT title FROM table_name_21 WHERE production_number = "627"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which title has a production number of 627?It is not neccessary to use all the tables.
|
SELECT SUM(points) FROM table_name_96 WHERE opponent = "new york islanders" AND game < 65
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Points have an Opponent of new york islanders and a Game smaller than 65?It is not neccessary to use all the tables.
|
SELECT Coverage (Transmitter site) FROM table WHERE Station Type = Relay AND Ch. # = TV-37
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the coverage for relay tv-37?.It is not neccessary to use all the tables.
|
SELECT club_team FROM table_name_96 WHERE overall < 283 AND player = "derrick byfuglien"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What club was derrick byfuglien drafted by before 283?It is not neccessary to use all the tables.
|
SELECT award_name FROM table_name_53 WHERE team_name = "cougar robotics team"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Award name with a Team name that is cougar robotics team?It is not neccessary to use all the tables.
|
SELECT * FROM Votes WHERE VoteTypeId = 6 AND CreationDate >= '2014-08-01 00:00:00'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
vote to close by off-topic>other.It is not neccessary to use all the tables.
|
SELECT Home team FROM table WHERE Venue = glenferrie oval
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is glenferrie oval's home team?.It is not neccessary to use all the tables.
|
SELECT COUNT(college_junior_club_team) FROM table_2850912_6 WHERE player = "John Dzikowski"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many different college/junior/club teams had player John Dzikowski?It is not neccessary to use all the tables.
|
SELECT Name, Age FROM editor ORDER BY Age
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the names and ages of editors? Show me a bar chart, and sort Y-axis in ascending order please.It is not neccessary to use all the tables.
|
SELECT MIN Sack FROM table WHERE Solo = 24 AND Tackles > 25.5 AND Yards > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest Sack with a Solo of 24, with Tackles larger than 25.5, with Yards larger than 0?.It is not neccessary to use all the tables.
|
SELECT SUM Silver FROM table WHERE Nation = japan AND Gold > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many silvers for japan (1 gold)?.It is not neccessary to use all the tables.
|
SELECT District FROM table WHERE Incumbent = Edward Everett Eslick
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What district does edward everett eslick represent?.It is not neccessary to use all the tables.
|
SELECT country FROM table_name_73 WHERE date = "april 11-april 21"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country was the game played when it was played from April 11-April 21?It is not neccessary to use all the tables.
|
SELECT AVG(staying_councillors) FROM table_name_22 WHERE new_council = 7 AND previous_council > 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Staying councillors have a New council of 7 and a Previous council larger than 8?It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE Player = tim clark
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the place for tim clark.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Home team = southend united
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When was Southend United the home team?.It is not neccessary to use all the tables.
|
SELECT Music FROM table WHERE Score = 30 (10, 10, 10) AND Style = cha-cha-cha
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?.It is not neccessary to use all the tables.
|
SELECT latitude FROM table_18600760_3 WHERE township = "Clearwater"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the latitude of the Clearwater townsship?It is not neccessary to use all the tables.
|
SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had a transfer fee of dkk 6m?It is not neccessary to use all the tables.
|
SELECT runner_s__up FROM table_name_45 WHERE winning_score = –8(71 - 69 - 67 - 73 = 280)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the runner-up where the winning score is –8 (71-69-67-73=280)?It is not neccessary to use all the tables.
|
SELECT Age as of 1 February 2014 FROM table WHERE Province or Country of birth = united states
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average age as of February 1, 2014 for the supercentenarians born in the United States?.It is not neccessary to use all the tables.
|
SELECT total_games FROM table_name_84 WHERE years = 117 AND pac_12 = "california"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many total games associated with the Pac-12 of california and 117 years?It is not neccessary to use all the tables.
|
SELECT AVG Total FROM table WHERE Silver < 1 AND Gold = 0 AND Nation = switzerland AND Bronze < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average Total, when the value for Silver is less than 1, when the value for Gold is 0, when the Nation is Switzerland, and when the value for Bronze is 2?.It is not neccessary to use all the tables.
|
SELECT no_yds FROM table_18064020_21 WHERE tfl_yds = "2.5-4"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many yards for the player with tfl-yds of 2.5-4?It is not neccessary to use all the tables.
|
SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury?It is not neccessary to use all the tables.
|
SELECT school_club_team FROM table_name_76 WHERE player = "wayne cooper"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What school does Wayne Cooper play for?It is not neccessary to use all the tables.
|
SELECT status FROM table_name_65 WHERE name = "nicholls"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the current status of the person named Nicholls?It is not neccessary to use all the tables.
|
SELECT SUM Size km² FROM table WHERE Density hab/km = 8,321
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the size km² when the density hab/km is 8,321?.It is not neccessary to use all the tables.
|
SELECT SUM(no_built) FROM table_name_19 WHERE unit_nos = "375301-310"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many number Builts had unit numbers of 375301-310?It is not neccessary to use all the tables.
|
SELECT record FROM table_name_10 WHERE week > 4 AND result = "w 13-12"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record at the game with a result of W 13-12 after week 4?It is not neccessary to use all the tables.
|
SELECT country FROM table_26166836_1 WHERE road_race = "Xiamen International Marathon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In which country was the xiamen international marathon?It is not neccessary to use all the tables.
|
SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what position was the driver who won $60000?It is not neccessary to use all the tables.
|
SELECT field_goals FROM table_name_8 WHERE player = "duncan thompson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many field goals did duncan thompson have?It is not neccessary to use all the tables.
|
SELECT Attendance FROM table WHERE Tie no = 40
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what day was the attendance that had a Tie value of 40?.It is not neccessary to use all the tables.
|
SELECT equipment FROM table_16941304_4 WHERE bike_no = 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the equipment for bike number 6It is not neccessary to use all the tables.
|
SELECT Time FROM table WHERE Rank = 40
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the time of the swimmer in rank 40?.It is not neccessary to use all the tables.
|
SELECT First elected FROM table WHERE District = Florida 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the first elected with district being florida 7.It is not neccessary to use all the tables.
|
SELECT Lost FROM table WHERE Try BP = 10 AND Club = uwic rfc
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc?.It is not neccessary to use all the tables.
|
SELECT High assists FROM table WHERE Date = January 17
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who led in assists on January 17, and with how many?.It is not neccessary to use all the tables.
|
SELECT College FROM table WHERE School = Camden High School
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the college for the player who's school is camden high school?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Player = vijay singh
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Score, when Player is "Vijay Singh"?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-25408') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND vitalperiodic.sao2 BETWEEN sao2_lower AND sao2_upper AND NOT vitalperiodic.sao2 IS NULL
|
CREATE TABLE INST, Here is a database schema( table schema);
|
did patient 021-25408 have normal levels of sao2 on the last icu visit?It is not neccessary to use all the tables.
|
SELECT "opponent" FROM table_203_843 WHERE "opponent" IN ('ruislip manor', 'tufnell spartans') ORDER BY "score" DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
did st albans score more goals against ruislip manor or the tufnell spartans ?It is not neccessary to use all the tables.
|
SELECT MIN First elected FROM table WHERE Incumbent = Jim McDermott
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was incumbent jim mcdermott first elected?.It is not neccessary to use all the tables.
|
SELECT IATA FROM table WHERE ICAO = rcmq
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the IATA code for the city with ICAO code of RCMQ?.It is not neccessary to use all the tables.
|
SELECT nation FROM table_name_72 WHERE bronze < 10 AND silver = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Nation has a Bronze that is smaller than 10 with a Silver of 5?It is not neccessary to use all the tables.
|
SELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List the organisation id with the maximum outcome count and the count.It is not neccessary to use all the tables.
|
SELECT MIN(rank) FROM table_name_38 WHERE nation = "switzerland" AND bronze < 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Rank is the lowest one that has a Nation of switzerland and a Bronze smaller than 0?It is not neccessary to use all the tables.
|
SELECT COUNT(tickets_sold___available) FROM table_16331025_2 WHERE sellout___percentage_ = "82%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the position of tickets sold/available when the sellout is 82%?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.