sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT COUNT(episode_count) FROM table_name_86 WHERE viewers__in_millions_ = 7.79
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many total episodes aired over all seasons with 7.79 million viewers?It is not neccessary to use all the tables.
|
SELECT General classification FROM table WHERE Stage = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the general classification of stage 3.It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Away team = st kilda
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which venue has St Kilda as the away team?.It is not neccessary to use all the tables.
|
SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What 2007 has wimbledon as the tournament?It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Date = march 21
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the record of the game on March 21?.It is not neccessary to use all the tables.
|
SELECT MAX(pick__number) FROM table_20170644_1 WHERE cfl_team = "BC Lions (via Hamilton via Winnipeg )"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?It is not neccessary to use all the tables.
|
SELECT COUNT Hancock % FROM table WHERE Starky % = 20.96%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many times was hancock % considered when starky % was 20.96%.It is not neccessary to use all the tables.
|
SELECT ACC_Percent, All_Games_Percent FROM basketball_match GROUP BY Team_Name
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Return a scatter chart about the correlation between ACC_Percent and All_Games_Percent , and group by attribute Team_Name.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Partner = kira nagy
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what Date was the match with partner Kira Nagy?.It is not neccessary to use all the tables.
|
SELECT Sanskrit gloss FROM table WHERE Western name = Sagittarius
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When Sagittarius is the wester name what is the sanskrit gloss?.It is not neccessary to use all the tables.
|
SELECT communist_ticket FROM table_name_63 WHERE office = "judge of the court of appeals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name on the Communist ticket with an Office of judge of the court of appeals?It is not neccessary to use all the tables.
|
SELECT AVG Week FROM table WHERE Opponent = baltimore colts AND Attendance < 41,062
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average week for the game against baltimore colts with less than 41,062 in attendance?.It is not neccessary to use all the tables.
|
SELECT SUM(week) FROM table_name_34 WHERE result_score = "w 51-29"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many weeks have w 51-29 as the result/score?It is not neccessary to use all the tables.
|
SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In what League is Left Wing Yanick Dupre?It is not neccessary to use all the tables.
|
SELECT Successor FROM table WHERE Reason for change = Died January 16, 1944
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the successor for the reason for change being "died January 16, 1944?.It is not neccessary to use all the tables.
|
SELECT SUM(lane) FROM table_name_48 WHERE heat_rank = 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In heat rank 7, what is the sum of lanes?It is not neccessary to use all the tables.
|
SELECT Rank FROM table WHERE Name = Thomas Morgenstern
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the rank for thomas morgenstern.It is not neccessary to use all the tables.
|
SELECT engine FROM table_name_50 WHERE entrant = "garvey team lotus"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What engine does Garvey Team Lotus use?It is not neccessary to use all the tables.
|
SELECT majority FROM table_name_8 WHERE clone_independence = "no"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the majority when the clone independence is no?It is not neccessary to use all the tables.
|
SELECT Goals Against FROM table WHERE Goals Scored = 30
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the goals against listed when the goals scored is 30?.It is not neccessary to use all the tables.
|
SELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = "4.08"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the original air date of the episode that had 4.08 million U.S. viewers?It is not neccessary to use all the tables.
|
SELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = "33"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number for combaya municipality when quiabaya municipality is 33?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_50 WHERE december > 29
|
CREATE TABLE INST, Here is a database schema( table schema);
|
after december 29 what is the score?It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many characteristics does the product named 'sesame' have?It is not neccessary to use all the tables.
|
SELECT COUNT Match no. FROM table WHERE Team Europe = Osku Palermaa
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many match numbers have team europe listed as osku palermaa?.It is not neccessary to use all the tables.
|
SELECT Outcome FROM table WHERE Score = 3-6, 2-6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the outcome of the match with a score of 3-6, 2-6?.It is not neccessary to use all the tables.
|
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY All_Home
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Give me the comparison about Team_ID over the All_Home , and group by attribute ACC_Home by a bar chart, and list from low to high by the All_Home please.It is not neccessary to use all the tables.
|
SELECT opponent_in_the_final FROM table_name_62 WHERE score_in_the_final = "6–2, 6–3, 2–6, 7–5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Opponent in the final has a Score in the final of 6–2 6–3 2–6 7–5?It is not neccessary to use all the tables.
|
SELECT "Team" FROM table_29477 WHERE "Date of vacancy" = '8 Dec 2010'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the team with the date of vacancy 8 dec 2010?It is not neccessary to use all the tables.
|
SELECT COUNT(podiums) FROM table_name_31 WHERE position = "2nd" AND wins < 6 AND poles > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of Podiums when Position is "2nd" when Wins is less than 6 and when Poles is greater than 0?It is not neccessary to use all the tables.
|
SELECT MIN(ranking) FROM table_name_51 WHERE total = 23
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest ranking associated with a total of 23?It is not neccessary to use all the tables.
|
SELECT AVG Attendance FROM table WHERE Home = san jose
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average attendance San Jose home games?.It is not neccessary to use all the tables.
|
SELECT Scientific pitch FROM table WHERE Helmholtz pitch = d
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the scientific pitch when the Helmholtz pitch is D?.It is not neccessary to use all the tables.
|
SELECT NTSC M FROM table WHERE PAL M = 525/60
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the NTSC M for Pal M 525/60?.It is not neccessary to use all the tables.
|
SELECT Played in FROM table WHERE Matches = 16
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Where were 16 matches played?.It is not neccessary to use all the tables.
|
SELECT ship_size FROM table_name_57 WHERE 2006 = "$31,750"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What ship size had a cargo value of $31750 in 2006?It is not neccessary to use all the tables.
|
SELECT Frequency FROM table WHERE Callsign = dybt
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the frequency for the station with DYBT as its callsign?.It is not neccessary to use all the tables.
|
SELECT SUM(size_km²) FROM table_name_52 WHERE density_hab_km = 8 OFFSET 321
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the size km² when the density hab/km is 8321?It is not neccessary to use all the tables.
|
SELECT result FROM table_name_86 WHERE opponent = "clemson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result against Clemson?It is not neccessary to use all the tables.
|
SELECT score FROM table_name_76 WHERE date = "11 march 2001"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Score on 11 march 2001?It is not neccessary to use all the tables.
|
SELECT country FROM table_name_17 WHERE player = "tiger woods"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What country does Tiger Woods play for?It is not neccessary to use all the tables.
|
SELECT Route Name FROM table WHERE Termini = fm 1472 sh 255
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What route has termini of fm 1472 sh 255?.It is not neccessary to use all the tables.
|
SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many prizes were available when Jenny Shin became the champion?It is not neccessary to use all the tables.
|
SELECT AVG(region) FROM table_name_43 WHERE area__km_2__ = 451.79 AND population < 496 OFFSET 257
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average region that has an Area (km 2 ) of 451.79 and a Population under 496257?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Team = @ Toronto
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date did the Pistons play @ toronto?.It is not neccessary to use all the tables.
|
SELECT rank__week_ FROM table_name_77 WHERE share > 7 AND rating / SHARE(18 - 49) = 2.3 / 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the weekly rank for the episode with a share over 7 and a rating/share of 2.3/7?It is not neccessary to use all the tables.
|
SELECT COUNT Rank FROM table WHERE Gold = 0 AND Nation = namibia AND Total < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1?.It is not neccessary to use all the tables.
|
SELECT original_air_date FROM table_29391888_1 WHERE season__number = 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the original air date for the season# 2?It is not neccessary to use all the tables.
|
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show all artist names and the number of exhibitions for each artist.It is not neccessary to use all the tables.
|
SELECT DISTINCT course_offering.end_time, course_offering.start_time, semester.semester, semester.year FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'LAW' AND course.number = 438 AND semester.semester = 'semester0' AND semester.semester_id = course_offering.semester AND semester.year = year0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When in the morning is the LAW 438 course ?It is not neccessary to use all the tables.
|
SELECT founded FROM table_28253870_1 WHERE institution = "Florida State University"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the founded for florida state universityIt is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE First round = 1:00
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Team had the first round of 1:00?.It is not neccessary to use all the tables.
|
SELECT Civilian deaths FROM table WHERE Total deaths (not including foreigners) = 178
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many civilians died in the conflict that left 178, excluding foreigners, dead?.It is not neccessary to use all the tables.
|
SELECT Event FROM table WHERE Distance = ft10in (m)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which event has a distance of ft10in (m)?.It is not neccessary to use all the tables.
|
SELECT AVG(points) FROM table_name_37 WHERE games = 17 AND losses > 15
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number of points for a team that played 17 games and had more than 15 losses?It is not neccessary to use all the tables.
|
SELECT Directed by FROM table WHERE Title = "Tjockare än vatten"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who directed the totle "tjockare än vatten"?.It is not neccessary to use all the tables.
|
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY booking_status_code DESC
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many bookings does each booking status have? List the booking status code and the number of corresponding bookings with a bar chart, order X from high to low order.It is not neccessary to use all the tables.
|
SELECT MIN Points FROM table WHERE Chassis = kurtis kraft 3000 AND Year < 1951
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the least points with chassis of kurtis kraft 3000 and year before 1951.It is not neccessary to use all the tables.
|
SELECT league_id FROM salary GROUP BY league_id ORDER BY sum(salary) DESC LIMIT 1
|
CREATE TABLE INST, Here is a database schema( hall of fame);
|
What is the top league that pays the most to their players?. It is not neccessary to use all the tables.
|
SELECT MAX(game) FROM table_16710829_2 WHERE attendance = 54774
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the max game for attendance being 54774It is not neccessary to use all the tables.
|
SELECT surface FROM table_name_66 WHERE outcome = "runner-up" AND partner = "ivan lendl" AND score_in_the_final = "2–6, 6–7"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what surface was Ivan Lendl a partner with a runner-up outcome and final score of 2–6 6–7?It is not neccessary to use all the tables.
|
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When Paul Whiting won the mixed veteran who won the mixed restricted?It is not neccessary to use all the tables.
|
SELECT name FROM organization
|
CREATE TABLE INST, Here is a database schema( table schema);
|
return me all the organizations .It is not neccessary to use all the tables.
|
SELECT streak FROM table_name_30 WHERE date = "november 14"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On what date did a streak start on November 14?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Outcome = runner-up AND Tournament = marco island
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of the marco island tournament match when Kathleen Horvath won runner-up?.It is not neccessary to use all the tables.
|
SELECT City FROM table WHERE Capacity = 41,311
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the city with a capacity of 41,311?.It is not neccessary to use all the tables.
|
SELECT COUNT High assists FROM table WHERE Date = February 24
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many different high assists results are there for the game played on February 24?.It is not neccessary to use all the tables.
|
SELECT position FROM table_name_95 WHERE points = 30 AND passenger = "reiner stuyvenberg"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which position has 30 points and Reiner Stuyvenberg as a passenger?It is not neccessary to use all the tables.
|
SELECT gzip FROM table WHERE StuffIt = no AND bzip2 = no AND LHA/LZH = no
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the gzip value associated with a stuffit of no, bzip2 of no, and LHA.LZH of no?.It is not neccessary to use all the tables.
|
SELECT MIN(elimination_number) FROM table_18598175_2 WHERE time = "27:27"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the elimination number of the fighter who fought within 27:27?It is not neccessary to use all the tables.
|
SELECT Literate Male FROM table WHERE % of District Population = 6.65
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many literate males are there that has a district population of 6.65?.It is not neccessary to use all the tables.
|
SELECT hometown FROM table_name_19 WHERE player = "ray drew"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which hometown has a player of Ray Drew?It is not neccessary to use all the tables.
|
SELECT "Team" FROM table_5975 WHERE "Rank" > '5' AND "Rider" = 'paul shoesmith'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Rank larger than 5, and a Rider of paul shoesmith belongs to what team?It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE Player = anders forsbrand
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Anders Forsbrand's Place?.It is not neccessary to use all the tables.
|
SELECT 2004 FROM table_name_32 WHERE 2005 = "a" AND 2009 = "q1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result for 2004 when A is the result for 2005 and the result of q1 when 2009?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_32 WHERE attendance = "73,428"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which opponent had 73428 in attendance?It is not neccessary to use all the tables.
|
SELECT result FROM table_name_78 WHERE director = "mirza idrizović category:articles with hcards"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Result, when Director is Mirza Idrizovi category:articles with hcards?It is not neccessary to use all the tables.
|
SELECT COUNT Field Goals FROM table WHERE Points = 597
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many field goals had 597 points?.It is not neccessary to use all the tables.
|
SELECT COUNT(*) FROM inst
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many institutions are there?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_87 WHERE loan_expires = "end of the season" AND position = "mf"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date has a loan expires date of end of the season and a Position of mf?It is not neccessary to use all the tables.
|
SELECT player FROM table_name_51 WHERE place = "t5" AND score = 69 - 66 - 71 = 206
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who is the player when the place is t5 and the score is 69-66-71=206?It is not neccessary to use all the tables.
|
SELECT prefix FROM table_name_75 WHERE formula = "rsor'"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the prefix for the formula of Rsor'?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Score = score
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date was the score "score"?.It is not neccessary to use all the tables.
|
SELECT Rank (timeslot) FROM table WHERE Viewers (millions) = 11.59
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the rank timeslot for 11.59 viewers.It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Score = 7 - 2
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What record was reached with a score of 7 - 2?.It is not neccessary to use all the tables.
|
SELECT scientific_name FROM table_175442_1 WHERE common_name = "Veiled chameleon"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the scientific name for veiled chameleonIt is not neccessary to use all the tables.
|
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 20 AND date_day.month_number = 1 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time > 1200 AND flight.flight_days = days.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
show me all flights from BOSTON to ATLANTA which leave ATLANTA after 1200 tomorrowIt is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE Round = 20
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What venue was round 20 held at?.It is not neccessary to use all the tables.
|
SELECT location FROM table_1715730_2 WHERE enrollment = 4259
|
CREATE TABLE INST, Here is a database schema( table schema);
|
where is the enrollment 4259?It is not neccessary to use all the tables.
|
SELECT Home FROM table WHERE Date = january 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
On January 5 who was the home team?.It is not neccessary to use all the tables.
|
SELECT COUNT(first_elected) FROM table_1805191_48 WHERE district = "Washington 4"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many categories of first elected are in Washington 4 district?It is not neccessary to use all the tables.
|
SELECT "Largest ethnic group (2002)" FROM table_3330 WHERE "Population (2011)" = '24112'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the largest ethnic group for 24112It is not neccessary to use all the tables.
|
SELECT league FROM table_name_90 WHERE year = "1996"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the league for 1996It is not neccessary to use all the tables.
|
SELECT SUM(_number_100) FROM table_name_33 WHERE season = "1990" AND against = "warwickshire"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which sum of # 100 has a Season of 1990 and an Against of warwickshire?It is not neccessary to use all the tables.
|
SELECT p.Id AS "post_link", p.Score AS "Score", p.Tags AS "Tags" FROM Posts AS p WHERE p.PostTypeId = 1 AND (STR_POSITION(UPPER(p.Title), 'DOUBT') > 0 OR STR_POSITION(UPPER(p.Title), 'QUESTION') > 0 OR STR_POSITION(UPPER(p.Title), 'HELP') > 0 OR STR_POSITION(UPPER(p.Title), 'PROBLEM') > 0 OR (STR_POSITION(UPPER(p.Title), 'EXPERIMENT') > 0 AND p.Score <= @ExptScore) OR STR_POSITION(UPPER(p.Title), 'EXERCISE') > 0 OR (STR_POSITION(UPPER(p.Title), ' CHEMISTR') > 0 AND p.Score <= @ChemScore) OR (STR_POSITION(UPPER(p.Title), ' CHEMIC') > 0 AND p.Score <= @ChemScore) OR (STR_POSITION(UPPER(p.Title), 'CHEM') = 1 AND p.Score <= @ChemScore)) ORDER BY p.Score
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Questions possibly with Chem.SE buzzwords in the title. Exclude any particular category of buzzword by setting its 'ignore' threshold to a large negative number.It is not neccessary to use all the tables.
|
SELECT Avg. Start FROM table WHERE Winnings = $7,220
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average start for the season with $7,220 in winnings?.It is not neccessary to use all the tables.
|
SELECT AVG(top_25) FROM table_name_60 WHERE events < 12 AND top_5 > 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the average Top-25 that has an Events that's smaller than 12 and has a Top-5 that is larger than 0?It is not neccessary to use all the tables.
|
SELECT COUNT(bush_number) FROM table_2401326_1 WHERE bush_percentage = "69.7%"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many different counts of the votes for Bush are there in the county where he got 69.7% of the votes?It is not neccessary to use all the tables.
|
SELECT title FROM table_25800134_4 WHERE season__number = 33
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the title of #33?It is not neccessary to use all the tables.
|
SELECT class FROM table_name_6 WHERE quantity = "1"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the class with 1 quantity?It is not neccessary to use all the tables.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.