sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AND player = "pennant"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0?It is not neccessary to use all the tables.
|
SELECT Time_of_day, COUNT(*) FROM broadcast GROUP BY Time_of_day ORDER BY Time_of_day DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Count the number of programs broadcast for each time section of a day Show bar chart, display X in descending order.It is not neccessary to use all the tables.
|
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t1.c1 <= 3)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
give me the top three most common diagnoses?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_2 WHERE loss = "risley (0-1)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game that had a loss of Risley (0-1)?It is not neccessary to use all the tables.
|
SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the earliest year where the result of the election was a retired republican hold?It is not neccessary to use all the tables.
|
SELECT Barony FROM table WHERE Area( acres ) = 276
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the Baronies when the area (in acres) is 276?.It is not neccessary to use all the tables.
|
SELECT MIN No. in series FROM table WHERE Title = "Magic Jordan"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the number of the episode titled "magic jordan"?.It is not neccessary to use all the tables.
|
SELECT COUNT(points) FROM table_name_89 WHERE artist = "linda martin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many points did Linda Martin have?It is not neccessary to use all the tables.
|
SELECT Class FROM table WHERE Quantity < 5 AND GWR Nos. = 1322–1323
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which class is smaller than 5 and the GWR is 1322–1323?.It is not neccessary to use all the tables.
|
SELECT team FROM table_25352318_1 WHERE races = 15 AND position = "7th"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When 7th is the position and 15 is the race who is the team?It is not neccessary to use all the tables.
|
SELECT T1.dname FROM department AS T1 JOIN member_of AS T2 ON T1.dno = T2.dno GROUP BY T2.dno ORDER BY COUNT(*) LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the department with the fewest members?It is not neccessary to use all the tables.
|
SELECT name FROM table_29562161_1 WHERE starting_price = "66/1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What horse had a starting price of 66/1?It is not neccessary to use all the tables.
|
SELECT incorporated_in FROM table_name_73 WHERE principal_activities = "travel agency"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the incorporated for principal activites of travel agencyIt is not neccessary to use all the tables.
|
SELECT player FROM table_name_29 WHERE hometown = "chula vista, ca"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What player is from Chula Vista Ca?It is not neccessary to use all the tables.
|
SELECT place FROM table_name_46 WHERE player = "paul mcginley"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What place did Paul McGinley finish in?It is not neccessary to use all the tables.
|
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor <> "Rachel Elnaugh"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the names of entrepreneurs whose investor is not "Rachel Elnaugh"?It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Home = ny rangers
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the record for the NY Rangers?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE To par = –3 AND Player = santiago luna
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Score has a To par of –3, and a Player of santiago luna?.It is not neccessary to use all the tables.
|
SELECT date FROM table_name_88 WHERE opponent = "denver broncos"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Opponent of denver broncos happened on what date?It is not neccessary to use all the tables.
|
SELECT COUNT Information FROM table WHERE Shadow Ridge = Michael Hawkins
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many informations does Michael Hawkins have?.It is not neccessary to use all the tables.
|
SELECT MAX(lost) FROM table_name_43 WHERE pool_round = "pool 2" AND played < 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the highest Lost that has the Pool/Round of pool 2 and the Played smaller than 6?It is not neccessary to use all the tables.
|
SELECT Office FROM table WHERE Left Office = 1810
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What type of office left office in 1810?.It is not neccessary to use all the tables.
|
SELECT margin FROM table_name_26 WHERE winning_score = –7(71 - 72 - 67 - 71 = 281)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Margin has a Winning score of –7 (71-72-67-71=281)?It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM Songs
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many songs are there?It is not neccessary to use all the tables.
|
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Can you tell me the Overall Record that has the Away Team of miami?It is not neccessary to use all the tables.
|
SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Rank has a Goals smaller than 76 and a Matches larger than 270?It is not neccessary to use all the tables.
|
SELECT High rebounds FROM table WHERE Team = washington
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the High rebounds of washington Team?.It is not neccessary to use all the tables.
|
SELECT high_rebounds FROM table_17355716_10 WHERE date = "April 11"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the high rebounds stat on april 11It is not neccessary to use all the tables.
|
SELECT COUNT Rank FROM table WHERE Team = 348cc petty manx
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of rank for 348cc petty manx.It is not neccessary to use all the tables.
|
SELECT Opponent# FROM table WHERE Attendance = 63,659
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What opponent had an attendance of 63,659?.It is not neccessary to use all the tables.
|
SELECT eliminated FROM table_name_28 WHERE entered < 4 AND wrestler = "shawn michaels"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?It is not neccessary to use all the tables.
|
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY COUNT(*)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the booking status code and the corresponding number of bookings Show bar chart, and order in ascending by the Y.It is not neccessary to use all the tables.
|
SELECT MAX Altitude (mslm) FROM table WHERE City = legnano AND Population > 59492
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Altitude (mslm) is the highest one that has a City of legnano, and a Population larger than 59492?.It is not neccessary to use all the tables.
|
SELECT gwr_nos FROM table_name_79 WHERE quantity < 2 AND m & swj_nos = "9"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9?It is not neccessary to use all the tables.
|
SELECT Points FROM table WHERE Respect toward opponents = 212
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the points for 212 respect toward opponents.It is not neccessary to use all the tables.
|
SELECT MIN(floors) FROM table_name_42 WHERE height__m_ = 116
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are the fewest floors for the building that has a height of 116 meters?It is not neccessary to use all the tables.
|
SELECT College FROM table WHERE Pick # > 25 AND Round = 7 AND Name = chris white
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white?.It is not neccessary to use all the tables.
|
SELECT AVG(1940) FROM table_name_6 WHERE 1929 = 101.4 AND 1933 > 68.3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3?It is not neccessary to use all the tables.
|
SELECT genre FROM table_name_7 WHERE artist = "prince"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Genre when the Artist is Prince?It is not neccessary to use all the tables.
|
SELECT COUNT Cuts made FROM table WHERE Events = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of cuts made of tournaments with 2 Events?.It is not neccessary to use all the tables.
|
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) = '2105-12-25' ORDER BY chartevents.charttime DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when was the last time that heart rate was measured for patient 28443 on 12/25/2105?It is not neccessary to use all the tables.
|
SELECT Driver FROM table WHERE Laps = 10
|
CREATE TABLE INST, Here is a database schema( table schema);
|
I want the driver that has Laps of 10.It is not neccessary to use all the tables.
|
SELECT bowling_style FROM table_name_52 WHERE first_class_team = "griqualand west"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What bowling style does First Class Team Griqualand West have?It is not neccessary to use all the tables.
|
SELECT metropolitan_area FROM table_22916979_1 WHERE land_area__mi_2__ = "23.80"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which major metropolitan area had a land area of 23.80?It is not neccessary to use all the tables.
|
SELECT position FROM table_name_27 WHERE round = 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which position is round 7?It is not neccessary to use all the tables.
|
SELECT date_of_appointment FROM table_24172157_3 WHERE team = "Liverpool" AND incoming_manager = "Roy Hodgson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_25 WHERE year = 2002
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Score in 2002?It is not neccessary to use all the tables.
|
SELECT Car(s) FROM table WHERE Driver(s) = Jeff Fuller
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What type of car does Jeff Fuller drive?.It is not neccessary to use all the tables.
|
SELECT performer_1 FROM table_name_55 WHERE performer_2 = "compilation 1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Performer 2 of compilation 1 had what performer 1?It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE District = Alabama 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what are all the result with district being alabama 1.It is not neccessary to use all the tables.
|
SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2?It is not neccessary to use all the tables.
|
SELECT place_ & _date FROM table_23014685_1 WHERE area_damaged = "Apartments area"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the place and date that the Apartments area was damaged?It is not neccessary to use all the tables.
|
SELECT Batting Style FROM table WHERE Bowling Style = right arm medium AND Player = stuart williams
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What batting style corresponds to a bowling style of right arm medium for Stuart Williams?.It is not neccessary to use all the tables.
|
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND flight.from_airport = airport_service.airport_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
flights from ATLANTA pleaseIt is not neccessary to use all the tables.
|
SELECT Tournament FROM table WHERE 1990 = olympic games
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Tournament when the 1990 is Olympic Games?.It is not neccessary to use all the tables.
|
SELECT AVG(game) FROM table_name_36 WHERE team = "portland trail blazers"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Game has a Team of portland trail blazers?It is not neccessary to use all the tables.
|
SELECT College FROM table WHERE Player = John Theus
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which college does the player John Theus associate with?.It is not neccessary to use all the tables.
|
SELECT cust_name FROM customer WHERE credit_score < (SELECT AVG(credit_score) FROM customer)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the name of customers whose credit score is below the average credit scores of all customers.It is not neccessary to use all the tables.
|
SELECT Gross Revenue (1986) FROM table WHERE Tickets Sold / Available = 24,000 / 24,000 (100%)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)?.It is not neccessary to use all the tables.
|
SELECT player FROM table_15621965_2 WHERE position = "Forward-Center"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who plays the position of forward-center?It is not neccessary to use all the tables.
|
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the sum of the crowds at Western Oval?It is not neccessary to use all the tables.
|
SELECT race FROM table_name_48 WHERE jockey = "frankie dettori" AND margin > 3 AND course = "yarmouth"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the race when the jockey is frankie dettori the margin is more than 3 and the course is yarmouth?It is not neccessary to use all the tables.
|
SELECT "Third Place" FROM table_52788 WHERE "Winner" = 'thomas enqvist' AND "Runner-up" = 'guy forget'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What person is in the third place when Thomas Enqvist won and a Runner-up was guy forget?It is not neccessary to use all the tables.
|
SELECT "Rider" FROM table_5891 WHERE "Rank" > '3' AND "Speed" = '119.838mph'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who has a Rank larger than 3 with a speed of 119.838mph?It is not neccessary to use all the tables.
|
SELECT MIN(height__ft_) FROM table_name_24 WHERE city = "frankfurt" AND height__m_ = 257 AND floors < 55
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the smallest height (ft) of a building in Frankfurt with a height (m) of 257 and less than 55 floors?It is not neccessary to use all the tables.
|
SELECT place FROM table_name_28 WHERE score = 71 - 72 - 70 = 213
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the place with a 71-72-70=213 score?It is not neccessary to use all the tables.
|
SELECT Award Show FROM table WHERE Year = 2004 AND Category = most popular drama
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On which award show was Bad Girls nominated for Most Popular Drama in 2004?.It is not neccessary to use all the tables.
|
SELECT Narrator FROM table WHERE Notes = Bonus interview with Frazer Hines
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which narrator has the bonus interview with Frazer Hines?.It is not neccessary to use all the tables.
|
SELECT MIN Attendance FROM table WHERE Visitor = carolina
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least attendance with carolina visitor.It is not neccessary to use all the tables.
|
SELECT Country FROM table WHERE Player = Charley Hoffman
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country is charley hoffman from?.It is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_85 WHERE venue = "corio oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the away side at corio oval?It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Lane < 7 AND Time > 54.32 AND Nationality = germany AND Rank < 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which name has a lane smaller than 7, and a time greater than 54.32 with germany as the nationality and a rank less than 5?.It is not neccessary to use all the tables.
|
SELECT weekly_rank FROM table_name_43 WHERE airdate = "sunday, june 14, 2009"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the weekly rank for sunday june 14 2009It is not neccessary to use all the tables.
|
SELECT Place of birth FROM table WHERE Elevator = alexander iii AND Elector = ruggiero di san severino
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the Place of birth listed that has an Elevator of ALexander III, and an Elector of Ruggiero Di San Severino?.It is not neccessary to use all the tables.
|
SELECT Species FROM table WHERE Voges-Proskauer = negative AND Indole = negative
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which species has a Voges-Proskauer reading of negative and an indole reading of negative?.It is not neccessary to use all the tables.
|
SELECT * FROM table_train_264 WHERE hypertension = 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
taking medication for hypertensionIt is not neccessary to use all the tables.
|
SELECT MAX(farmers) FROM table_17118006_2 WHERE projects = 32
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many farmers were included by the department with 32 projects?It is not neccessary to use all the tables.
|
SELECT 2009 FROM table WHERE 2007 = 1r
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the value in 2009 when 1R is in 2007?.It is not neccessary to use all the tables.
|
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id WHERE (area.area LIKE '%Writing Poetry%' OR course.description LIKE '%Writing Poetry%' OR course.name LIKE '%Writing Poetry%') AND (area.area LIKE '%Marine Structures%' OR course.description LIKE '%Marine Structures%' OR course.name LIKE '%Marine Structures%')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show me courses which involve parts of Marine Structures and Writing Poetry .It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Jersey # > 30 AND Birthdate = december 23, 1986
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?.It is not neccessary to use all the tables.
|
SELECT Violent FROM table WHERE Index = 191037
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many violent crimes occurred the year that the index was 191037? .It is not neccessary to use all the tables.
|
SELECT MIN(week) FROM table_name_47 WHERE attendance = "bye"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did the Chiefs have their first bye?It is not neccessary to use all the tables.
|
SELECT COUNT(regular_judge) FROM table_1597866_3 WHERE host = "Bernie Chan"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of regular judge when host is bernie chanIt is not neccessary to use all the tables.
|
SELECT MAX Bronze FROM table WHERE Nation = spain
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Bronze has a Nation of spain?.It is not neccessary to use all the tables.
|
SELECT Life expectancy males FROM table WHERE IMR* = 64
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the life expectancy of men with an IMR of 64?.It is not neccessary to use all the tables.
|
SELECT AVG(silver) FROM table_name_82 WHERE gold > 0 AND rank = "1" AND total < 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average silver with more than 0 gold a Rank of 1 and a Total smaller than 30?It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Player = todd hammel
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What position is todd hammel?.It is not neccessary to use all the tables.
|
SELECT Number_of_matches, COUNT(Number_of_matches) FROM injury_accident WHERE Injury <> 'Knee problem' GROUP BY Number_of_matches ORDER BY COUNT(Number_of_matches)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many injured players not suffering from injury of 'Knee problem' in each match? Show me a bar chart grouping by number of matches, and rank by the y axis from low to high.It is not neccessary to use all the tables.
|
SELECT MAX(against) FROM table_name_43 WHERE draws > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the most against when the draws are more than 0?It is not neccessary to use all the tables.
|
SELECT Surface FROM table WHERE Score in the final = 5–7, 6–7 (2–7)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)?.It is not neccessary to use all the tables.
|
SELECT Height FROM table WHERE Current Club = DKV Joventut
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the height with current club being dkv joventut.It is not neccessary to use all the tables.
|
SELECT COUNT FT Pct FROM table WHERE 3FG-FGA = 1-20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
if the 3fg-fga is 1-20 what is the number in ft pct.It is not neccessary to use all the tables.
|
SELECT order__number FROM table_26250151_1 WHERE original_recording_artist = "Erma Franklin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the order # or Erma Franklin?It is not neccessary to use all the tables.
|
SELECT MIN # FROM table WHERE Car(s) = Chevrolet Monte Carlo AND Listed Owner(s) = Teresa Earnhardt AND Driver(s) = Paul Menard
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?.It is not neccessary to use all the tables.
|
SELECT season FROM table_name_81 WHERE event_type = "grand prix" AND location = "kuala lumpur"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what season did he compete in the Grand Prix in Kuala Lumpur?It is not neccessary to use all the tables.
|
SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Stella Farentino's current relationship status?It is not neccessary to use all the tables.
|
SELECT Height from Sea Level In Meters FROM table WHERE Trekking Route = 22km
|
CREATE TABLE INST, Here is a database schema( table schema);
|
if 22km is the trekking route what is height from sea level in meters?.It is not neccessary to use all the tables.
|
SELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many top 10s belong to the team with a start of 7 and an average finish less than 16.7?It is not neccessary to use all the tables.
|
SELECT Quantity made FROM table WHERE Class = waterford
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the quantity made of the locomotive with a Waterford class?.It is not neccessary to use all the tables.
|
SELECT AVG(game) FROM table_name_17 WHERE opponent = "@ florida panthers" AND record = "0-1-2" AND october > 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What average game has @ florida panthers as the opponent 0-1-2 as the record with an october greater than 8?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.