instruction
stringlengths
212
6.3k
output
stringlengths
6
2.03k
### Instruction: CREATE TABLE table_12322 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What country has a place of 4? ### Response:
SELECT "Country" FROM table_12322 WHERE "Place" = '4'
### Instruction: CREATE TABLE table_12526990_1 ( monto VARCHAR, total_region VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the monto where the total region is 11230? ### Response:
SELECT COUNT(monto) FROM table_12526990_1 WHERE total_region = 11230
### Instruction: CREATE TABLE table_name_79 ( arena VARCHAR, opponent VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Arena has an Opponent of @ oilers, and a Date of may 25? ### Response:
SELECT arena FROM table_name_79 WHERE opponent = "@ oilers" AND date = "may 25"
### Instruction: CREATE TABLE table_name_15 ( cuts_made INTEGER, top_10 INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average Cuts that were made with a Top-10 that is larger than 9? ### Response:
SELECT AVG(cuts_made) FROM table_name_15 WHERE top_10 > 9
### Instruction: CREATE TABLE table_21330550_2 ( date VARCHAR, big_ten_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates have a big ten team of #10 purdue? ### Response:
SELECT COUNT(date) FROM table_21330550_2 WHERE big_ten_team = "#10 Purdue"
### Instruction: CREATE TABLE table_15861776_1 ( directed_by VARCHAR, tv_broadcast VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who directed the TV broadcast s03e19? ### Response:
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19"
### Instruction: CREATE TABLE table_name_10 ( intellitrace VARCHAR, extensions VARCHAR, windows_phone_development VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Intelli Trace has a No Extension and Windows Phone development of no? ### Response:
SELECT intellitrace FROM table_name_10 WHERE extensions = "no" AND windows_phone_development = "no"
### Instruction: CREATE TABLE table_15187735_12 ( segment_b VARCHAR, series_ep VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Segment B for series episode 12-08? ### Response:
SELECT segment_b FROM table_15187735_12 WHERE series_ep = "12-08"
### Instruction: CREATE TABLE table_1876262_10 ( safari VARCHAR, internet_explorer VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- If Internet Explorer is 47.22%, what is the Safari total? ### Response:
SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.22%"
### Instruction: CREATE TABLE table_201_42 ( id number, "year" text, "title" text, "role" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list the titles that include host as the role . ### Response:
SELECT "title" FROM table_201_42 WHERE "role" = 'host'
### Instruction: CREATE TABLE table_name_35 ( wchmp VARCHAR, race VARCHAR, pole VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the WChmp of the race greater than 42 and pole greater than 11? ### Response:
SELECT COUNT(wchmp) FROM table_name_35 WHERE race > 42 AND pole > 11
### Instruction: CREATE TABLE table_name_44 ( name VARCHAR, fate VARCHAR, cargo VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the ship with pit props as Cargo sunk by u-48 *? ### Response:
SELECT name FROM table_name_44 WHERE fate = "sunk by u-48 *" AND cargo = "pit props"
### Instruction: CREATE TABLE table_25468520_1 ( quantity VARCHAR, theme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many times is the theme roadside attractions: wawa goose? ### Response:
SELECT COUNT(quantity) FROM table_25468520_1 WHERE theme = "Roadside Attractions: Wawa Goose"
### Instruction: CREATE TABLE table_name_66 ( run_time VARCHAR, podcast_date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the run time of the episode that aired on September 4, 2005? ### Response:
SELECT run_time FROM table_name_66 WHERE podcast_date = "september 4, 2005"
### Instruction: CREATE TABLE table_name_29 ( dots VARCHAR, ellipsis VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the dot value when the ellipsis is 0.012345679 ? ### Response:
SELECT dots FROM table_name_29 WHERE ellipsis = "0.012345679…"
### Instruction: CREATE TABLE table_23293785_2 ( date VARCHAR, race_total_pts_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many dates have a total points for race of 180? ### Response:
SELECT COUNT(date) FROM table_23293785_2 WHERE race_total_pts_ = 180
### Instruction: CREATE TABLE table_27685921_1 ( year INTEGER, exhibitors__total_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the most time where exhibitions is 1701 ### Response:
SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 1701
### Instruction: CREATE TABLE table_name_86 ( innings INTEGER, runs VARCHAR, matches VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the largest number of innings with less than 342 runs and more than 4 matches? ### Response:
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4
### Instruction: CREATE TABLE table_17120964_6 ( date VARCHAR, man_of_the_match VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- On what day was Stuart Potts the Man of the Match? ### Response:
SELECT date FROM table_17120964_6 WHERE man_of_the_match = "Stuart Potts"
### Instruction: CREATE TABLE table_name_47 ( against INTEGER, difference VARCHAR, position VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Difference of - 20, and a Position smaller than 17 is the highest against? ### Response:
SELECT MAX(against) FROM table_name_47 WHERE difference = "- 20" AND position < 17
### Instruction: CREATE TABLE table_name_73 ( distance INTEGER, county VARCHAR, total VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Distance has a County of faulkner, and a Total smaller than 1.5? ### Response:
SELECT SUM(distance) FROM table_name_73 WHERE county = "faulkner" AND total < 1.5
### Instruction: CREATE TABLE table_29273182_1 ( written_by VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who wrote the episode with a production code of ip03007? ### Response:
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007"
### Instruction: CREATE TABLE table_204_834 ( id number, "rank" number, "name" text, "nationality" text, "time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the time for each name ### Response:
SELECT "time" FROM table_204_834 WHERE NOT "name" IS NULL
### Instruction: CREATE TABLE table_name_18 ( date__from_ VARCHAR, traction_type VARCHAR, location VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the date for traction type electric with calgary location? ### Response:
SELECT date__from_ FROM table_name_18 WHERE traction_type = "electric" AND location = "calgary"
### Instruction: CREATE TABLE table_name_30 ( competition VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what competition was the score reported as 12.8 (80) - 8.7 (55)? ### Response:
SELECT competition FROM table_name_30 WHERE score = "12.8 (80) - 8.7 (55)"
### Instruction: CREATE TABLE table_name_38 ( losing_bp VARCHAR, played VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Can you tell me the Losing BP that has Played of 22, and the Lost of 5? ### Response:
SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5"
### Instruction: CREATE TABLE table_14346689_1 ( series__number INTEGER, directed_by VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the series number of the episode directed by Rob Bailey? ### Response:
SELECT MAX(series__number) FROM table_14346689_1 WHERE directed_by = "Rob Bailey"
### Instruction: CREATE TABLE table_8721 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What Player has a +3 To par? ### Response:
SELECT "Player" FROM table_8721 WHERE "To par" = '+3'
### Instruction: CREATE TABLE table_name_14 ( estd INTEGER, college_or_campus_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In what year was anna university - panruti campus established? ### Response:
SELECT SUM(estd) FROM table_name_14 WHERE college_or_campus_name = "anna university - panruti campus"
### Instruction: CREATE TABLE table_27003186_3 ( no_party_preference VARCHAR, other VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the no party preference when other is 10.1%? ### Response:
SELECT no_party_preference FROM table_27003186_3 WHERE other = "10.1%"
### Instruction: CREATE TABLE table_2941848_2 ( year INTEGER, s_field_reporter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest year with field reporter Steve Lyons? ### Response:
SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"
### Instruction: CREATE TABLE table_23801 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the player for ol ### Response:
SELECT "Player" FROM table_23801 WHERE "Position" = 'OL'
### Instruction: CREATE TABLE table_11900773_5 ( paper_type VARCHAR, theme VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the paper type of the University of Saskatchewan themed stamp? ### Response:
SELECT paper_type FROM table_11900773_5 WHERE theme = "University of Saskatchewan"
### Instruction: CREATE TABLE table_name_34 ( position VARCHAR, round VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Position has a Round of 4, and a School/Club Team of concordia? ### Response:
SELECT position FROM table_name_34 WHERE round = 4 AND school_club_team = "concordia"
### Instruction: CREATE TABLE table_name_30 ( single___pack_name VARCHAR, genre VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the available rock single/pack by REO Speedwagon? ### Response:
SELECT single___pack_name FROM table_name_30 WHERE genre = "rock" AND artist = "reo speedwagon"
### Instruction: CREATE TABLE table_23508196_5 ( enlisted VARCHAR, type_of_unit VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Nam ethe enlisted for troop carrier group ### Response:
SELECT enlisted FROM table_23508196_5 WHERE type_of_unit = "Troop carrier group"
### Instruction: CREATE TABLE table_19901_1 ( muzzle_device VARCHAR, colt_model_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which muzzle devices are on the Colt 603? ### Response:
SELECT muzzle_device FROM table_19901_1 WHERE colt_model_no = "603"
### Instruction: CREATE TABLE table_name_34 ( against INTEGER, losses VARCHAR, byes VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of against when they had 14 losses and more than 0 byes? ### Response:
SELECT SUM(against) FROM table_name_34 WHERE losses = 14 AND byes > 0
### Instruction: CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- list the name, job title of all people ordered by their names. ### Response:
SELECT name, job FROM person ORDER BY name
### Instruction: CREATE TABLE table_1329532_2 ( date_of_election VARCHAR, elected_successor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the election date for Arthur Hodges? ### Response:
SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = "Arthur Hodges"
### Instruction: CREATE TABLE table_21716139_1 ( train_name VARCHAR, category VARCHAR, frequency VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What trains have a category of express and a weekly frequency? ### Response:
SELECT train_name FROM table_21716139_1 WHERE category = "Express" AND frequency = "Weekly"
### Instruction: CREATE TABLE table_name_62 ( code__iata_icao_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the value in 2010 for the airport coded OTP/LROP? ### Response:
SELECT MAX(2010) FROM table_name_62 WHERE code__iata_icao_ = "otp/lrop"
### Instruction: CREATE TABLE course ( crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many credits does course CIS-220 have, and what its description? ### Response:
SELECT crs_credit, crs_description FROM course WHERE crs_code = 'CIS-220'
### Instruction: CREATE TABLE table_name_43 ( avg INTEGER, player VARCHAR, long VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many yards did kevin swayne average, with a long carry over 7? ### Response:
SELECT MIN(avg) FROM table_name_43 WHERE player = "kevin swayne" AND long > 7
### Instruction: CREATE TABLE table_1342270_42 ( district VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- In how many districts was the incumbent Estes Kefauver? ### Response:
SELECT COUNT(district) FROM table_1342270_42 WHERE incumbent = "Estes Kefauver"
### Instruction: CREATE TABLE table_14588 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the place for tim clark ### Response:
SELECT "Place" FROM table_14588 WHERE "Player" = 'tim clark'
### Instruction: CREATE TABLE table_2267465_1 ( laps VARCHAR, race_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps have a 3:34:26 race time? ### Response:
SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = "3:34:26"
### Instruction: CREATE TABLE table_name_92 ( manner_of_departure VARCHAR, outgoing_manager VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the manner of departure for the outgoing manager, davide ballardini? ### Response:
SELECT manner_of_departure FROM table_name_92 WHERE outgoing_manager = "davide ballardini"
### Instruction: CREATE TABLE table_23705843_1 ( writer VARCHAR, ratings__millions_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the writer when the ratings was 2.61 million? ### Response:
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61"
### Instruction: CREATE TABLE table_name_91 ( player VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Player has a Score of 72-68-78-71=289? ### Response:
SELECT player FROM table_name_91 WHERE score = 72 - 68 - 78 - 71 = 289
### Instruction: CREATE TABLE table_1132600_3 ( fastest_lap VARCHAR, grand_prix VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the fastest lap in the Belgian Grand Prix? ### Response:
SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix"
### Instruction: CREATE TABLE table_name_24 ( laps VARCHAR, time_retired VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many laps were ridden in the race that had a Time/Retired of +37.351? ### Response:
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351"
### Instruction: CREATE TABLE table_261946_3 ( enrollment VARCHAR, location__all_in_ohio_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the enrollment for Ashland University? ### Response:
SELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = "Ashland"
### Instruction: CREATE TABLE table_name_21 ( years VARCHAR, soap_opera VARCHAR, actor VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the years when the soap opera is glenroe and the actor is mick lally? ### Response:
SELECT years FROM table_name_21 WHERE soap_opera = "glenroe" AND actor = "mick lally"
### Instruction: CREATE TABLE table_17288845_8 ( record VARCHAR, location_attendance VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the record for verizon center 20,173 ### Response:
SELECT record FROM table_17288845_8 WHERE location_attendance = "Verizon Center 20,173"
### Instruction: CREATE TABLE table_name_20 ( score_in_the_final VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Score In The Final, when Date is '30 August 1993'? ### Response:
SELECT score_in_the_final FROM table_name_20 WHERE date = "30 august 1993"
### Instruction: CREATE TABLE table_2781227_10 ( college_junior_club_team VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what educational institute does wes swinson attend ### Response:
SELECT college_junior_club_team FROM table_2781227_10 WHERE player = "Wes Swinson"
### Instruction: CREATE TABLE table_name_81 ( school VARCHAR, team_name VARCHAR, year_left VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which school left in 1968 and has the team name of Panthers? ### Response:
SELECT school FROM table_name_81 WHERE team_name = "panthers" AND year_left = "1968"
### Instruction: CREATE TABLE table_15768 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the place for ed oliver ### Response:
SELECT "Place" FROM table_15768 WHERE "Player" = 'ed oliver'
### Instruction: CREATE TABLE table_name_40 ( total INTEGER, gold VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals? ### Response:
SELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1
### Instruction: CREATE TABLE table_name_77 ( max_aperture VARCHAR, focal_length VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the maximum aperture of the lens(es) with a focal length of 20mm? ### Response:
SELECT max_aperture FROM table_name_77 WHERE focal_length = "20mm"
### Instruction: CREATE TABLE table_55132 ( "Name" text, "Actual version" text, "System" text, "Platform" text, "License" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which system is named mess? ### Response:
SELECT "System" FROM table_55132 WHERE "Name" = 'mess'
### Instruction: CREATE TABLE table_name_8 ( total_points INTEGER, draw VARCHAR, artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the lowest total points Karine Tr cy has with less than 4 draws? ### Response:
SELECT MIN(total_points) FROM table_name_8 WHERE draw < 4 AND artist = "karine trécy"
### Instruction: CREATE TABLE table_19930660_2 ( winner VARCHAR, rufus_guest VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who won the episode in which Sean Lock was Rufus's guest? ### Response:
SELECT winner FROM table_19930660_2 WHERE rufus_guest = "Sean Lock"
### Instruction: CREATE TABLE table_name_8 ( bronze INTEGER, nation VARCHAR, silver VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the bronze for Kyrgyzstan nation with a silver record of greater than 0? ### Response:
SELECT AVG(bronze) FROM table_name_8 WHERE nation = "kyrgyzstan" AND silver > 0
### Instruction: CREATE TABLE table_name_79 ( venue VARCHAR, partnerships VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What venue did the parntership of shoaib malik / misbah-ul-haq occur? ### Response:
SELECT venue FROM table_name_79 WHERE partnerships = "shoaib malik / misbah-ul-haq"
### Instruction: CREATE TABLE table_2387461_1 ( points_per_game VARCHAR, tournament VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many points per game have the tournament 2005 eurobasket? ### Response:
SELECT points_per_game FROM table_2387461_1 WHERE tournament = "2005 EuroBasket"
### Instruction: CREATE TABLE table_28787871_3 ( original_air_date VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the airdate of the episode of production code 214? ### Response:
SELECT original_air_date FROM table_28787871_3 WHERE production_code = 214
### Instruction: CREATE TABLE table_name_66 ( competition VARCHAR, club VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the 1st leg of the uefa intertoto cup competition with club silkeborg? ### Response:
SELECT 1 AS st_leg FROM table_name_66 WHERE competition = "uefa intertoto cup" AND club = "silkeborg"
### Instruction: CREATE TABLE table_2249087_1 ( world_rank INTEGER, south_american_rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the least world rank for south american rank 3 ### Response:
SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 3
### Instruction: CREATE TABLE table_name_8 ( championship VARCHAR, runner_s__up VARCHAR, margin VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Championship was louise suggs the runner-up by 3 strokes? ### Response:
SELECT championship FROM table_name_8 WHERE runner_s__up = "louise suggs" AND margin = "3 strokes"
### Instruction: CREATE TABLE table_1272844_2 ( vote VARCHAR, finish VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many votes were taken when the outcome was '6th voted out day 12'? ### Response:
SELECT COUNT(vote) FROM table_1272844_2 WHERE finish = "6th voted Out Day 12"
### Instruction: CREATE TABLE table_26321719_1 ( name VARCHAR, area__km²_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many names correspond to an area of 8.12? ### Response:
SELECT COUNT(name) FROM table_26321719_1 WHERE area__km²_ = "8.12"
### Instruction: CREATE TABLE employees ( first_name VARCHAR, last_name VARCHAR, salary INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the full name (first and last name), and salary for those employees who earn below 6000. ### Response:
SELECT first_name, last_name, salary FROM employees WHERE salary < 6000
### Instruction: CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Report the number of students in each classroom. ### Response:
SELECT classroom, COUNT(*) FROM list GROUP BY classroom
### Instruction: CREATE TABLE table_1661124_1 ( approved_treatment_s_ VARCHAR, target VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are all the approved treatments for the target CD30? ### Response:
SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30"
### Instruction: CREATE TABLE table_1745843_7 ( verb_meaning VARCHAR, part_4 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many different meanings does the verb with part 4 gegeven have? ### Response:
SELECT COUNT(verb_meaning) FROM table_1745843_7 WHERE part_4 = "gegeven"
### Instruction: CREATE TABLE table_name_72 ( area__km_2__ INTEGER, population__2000_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest area with 45 population? ### Response:
SELECT MIN(area__km_2__) FROM table_name_72 WHERE population__2000_ = "45"
### Instruction: CREATE TABLE table_name_16 ( game VARCHAR, score VARCHAR, january VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many games have a Score of 3 0, and a January larger than 12? ### Response:
SELECT COUNT(game) FROM table_name_16 WHERE score = "3–0" AND january > 12
### Instruction: CREATE TABLE table_17941032_2 ( tries_against VARCHAR, points_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many tries against were there with points of 150? ### Response:
SELECT tries_against FROM table_17941032_2 WHERE points_for = "150"
### Instruction: CREATE TABLE table_name_97 ( place INTEGER, artist VARCHAR, draw VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the highest place a song by Jacques Raymond reached, with a draw over 14? ### Response:
SELECT MAX(place) FROM table_name_97 WHERE artist = "jacques raymond" AND draw > 14
### Instruction: CREATE TABLE table_name_17 ( commissioned__decommissioned VARCHAR, nvr_page VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the commissioned-decommissioned for NVR page of aor-7 ### Response:
SELECT commissioned__decommissioned FROM table_name_17 WHERE nvr_page = "aor-7"
### Instruction: CREATE TABLE table_7772 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score of T3 place? ### Response:
SELECT "Score" FROM table_7772 WHERE "Place" = 't3'
### Instruction: CREATE TABLE table_14966537_1 ( result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the final score of the game on October 4, 1970? ### Response:
SELECT result FROM table_14966537_1 WHERE date = "October 4, 1970"
### Instruction: CREATE TABLE table_name_45 ( works_number INTEGER, date VARCHAR, name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total work number of Gowrie after 1875? ### Response:
SELECT SUM(works_number) FROM table_name_45 WHERE date > 1875 AND name = "gowrie"
### Instruction: CREATE TABLE table_38756 ( "Couple" text, "Score" text, "Style" text, "Music" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which music is jive? ### Response:
SELECT "Music" FROM table_38756 WHERE "Style" = 'jive'
### Instruction: CREATE TABLE table_name_96 ( entrant VARCHAR, rounds VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The rounds of 1-2, 4-10, 12 belong to which entrant? ### Response:
SELECT entrant FROM table_name_96 WHERE rounds = "1-2, 4-10, 12"
### Instruction: CREATE TABLE table_23214833_1 ( team_captain VARCHAR, stadium VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who's the captain of the team whose stadium is Gradski Stadion? ### Response:
SELECT team_captain FROM table_23214833_1 WHERE stadium = "Gradski Stadion"
### Instruction: CREATE TABLE elimination ( Name VARCHAR, Wrestler_ID VARCHAR ) CREATE TABLE wrestler ( Name VARCHAR, Wrestler_ID VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- List the names of wrestlers that have not been eliminated. ### Response:
SELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination)
### Instruction: CREATE TABLE table_name_38 ( points VARCHAR, wins VARCHAR, final_placing VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Points have Wins of 0, and a Final Placing of 21st? ### Response:
SELECT points FROM table_name_38 WHERE wins = "0" AND final_placing = "21st"
### Instruction: CREATE TABLE table_name_20 ( year_built INTEGER, sub_parish__sogn_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what is the year built of kyrkjeb ? ### Response:
SELECT AVG(year_built) FROM table_name_20 WHERE sub_parish__sogn_ = "kyrkjebø"
### Instruction: CREATE TABLE table_name_95 ( runner_s__up VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the runner(s)-up for the tournament played on Jun 3, 1973? ### Response:
SELECT runner_s__up FROM table_name_95 WHERE date = "jun 3, 1973"
### Instruction: CREATE TABLE table_16570286_4 ( best_bowling VARCHAR, average VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the best bowling score when the average was 23.33? ### Response:
SELECT best_bowling FROM table_16570286_4 WHERE average = "23.33"
### Instruction: CREATE TABLE table_27529608_21 ( genre VARCHAR, age_s_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the genre for the group with ages 29-30? ### Response:
SELECT genre FROM table_27529608_21 WHERE age_s_ = "29-30"
### Instruction: CREATE TABLE table_name_71 ( date_of_inauguration VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the date of the inauguration in the row with an entry of lifespan in the lifespan column? ### Response:
SELECT date_of_inauguration FROM table_name_71 WHERE "lifespan" = "lifespan"
### Instruction: CREATE TABLE table_name_42 ( points INTEGER, engine VARCHAR, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the average points for the Project Indy team that has the Ford xb engine? ### Response:
SELECT AVG(points) FROM table_name_42 WHERE engine = "ford xb" AND team = "project indy"
### Instruction: CREATE TABLE table_name_48 ( pop__2004_ INTEGER, governorate VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Pop (2004) has a Governorate of al mahwit? ### Response:
SELECT SUM(pop__2004_) FROM table_name_48 WHERE governorate = "al mahwit"
### Instruction: CREATE TABLE table_name_10 ( money_requested__£_ VARCHAR, company_or_product_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How much Money is requested by BassToneSlap? ### Response:
SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap"
### Instruction: CREATE TABLE table_24574438_1 ( gn_divisions VARCHAR, ds_division VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the number of gn divisions for mannar ### Response:
SELECT COUNT(gn_divisions) FROM table_24574438_1 WHERE ds_division = "Mannar"
### Instruction: CREATE TABLE table_204_736 ( id number, "party" text, "candidate" text, "votes" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which candidate had the most votes ? ### Response:
SELECT "candidate" FROM table_204_736 ORDER BY "votes" DESC LIMIT 1