answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" | Name the project with length overall being 25 and name of levante | CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) |
SELECT date FROM table_name_9 WHERE home = "vancouver" | What is the Date of the game in Vancouver? | CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR) |
SELECT crowd FROM table_name_16 WHERE away_team = "north melbourne" | What is the crowd for away team of north melbourne? | CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR) |
SELECT club FROM table_name_16 WHERE try_bonus = "8" | What club has a Try Bonus of 8? | CREATE TABLE table_name_16 (club VARCHAR, try_bonus VARCHAR) |
SELECT attendance FROM table_name_92 WHERE date = "december 16, 2001" | How many attended the game on December 16, 2001? | CREATE TABLE table_name_92 (attendance VARCHAR, date VARCHAR) |
SELECT phonetic_realisation FROM table_name_12 WHERE phonemic_value = "/v/" AND without_niqqud = "as initial letter: ו" | What is the phonetic realisation if the phonemic value is /v/ and the without niqqud is as initial letter: ו? | CREATE TABLE table_name_12 (phonetic_realisation VARCHAR, phonemic_value VARCHAR, without_niqqud VARCHAR) |
SELECT race_name FROM table_name_74 WHERE circuit = "hockenheim" | Which race was at Hockenheim circuit? | CREATE TABLE table_name_74 (race_name VARCHAR, circuit VARCHAR) |
SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor | Find the number of rooms with price higher than 120 for different decor. | CREATE TABLE Rooms (decor VARCHAR, basePrice INTEGER) |
SELECT category FROM table_21716139_1 WHERE train_no = "16609/16610" | What is the category for trains numbered 16609/16610? | CREATE TABLE table_21716139_1 (category VARCHAR, train_no VARCHAR) |
SELECT result FROM table_name_77 WHERE year > 1999 AND white = "kramnik" AND tournament = "mainz cc champions duel (5)" | What is Result, when Year is greater than 1999, when White is "Kramnik", and when Tournament is "Mainz CC Champions Duel (5)"? | CREATE TABLE table_name_77 (result VARCHAR, tournament VARCHAR, year VARCHAR, white VARCHAR) |
SELECT finish FROM table_name_12 WHERE total = 288 | Which Finish has a Total of 288? | CREATE TABLE table_name_12 (finish VARCHAR, total VARCHAR) |
SELECT mahmoud_ahmadinejad FROM table_23390604_1 WHERE mir_hossein_mousavi = 218481 | List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes. | CREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR) |
SELECT T3.Name, T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID | Show the names of companies and of employees. | CREATE TABLE company (Name VARCHAR, Company_ID VARCHAR); CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
SELECT SUM(points) FROM table_name_11 WHERE home = "pittsburgh" AND score = "1–7" | How many Points have a Home of pittsburgh, and a Score of 1–7? | CREATE TABLE table_name_11 (points INTEGER, home VARCHAR, score VARCHAR) |
SELECT COUNT(rank) FROM table_name_49 WHERE assets__bn$_ = 70.74 AND market_value__bn$_ > 11.29 | How many ranks have assets of $70.74 billion and market value greater than $11.29 billion? | CREATE TABLE table_name_49 (rank VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR) |
SELECT MIN(floors) FROM table_name_90 WHERE built > 1970 AND name = "nv building 3" | What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3? | CREATE TABLE table_name_90 (floors INTEGER, built VARCHAR, name VARCHAR) |
SELECT party FROM table_27050336_7 WHERE delegate = "Gaines, Tawanna P. Tawanna Gaines" | For delegate is gaines, tawanna p. tawanna gaines, please specify all the party. | CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR) |
SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney" | Tell me the NHL team for mike gaffney | CREATE TABLE table_name_53 (nhl_team VARCHAR, player VARCHAR) |
SELECT winnings FROM table_2182562_2 WHERE starts = 15 | How high was the amount of winnings (in $) in the year with 15 starts? | CREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR) |
SELECT AVG(points) FROM table_name_3 WHERE chassis = "mclaren m23" AND entrant = "centro asegurador" | What is the average points that Centro Asegurador earned with the McLaren M23 chassis? | CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR, entrant VARCHAR) |
SELECT 3 AS rd_place FROM table_name_70 WHERE runner_up = "simon ehne" AND prize = "$100,000" | What is 3rd Place, when Runner-Up is "Simon Ehne", and when Prize is $100,000? | CREATE TABLE table_name_70 (runner_up VARCHAR, prize VARCHAR) |
SELECT distance FROM table_name_2 WHERE course = "naples to foggia" | How long was the course from Naples to Foggia? | CREATE TABLE table_name_2 (distance VARCHAR, course VARCHAR) |
SELECT COUNT(round) FROM table_name_74 WHERE record = "4-0" | How many rounds was the fight when the record was 4-0? | CREATE TABLE table_name_74 (round VARCHAR, record VARCHAR) |
SELECT attendance FROM table_name_52 WHERE record = "17-22" | What is the attendance number for the record of 17-22? | CREATE TABLE table_name_52 (attendance VARCHAR, record VARCHAR) |
SELECT MIN(attendance) FROM table_name_88 WHERE week = 15 | What's the lowest attendance recorded for week 15? | CREATE TABLE table_name_88 (attendance INTEGER, week VARCHAR) |
SELECT COUNT(incumbent) FROM table_1341865_44 WHERE district = "Tennessee 5" | how many incumbent with district being tennessee 5 | CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR) |
SELECT date FROM table_name_34 WHERE visiting_team = "new york giants" | What date did the New York Giants play as a visiting team? | CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR) |
SELECT venue FROM table_1139835_9 WHERE premier = "Essendon" AND attendance = 30824 | What venue has an attendance of 30824 at Essendon in 1984? | CREATE TABLE table_1139835_9 (venue VARCHAR, premier VARCHAR, attendance VARCHAR) |
SELECT COUNT(country) FROM table_21907770_4 WHERE versus = "India" | How many times was the opponent country India? | CREATE TABLE table_21907770_4 (country VARCHAR, versus VARCHAR) |
SELECT record FROM table_27721131_6 WHERE date = "November 25" | What is the record for the game on november 25? | CREATE TABLE table_27721131_6 (record VARCHAR, date VARCHAR) |
SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%" | For the group with 1.79% population in 1961, what was their percentage of the population in 1971? | CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR) |
SELECT name FROM table_name_56 WHERE number_of_electorates__2009_ > 188 OFFSET 799 | Which Name has a Number of electorates (2009) greater than 188,799? | CREATE TABLE table_name_56 (name VARCHAR, number_of_electorates__2009_ INTEGER) |
SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park" | Which home team score occurred at Victoria Park? | CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR) |
SELECT party FROM table_2668367_14 WHERE incumbent = "Joseph Pearson" | What party did the incumbent Joseph Pearson belong to? | CREATE TABLE table_2668367_14 (party VARCHAR, incumbent VARCHAR) |
SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7" | What is the 1st(m) score for the Person who had a total points of 272.7 | CREATE TABLE table_14407512_9 (points VARCHAR) |
SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones" | Who is the constructor for driver alan jones using a chassis of fw06 fw07? | CREATE TABLE table_name_93 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) |
SELECT set_5 FROM table_name_44 WHERE set_1 = "19-25" | What is the set 5 with a 19-25 set 1? | CREATE TABLE table_name_44 (set_5 VARCHAR, set_1 VARCHAR) |
SELECT winner FROM table_name_60 WHERE score = "6–7(4), 7–6(3), [11–9]" | Which winner won by a score of 6–7(4), 7–6(3), [11–9]? | CREATE TABLE table_name_60 (winner VARCHAR, score VARCHAR) |
SELECT points_against FROM table_13399573_3 WHERE won = "10" | What was the number of points against when the amount won is 10? | CREATE TABLE table_13399573_3 (points_against VARCHAR, won VARCHAR) |
SELECT COUNT(draws) FROM table_name_28 WHERE wins < 6 AND goal_difference < -15 | How many draws when there are fewer than 6 wins and the goal difference is less than -15? | CREATE TABLE table_name_28 (draws VARCHAR, wins VARCHAR, goal_difference VARCHAR) |
SELECT home_team FROM table_name_92 WHERE score = "101-93" | Who was the home team with a score of 101-93? | CREATE TABLE table_name_92 (home_team VARCHAR, score VARCHAR) |
SELECT venue FROM table_name_88 WHERE home_team = "carlton" | What venue features carlton at home? | CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR) |
SELECT COUNT(to_par) FROM table_name_26 WHERE year_s__won = "1995" | What was the total To Par for the winner in 1995? | CREATE TABLE table_name_26 (to_par VARCHAR, year_s__won VARCHAR) |
SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill" | What round was Bill Hill drafted? | CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR) |
SELECT score FROM table_name_10 WHERE date = "march 17" | What is the score on March 17? | CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) |
SELECT COUNT(capacity) FROM table_name_15 WHERE opened = "1999" | What is the total capacity of venues that opened in 1999? | CREATE TABLE table_name_15 (capacity VARCHAR, opened VARCHAR) |
SELECT test_standard FROM table_name_28 WHERE usage = "secondary filters" AND class = "f5" | Which Test Standard has a Usage of secondary filters, and a Class of f5? Question 4 | CREATE TABLE table_name_28 (test_standard VARCHAR, usage VARCHAR, class VARCHAR) |
SELECT COUNT(game) FROM table_27713583_6 WHERE team = "Washington" | What game number is the Washington team. | CREATE TABLE table_27713583_6 (game VARCHAR, team VARCHAR) |
SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats" | If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number? | CREATE TABLE table_21995420_9 (stunts VARCHAR, school VARCHAR) |
SELECT played FROM table_name_74 WHERE points_against = "271" | For which play was the points 271? | CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR) |
SELECT sepal_length FROM table_10477224_1 WHERE sepal_width = "2.8" AND petal_length = "5.1" | Name the sepal length for sepal width of 2.8 and petal length of 5.1 | CREATE TABLE table_10477224_1 (sepal_length VARCHAR, sepal_width VARCHAR, petal_length VARCHAR) |
SELECT score FROM table_name_76 WHERE tie_no = "23" | What was the score for the match with tie number 23? | CREATE TABLE table_name_76 (score VARCHAR, tie_no VARCHAR) |
SELECT COUNT(wins) FROM table_name_84 WHERE byes < 0 | What is the total number of wins that has byes less than 0? | CREATE TABLE table_name_84 (wins VARCHAR, byes INTEGER) |
SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id | What are the line 1 and average monthly rentals of all student addresses? | CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR) |
SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 2" | With an in-state area of 053 1,654km 2 639mi 2, what is the total area? | CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR) |
SELECT nationality² FROM table_24565004_22 WHERE name = "Richard Vanquelef" | What country is Richard Vanquelef from? | CREATE TABLE table_24565004_22 (nationality² VARCHAR, name VARCHAR) |
SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.President_VOTE WHERE T1.sex = "F" | Find the first and last names of all the female (sex is F) students who have president votes. | CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, sex VARCHAR); CREATE TABLE VOTING_RECORD (President_VOTE VARCHAR) |
SELECT player FROM table_name_42 WHERE position = "defence" AND pick__number = "6" | Which player has a Position of defence, and a Pick # of 6? | CREATE TABLE table_name_42 (player VARCHAR, position VARCHAR, pick__number VARCHAR) |
SELECT athlete FROM table_name_81 WHERE 220 = "o" AND 225 = "xxx" AND nationality = "brazil" | Which athlete from Brazil has 2.20 O and 2.25 of XXX? | CREATE TABLE table_name_81 (athlete VARCHAR, nationality VARCHAR) |
SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne" | Who was South Melbourne's away opponents? | CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) |
SELECT vote FROM table_25016824_2 WHERE air_date = "4 October 1997" | What was the vote when the air date is 4 october 1997? | CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR) |
SELECT MIN(retired) FROM table_name_50 WHERE delivery = "1965" AND in_service = "november 1971" AND poaf_serial < 7103 | What is the earliest year retired delivered in 1965 with an in service in November 1971 for the PoAF Serial less than 7103? | CREATE TABLE table_name_50 (retired INTEGER, poaf_serial VARCHAR, delivery VARCHAR, in_service VARCHAR) |
SELECT score FROM table_name_43 WHERE game = 35 | What is the Score of game 35? | CREATE TABLE table_name_43 (score VARCHAR, game VARCHAR) |
SELECT Name FROM editor WHERE Age = 24 OR Age = 25 | Show the names of editors of age either 24 or 25. | CREATE TABLE editor (Name VARCHAR, Age VARCHAR) |
SELECT winner FROM table_name_14 WHERE location = "des moines, iowa" AND runner_up = "p.h. finkbank" | Who is the winner in des moines, iowa where p.h. finkbank was the runner-up? | CREATE TABLE table_name_14 (winner VARCHAR, location VARCHAR, runner_up VARCHAR) |
SELECT period FROM table_name_93 WHERE built = "578" | In what time period were 578 built? | CREATE TABLE table_name_93 (period VARCHAR, built VARCHAR) |
SELECT constructor FROM table_name_87 WHERE grid = 17 | Which Constructor has a Grid of 17? | CREATE TABLE table_name_87 (constructor VARCHAR, grid VARCHAR) |
SELECT status FROM table_name_98 WHERE route_of_administration = "intramuscular" AND gene = "aat" | What is the statue of the aat gene, which has an intramuscular route of administration? | CREATE TABLE table_name_98 (status VARCHAR, route_of_administration VARCHAR, gene VARCHAR) |
SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw" | How many warfare deaths befell the choctaw nation? | CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR) |
SELECT tie_no FROM table_name_43 WHERE home_team = "gillingham" | What is listed as the Tie no for Home team of Gillingham? | CREATE TABLE table_name_43 (tie_no VARCHAR, home_team VARCHAR) |
SELECT title FROM table_name_79 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham" | What is the Title, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham? | CREATE TABLE table_name_79 (title VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR) |
SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Green" | Who won when Jamie Green had the best lap? | CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR) |
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = "Cancel" AND T4.product_name = "food" GROUP BY T1.customer_id HAVING COUNT(*) >= 1 | List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel"). | CREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_item_status VARCHAR, order_id VARCHAR) |
SELECT years FROM table_name_81 WHERE jersey_number_s_ = "55" | What years did jersey number 55 play? | CREATE TABLE table_name_81 (years VARCHAR, jersey_number_s_ VARCHAR) |
SELECT date FROM table_name_71 WHERE streak = "loss 2" AND team = "@ boston celtics" | Which Date has a Streak of loss 2, and a Team of @ boston celtics? | CREATE TABLE table_name_71 (date VARCHAR, streak VARCHAR, team VARCHAR) |
SELECT MAX(maidens) FROM table_15893020_2 WHERE best_bowling = "1/13" | What is the highest number of maidens when the bowling best was 1/13? | CREATE TABLE table_15893020_2 (maidens INTEGER, best_bowling VARCHAR) |
SELECT MIN(games) FROM table_name_12 WHERE lost < 1 | What is the lowest number of games with less than 1 loss? | CREATE TABLE table_name_12 (games INTEGER, lost INTEGER) |
SELECT SUM(wards__branches_in_arkansas) FROM table_name_93 WHERE stake = "north little rock arkansas" | What is the sum of the wards/branches in Arkansas of the North Little Rock Arkansas stake? | CREATE TABLE table_name_93 (wards__branches_in_arkansas INTEGER, stake VARCHAR) |
SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-24" | Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24? | CREATE TABLE table_name_83 (round INTEGER, date VARCHAR, location VARCHAR, method VARCHAR) |
SELECT vote_percentage FROM table_26375386_18 WHERE couple = "Heather and Matt" | What was the vote % of Heather and Matt? | CREATE TABLE table_26375386_18 (vote_percentage VARCHAR, couple VARCHAR) |
SELECT MAX(model) FROM table_name_92 WHERE maximum_memory = "512 mb" | Which model has a maximum memory of 512 mb? | CREATE TABLE table_name_92 (model INTEGER, maximum_memory VARCHAR) |
SELECT telugu_తెలుగు FROM table_name_68 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்" | Which Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்? | CREATE TABLE table_name_68 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR) |
SELECT COUNT(rider_names) FROM table_27833186_1 WHERE horse_name = "OMR Tsunami" | How many different riders are there that won riding Omr Tsunami? | CREATE TABLE table_27833186_1 (rider_names VARCHAR, horse_name VARCHAR) |
SELECT melbourne FROM table_name_14 WHERE auckland = "no" AND gold_coast = "no" | Which Melbourne has an Auckland of no, and a Gold Coast of no? | CREATE TABLE table_name_14 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR) |
SELECT position FROM table_name_8 WHERE team = "kr" AND player = "marcus walker" | What Position does the Team of KR and the Player of Marcus Walker have listed? | CREATE TABLE table_name_8 (position VARCHAR, team VARCHAR, player VARCHAR) |
SELECT hypertransport_version FROM table_name_51 WHERE max_aggregate_bandwidth__bi_directional_ = "22.4 gb/s" | What Hyper Transport version has 22.4 gb/s of Max. Aggregate bandwidth? | CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR) |
SELECT AVG(total) FROM table_name_99 WHERE bronze > 0 AND gold = 0 AND nation = "united states (usa)" AND silver < 0 | what is the average total when bronze is more than 0, gold is 0, the nation is united states (usa) and silver is 0? | CREATE TABLE table_name_99 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) |
SELECT COUNT(longitude) FROM table_24192190_1 WHERE latitude = "42.903° N" | When 42.903° n is the latitude how many measurements of longitude are there? | CREATE TABLE table_24192190_1 (longitude VARCHAR, latitude VARCHAR) |
SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪" | Who has a religion of ☪ and more than 1853 votes? | CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR) |
SELECT MAX(played) FROM table_name_40 WHERE club = "atlético ceuta" AND losses < 11 | Which Played has a Club of atlético ceuta, and less than 11 Losses? | CREATE TABLE table_name_40 (played INTEGER, club VARCHAR, losses VARCHAR) |
SELECT volume FROM table_17941111_2 WHERE co_2 = "168 g/km" | Name the volume for co 2 for 168 g/km | CREATE TABLE table_17941111_2 (volume VARCHAR, co_2 VARCHAR) |
SELECT format FROM table_name_81 WHERE date = 1993 AND catalog = "cleo 2481-2" | Which Format has a Date of 1993, and a Catalog of cleo 2481-2? | CREATE TABLE table_name_81 (format VARCHAR, date VARCHAR, catalog VARCHAR) |
SELECT 2008 AS _head_coach FROM table_name_7 WHERE team = "ucla" | Who is the 2008 head coach of UCLA? | CREATE TABLE table_name_7 (team VARCHAR) |
SELECT Name FROM musical WHERE NOT Musical_ID IN (SELECT Musical_ID FROM actor) | List the name of musicals that do not have actors. | CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) |
SELECT points FROM table_name_56 WHERE driver = "paul tracy" | Which points has the driver Paul Tracy? | CREATE TABLE table_name_56 (points VARCHAR, driver VARCHAR) |
SELECT MAX(byes) FROM table_name_61 WHERE against < 1794 AND losses = 6 AND draws < 0 | What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0? | CREATE TABLE table_name_61 (byes INTEGER, draws VARCHAR, against VARCHAR, losses VARCHAR) |
SELECT builder FROM table_name_12 WHERE ship = "nor" | Who was the builder of Nor? | CREATE TABLE table_name_12 (builder VARCHAR, ship VARCHAR) |
SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway" | What date has the Surfers Paradise International Raceway circuit? | CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR) |
SELECT T1.title, T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.id = T3.id WHERE YEAR = 2008 ORDER BY T1.title | list in alphabetic order all course names and their instructors' names in year 2008. | CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE teaches (course_id VARCHAR, id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) |
SELECT AVG(frequency_mhz) FROM table_name_21 WHERE city_of_license = "los banos, california" AND erp_w < 10 | In Los Banos, California, when the ERP W is than 10, what is the average Frequency MHz? | CREATE TABLE table_name_21 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.