answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23
What is the highest win percentage when there were 23 losses?
CREATE TABLE table_name_18 (win_percentage INTEGER, losses VARCHAR)
SELECT sixth FROM table_17111812_1 WHERE eighth = "Marcos Hernandez"
When the 8th is Marcos Hernandez who was the 6th?
CREATE TABLE table_17111812_1 (sixth VARCHAR, eighth VARCHAR)
SELECT location_attendance FROM table_name_51 WHERE game = 6
What was the Location and Attendance of Game 6?
CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR)
SELECT SUM(fatalities) FROM table_name_62 WHERE aircraft_type = "lockheed l-1049g"
How many fatalities shows for the lockheed l-1049g?
CREATE TABLE table_name_62 (fatalities INTEGER, aircraft_type VARCHAR)
SELECT SUM(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_Name = "photo"
What are the total order quantities of photo products?
CREATE TABLE ORDER_ITEMS (Order_Quantity INTEGER, Product_ID VARCHAR); CREATE TABLE Products (Product_ID VARCHAR, Product_Name VARCHAR)
SELECT british FROM table_name_88 WHERE examples = "exit"
Which British has Examples of exit?
CREATE TABLE table_name_88 (british VARCHAR, examples VARCHAR)
SELECT title FROM table_name_11 WHERE rank < 19 AND gross = "$11,833,696"
Which title ranked lower than 19 has a gross of $11,833,696?
CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, gross VARCHAR)
SELECT COUNT(county) FROM table_1350350_2 WHERE per_capita_income = "$20,101"
how many county with per capita income being $20,101
CREATE TABLE table_1350350_2 (county VARCHAR, per_capita_income VARCHAR)
SELECT AVG(pick) FROM table_name_82 WHERE player = "willie white" AND round < 2
What is the average Pick, when Player is "Willie White",and when Round is less than 2?
CREATE TABLE table_name_82 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT MAX(debut_year) FROM table_name_95 WHERE player = "noel carroll" AND games < 12
Which Debut year has a Player of noel carroll, and Games smaller than 12?
CREATE TABLE table_name_95 (debut_year INTEGER, player VARCHAR, games VARCHAR)
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE school_club_team_country = "Iowa State"
How may times did a player that attended Iowa state appear on the all time roster?
CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, school_club_team_country VARCHAR)
SELECT COUNT(enrollment) FROM table_22171978_1 WHERE athletic_nickname = "Golden Knights"
For the athletic nickname of golden knights how many entries are shown for enrollment?
CREATE TABLE table_22171978_1 (enrollment VARCHAR, athletic_nickname VARCHAR)
SELECT MAX(weight) FROM table_name_37 WHERE result = "–" AND distance = "7f"
What is the largest weight wth a Result of –, and a Distance of 7f?
CREATE TABLE table_name_37 (weight INTEGER, result VARCHAR, distance VARCHAR)
SELECT game_site FROM table_name_84 WHERE match_report = "recap" AND week = 7
Which game site has a recap as the match report for week 7?
CREATE TABLE table_name_84 (game_site VARCHAR, match_report VARCHAR, week VARCHAR)
SELECT tyre FROM table_name_71 WHERE circuit = "zandvoort"
What tyre was used in the Zandvoort circuit?
CREATE TABLE table_name_71 (tyre VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_43 WHERE circuit = "circuit zandvoort"
Which Winning Driver has a Circuit of circuit zandvoort?
CREATE TABLE table_name_43 (winning_driver VARCHAR, circuit VARCHAR)
SELECT country FROM table_name_15 WHERE notes = "qs" AND rank = 8
Which country was ranked 8 and noted as qs?
CREATE TABLE table_name_15 (country VARCHAR, notes VARCHAR, rank VARCHAR)
SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"
What's the volume:issue of Sheryl Crow with 3 weeks on top?
CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
SELECT transfer_window FROM table_name_16 WHERE name = "habarugira"
What is the transfer period for habarugira?
CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR)
SELECT COUNT(game) FROM table_name_69 WHERE opponent = "los angeles kings" AND january > 5
What is the total number of games of the team against the Los Angeles Kings after January 5?
CREATE TABLE table_name_69 (game VARCHAR, opponent VARCHAR, january VARCHAR)
SELECT runner_up FROM table_25058269_1 WHERE season = "2007–08"
In season 2007–08 who is the runner-up?
CREATE TABLE table_25058269_1 (runner_up VARCHAR, season VARCHAR)
SELECT MIN(rank) FROM table_name_79 WHERE year > 2009 AND accolade = "125 best albums of the past 25 years"
What was the lowest rank after 2009 with an accolade of 125 best albums of the past 25 years?
CREATE TABLE table_name_79 (rank INTEGER, year VARCHAR, accolade VARCHAR)
SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00"
What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR)
SELECT MAX(points_against) FROM table_26200568_16 WHERE club = "Toronto Rebels"
How many points were scored against the Toronto Rebels?
CREATE TABLE table_26200568_16 (points_against INTEGER, club VARCHAR)
SELECT T2.customer_last_name, T1.customer_id, T2.phone_number FROM Orders AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1
What is the customer last name, id and phone number with most number of orders?
CREATE TABLE Orders (customer_id VARCHAR); CREATE TABLE Customers (customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)
SELECT visitor FROM table_name_29 WHERE record = "30–19–9"
Who was the visiting team at the game when the Canadiens had a record of 30–19–9?
CREATE TABLE table_name_29 (visitor VARCHAR, record VARCHAR)
SELECT circuit FROM table_26686908_2 WHERE date = "25–28 March"
Which circuit was held on 25–28 march?
CREATE TABLE table_26686908_2 (circuit VARCHAR, date VARCHAR)
SELECT opponent_in_final FROM table_name_31 WHERE surface = "hard" AND date = "13 january 1992"
What is Opponent in Final, when Surface is "Hard", and when Date is "13 January 1992"?
CREATE TABLE table_name_31 (opponent_in_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT round_2 FROM table_name_56 WHERE round_4 = "double" AND round_3 = "single"
What is Round 2 when Round 4 is Double and Round 3 is Single?
CREATE TABLE table_name_56 (round_2 VARCHAR, round_4 VARCHAR, round_3 VARCHAR)
SELECT COUNT(title) FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44"
How many titles are listed with 8.44 million viewers?
CREATE TABLE table_24910733_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT candidates FROM table_1342370_39 WHERE district = "South Carolina 2"
who is the candidate in district south carolina 2?
CREATE TABLE table_1342370_39 (candidates VARCHAR, district VARCHAR)
SELECT points AS defending FROM table_24431264_17 WHERE player = "Marion Bartoli"
List the total defensive points for marion bartoli.
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)
SELECT score FROM table_name_84 WHERE record = "25-41-9"
What was the score when they had a 25-41-9 record?
CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)
SELECT record FROM table_name_14 WHERE date = "november 22"
What is the record of the game on November 22?
CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR)
SELECT wins FROM table_18018248_2 WHERE goals_scored = 58
How many wins had 58 goals scored?
CREATE TABLE table_18018248_2 (wins VARCHAR, goals_scored VARCHAR)
SELECT MIN(first_elected) FROM table_1341604_26 WHERE incumbent = "Ike Skelton"
What year was ike skelton first elected?
CREATE TABLE table_1341604_26 (first_elected INTEGER, incumbent VARCHAR)
SELECT to_par FROM table_name_92 WHERE score = 71 - 70 - 72 - 68 = 281
What was the to par when the score was 71-70-72-68=281?
CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR)
SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100
What is the province for with the stadium capacity of 5100?
CREATE TABLE table_27369069_4 (province VARCHAR, stadium_capacity VARCHAR)
SELECT COUNT(*) FROM Products_for_hire WHERE NOT product_id IN (SELECT product_id FROM products_booked WHERE booked_amount > 200)
How many products are never booked with amount higher than 200?
CREATE TABLE products_booked (product_id VARCHAR, booked_amount INTEGER); CREATE TABLE Products_for_hire (product_id VARCHAR, booked_amount INTEGER)
SELECT actor FROM table_name_85 WHERE duration = "17 years" AND character = "harold bishop"
Which actor played Harold Bishop for 17 years?
CREATE TABLE table_name_85 (actor VARCHAR, duration VARCHAR, character VARCHAR)
SELECT COUNT(position) FROM table_name_7 WHERE against < 28 AND team = "americano-sp" AND played > 8
How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?
CREATE TABLE table_name_7 (position VARCHAR, played VARCHAR, against VARCHAR, team VARCHAR)
SELECT mountains_classification FROM table_23157997_13 WHERE youth_classification = "Nick Frey" AND points_classification = "Tom Zirbel"
Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?
CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR, points_classification VARCHAR)
SELECT strongs_words_compounded FROM table_1242447_1 WHERE english_spelling = "Jonadab"
What is the strongs words compounded when the english spelling is jonadab?
CREATE TABLE table_1242447_1 (strongs_words_compounded VARCHAR, english_spelling VARCHAR)
SELECT MAX(crowd) FROM table_name_62 WHERE home_team = "hawthorn"
What is the largest crowd with Home team of hawthorn?
CREATE TABLE table_name_62 (crowd INTEGER, home_team VARCHAR)
SELECT population FROM table_name_65 WHERE former_local_authority = "audenshaw urban district"
What was the population of the area that was formerly under the authority of the Audenshaw Urban District?
CREATE TABLE table_name_65 (population VARCHAR, former_local_authority VARCHAR)
SELECT original_air_date FROM table_17355820_1 WHERE directed_by = "TR Babu Subramaniam"
On which dates did the episodes directed by TR Babu Subramaniam air?
CREATE TABLE table_17355820_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT MIN(attendance) FROM table_name_95 WHERE record = "50-36"
What was the lowest attendance at the game with a record of 50-36?
CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)
SELECT density__hab__km²__ FROM table_name_53 WHERE population__hab_ = "58 414*"
What is the Density (hab/ km²) when the population (hab) is 58 414*?
CREATE TABLE table_name_53 (density__hab__km²__ VARCHAR, population__hab_ VARCHAR)
SELECT COUNT(*) FROM exhibition WHERE YEAR >= 2005
How many exhibition are there in year 2005 or after?
CREATE TABLE exhibition (YEAR VARCHAR)
SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC LIMIT 1
List the industry shared by the most companies.
CREATE TABLE Companies (Industry VARCHAR)
SELECT MIN(rank__night_) FROM table_name_91 WHERE rating / SHARE(18 - 49) = 2.6 / 8 AND episode > 1
What is the lowest nightly rank for an episode after episode 1 with a rating/share of 2.6/8?
CREATE TABLE table_name_91 (rank__night_ INTEGER, episode VARCHAR, rating VARCHAR)
SELECT MAX(domestic_freight) FROM table_name_23 WHERE change = "+9,8%" AND total_freight_and_mail > 3 OFFSET 278
What is the most domestic freight with a change of +9,8% and a total freight and mail of more than 3,278?
CREATE TABLE table_name_23 (domestic_freight INTEGER, change VARCHAR, total_freight_and_mail VARCHAR)
SELECT time FROM table_name_22 WHERE opponent = "tony mendoza"
What was the time for the event in which Tony Mendoza was the opponent?
CREATE TABLE table_name_22 (time VARCHAR, opponent VARCHAR)
SELECT SUM(T2.room_count) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.facility_code = "Gym"
Show the total number of rooms of all apartments with facility code "Gym".
CREATE TABLE Apartments (room_count INTEGER, apt_id VARCHAR); CREATE TABLE Apartment_Facilities (apt_id VARCHAR, facility_code VARCHAR)
SELECT MAX(attendance) FROM table_16661199_2 WHERE giants_points = 10
Name the most attendance for giants points of 10
CREATE TABLE table_16661199_2 (attendance INTEGER, giants_points VARCHAR)
SELECT primary__6_13_years_ FROM table_25042332_22 WHERE preschool__0_5_years_ = "38.14"
What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?
CREATE TABLE table_25042332_22 (primary__6_13_years_ VARCHAR, preschool__0_5_years_ VARCHAR)
SELECT date FROM table_name_51 WHERE away_team = "sheffield wednesday"
On what date was the away team Sheffield Wednesday?
CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR)
SELECT high_points FROM table_22883210_11 WHERE game = 5
When 5 is the game who has the highest amount of points?
CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR)
SELECT record FROM table_name_13 WHERE visitor = "golden state warriors" AND date = "11/18"
What was the record from the Golden State Warriors on 11/18?
CREATE TABLE table_name_13 (record VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT championships FROM table_name_1 WHERE established > 2005
Which championship was established after 2005?
CREATE TABLE table_name_1 (championships VARCHAR, established INTEGER)
SELECT coach FROM table_name_27 WHERE losses = 15
Which Notre Dame coach lost 15 games?
CREATE TABLE table_name_27 (coach VARCHAR, losses VARCHAR)
SELECT COUNT(*), sex FROM student WHERE age > (SELECT AVG(age) FROM student) GROUP BY sex
Find the number of students whose age is older than the average age for each gender.
CREATE TABLE student (sex VARCHAR, age INTEGER)
SELECT SUM(year) FROM table_name_29 WHERE final_position___tour = 88 AND final_position___giro < 11
What year was the rider with a final position-tour of 88 and less than 11 final position-giros?
CREATE TABLE table_name_29 (year INTEGER, final_position___tour VARCHAR, final_position___giro VARCHAR)
SELECT country FROM table_name_20 WHERE gdp__nominal_ = "$29.9 billion"
Which country has a GDP (nominal) of $29.9 billion?
CREATE TABLE table_name_20 (country VARCHAR, gdp__nominal_ VARCHAR)
SELECT us_modern_rock FROM table_name_90 WHERE code = "bad 0003"
What is the US modern rock rank of code bad 0003?
CREATE TABLE table_name_90 (us_modern_rock VARCHAR, code VARCHAR)
SELECT MIN(draws) FROM table_name_62 WHERE losses = 5 AND byes > 0
What is the lowest draw that has 5 losses and byes greater than 0?
CREATE TABLE table_name_62 (draws INTEGER, losses VARCHAR, byes VARCHAR)
SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4
Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4?
CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR)
SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr"
What is the status in the district with the incumbent Bob Barr?
CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR)
SELECT home_team AS score FROM table_name_61 WHERE venue = "mcg"
What was the home team score for the game played at MCG?
CREATE TABLE table_name_61 (home_team VARCHAR, venue VARCHAR)
SELECT years FROM table_29743928_4 WHERE name = "Chris Konopka Category:Articles with hCards"
When chris konopka category:articles with hcards is the name what is the year?
CREATE TABLE table_29743928_4 (years VARCHAR, name VARCHAR)
SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = "20th"
How many years did BBC One rank 20th?
CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR)
SELECT writer_s_ FROM table_10953197_3 WHERE production_code = "2394084"
Who are the writer(s) for the production code 2394084
CREATE TABLE table_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR)
SELECT country FROM table_name_35 WHERE to_par = "–1"
What is the Country of the Player with a To par of –1?
CREATE TABLE table_name_35 (country VARCHAR, to_par VARCHAR)
SELECT COUNT(bronze) FROM table_name_16 WHERE silver = 0 AND sport = "wrestling" AND total > 3
Tell me the total number of bronze for silver being 0 and sport of wrestling and total more than 3
CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR)
SELECT type FROM table_name_23 WHERE distance = "km (mi)" AND course = "sorrento to sapri"
What type is the sorrento to sapri course with a distance of km (mi)?
CREATE TABLE table_name_23 (type VARCHAR, distance VARCHAR, course VARCHAR)
SELECT 1998 FROM table_name_97 WHERE tournament = "canada"
What Tournament of canada happened in 1998?
CREATE TABLE table_name_97 (tournament VARCHAR)
SELECT current_club FROM table_12962773_1 WHERE player = "Nikolaos Chatzivrettas"
what's current club with player being nikolaos chatzivrettas
CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR)
SELECT side FROM table_name_74 WHERE identification = "ludovico carracci"
Which side has Ludovico Carracci listed as the identification?
CREATE TABLE table_name_74 (side VARCHAR, identification VARCHAR)
SELECT MIN(crude_death_rate__per_1000_) FROM table_name_51 WHERE deaths = "768" AND crude_birth_rate__per_1000_ < 29.7
Which Crude death rate (per 1000) has Deaths of 768, and a Crude birth rate (per 1000) smaller than 29.7?
CREATE TABLE table_name_51 (crude_death_rate__per_1000_ INTEGER, deaths VARCHAR, crude_birth_rate__per_1000_ VARCHAR)
SELECT name FROM table_name_61 WHERE roll < 81 AND area = "dalefield"
What school in Dalefield has a roll less than 81?
CREATE TABLE table_name_61 (name VARCHAR, roll VARCHAR, area VARCHAR)
SELECT flno, distance FROM Flight ORDER BY price DESC LIMIT 1
Show the flight number and distance of the flight with maximum price.
CREATE TABLE Flight (flno VARCHAR, distance VARCHAR, price VARCHAR)
SELECT away_team FROM table_name_24 WHERE venue = "arden street oval"
Who was the away team at Arden Street Oval?
CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)
SELECT score_in_the_final FROM table_name_98 WHERE opponent_in_the_final = "john mcenroe" AND championship = "los angeles , u.s."
What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."?
CREATE TABLE table_name_98 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)
SELECT AVG(pick__number) FROM table_name_21 WHERE college = "carson-newman" AND round < 7
What's the average draft pick number from Carson-Newman College before Round 7?
CREATE TABLE table_name_21 (pick__number INTEGER, college VARCHAR, round VARCHAR)
SELECT date FROM table_name_6 WHERE game < 5 AND location = "oakland-alameda county coliseum" AND time = "3:40"
What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5?
CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR, game VARCHAR, location VARCHAR)
SELECT MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250
What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against?
CREATE TABLE table_name_22 (draws INTEGER, against VARCHAR, losses VARCHAR, geelong_fl VARCHAR)
SELECT result FROM table_name_87 WHERE date = "october 20, 2002"
What was the result on October 20, 2002?
CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
SELECT mi_from_kingston FROM table_16226584_1 WHERE length_feet = 362
When the railroad length is 362 feet how many miles is it from kingston?
CREATE TABLE table_16226584_1 (mi_from_kingston VARCHAR, length_feet VARCHAR)
SELECT winner FROM table_name_43 WHERE time = "1:10.60" AND owner = "leslie combs ii"
What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II?
CREATE TABLE table_name_43 (winner VARCHAR, time VARCHAR, owner VARCHAR)
SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile"
What is the average year they finished 5th in santiago, chile?
CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR)
SELECT prefecture FROM table_2518850_4 WHERE city_town = "Daito"
In what prefecture is Daito located?
CREATE TABLE table_2518850_4 (prefecture VARCHAR, city_town VARCHAR)
SELECT surface FROM table_name_94 WHERE date = "2 june 2003"
What Surface was used on 2 June 2003?
CREATE TABLE table_name_94 (surface VARCHAR, date VARCHAR)
SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk"
For what 188kg is the world record clean & jerk?
CREATE TABLE table_name_96 (world_record VARCHAR)
SELECT MAX(bronze) FROM table_name_39 WHERE silver > 0 AND gold = 7 AND total < 29
What is the highest Bronze with a Silver greater than 0 and a Gold of 7 and a total less than 29
CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277
What is the money for the player with a score of 68-69-67-73=277?
CREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR)
SELECT COUNT(drawn) FROM table_name_43 WHERE goals_against > 74 AND lost < 20 AND played > 38
How much Drawn has Goals Against larger than 74, and a Lost smaller than 20, and a Played larger than 38?
CREATE TABLE table_name_43 (drawn VARCHAR, played VARCHAR, goals_against VARCHAR, lost VARCHAR)
SELECT date FROM table_name_44 WHERE killed = "2" AND location = "jaffa"
What date has 2 for killed, and jaffa as the location?
CREATE TABLE table_name_44 (date VARCHAR, killed VARCHAR, location VARCHAR)
SELECT works_number FROM table_name_20 WHERE builder = "canadian engine & machinery company" AND number < 3
Which Works number has a Builder of canadian engine & machinery company, and a Number smaller than 3?
CREATE TABLE table_name_20 (works_number VARCHAR, builder VARCHAR, number VARCHAR)
SELECT receipts_per_arrival_2010__col_2___col_1____usd__ FROM table_name_71 WHERE selected_caribbean_and_n_latin_america_countries = "colombia (1)"
What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1) as the selected carribean and latin american country?
CREATE TABLE table_name_71 (receipts_per_arrival_2010__col_2___col_1____usd__ VARCHAR, selected_caribbean_and_n_latin_america_countries VARCHAR)
SELECT tournament FROM table_name_11 WHERE surface = "grass" AND opponent_in_the_final = "paul baccanello"
Name the tournament for grass surface and opponent in the final being paul baccanello
CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)