question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Seasonhas a Score of 3 – 3 aet , 4–3 pen?
CREATE TABLE table_name_52 (season INTEGER, score VARCHAR)
SELECT MAX(season) FROM table_name_52 WHERE score = "3 – 3 aet , 4–3 pen"
What is the low score for TO par +2 in japan?
CREATE TABLE table_name_5 (score INTEGER, to_par VARCHAR, country VARCHAR)
SELECT MIN(score) FROM table_name_5 WHERE to_par = "+2" AND country = "japan"
Who was the partner for the jazz piece in the bottom three?
CREATE TABLE table_name_40 (partner VARCHAR, style VARCHAR, results VARCHAR)
SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three"
when province is monseñor nouel, what is the area (km²)?
CREATE TABLE table_1888051_1 (area__km²_ VARCHAR, province VARCHAR)
SELECT area__km²_ FROM table_1888051_1 WHERE province = "Monseñor Nouel"
How many different engines are there for the model with model designation 97G00?
CREATE TABLE table_20866024_2 (engine VARCHAR, model_designation VARCHAR)
SELECT COUNT(engine) FROM table_20866024_2 WHERE model_designation = "97G00"
Which team is located in Leicester?
CREATE TABLE table_name_36 (team VARCHAR, location VARCHAR)
SELECT team FROM table_name_36 WHERE location = "leicester"
Name the average Independent with a Green larger than 7, and a Conservative smaller than 0?
CREATE TABLE table_name_35 (independent INTEGER, green VARCHAR, conservative VARCHAR)
SELECT AVG(independent) FROM table_name_35 WHERE green > 7 AND conservative < 0
Name the location for democratic méga-plex taschereau imax
CREATE TABLE table_2461720_1 (location VARCHAR, theatre_name VARCHAR)
SELECT location FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX"
Show the first names and last names of customers without any account.
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)
SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id
Find the players' first name and last name who won award both in 1960 and in 1961.
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR); CREATE TABLE player_award (year VARCHAR)
SELECT T1.name_first, T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year = 1960 INTERSECT SELECT T1.name_first, T1.name_last FROM player AS T1 JOIN player_award AS T2 WHERE T2.year = 1961
How many different actors from the Second national tour year 2 played the character played by Oliver Tompsett from the original West End cast?
CREATE TABLE table_19529639_3 (second_national_tour_year_2 VARCHAR, original_west_end_cast VARCHAR)
SELECT COUNT(second_national_tour_year_2) FROM table_19529639_3 WHERE original_west_end_cast = "Oliver Tompsett"
What geographical region is contestant laura jiménez ynoa from?
CREATE TABLE table_24192031_2 (geographical_regions VARCHAR, contestant VARCHAR)
SELECT geographical_regions FROM table_24192031_2 WHERE contestant = "Laura Jiménez Ynoa"
What is the to par when the year(s) won is larger than 1999?
CREATE TABLE table_name_53 (to_par VARCHAR, year_s__won INTEGER)
SELECT to_par FROM table_name_53 WHERE year_s__won > 1999
What's the transcription of the thai name of the month พฤษภาคม?
CREATE TABLE table_180802_2 (transcription VARCHAR, thai_name VARCHAR)
SELECT transcription FROM table_180802_2 WHERE thai_name = "พฤษภาคม"
Who was the director of the episode written by Russell T Davies and James Moran?
CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR)
SELECT director FROM table_name_67 WHERE writer = "russell t davies and james moran"
What is the desired rate when the rate limit (p) is 50.33?
CREATE TABLE table_25316812_1 (desired_rate__p_ VARCHAR, rate_limit__p_ VARCHAR)
SELECT desired_rate__p_ FROM table_25316812_1 WHERE rate_limit__p_ = "50.33"
What is the route/via when the train name is Parasuram Express?
CREATE TABLE table_29202276_2 (route_via VARCHAR, train_name VARCHAR)
SELECT route_via FROM table_29202276_2 WHERE train_name = "Parasuram Express"
How many silver medals did the team that had 5 bronze and less than 16 gold have?
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16
What was the winning score in the tournament, ending with Birdie Kim as a runner-up?
CREATE TABLE table_1940012_2 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT winning_score FROM table_1940012_2 WHERE runner_s__up = "Birdie Kim"
Who is the GamePlan when Jacqueline King is the actor in the original production?
CREATE TABLE table_name_71 (gameplan VARCHAR, actor_in_original_production VARCHAR)
SELECT gameplan FROM table_name_71 WHERE actor_in_original_production = "jacqueline king"
Please list the location and the winning aircraft name.
CREATE TABLE MATCH (Location VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)
SELECT T2.Location, T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft
Players of judith wiesner and alex antonitsch had what match w-l?
CREATE TABLE table_name_64 (matches_w_l VARCHAR, players VARCHAR)
SELECT matches_w_l FROM table_name_64 WHERE players = "judith wiesner and alex antonitsch"
Who was the succesor that was formally installed on November 8, 1978?
CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978"
What is the average Attendance, when Venue is "Candlestick Park", and when Date is "November 25"?
CREATE TABLE table_name_54 (attendance INTEGER, venue VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_54 WHERE venue = "candlestick park" AND date = "november 25"
Which is the category of the group was establishe in 1990?
CREATE TABLE table_name_8 (category VARCHAR, established VARCHAR)
SELECT category FROM table_name_8 WHERE established = 1990
What is the most recent year where the average start is 8.5?
CREATE TABLE table_2190919_1 (year INTEGER, avg_start VARCHAR)
SELECT MAX(year) FROM table_2190919_1 WHERE avg_start = "8.5"
What was the high assist total on May 11?
CREATE TABLE table_11963536_11 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_11963536_11 WHERE date = "May 11"
Find the id of songs that are available in mp4 format and have resolution lower than 1000.
CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)
SELECT f_id FROM files WHERE formats = "mp4" INTERSECT SELECT f_id FROM song WHERE resolution < 1000
What is the description for the livery Br Grey?
CREATE TABLE table_name_81 (description VARCHAR, livery VARCHAR)
SELECT description FROM table_name_81 WHERE livery = "br grey"
What were the drawn with points against at 416?
CREATE TABLE table_12828723_5 (drawn VARCHAR, points_against VARCHAR)
SELECT drawn FROM table_12828723_5 WHERE points_against = "416"
How many times was the motorcycle ducati 916 2nd place when wins is less than 7?
CREATE TABLE table_name_14 (motorcycle VARCHAR, wins VARCHAR)
SELECT SUM(2 AS nd_pl) FROM table_name_14 WHERE motorcycle = "ducati 916" AND wins < 7
How many records are there for the games that took place on January 14.
CREATE TABLE table_13619135_5 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_13619135_5 WHERE date = "January 14"
What is the literary traidtion for the film in english in 2011?
CREATE TABLE table_name_74 (literary_tradition VARCHAR, language_s_ VARCHAR, year VARCHAR)
SELECT literary_tradition FROM table_name_74 WHERE language_s_ = "english" AND year = 2011
What is the number of votes of candidate edward mahama, who had 0.9% share of votes?
CREATE TABLE table_name_82 (number_of_votes VARCHAR, candidate VARCHAR, share_of_votes VARCHAR)
SELECT number_of_votes FROM table_name_82 WHERE candidate = "edward mahama" AND share_of_votes = "0.9%"
What is the away team score of Melbourne?
CREATE TABLE table_name_54 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne"
What was the result on October 4, 1993?
CREATE TABLE table_name_48 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_48 WHERE date = "october 4, 1993"
Which Scrapped/Sold has a Builder of derby, and a Name as rebuilt of ben madigan?
CREATE TABLE table_name_74 (scrapped_sold VARCHAR, builder VARCHAR, name_as_rebuilt VARCHAR)
SELECT scrapped_sold FROM table_name_74 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan"
Which Eviction result has a Net vote of 31.86%?
CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR)
SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%"
What is the production number of 3-04?
CREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR)
SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04"
List the weight of the body builders who have snatch score higher than 140 or have the height greater than 200.
CREATE TABLE people (weight VARCHAR, people_id VARCHAR, height VARCHAR); CREATE TABLE body_builder (people_id VARCHAR, snatch VARCHAR)
SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200
Who was the visitor on March 17?
CREATE TABLE table_name_53 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_53 WHERE date = "march 17"
What is the Theme when Fontella Bass was the original artist?
CREATE TABLE table_name_73 (theme VARCHAR, original_artist VARCHAR)
SELECT theme FROM table_name_73 WHERE original_artist = "fontella bass"
What is the rank for the player with events greater than 23 and prize money in excess of $823,783?
CREATE TABLE table_name_33 (rank VARCHAR, events VARCHAR, prize_money__$__ VARCHAR)
SELECT COUNT(rank) FROM table_name_33 WHERE events > 23 AND prize_money__$__ > 823 OFFSET 783
what is the title for director p.j. hogan?
CREATE TABLE table_name_15 (title VARCHAR, director VARCHAR)
SELECT title FROM table_name_15 WHERE director = "p.j. hogan"
With a Division II of Portsmouth, what is the Division IV?
CREATE TABLE table_name_35 (division_iV VARCHAR, division_iII VARCHAR, portsmouth VARCHAR)
SELECT division_iV FROM table_name_35 WHERE division_iII = portsmouth
What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995
CREATE TABLE table_name_94 (assists VARCHAR, blocks VARCHAR, year VARCHAR)
SELECT assists FROM table_name_94 WHERE blocks = "2 tied (1)" AND year > 1995
Which Losses have a Name of jimmy clausen?
CREATE TABLE table_name_39 (losses INTEGER, name VARCHAR)
SELECT AVG(losses) FROM table_name_39 WHERE name = "jimmy clausen"
What is the number of the player who came from Virginia?
CREATE TABLE table_name_29 (no_s_ VARCHAR, school_club_team_country VARCHAR)
SELECT no_s_ FROM table_name_29 WHERE school_club_team_country = "virginia"
Name the average attendance with dallas visitor
CREATE TABLE table_name_78 (attendance INTEGER, visitor VARCHAR)
SELECT AVG(attendance) FROM table_name_78 WHERE visitor = "dallas"
What is the Venue which has a Wi by 8 wkts?
CREATE TABLE table_name_9 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_9 WHERE result = "wi by 8 wkts"
what is the year when the role/episode is david duchovny?
CREATE TABLE table_name_82 (year VARCHAR, role_episode VARCHAR)
SELECT year FROM table_name_82 WHERE role_episode = "david duchovny"
What is the name of the building at Aston?
CREATE TABLE table_name_59 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_59 WHERE location = "aston"
What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010?
CREATE TABLE table_name_90 (rank INTEGER, code__iata_icao_ VARCHAR)
SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735
Show the id of each employee and the number of document destruction authorised by that employee.
CREATE TABLE Documents_to_be_destroyed (Destruction_Authorised_by_Employee_ID VARCHAR)
SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
Name the date of birth for 27/07/86
CREATE TABLE table_22705586_1 (name VARCHAR, date_of_birth VARCHAR)
SELECT name FROM table_22705586_1 WHERE date_of_birth = "27/07/86"
Which Score has an Opponent in the final of chris haggard robbie koenig?
CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
What is the age of Fred Gibson?
CREATE TABLE table_name_15 (age__as_of_1_february_2014_ VARCHAR, name VARCHAR)
SELECT age__as_of_1_february_2014_ FROM table_name_15 WHERE name = "fred gibson"
What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan?
CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR)
SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan"
What is the RAtt when the comp is 48?
CREATE TABLE table_name_49 (ratt VARCHAR, comp VARCHAR)
SELECT ratt FROM table_name_49 WHERE comp = "48"
What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?
CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)
SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)"
Who leads the general classification in stage 3?
CREATE TABLE table_26010857_13 (general_classification VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_26010857_13 WHERE stage = 3
What is the 1955 rate when the 1956 is more than 2.9, and 1953 is larger than 4.5?
CREATE TABLE table_name_7 (Id VARCHAR)
SELECT SUM(1955) FROM table_name_7 WHERE 1956 > 2.9 AND 1953 > 4.5
For each zip code, return the average mean temperature of August there.
CREATE TABLE weather (zip_code VARCHAR, mean_temperature_f INTEGER, date VARCHAR)
SELECT zip_code, AVG(mean_temperature_f) FROM weather WHERE date LIKE "8/%" GROUP BY zip_code
What team played in the Bundesliga league with an Away record of 2-1?
CREATE TABLE table_name_6 (teams VARCHAR, league VARCHAR, away VARCHAR)
SELECT teams FROM table_name_6 WHERE league = "bundesliga" AND away = "2-1"
What is the name of the customer who has made the minimum amount of payment in one claim?
CREATE TABLE claim_headers (amount_piad INTEGER); CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (policy_id VARCHAR, amount_piad INTEGER)
SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_piad = (SELECT MIN(amount_piad) FROM claim_headers)
What is Player, when Year(s) Won is before 1961, and when To Par is 6?
CREATE TABLE table_name_42 (player VARCHAR, year_s__won VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_42 WHERE year_s__won < 1961 AND to_par = 6
What county won in 1991?
CREATE TABLE table_name_14 (country VARCHAR, year_s__won VARCHAR)
SELECT country FROM table_name_14 WHERE year_s__won = "1991"
How many times was the award inte awards?
CREATE TABLE table_name_90 (year VARCHAR, award VARCHAR)
SELECT COUNT(year) FROM table_name_90 WHERE award = "inte awards"
Which Tournament has a Surface of carpet, and a Date smaller than 1995, and an Opponent in the final of ken flach robert seguso?
CREATE TABLE table_name_56 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_56 WHERE surface = "carpet" AND date < 1995 AND opponent_in_the_final = "ken flach robert seguso"
Who was the outgoing manager when the incoming manager was augusto inácio?
CREATE TABLE table_name_53 (outgoing_manage VARCHAR, incoming_manager VARCHAR)
SELECT outgoing_manage FROM table_name_53 WHERE incoming_manager = "augusto inácio"
What category was Brian D'arcy James nominated for?
CREATE TABLE table_name_6 (category VARCHAR, nominee VARCHAR, result VARCHAR)
SELECT category FROM table_name_6 WHERE nominee = "brian d'arcy james" AND result = "nominated"
How many South Asians on average were in Alberta in 2001 and in 2011 had 159,055?
CREATE TABLE table_name_86 (south_asians_2001 INTEGER, province VARCHAR, south_asians_2011 VARCHAR)
SELECT AVG(south_asians_2001) FROM table_name_86 WHERE province = "alberta" AND south_asians_2011 > 159 OFFSET 055
I want the away team score for away team of fitzroy
CREATE TABLE table_name_41 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_41 WHERE away_team = "fitzroy"
What is the name of the player who competed in the Women's Individual Class 3 in Table Tennis?
CREATE TABLE table_name_38 (name VARCHAR, sport VARCHAR, event VARCHAR)
SELECT name FROM table_name_38 WHERE sport = "table tennis" AND event = "women's individual class 3"
What was the score of the game at the Broadmoor Arena?
CREATE TABLE table_name_38 (score VARCHAR, arena VARCHAR)
SELECT score FROM table_name_38 WHERE arena = "broadmoor arena"
What is the most draws when goals against are more than 33, losses are 13 and goals for is less than 51?
CREATE TABLE table_name_1 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, losses VARCHAR)
SELECT MAX(draws) FROM table_name_1 WHERE goals_against > 33 AND losses = 13 AND goals_for < 51
On the album titled “Loud” who was the other performer on the song directed by Melina Matsoukas?
CREATE TABLE table_name_4 (other_performer_s_ VARCHAR, director_s_ VARCHAR, album VARCHAR)
SELECT other_performer_s_ FROM table_name_4 WHERE director_s_ = "melina matsoukas" AND album = "loud"
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 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7"
What is the teaching language for a less than 2 year duration and less than 65 ECTS credit points?
CREATE TABLE table_name_51 (teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR)
SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65
What is time of manufacturer with grid 21?
CREATE TABLE table_name_56 (time VARCHAR, grid VARCHAR)
SELECT time FROM table_name_56 WHERE grid = 21
What is the A.G. value associated with D3&4 of 46 and transmitter of Seaham?
CREATE TABLE table_name_73 (ag VARCHAR, transmitter VARCHAR, d3 VARCHAR)
SELECT ag FROM table_name_73 WHERE d3 & 4 = "46" AND transmitter = "seaham"
Which MLS team picked player Jason Herrick?
CREATE TABLE table_29626583_3 (mls_team VARCHAR, player VARCHAR)
SELECT mls_team FROM table_29626583_3 WHERE player = "Jason Herrick"
Name the maximum wins for 68.75%
CREATE TABLE table_15829930_5 (wins INTEGER, success_rate VARCHAR)
SELECT MAX(wins) FROM table_15829930_5 WHERE success_rate = "68.75%"
What episode titles have 20.94 million U.S. viewers?
CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "20.94"
What is the population density of the area with a population larger than 92,719?
CREATE TABLE table_name_83 (pop_dens VARCHAR, population INTEGER)
SELECT COUNT(pop_dens) FROM table_name_83 WHERE population > 92 OFFSET 719
Whose permanent address is different from his or her current address? List his or her first name.
CREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)
SELECT first_name FROM Students WHERE current_address_id <> permanent_address_id
Which Notes has a Venue of barcelona, spain?
CREATE TABLE table_name_89 (notes VARCHAR, venue VARCHAR)
SELECT notes FROM table_name_89 WHERE venue = "barcelona, spain"
In how many locations was the episode with the Bailey family filmed?
CREATE TABLE table_19897294_10 (location_s_ VARCHAR, family_families VARCHAR)
SELECT COUNT(location_s_) FROM table_19897294_10 WHERE family_families = "The Bailey Family"
What is the total code number for Amadiba?
CREATE TABLE table_name_54 (code VARCHAR, place VARCHAR)
SELECT COUNT(code) FROM table_name_54 WHERE place = "amadiba"
What was the aggregate in the match with a team 1 of Dinamo Minsk?
CREATE TABLE table_name_27 (agg VARCHAR, team_1 VARCHAR)
SELECT agg FROM table_name_27 WHERE team_1 = "dinamo minsk"
What date was the game with a score of 5–2, and a Loss of lilly (9–9)?
CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR, loss VARCHAR)
SELECT date FROM table_name_98 WHERE score = "5–2" AND loss = "lilly (9–9)"
Tell me the constructor that has 35 Laps with a grid more than 5
CREATE TABLE table_name_61 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_61 WHERE laps = 35 AND grid > 5
What was the score fore the away team Dartford?
CREATE TABLE table_name_88 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_88 WHERE away_team = "dartford"
What was the earliest game with a record of 23–6–4?
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_48 WHERE record = "23–6–4"
WHAT IS THE TRIES AGAINST WITH PLAYED 22, POINTS AGAINST 784?
CREATE TABLE table_name_1 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR)
SELECT tries_against FROM table_name_1 WHERE played = "22" AND points_against = "784"
What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR)
SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8
How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?
CREATE TABLE table_name_68 (points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR)
SELECT points FROM table_name_68 WHERE year < 1977 AND engine = "cosworth v8" AND entrant = "hb bewaking alarm systems"
What was the rank in 1955?
CREATE TABLE table_name_89 (rank VARCHAR, year VARCHAR)
SELECT rank FROM table_name_89 WHERE year = "1955"
How many goals did he have in the bundesliga with under 7 appearances?
CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR)
SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7
What is the sum of the FAC/LC apps with less than 25 PC apps and a UEFA YC less than 0?
CREATE TABLE table_name_11 (fac___lc_apps INTEGER, pl_apps VARCHAR, UEfa_yc VARCHAR)
SELECT SUM(fac___lc_apps) FROM table_name_11 WHERE pl_apps < 25 AND UEfa_yc < 0