instruction
stringlengths
5
766
input
stringlengths
38
5.51k
response
stringlengths
4
3.91k
What is the proportion of the teams in elimination? Display by a pie chart.
CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text ) CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text )
SELECT Team, COUNT(Team) FROM Elimination GROUP BY Team
What is the largest numbered?
CREATE TABLE table_14723382_1 ( division INTEGER )
SELECT MAX(division) FROM table_14723382_1
What was the away team's score in the match at Victoria Park?
CREATE TABLE table_32300 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_32300 WHERE "Venue" = 'victoria park'
What was the losing bonus that had 1 draw and a 10 try bonus?
CREATE TABLE table_name_51 ( losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR )
SELECT losing_bonus FROM table_name_51 WHERE drawn = "1" AND try_bonus = "10"
What Region has a Catalog of crgd 86136?
CREATE TABLE table_name_47 ( region VARCHAR, catalog VARCHAR )
SELECT region FROM table_name_47 WHERE catalog = "crgd 86136"
how many goals did gunter thiebaut score in the 2001/02 season ?
CREATE TABLE table_203_835 ( id number, "season" text, "club" text, "country" text, "competition" text, "apps." number, "goals" number )
SELECT "goals" FROM table_203_835 WHERE "season" = '2001/02'
Find the name of rooms whose price is higher than the average price.
CREATE TABLE reservations ( code number, room text, checkin text, checkout text, rate number, lastname text, firstname text, adults number, kids number ) CREATE TABLE rooms ( roomid text, roomname text, beds number, bedtype text, maxoccupancy number, baseprice number, decor text )
SELECT roomname FROM rooms WHERE baseprice > (SELECT AVG(baseprice) FROM rooms)
What is the Film/Show, when the Year is 2010?
CREATE TABLE table_68099 ( "Year" real, "Group" text, "Award" text, "Film/Show" text, "Result" text )
SELECT "Film/Show" FROM table_68099 WHERE "Year" = '2010'
What is the most recent built year when the year of entering service was more recent than 2003, and the knots is less than 27?
CREATE TABLE table_name_44 ( built INTEGER, entered_service VARCHAR, knots VARCHAR )
SELECT MAX(built) FROM table_name_44 WHERE entered_service > 2003 AND knots < 27
What's the lowest grid with and entrant of fred saunders?
CREATE TABLE table_62894 ( "Driver" text, "Entrant" text, "Constructor" text, "Time/Retired" text, "Grid" real )
SELECT MIN("Grid") FROM table_62894 WHERE "Entrant" = 'fred saunders'
Which County has a Mascot of pacers?
CREATE TABLE table_name_36 ( county VARCHAR, mascot VARCHAR )
SELECT county FROM table_name_36 WHERE mascot = "pacers"
What is the latest year any of the incumbents were first elected?
CREATE TABLE table_1342270_42 ( first_elected INTEGER )
SELECT MAX(first_elected) FROM table_1342270_42
who is the first person on the list to play less than 20 minutes ?
CREATE TABLE table_204_292 ( id number, "no." number, "name" text, "class" number, "games" number, "minutes" number, "points" number, "2 points\n(made/attempts)" text, "2 points\n(%)" number, "3 points\n(made/attempts)" text, "3 points\n(%)" number, "free throws\n(made/attempts)" text, "free throws\n(%)" number, "rebounds offensive" number, "rebounds defensive" number, "rebounds total" number, "assists" number, "turnovers" number, "steals" number, "blocked shots" number, "personal fouls" number, "fouls drawn" number )
SELECT "name" FROM table_204_292 WHERE "minutes" < 20 ORDER BY id LIMIT 1
what is the 1st round when team 2 is usl dunkerque (d2)?
CREATE TABLE table_name_73 ( team_2 VARCHAR )
SELECT 1 AS st_round FROM table_name_73 WHERE team_2 = "usl dunkerque (d2)"
How many laps did Jo Bonnier driver when the grid number was smaller than 11?
CREATE TABLE table_51480 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT SUM("Laps") FROM table_51480 WHERE "Driver" = 'jo bonnier' AND "Grid" < '11'
Plot the total number by grouped by time of day as a bar graph, rank in ascending by the total number.
CREATE TABLE broadcast_share ( Channel_ID int, Program_ID int, Date text, Share_in_percent real ) CREATE TABLE program ( Program_ID int, Name text, Origin text, Launch real, Owner text ) CREATE TABLE broadcast ( Channel_ID int, Program_ID int, Time_of_day text ) CREATE TABLE channel ( Channel_ID int, Name text, Owner text, Share_in_percent real, Rating_in_percent real )
SELECT Time_of_day, COUNT(*) FROM broadcast GROUP BY Time_of_day ORDER BY COUNT(*)
How much money does the player with a 68-67-69-71=275 score have?
CREATE TABLE table_60214 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text )
SELECT "Money ( \u00a3 )" FROM table_60214 WHERE "Score" = '68-67-69-71=275'
Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?
CREATE TABLE table_name_47 ( champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR )
SELECT champion FROM table_name_47 WHERE location = "morrisville, nc" AND semi_finalist__number2 = "clemson"
What's the part 4 for the verb whose part 3 is borgen?
CREATE TABLE table_1745843_7 ( part_4 VARCHAR, part_3 VARCHAR )
SELECT part_4 FROM table_1745843_7 WHERE part_3 = "borgen"
List all church names in descending order of opening date.
CREATE TABLE wedding ( church_id number, male_id number, female_id number, year number ) CREATE TABLE people ( people_id number, name text, country text, is_male text, age number ) CREATE TABLE church ( church_id number, name text, organized_by text, open_date number, continuation_of text )
SELECT name FROM church ORDER BY open_date DESC
What is North American Release Date, when Japanese Release Date is '2011-06-23'?
CREATE TABLE table_name_17 ( north_american_release_date VARCHAR, japanese_release_date VARCHAR )
SELECT north_american_release_date FROM table_name_17 WHERE japanese_release_date = "2011-06-23"
What type of game had a result of 1:2?
CREATE TABLE table_name_7 ( type_of_game VARCHAR, results¹ VARCHAR )
SELECT type_of_game FROM table_name_7 WHERE results¹ = "1:2"
What is the attendance of the game on week 4?
CREATE TABLE table_34974 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" real )
SELECT "Attendance" FROM table_34974 WHERE "Week" = '4'
What is the oder part number for the model with 10x mult. 1?
CREATE TABLE table_27277284_28 ( order_part_number VARCHAR, mult_1 VARCHAR )
SELECT order_part_number FROM table_27277284_28 WHERE mult_1 = "10x"
What song was in french?
CREATE TABLE table_76347 ( "Draw" real, "Language" text, "Artist" text, "Song" text, "English translation" text, "Place" real, "Points" real )
SELECT "Song" FROM table_76347 WHERE "Language" = 'french'
Name the record for 1997
CREATE TABLE table_name_78 ( record VARCHAR, year VARCHAR )
SELECT record FROM table_name_78 WHERE year = "1997"
What institution joined in 1988?
CREATE TABLE table_255188_1 ( institution VARCHAR, joined VARCHAR )
SELECT institution FROM table_255188_1 WHERE joined = 1988
Name the european tier for rick springfield
CREATE TABLE table_22457674_1 ( european_tier VARCHAR, artist VARCHAR )
SELECT european_tier FROM table_22457674_1 WHERE artist = "Rick Springfield"
Tell me the city of license with frequency of Mhz of 90.3 fm
CREATE TABLE table_77613 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "City of license" FROM table_77613 WHERE "Frequency MHz" = '90.3 fm'
Count the last year of parties with theme 'Spring' or 'Teqnology' with a bar grpah, I want to rank in descending by the Y.
CREATE TABLE party ( Party_ID int, Party_Theme text, Location text, First_year text, Last_year text, Number_of_hosts int ) CREATE TABLE host ( Host_ID int, Name text, Nationality text, Age text ) CREATE TABLE party_host ( Party_ID int, Host_ID int, Is_Main_in_Charge bool )
SELECT Last_year, COUNT(Last_year) FROM party WHERE Party_Theme = "Spring" OR Party_Theme = "Teqnology" GROUP BY Last_year ORDER BY COUNT(Last_year) DESC
What state had an elected/assumed office in 2013?
CREATE TABLE table_50916 ( "Governor" text, "State" text, "Past" text, "Party" text, "Elected/assumed office" real, "Seat up" real )
SELECT "State" FROM table_50916 WHERE "Elected/assumed office" = '2013'
which is the minimun amount of gold medals?
CREATE TABLE table_24950 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real )
SELECT MIN("Gold") FROM table_24950
For the item with a Prince XML value of 'font', what is the WebKit value?
CREATE TABLE table_49301 ( "Trident" text, "Gecko" text, "WebKit" text, "KHTML" text, "Presto" text, "Prince XML" text )
SELECT "WebKit" FROM table_49301 WHERE "Prince XML" = 'font'
When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?
CREATE TABLE table_46421 ( "Name" text, "Country" text, "Loan Club" text, "Started" text, "Ended" text, "Start Source" text, "End Source" text )
SELECT "Started" FROM table_46421 WHERE "Country" = 'eng' AND "Loan Club" = 'sunderland' AND "End Source" = 'south wales echo'
What was the pole position for the belgian grand prix?
CREATE TABLE table_52253 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Pole Position" FROM table_52253 WHERE "Race" = 'belgian grand prix'
Where is the City of Douala?
CREATE TABLE table_name_59 ( country VARCHAR, city VARCHAR )
SELECT country FROM table_name_59 WHERE city = "douala"
When against is 797 and wins is more than 10, what is the sum of draws?
CREATE TABLE table_64311 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real )
SELECT COUNT("Draws") FROM table_64311 WHERE "Against" = '797' AND "Wins" > '10'
What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels?
CREATE TABLE table_71745 ( "Year" real, "Opponent" text, "Competition" text, "Score" text, "Venue" text, "Attendance" text )
SELECT COUNT("Year") FROM table_71745 WHERE "Venue" = 'sydney cricket ground' AND "Opponent" = 'parramatta eels'
How many assists did Steve Walker have?
CREATE TABLE table_name_4 ( assists VARCHAR, player VARCHAR )
SELECT assists FROM table_name_4 WHERE player = "steve walker"
Which score happened on 11 february 1996?
CREATE TABLE table_name_37 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_37 WHERE date = "11 february 1996"
which country has brought home the most gold ?
CREATE TABLE table_204_360 ( id number, "year" number, "host" text, "gold" text, "silver" text, "bronze" text )
SELECT "gold" FROM table_204_360 GROUP BY "gold" ORDER BY COUNT(*) DESC LIMIT 1
What is the total number of ranks that had vestron as the studio?
CREATE TABLE table_name_48 ( rank VARCHAR, studio VARCHAR )
SELECT COUNT(rank) FROM table_name_48 WHERE studio = "vestron"
What Catalog came out on August 20, 1965?
CREATE TABLE table_64151 ( "Date" text, "Label" text, "Format" text, "Country" text, "Catalog" text )
SELECT "Catalog" FROM table_64151 WHERE "Date" = 'august 20, 1965'
What is listede for Departure that also has a Station Code of CLT?
CREATE TABLE table_38541 ( "Station Code" text, "Station" text, "Arrival" text, "Departure" text, "Kilometers" real )
SELECT "Departure" FROM table_38541 WHERE "Station Code" = 'clt'
Who did they lose to on may 9?
CREATE TABLE table_56314 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT "Loss" FROM table_56314 WHERE "Date" = 'may 9'
In which state is the Petrie electorate?
CREATE TABLE table_33585 ( "Member" text, "Party" text, "Electorate" text, "State" text, "In office" text )
SELECT "State" FROM table_33585 WHERE "Electorate" = 'petrie'
what's the livingstone with fitzroy being 9499
CREATE TABLE table_17718 ( "Year" real, "Total Region" real, "Rockhampton" real, "Livingstone" real, "Fitzroy" real, "Mt Morgan" real )
SELECT "Livingstone" FROM table_17718 WHERE "Fitzroy" = '9499'
Which Record has a Score of 111 101?
CREATE TABLE table_45799 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text )
SELECT "Record" FROM table_45799 WHERE "Score" = '111–101'
What is the sum of Markatal, when Inhabitants Per Km is less than 13, and when Area (in Km ) is 27?
CREATE TABLE table_name_47 ( markatal INTEGER, inhabitants_per_km² VARCHAR, area__in_km²_ VARCHAR )
SELECT SUM(markatal) FROM table_name_47 WHERE inhabitants_per_km² < 13 AND area__in_km²_ = 27
Which team is from earlier than 1994?
CREATE TABLE table_69579 ( "Year" real, "Team" text, "Chassis" text, "Engine" text, "Rank" text, "Points" real )
SELECT "Team" FROM table_69579 WHERE "Year" < '1994'
What is the result of the friendly match?
CREATE TABLE table_37247 ( "Goal" real, "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_37247 WHERE "Competition" = 'friendly'
What position did the school of alabama draft?
CREATE TABLE table_11216 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text )
SELECT "Position" FROM table_11216 WHERE "School" = 'alabama'
What is the maximum points received when Peeter V hl gave a 9?
CREATE TABLE table_29261215_4 ( points INTEGER, peeter_vähi VARCHAR )
SELECT MIN(points) FROM table_29261215_4 WHERE peeter_vähi = 9
On what date were the Ottawa Swans the away team?
CREATE TABLE table_name_25 ( date VARCHAR, away VARCHAR )
SELECT date FROM table_name_25 WHERE away = "ottawa swans"
Show the number of venue from each venue
CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text )
SELECT Venue, COUNT(Venue) FROM workshop GROUP BY Venue
What is the Right ascension of the Object type spiral galaxy that has an Apparent magnitude larger that 12.2
CREATE TABLE table_name_15 ( right_ascension___j2000__ VARCHAR, object_type VARCHAR, apparent_magnitude VARCHAR )
SELECT right_ascension___j2000__ FROM table_name_15 WHERE object_type = "spiral galaxy" AND apparent_magnitude > 12.2
Who directed Dulcinea?
CREATE TABLE table_10798928_1 ( director VARCHAR, original_title VARCHAR )
SELECT director FROM table_10798928_1 WHERE original_title = "Dulcinea"
How many bronze medals were won in 1998?
CREATE TABLE table_name_27 ( bronze VARCHAR, year VARCHAR )
SELECT bronze FROM table_name_27 WHERE year = "1998"
What is the highest frequency from uncionfeypoder.com?
CREATE TABLE table_name_79 ( frequency INTEGER, website VARCHAR )
SELECT MAX(frequency) FROM table_name_79 WHERE website = "uncionfeypoder.com"
What was the result of Declan Donnellan's nomination?
CREATE TABLE table_name_23 ( result VARCHAR, nominee VARCHAR )
SELECT result FROM table_name_23 WHERE nominee = "declan donnellan"
Name of choice b. Randell is the name of which District Residence?
CREATE TABLE table_name_4 ( district_residence VARCHAR, name VARCHAR )
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
What was the first leg score of the matchup with a 2nd leg of 80-70?
CREATE TABLE table_63986 ( "Team #1" text, "Agg." text, "Team #2" text, "1st leg" text, "2nd leg" text )
SELECT "1st leg" FROM table_63986 WHERE "2nd leg" = '80-70'
What is the number of rank with the viewership of 5.96 million?
CREATE TABLE table_16588 ( "#" real, "Episode" text, "Air Date" text, "Timeslot (EST)" text, "Season" text, "Rating" text, "Share" real, "18\u201349" text, "Viewers (m)" text, "Rank (#)" text )
SELECT COUNT("Rank (#)") FROM table_16588 WHERE "Viewers (m)" = '5.96'
What is the total that had an event of +105 kg and clean & jerk less than 227.5?
CREATE TABLE table_78261 ( "Athlete" text, "Event" text, "Snatch" real, "Clean & Jerk" real, "Total" real )
SELECT COUNT("Total") FROM table_78261 WHERE "Event" = '+105 kg' AND "Clean & Jerk" < '227.5'
Which artists have order number 6?
CREATE TABLE table_74424 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text )
SELECT "Original artist" FROM table_74424 WHERE "Order #" = '6'
What college did the player who played DE go to?
CREATE TABLE table_29215 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "College" FROM table_29215 WHERE "Position" = 'DE'
What is the sum of Game on february 28?
CREATE TABLE table_5067 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT SUM("Game") FROM table_5067 WHERE "Date" = 'february 28'
How many times was the opponent country India?
CREATE TABLE table_21907770_4 ( country VARCHAR, versus VARCHAR )
SELECT COUNT(country) FROM table_21907770_4 WHERE versus = "India"
what is the arrival time where the station code is awy?
CREATE TABLE table_19516 ( "No." real, "Station Code" text, "Station" text, "Arrival" text, "Departure" text, "Kilometers" real, "Day" real )
SELECT "Arrival" FROM table_19516 WHERE "Station Code" = 'AWY'
What is the mascot for the school with a student body larger than 2,191 in Noblesville?
CREATE TABLE table_35444 ( "School" text, "Mascot" text, "Location" text, "Enrollment" real, "IHSAA Class" text, "IHSAA Football Class" text, "County" text )
SELECT "Mascot" FROM table_35444 WHERE "Enrollment" > '2,191' AND "School" = 'noblesville'
HOW MANY YEARS DID MENS DOUBLES PLAYER HEIKI SORGE MEELIS MAISTE PLAY?
CREATE TABLE table_14903627_1 ( year VARCHAR, mens_doubles VARCHAR )
SELECT COUNT(year) FROM table_14903627_1 WHERE mens_doubles = "Heiki Sorge Meelis Maiste"
What is the scoreof the away team Collingwood?
CREATE TABLE table_57691 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_57691 WHERE "Away team" = 'collingwood'
Who was the opponent at the Staples Center?
CREATE TABLE table_51557 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text, "Arena" text )
SELECT "Opponent" FROM table_51557 WHERE "Arena" = 'staples center'
Who is the away team that played home team Footscray?
CREATE TABLE table_55219 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_55219 WHERE "Home team" = 'footscray'
I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011
CREATE TABLE table_name_77 ( plaid_cymru VARCHAR, polling_organisation_client VARCHAR, date_s__conducted VARCHAR )
SELECT plaid_cymru FROM table_name_77 WHERE polling_organisation_client = "yougov/itv wales" AND date_s__conducted = "4 may 2011"
What is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?
CREATE TABLE table_70145 ( "Year" text, "Starts" real, "Cuts made" real, "Wins" real, "Top 10" real, "Top 25" real, "Earnings (\u20ac)" real, "Money list rank" real )
SELECT SUM("Top 10") FROM table_70145 WHERE "Wins" > '2' AND "Top 25" < '16'
What is the nation when gold is 0, bronze is more than 0 and rank is 16?
CREATE TABLE table_name_98 ( nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR )
SELECT nation FROM table_name_98 WHERE gold = 0 AND bronze > 0 AND rank = "16"
What is the name of the team from goreville vienna school?
CREATE TABLE table_58761 ( "Team Name" text, "Schools" text, "Sports" text, "Host" text, "Nickname(s)" text, "Colors" text, "Enrollment (2013/14)" real )
SELECT "Team Name" FROM table_58761 WHERE "Schools" = 'goreville vienna'
What school had a team name of the Trojans?
CREATE TABLE table_37988 ( "School" text, "Team Name" text, "Town" text, "County" text, "School Enrollment (2008\u201310)" real, "Football?" text )
SELECT "School" FROM table_37988 WHERE "Team Name" = 'trojans'
Who is the opponent with 16 points?
CREATE TABLE table_8055 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Falcons points" real, "Opponents" real, "Record" text )
SELECT "Opponent" FROM table_8055 WHERE "Opponents" = '16'
Which date was for Japan?
CREATE TABLE table_51562 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text )
SELECT "Date" FROM table_51562 WHERE "Country" = 'japan'
Who was the partner that played against Serena Williams Venus Williams?
CREATE TABLE table_9885 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Partner" FROM table_9885 WHERE "Opponents in the final" = 'serena williams venus williams'
What is Result, when Venue is G tzis , Austria?
CREATE TABLE table_48395 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Extra" text )
SELECT "Result" FROM table_48395 WHERE "Venue" = 'götzis , austria'
What is the round of player brad winton with a draft before 1983 and a pick less than 132?
CREATE TABLE table_12265 ( "Draft" real, "Round" text, "Pick" real, "Player" text, "Nationality" text )
SELECT "Round" FROM table_12265 WHERE "Draft" < '1983' AND "Pick" < '132' AND "Player" = 'brad winton'
What is the numberof running wiht pamela zapata?
CREATE TABLE table_12407546_2 ( running VARCHAR, athlete VARCHAR )
SELECT COUNT(running) FROM table_12407546_2 WHERE athlete = "Pamela Zapata"
What world record has the 188kg as 187kg?
CREATE TABLE table_64678 ( "World record" text, "Snatch" text, "Akakios Kakiasvilis ( GRE )" text, "188kg" text, "Athens , Greece" text )
SELECT "World record" FROM table_64678 WHERE "188kg" = '187kg'
Name the segment D for umbrellas
CREATE TABLE table_name_60 ( segment_d VARCHAR, segment_a VARCHAR )
SELECT segment_d FROM table_name_60 WHERE segment_a = "umbrellas"
obvious severe non traumatic bleeding
CREATE TABLE table_train_25 ( "id" int, "bleeding" int, "acute_cerebrovascular_accident_cva" bool, "heart_disease" bool, "trauma" bool, "st_segment_elevation_myocardial_infarction_stemi" bool, "NOUSE" float )
SELECT * FROM table_train_25 WHERE bleeding = 1
What position does the winner from Ohio State with 412 points play?
CREATE TABLE table_name_38 ( position VARCHAR, school VARCHAR, points VARCHAR )
SELECT position FROM table_name_38 WHERE school = "ohio state" AND points = "412"
What is the place of the player who scored less than 70?
CREATE TABLE table_47178 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT "Place" FROM table_47178 WHERE "Score" < '70'
What is the average goals against average for those playing more than 78 games?
CREATE TABLE table_67097 ( "Player" text, "Years" text, "Games played" real, "Goals allowed" real, "Goals against average" real )
SELECT AVG("Goals against average") FROM table_67097 WHERE "Games played" > '78'
How far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3?
CREATE TABLE table_name_93 ( to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR )
SELECT to_par FROM table_name_93 WHERE country = "united states" AND score < 72 AND place = "t3" AND player = "ed furgol"
What did the golfer from Australia score?
CREATE TABLE table_name_13 ( score VARCHAR, country VARCHAR )
SELECT score FROM table_name_13 WHERE country = "australia"
What album was the song Shimmy Jimmy from the episode titled Toy to the world on?
CREATE TABLE table_26242 ( "Episode Title" text, "Song(s) Title" text, "Writer" text, "Singer(s)" text, "Album(s)" text )
SELECT "Album(s)" FROM table_26242 WHERE "Episode Title" = 'Toy to the World' AND "Song(s) Title" = 'Shimmy Jimmy'
are more of the amateur draft picks from canada or the united states ?
CREATE TABLE table_204_385 ( id number, "round" number, "pick" number, "player" text, "nationality" text, "college/junior/club team" text )
SELECT "nationality" FROM table_204_385 WHERE "nationality" IN ('canada', 'united states') GROUP BY "nationality" ORDER BY COUNT(*) DESC LIMIT 1
what is the wins when the f/laps is test driver and team is lotus racing?
CREATE TABLE table_44077 ( "Season" text, "Series" text, "Team" text, "Races" text, "Wins" text, "Poles" text, "F/Laps" text, "Podiums" text, "Points" text, "Pos." text )
SELECT "Wins" FROM table_44077 WHERE "F/Laps" = 'test driver' AND "Team" = 'lotus racing'
Who had the high assists while Erick Dampier (8) had the high rebounds?
CREATE TABLE table_17288869_7 ( high_assists VARCHAR, high_rebounds VARCHAR )
SELECT high_assists FROM table_17288869_7 WHERE high_rebounds = "Erick Dampier (8)"
What company is numbered larger than 5 and priced at $389M?
CREATE TABLE table_name_84 ( company VARCHAR, number VARCHAR, price VARCHAR )
SELECT company FROM table_name_84 WHERE number > 5 AND price = "$389m"
What was the record on April 1?
CREATE TABLE table_name_44 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_44 WHERE date = "april 1"
What is the smallest sales area (m ) that has 4,094/m and more than 2 stores?
CREATE TABLE table_4413 ( "Country" text, "Sales (X1000)" text, "No. of stores" real, "Sales area (m\u00b2)" real, "Sales per area" text, "Average store size (m\u00b2)" real )
SELECT MIN("Sales area (m\u00b2)") FROM table_4413 WHERE "Sales per area" = '€4,094/m²' AND "No. of stores" > '2'