sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Translator Call Letters FROM table WHERE Station Call Letters = kcop-dt
CREATE TABLE INST, Here is a database schema( table schema);
What are the translator call letters for station call letters of KCOP-DT?.It is not neccessary to use all the tables.
SELECT call_sign FROM table_name_16 WHERE frequency_mhz < 95.5 AND erp_w > 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the call sign when the frequency is less than 95.5 MHz and a ERP W is higher than 10?It is not neccessary to use all the tables.
SELECT Visitor FROM table WHERE Decision = myre AND Record = 44–7–15
CREATE TABLE INST, Here is a database schema( table schema);
Which Visitor has a Decision of myre, and a Record of 44–7–15?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_15 WHERE week = 9
CREATE TABLE INST, Here is a database schema( table schema);
What was the Opponent in Week 9?It is not neccessary to use all the tables.
SELECT MAX Gold FROM table WHERE Silver = 1 AND Total > 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest gold with 1 silver, and more than 1 altogether?.It is not neccessary to use all the tables.
SELECT no_8 FROM table_name_32 WHERE no_4 = "noah"
CREATE TABLE INST, Here is a database schema( table schema);
What is the No. 8 of the person with a No. 4 of Noah?It is not neccessary to use all the tables.
SELECT 1992 FROM table_name_59 WHERE 1996 = "sf" AND 1993 = "a"
CREATE TABLE INST, Here is a database schema( table schema);
Which 1992 has a 1996 of sf and a 1993 of a?It is not neccessary to use all the tables.
SELECT competition FROM table_name_97 WHERE date = "6/7/03"
CREATE TABLE INST, Here is a database schema( table schema);
What competition was held on the date 6/7/03It is not neccessary to use all the tables.
SELECT money___$__ FROM table_name_43 WHERE player = "jerry pate"
CREATE TABLE INST, Here is a database schema( table schema);
What was the money value for Jerry Pate?It is not neccessary to use all the tables.
SELECT "driver" FROM table_204_853 WHERE "team" = 'roush racing' ORDER BY "pos" LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
which driver placed highest for roush racing ?It is not neccessary to use all the tables.
SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard"
CREATE TABLE INST, Here is a database schema( table schema);
What is the yacht type of Icap Leopard?It is not neccessary to use all the tables.
SELECT Equipment FROM table WHERE Bike No = 3
CREATE TABLE INST, Here is a database schema( table schema);
Name the equipment for bike number being 3.It is not neccessary to use all the tables.
SELECT liscumb FROM table_11447995_2 WHERE haydon = "1632"
CREATE TABLE INST, Here is a database schema( table schema);
What is Liscumb when Haydon is 1632?It is not neccessary to use all the tables.
SELECT MIN Total (kg) FROM table WHERE Clean & Jerk < 153 AND Snatch < 100
CREATE TABLE INST, Here is a database schema( table schema);
Which Total (kg) has a Clean & Jerk smaller than 153, and a Snatch smaller than 100?.It is not neccessary to use all the tables.
SELECT country_region FROM table_20780285_1 WHERE presenters = "Silvio Santos"
CREATE TABLE INST, Here is a database schema( table schema);
Silvio Santos is the presenter in what country?It is not neccessary to use all the tables.
SELECT AVG Market Value (billion $) FROM table WHERE Assets (billion $) < 1,705.35 AND Sales (billion $) = 175.05 AND Rank < 19
CREATE TABLE INST, Here is a database schema( table schema);
What is the average market value in billions of the company with less than 1,705.35 billions in assets, sales of 175.05 billions, and is ranked less than 19?.It is not neccessary to use all the tables.
SELECT MAX(legs_won) FROM table_27906667_2 WHERE player = "Alan Tabern"
CREATE TABLE INST, Here is a database schema( table schema);
How many legs were own by alan tabern?It is not neccessary to use all the tables.
SELECT "Name" FROM table_77070 WHERE "Overall" < '175' AND "College" = 'georgia'
CREATE TABLE INST, Here is a database schema( table schema);
What is Name, when Overall is less than 175, and when College is 'Georgia'?It is not neccessary to use all the tables.
SELECT drawn FROM table_name_86 WHERE lost = "3" AND points = "88"
CREATE TABLE INST, Here is a database schema( table schema);
Name the drawn with lost of 3 and points of 88It is not neccessary to use all the tables.
SELECT bulletins_to_all_contacts FROM table_name_69 WHERE creator = "gg network"
CREATE TABLE INST, Here is a database schema( table schema);
Were there Bulletins to all contacts of the license created by GG Network?It is not neccessary to use all the tables.
SELECT MIN(heat) FROM table_name_5 WHERE time = "2:34.94"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest heat number for a swimmer with a time of 2:34.94?It is not neccessary to use all the tables.
SELECT MAX(frequency) FROM table_name_4 WHERE callsign = "kbdr"
CREATE TABLE INST, Here is a database schema( table schema);
What's the highest frequency of the KBDR callsign?It is not neccessary to use all the tables.
SELECT COUNT(rebounds) FROM table_23346303_4 WHERE player = "Crystal Ayers"
CREATE TABLE INST, Here is a database schema( table schema);
How many rebounds did crystal ayers have?It is not neccessary to use all the tables.
SELECT AVG Rank FROM table WHERE Earnings( $ ) < 3,069,633
CREATE TABLE INST, Here is a database schema( table schema);
What is the average rank of someone who earned smaller than 3,069,633?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = june 14
CREATE TABLE INST, Here is a database schema( table schema);
What was the record for the date of June 14?.It is not neccessary to use all the tables.
SELECT dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = "53%"
CREATE TABLE INST, Here is a database schema( table schema);
What is Dennis Kucinich when % of All is "53%"?It is not neccessary to use all the tables.
SELECT muzzle_energy FROM table_name_16 WHERE source = "hornady"
CREATE TABLE INST, Here is a database schema( table schema);
What is Muzzle energy, when Source is hornady?It is not neccessary to use all the tables.
SELECT Airport FROM table WHERE Country = vietnam
CREATE TABLE INST, Here is a database schema( table schema);
What airport is in Vietnam?.It is not neccessary to use all the tables.
SELECT host_country___countries FROM table_name_42 WHERE silver = "[[|]] (2)" AND bronze = "czechoslovakia (3)"
CREATE TABLE INST, Here is a database schema( table schema);
What was the host country when the silver was [[|]] (2) and bronze is czechoslovakia (3)?It is not neccessary to use all the tables.
SELECT COUNT(_percentage_of_all_immigrants_2007) FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2005 = "1.2%"
CREATE TABLE INST, Here is a database schema( table schema);
How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005?It is not neccessary to use all the tables.
SELECT date FROM table_name_65 WHERE site = "louisiana superdome • new orleans, la"
CREATE TABLE INST, Here is a database schema( table schema);
What is Date, when Site is 'Louisiana Superdome New Orleans, LA'?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Record = 27-28-11
CREATE TABLE INST, Here is a database schema( table schema);
On which date was the record of 27-28-11 set?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Tournament = olympic games
CREATE TABLE INST, Here is a database schema( table schema);
Where was the Olympic Games held?.It is not neccessary to use all the tables.
SELECT MIN(preliminaries) FROM table_name_94 WHERE evening_gown = 8.472
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Preliminary score of a contestant that has an Evening Gown score of 8.472?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Against = Austria
CREATE TABLE INST, Here is a database schema( table schema);
What were the round results when Hanne Skak Jensen faced Austria?.It is not neccessary to use all the tables.
SELECT player FROM table_name_33 WHERE cfl_team = "hamilton"
CREATE TABLE INST, Here is a database schema( table schema);
which player played on Team Hamilton?It is not neccessary to use all the tables.
SELECT Division North FROM table WHERE Division Southwest = novaci AND Division West = vrapčište
CREATE TABLE INST, Here is a database schema( table schema);
Who won Division North when Division Southwest was won by Novaci and Division West by Vrapčište?.It is not neccessary to use all the tables.
SELECT MAX Rank FROM table WHERE Notes = sa/b AND Time = 6:52.70
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest rank for a 6:52.70 time and notes of sa/b?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Nationality = united states AND Jersey Number(s) = 12 AND Player = tom black category:articles with hcards
CREATE TABLE INST, Here is a database schema( table schema);
What is Postition, when Nationality is United States, when Jersey Number(s) is 12, and when Player is Tom Black Category:Articles With hCards?.It is not neccessary to use all the tables.
SELECT Local Affairs FROM table WHERE Human Resources & Operations = n. charles hamilton
CREATE TABLE INST, Here is a database schema( table schema);
Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton?.It is not neccessary to use all the tables.
SELECT AVG(slalom) FROM table_name_5 WHERE average > 99.25
CREATE TABLE INST, Here is a database schema( table schema);
What's the slalom when the average time was greater than 99.25?It is not neccessary to use all the tables.
SELECT team FROM table_name_28 WHERE manager = "david o'leary"
CREATE TABLE INST, Here is a database schema( table schema);
Which team does David O'leary manage?It is not neccessary to use all the tables.
SELECT major_instrument_s_ FROM table_10416547_1 WHERE duration = "4:32"
CREATE TABLE INST, Here is a database schema( table schema);
What is the major instrument of the song that lasts 4:32?It is not neccessary to use all the tables.
SELECT skip FROM table_name_17 WHERE lead = "gordon mcdougall"
CREATE TABLE INST, Here is a database schema( table schema);
Which skip's lead is Gordon McDougall?It is not neccessary to use all the tables.
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(EMPLOYEE_ID) DESC
CREATE TABLE INST, Here is a database schema( table schema);
For all employees who have the letters D or S in their first name, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart, show y axis in desc order.It is not neccessary to use all the tables.
SELECT df FROM table_23835213_2 WHERE adam_hinshelwood = "Junior Mendes"
CREATE TABLE INST, Here is a database schema( table schema);
What is the df when Adam Hinshelwood is Junior Mendes?It is not neccessary to use all the tables.
SELECT COUNT(high_rebounds) FROM table_22669044_9 WHERE location_attendance = "United Center 19,335"
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of high rebounds for united center 19335It is not neccessary to use all the tables.
SELECT Fleet number(s) FROM table WHERE Quantity made = 13
CREATE TABLE INST, Here is a database schema( table schema);
Which fleet numbers has quanitity of 13?.It is not neccessary to use all the tables.
SELECT MIN(tries_for) FROM table_16770037_4 WHERE w = 4
CREATE TABLE INST, Here is a database schema( table schema);
Name the least tries for when w is 4It is not neccessary to use all the tables.
SELECT MIN(effic) FROM table_name_20 WHERE name = "total"
CREATE TABLE INST, Here is a database schema( table schema);
What was the total effic for the quarterbacks?It is not neccessary to use all the tables.
SELECT township FROM table_18600760_18 WHERE land___sqmi__ = "34.781"
CREATE TABLE INST, Here is a database schema( table schema);
What township is 34.781 square miles?It is not neccessary to use all the tables.
SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series"
CREATE TABLE INST, Here is a database schema( table schema);
What is Tournament when Career SR is "ATP Masters Series"?It is not neccessary to use all the tables.
SELECT Winning time (km rate) FROM table WHERE Odds of winner = 2.94
CREATE TABLE INST, Here is a database schema( table schema);
What was the winning time in the year when the odds of the winner were 2.94?.It is not neccessary to use all the tables.
SELECT COUNT(original_air_date) FROM table_18428024_3 WHERE no_in_series = 360
CREATE TABLE INST, Here is a database schema( table schema);
What is the original air date in series 360?It is not neccessary to use all the tables.
SELECT SUM Drawn FROM table WHERE Lost > 1 AND Games < 5
CREATE TABLE INST, Here is a database schema( table schema);
Name the sum of drawn with lost more than 1 and games less than 5.It is not neccessary to use all the tables.
SELECT Written by FROM table WHERE Production code = 1ANJ01
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode with production code 1ANJ01?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Round = world group
CREATE TABLE INST, Here is a database schema( table schema);
What is Opponent, when Round is World Group?.It is not neccessary to use all the tables.
SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers"
CREATE TABLE INST, Here is a database schema( table schema);
who is the home team when the away team is wolverhampton wanderers?It is not neccessary to use all the tables.
SELECT finalists FROM table_name_88 WHERE not_winning_editions = "2008, 2012, 2013"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Finalists that has 2008 2012 2013 as Not winning editionsIt is not neccessary to use all the tables.
SELECT nhl_team FROM table_1013129_8 WHERE player = "Mike Loach"
CREATE TABLE INST, Here is a database schema( table schema);
Which NHL team has player Mike Loach?It is not neccessary to use all the tables.
SELECT partner FROM table_name_94 WHERE surface = "hard" AND score = "6–3, 7–6(0)"
CREATE TABLE INST, Here is a database schema( table schema);
What is Partner when Surface is Hard and when Score is 6–3 7–6(0)?It is not neccessary to use all the tables.
SELECT title FROM table_name_65 WHERE year = 1940
CREATE TABLE INST, Here is a database schema( table schema);
In what title did he act in 1940?It is not neccessary to use all the tables.
SELECT COUNT Laps FROM table WHERE Grid = 10
CREATE TABLE INST, Here is a database schema( table schema);
When the grid number is 10, what is the total number of laps?.It is not neccessary to use all the tables.
SELECT MIN("Goals") FROM table_76138 WHERE "Goals/Matches" > '0.43' AND "Name" = 'joachim streich' AND "Matches" > '378'
CREATE TABLE INST, Here is a database schema( table schema);
What are the lowest goal that have goals/matches greater than 0.43 with joachim streich as the name and matches greater than 378?It is not neccessary to use all the tables.
SELECT ticket_price_s_ FROM table_name_56 WHERE date_s_ = "september 16, 1986"
CREATE TABLE INST, Here is a database schema( table schema);
What was the ticket price on September 16 1986?It is not neccessary to use all the tables.
SELECT 2001 FROM table WHERE 1990 = a AND 1987 = nme AND 1997 = 1r
CREATE TABLE INST, Here is a database schema( table schema);
What is 2001, when 1990 is A, when 1987 is NME, and when 1997 is 1R?.It is not neccessary to use all the tables.
SELECT MIN(score) FROM table_name_79 WHERE place = "t10" AND country = "ireland"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest score that has t10 as the place with Ireland as the country?It is not neccessary to use all the tables.
SELECT * FROM employees WHERE salary BETWEEN (SELECT MIN(salary) FROM employees) AND 2500
CREATE TABLE INST, Here is a database schema( table schema);
display all the information of the employees whose salary if within the range of smallest salary and 2500.It is not neccessary to use all the tables.
SELECT team FROM table_name_7 WHERE run_4 = "1:24.4"
CREATE TABLE INST, Here is a database schema( table schema);
Which team had a run 4 of 1:24.4?It is not neccessary to use all the tables.
SELECT Grid FROM table WHERE Laps = 23 AND Rider = josh brookes
CREATE TABLE INST, Here is a database schema( table schema);
What grid has 23 laps done by Josh Brookes?.It is not neccessary to use all the tables.
SELECT Engine FROM table WHERE Chassis = connaught type b AND Year > 1957
CREATE TABLE INST, Here is a database schema( table schema);
What 1957 engine has a Chassis of connaught type b?.It is not neccessary to use all the tables.
SELECT "Location" FROM table_29085 WHERE "Opposition" = 'Mid Canterbury'
CREATE TABLE INST, Here is a database schema( table schema);
What is the location when the opposition is mid canterbury?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Points = 2343
CREATE TABLE INST, Here is a database schema( table schema);
what is the person there the numbers is 2343.It is not neccessary to use all the tables.
SELECT COUNT(laps) FROM table_name_7 WHERE driver = "eddie irvine"
CREATE TABLE INST, Here is a database schema( table schema);
How many laps in total does the driver named Eddie Irvine have?It is not neccessary to use all the tables.
SELECT SUM(gold) FROM table_name_29 WHERE rank = 7 AND bronze = 1 AND silver < 0
CREATE TABLE INST, Here is a database schema( table schema);
How many gold have a Rank of 7 and a Bronze of 1 and a Silver smaller than 0?It is not neccessary to use all the tables.
SELECT "Years of Kindergarten legally required" FROM table_22252 WHERE "Canton" = 'Zug'
CREATE TABLE INST, Here is a database schema( table schema);
How many years is kindergarten legally requited in Zug?It is not neccessary to use all the tables.
SELECT Package FROM table WHERE EEPROM < 128
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the package for EEPROM less than 128.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Race = Monaco Grand Prix
CREATE TABLE INST, Here is a database schema( table schema);
What was the date for monaco grand prix?.It is not neccessary to use all the tables.
SELECT nickname FROM table_name_98 WHERE location = "fairfax, va"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nickname of the school located in Fairfax VA?It is not neccessary to use all the tables.
SELECT constructor FROM table_name_11 WHERE grid < 17 AND laps < 52 AND driver = "olivier panis"
CREATE TABLE INST, Here is a database schema( table schema);
Which Constructor has a Grid less than 17 Laps under 52 and Olivier Panis as the Driver?It is not neccessary to use all the tables.
SELECT MIN(attempts) FROM table_19418696_3 WHERE name = "Bobby Layne"
CREATE TABLE INST, Here is a database schema( table schema);
How many attempts for Bobby Layne?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Engine Make/Capacity = jawa 350cc
CREATE TABLE INST, Here is a database schema( table schema);
What country had the car with the Jawa 350cc engine?.It is not neccessary to use all the tables.
SELECT Final Episode FROM table WHERE Position = DEA Agent
CREATE TABLE INST, Here is a database schema( table schema);
What was the final episode for Dea Agent?.It is not neccessary to use all the tables.
SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota"
CREATE TABLE INST, Here is a database schema( table schema);
What is the record for the game against team @ Minnesota?It is not neccessary to use all the tables.
SELECT original_air_date FROM table_22570439_1 WHERE written_by = "Tracy Poust & Jon Kinnally"
CREATE TABLE INST, Here is a database schema( table schema);
What is the original air date where tracy poust & jon kinnally was written by?It is not neccessary to use all the tables.
SELECT COUNT WD No. FROM table WHERE LMS No. = 7638
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of wd number for lms number being 7638.It is not neccessary to use all the tables.
SELECT COUNT(frequency_mhz) FROM table_name_19 WHERE call_sign = "kgrj" AND erp_w > 21 OFFSET 500
CREATE TABLE INST, Here is a database schema( table schema);
What is the total frequency mhz of the kgrj call sign which has an erp w greater than 21500?It is not neccessary to use all the tables.
SELECT Money ( $ ) FROM table WHERE Score = 69-71-69-72=281
CREATE TABLE INST, Here is a database schema( table schema);
What is the Money of the Player with a Score of 69-71-69-72=281?.It is not neccessary to use all the tables.
SELECT COUNT(*), city_code FROM student GROUP BY city_code HAVING COUNT(*) > 1
CREATE TABLE INST, Here is a database schema( table schema);
Find the number of students for the cities where have more than one student.It is not neccessary to use all the tables.
SELECT MAX No. in season FROM table WHERE Original Air date = October20,2012
CREATE TABLE INST, Here is a database schema( table schema);
which episode of the season aired on october20,2012.It is not neccessary to use all the tables.
SELECT prominence__m_ FROM table_name_88 WHERE col__m_ > 2012 AND peak = "mount kazbek"
CREATE TABLE INST, Here is a database schema( table schema);
With a Col (m) larger than 2012 what is Mount Kazbek's Prominence (m)?It is not neccessary to use all the tables.
SELECT percentage___percentage_ FROM table_name_11 WHERE number = "1 343"
CREATE TABLE INST, Here is a database schema( table schema);
Name the percentage with number of 1 343It is not neccessary to use all the tables.
SELECT meter_500, ID FROM swimmer
CREATE TABLE INST, Here is a database schema( table schema);
Return a bar chart about the distribution of meter_500 and ID .It is not neccessary to use all the tables.
SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar"
CREATE TABLE INST, Here is a database schema( table schema);
how many equivalent daily inflation rate with currency name being republika srpska dinarIt is not neccessary to use all the tables.
SELECT career_w_l FROM table_name_83 WHERE tournament = "grand slam tournaments"
CREATE TABLE INST, Here is a database schema( table schema);
What is the value for Career W-L for the Grand Slam Tournaments?It is not neccessary to use all the tables.
SELECT Status FROM table WHERE New points = 1720
CREATE TABLE INST, Here is a database schema( table schema);
If new points is 1720, what is the status?.It is not neccessary to use all the tables.
SELECT COUNT(week) FROM table_name_12 WHERE result = "bye"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of weeks where the result was listed at bye?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Country = united states AND Total > 145
CREATE TABLE INST, Here is a database schema( table schema);
Who was the player from the United States, with a total larger than 145?.It is not neccessary to use all the tables.
SELECT institutional_authority FROM table_name_67 WHERE rocket_launch = "rehnuma-10"
CREATE TABLE INST, Here is a database schema( table schema);
Which Institutional authority has a Rocket launch of rehnuma-10?It is not neccessary to use all the tables.
SELECT Event FROM table WHERE Prize = €869,000
CREATE TABLE INST, Here is a database schema( table schema);
What Event has a Prize of €869,000?.It is not neccessary to use all the tables.