answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MIN(cr_no) FROM table_1886270_1 | What is the lowest cr number? | CREATE TABLE table_1886270_1 (cr_no INTEGER) |
SELECT MAX(gold) FROM table_name_76 WHERE silver < 3 AND bronze > 5 | What is the highest gold a team with less than 3 silver and more than 5 bronze medals has? | CREATE TABLE table_name_76 (gold INTEGER, silver VARCHAR, bronze VARCHAR) |
SELECT MAX(attendance) FROM table_name_13 WHERE score = "4–3" AND points < 5 | Which Attendance has a Score of 4–3, and Points smaller than 5? | CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR, points VARCHAR) |
SELECT state FROM table_name_63 WHERE title = "count" | What is the state where the title is listed as count? | CREATE TABLE table_name_63 (state VARCHAR, title VARCHAR) |
SELECT january_15_16 FROM table_1708610_3 WHERE march_27_29 = "March 29, 2006" | Name the january 15-16 where march 27-29 where march 29, 2006 | CREATE TABLE table_1708610_3 (january_15_16 VARCHAR, march_27_29 VARCHAR) |
SELECT MAX(bronze) FROM table_name_63 WHERE nation = "czech republic" AND total < 4 | Which the highest Bronze of czech republic with a Total smaller than 4? | CREATE TABLE table_name_63 (bronze INTEGER, nation VARCHAR, total VARCHAR) |
SELECT date FROM table_name_24 WHERE result = "wi by 1 run" | On what date was the result Wi by 1 run? | CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) |
SELECT grid FROM table_name_20 WHERE driver = "michael schumacher" | What is the grid when the driver was Michael Schumacher? | CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR) |
SELECT socket FROM table_name_44 WHERE order_part_number = "tmrm72dam22gg" | What kind of Socket has a Order part number of tmrm72dam22gg? | CREATE TABLE table_name_44 (socket VARCHAR, order_part_number VARCHAR) |
SELECT MIN(best_score) FROM table_name_9 WHERE worst_dancer = "leeza gibbons" AND worst_score < 15 | What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15? | CREATE TABLE table_name_9 (best_score INTEGER, worst_dancer VARCHAR, worst_score VARCHAR) |
SELECT SUM(points) FROM table_name_25 WHERE games < 5 | Name the sum of points with games less than 5 | CREATE TABLE table_name_25 (points INTEGER, games INTEGER) |
SELECT score FROM table_name_30 WHERE year = 2000 | What was the winning score in 2000? | CREATE TABLE table_name_30 (score VARCHAR, year VARCHAR) |
SELECT museum_id, name FROM museum ORDER BY num_of_staff DESC LIMIT 1 | Find the id and name of the museum that has the most staff members? | CREATE TABLE museum (museum_id VARCHAR, name VARCHAR, num_of_staff VARCHAR) |
SELECT COUNT(1980 AS __mil_) FROM table_22071705_6 WHERE country = "Soviet Union" | Name the total number 1980 mil for soviet union | CREATE TABLE table_22071705_6 (country VARCHAR) |
SELECT high_points FROM table_name_69 WHERE record = "2-4" | For the game that had an end record of 2-4, who was the high points scorer? | CREATE TABLE table_name_69 (high_points VARCHAR, record VARCHAR) |
SELECT COUNT(altitude__mslm_) FROM table_1449176_1 WHERE area__km_2__ = "130.7" | How many altitudes does the common with an area of 130.7 km^2 have? | CREATE TABLE table_1449176_1 (altitude__mslm_ VARCHAR, area__km_2__ VARCHAR) |
SELECT home FROM table_name_69 WHERE score = "42-64" | What ist he Home with a Score that is 42-64? | CREATE TABLE table_name_69 (home VARCHAR, score VARCHAR) |
SELECT power__kw_ FROM table_name_74 WHERE location = "davao" | What is the power (kW) of Davao? | CREATE TABLE table_name_74 (power__kw_ VARCHAR, location VARCHAR) |
SELECT winning_driver FROM table_1140119_5 WHERE circuit = "Jersey" | Who won the race at the Jersey circuit? | CREATE TABLE table_1140119_5 (winning_driver VARCHAR, circuit VARCHAR) |
SELECT AVG(crowd) FROM table_name_72 WHERE home_team = "south melbourne" | Which average Crowd has a Home team of south melbourne? | CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR) |
SELECT COUNT(attendance) FROM table_name_68 WHERE date = "may 1" | Name the total number in attendance for may 1 | CREATE TABLE table_name_68 (attendance VARCHAR, date VARCHAR) |
SELECT round FROM table_name_66 WHERE opponent = "michael buell" | What is the round number of the match with Michael Buell as the opponent? | CREATE TABLE table_name_66 (round VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_2 WHERE opponents = "sun shengnan han xinyun" | What Date has Opponents of sun shengnan han xinyun? | CREATE TABLE table_name_2 (date VARCHAR, opponents VARCHAR) |
SELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = "Marianne" | Find all the songs produced by artists with first name "Marianne". | CREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, firstname VARCHAR) |
SELECT date_of_birth FROM table_name_39 WHERE club = "bvsc vízilabda" | What is the birth date of a member of the Club of bvsc vízilabda? | CREATE TABLE table_name_39 (date_of_birth VARCHAR, club VARCHAR) |
SELECT COUNT(*) FROM CARS_DATA WHERE Cylinders > 6 | How many cars has over 6 cylinders? | CREATE TABLE CARS_DATA (Cylinders INTEGER) |
SELECT score FROM table_name_66 WHERE home_team = "king's lynn" | what is the score when the home team is king's lynn? | CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR) |
SELECT site FROM table_name_25 WHERE date = "november 30, 2006" | What site has november 30, 2006 as the date? | CREATE TABLE table_name_25 (site VARCHAR, date VARCHAR) |
SELECT engine FROM table_name_58 WHERE rounds = "7-13" | In rounds 7-13 what engine was featured? | CREATE TABLE table_name_58 (engine VARCHAR, rounds VARCHAR) |
SELECT series FROM table_14345690_15 WHERE main_presenter = "Caroline Flack" | What series have Caroline Flack as a main presenter? | CREATE TABLE table_14345690_15 (series VARCHAR, main_presenter VARCHAR) |
SELECT ground FROM table_name_74 WHERE away_team = "geelong" | What is the ground of the Geelong Away team? | CREATE TABLE table_name_74 (ground VARCHAR, away_team VARCHAR) |
SELECT country FROM table_name_96 WHERE player = "thomas bjørn" | What country is player thomas bjørn from? | CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR) |
SELECT school_club_team FROM table_15463188_17 WHERE season = "2012" AND acquisition_via = "Trade" | What was the school/club team whose season was in 2012 and were acquired via trade? | CREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR) |
SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118 | What round did Mitch Davis, with an overall higher than 118, have? | CREATE TABLE table_name_50 (round INTEGER, name VARCHAR, overall VARCHAR) |
SELECT transfer_fee FROM table_name_11 WHERE moving_to = "villa rio" | The player moving to Villa Rio has what transfer fee? | CREATE TABLE table_name_11 (transfer_fee VARCHAR, moving_to VARCHAR) |
SELECT distribution_mechanism FROM table_2263152_1 WHERE version = "1.5b" | If the version is 1.5b, what is the distribution mechanism? | CREATE TABLE table_2263152_1 (distribution_mechanism VARCHAR, version VARCHAR) |
SELECT MIN(overs) FROM table_name_61 WHERE runs = 18 | What is the lowest Overs with a Run that is 18? | CREATE TABLE table_name_61 (overs INTEGER, runs VARCHAR) |
SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole" | what is the lowest position of brendan sole | CREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR) |
SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "5.09 million" | When did the episode that had 5.09 million total viewers (both Live and SD types) first air? | CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR) |
SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham" | Tell me the left team for josh vanlandingham | CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR) |
SELECT MIN(total) FROM table_name_25 WHERE rank = "11" AND silver > 0 | What is the smallest total number of medals for rank 11 and more than 0 silver medals? | CREATE TABLE table_name_25 (total INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT tournament FROM table_name_10 WHERE date = "january 10, 1994" | Which Tournament has a Date of january 10, 1994? | CREATE TABLE table_name_10 (tournament VARCHAR, date VARCHAR) |
SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.family_name = "Zieme" AND T2.personal_name = "Bernie" | List the dates of enrollment and completion of the student with family name "Zieme" and personal name "Bernie". | CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, family_name VARCHAR, personal_name VARCHAR) |
SELECT AVG(silver) FROM table_name_99 WHERE bronze = 22 | Bronze of 22 has what average silver? | CREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR) |
SELECT COUNT(attendance) FROM table_name_83 WHERE home = "buffalo" | What is the total number of attendance for games where buffalo was the home team? | CREATE TABLE table_name_83 (attendance VARCHAR, home VARCHAR) |
SELECT AVG(total_votes) FROM table_name_75 WHERE _number_of_seats_won < 0 | Can you tell me the average Total votes that has the # of seats won smaller than 0? | CREATE TABLE table_name_75 (total_votes INTEGER, _number_of_seats_won INTEGER) |
SELECT race FROM table_15530244_2 WHERE circuit = "Indy F3 Challenge" AND pole_position = "John Martin" | Which race number in the Indy F3 Challenge circuit had John Martin in pole position? | CREATE TABLE table_15530244_2 (race VARCHAR, circuit VARCHAR, pole_position VARCHAR) |
SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = "brm p202 3.0 v12 brm p200 3.0 v12" | Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12 | CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR) |
SELECT MIN(earnings___) AS $__ FROM table_name_86 WHERE wins > 18 AND rank = 2 | What's the smallest amount of earnings when there are more than 18 wins and the rank is 2? | CREATE TABLE table_name_86 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR) |
SELECT competition FROM table_name_83 WHERE date = "october 21, 2003" | What was the competition on October 21, 2003? | CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR) |
SELECT date FROM table_27756014_6 WHERE game = 22 | What date was game number 22 on? | CREATE TABLE table_27756014_6 (date VARCHAR, game VARCHAR) |
SELECT remittances_2010 FROM table_2941963_1 WHERE country = "Nigeria" | how many remittances in 2010 for nigeria? | CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, country VARCHAR) |
SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)" | In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)? | CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) |
SELECT call_sign FROM table_name_15 WHERE erp_w = 222 | What is the call sign with a 222 erp w? | CREATE TABLE table_name_15 (call_sign VARCHAR, erp_w VARCHAR) |
SELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = "collision" AND constructor = "arrows - supertec" | What is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec? | CREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR) |
SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982" | What director has lt as the series, with 6982 as the production num.? | CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR) |
SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott" | Which Event resulted in a Win for Opponent, Shane Ott? | CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR) |
SELECT Airline FROM AIRLINES WHERE Abbreviation = "UAL" | Which airline has abbreviation 'UAL'? | CREATE TABLE AIRLINES (Airline VARCHAR, Abbreviation VARCHAR) |
SELECT pick__number FROM table_10812938_3 WHERE position = "DE" | What is the pick # for the position de? | CREATE TABLE table_10812938_3 (pick__number VARCHAR, position VARCHAR) |
SELECT album FROM table_name_39 WHERE year > 2001 | What Album has a Year that's larger than 2001? | CREATE TABLE table_name_39 (album VARCHAR, year INTEGER) |
SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = "The Rise of the Blue Beetle!" | What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name. | CREATE TABLE Cartoon (Channel VARCHAR, Title VARCHAR); CREATE TABLE TV_Channel (series_name VARCHAR, id VARCHAR) |
SELECT preservation FROM table_name_16 WHERE episode = "1b-16 (42)" | Has Episode 1b-16 (42) been preserved? | CREATE TABLE table_name_16 (preservation VARCHAR, episode VARCHAR) |
SELECT score FROM table_name_95 WHERE date = "september 11, 2006" | What were the scores on September 11, 2006? | CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) |
SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8 | Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8? | CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR) |
SELECT turbo FROM table_name_62 WHERE part_number_s_ = "cm8062300834302bx80623i72600bxc80623i72600" | what is the turbo when the part number is cm8062300834302bx80623i72600bxc80623i72600? | CREATE TABLE table_name_62 (turbo VARCHAR, part_number_s_ VARCHAR) |
SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488 | What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? | CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR) |
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california" | What is listed under occupation for someone from Santa Monica, California? | CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR) |
SELECT score FROM table_23248910_11 WHERE game = 6 | What was the score in game 6? | CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR) |
SELECT name FROM projects WHERE hours BETWEEN 100 AND 300 | Find the name of projects that require between 100 and 300 hours of work. | CREATE TABLE projects (name VARCHAR, hours INTEGER) |
SELECT club FROM table_13758945_1 WHERE points_for = "565" | Which club has 565 points? | CREATE TABLE table_13758945_1 (club VARCHAR, points_for VARCHAR) |
SELECT AVG(laps) FROM table_name_42 WHERE time = "+50.653" | What is the average laps for the +50.653 time? | CREATE TABLE table_name_42 (laps INTEGER, time VARCHAR) |
SELECT spi FROM table_16731248_1 WHERE number_on_cyl = "7" | Are there SPI on the number 7 cylinder? | CREATE TABLE table_16731248_1 (spi VARCHAR, number_on_cyl VARCHAR) |
SELECT mens_45 FROM table_16724844_1 WHERE mens_40 = "SunWest Razorbacks def Sydney Mets" | What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets? | CREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR) |
SELECT barony FROM table_30120605_1 WHERE townland = "Mountcotton" | What is the barony of mountcotton? | CREATE TABLE table_30120605_1 (barony VARCHAR, townland VARCHAR) |
SELECT player FROM table_name_28 WHERE to_par < 14 | What is Player, when To Par is less than 14? | CREATE TABLE table_name_28 (player VARCHAR, to_par INTEGER) |
SELECT attendance FROM table_name_11 WHERE week = 13 | What was the attendance of the game in week 13? | CREATE TABLE table_name_11 (attendance VARCHAR, week VARCHAR) |
SELECT character FROM table_name_43 WHERE year = 2005 | What is the character for 2005? | CREATE TABLE table_name_43 (character VARCHAR, year VARCHAR) |
SELECT MIN(year) FROM table_11570261_1 WHERE winning_score = −8(71 - 63 - 69 - 69 = 272) | what is the minimum year where winning score is −8 (71-63-69-69=272) | CREATE TABLE table_11570261_1 (year INTEGER, winning_score VARCHAR) |
SELECT T1.Name, T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID | Show names of actors and names of musicals they are in. | CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) |
SELECT delivered_as FROM table_name_64 WHERE locomotive = "h3" | What is the Delivered as name of the H3 Locomotive? | CREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR) |
SELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = "Јарковац" | The pooulation of јарковац is? | CREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) |
SELECT total_trade FROM table_26160007_1 WHERE country = "Switzerland" | In the country Switzerland, what is the total trade? | CREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR) |
SELECT sport FROM table_name_3 WHERE venue = "wildcat stadium" | What sport happened at Wildcat Stadium? | CREATE TABLE table_name_3 (sport VARCHAR, venue VARCHAR) |
SELECT overall FROM table_23265433_2 WHERE offensive = "Mark Steenhuis" | Name the overall for mark steenhuis | CREATE TABLE table_23265433_2 (overall VARCHAR, offensive VARCHAR) |
SELECT result FROM table_name_72 WHERE attendance = "60,705" | Which Result has an Attendance of 60,705? | CREATE TABLE table_name_72 (result VARCHAR, attendance VARCHAR) |
SELECT rider FROM table_name_72 WHERE manufacturer = "honda" AND grid = "25" | Who is the rider for Honda with a grid of 25? | CREATE TABLE table_name_72 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR) |
SELECT hanyu_pinyin FROM table_name_32 WHERE density___km²_ = "39.63" | What is the Hanyu Pinyin with a density of 39.63? | CREATE TABLE table_name_32 (hanyu_pinyin VARCHAR, density___km²_ VARCHAR) |
SELECT polyunsaturated_fat FROM table_name_28 WHERE smoke_point = "°c ()" AND total_fat = "100g" AND monounsaturated_fat = "63g" | What is the polyunsaturated fat with a smoke point of °c (), a total fat of 100g and 63g of monounsaturated fat? | CREATE TABLE table_name_28 (polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR, smoke_point VARCHAR, total_fat VARCHAR) |
SELECT MAX(laps) FROM table_name_89 WHERE finish = "30" | What is the highest laps with a 30 finish? | CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR) |
SELECT player FROM table_name_30 WHERE score = 67 - 70 - 77 = 214 | What player has a score of 67-70-77=214? | CREATE TABLE table_name_30 (player VARCHAR, score VARCHAR) |
SELECT MAX(games) FROM table_name_25 WHERE league = "eredivisie" AND manager = "jurrie koolhof" AND goals < 10 | Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10 | CREATE TABLE table_name_25 (games INTEGER, goals VARCHAR, league VARCHAR, manager VARCHAR) |
SELECT score FROM table_name_3 WHERE game = 34 | What is the score of game 34? | CREATE TABLE table_name_3 (score VARCHAR, game VARCHAR) |
SELECT visitor FROM table_name_42 WHERE time = "5:00 pm" | Who was the visitor at 5:00 pm? | CREATE TABLE table_name_42 (visitor VARCHAR, time VARCHAR) |
SELECT COUNT(wins) FROM table_name_81 WHERE top_25 < 4 AND top_10 < 1 | What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? | CREATE TABLE table_name_81 (wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) |
SELECT country FROM table_name_98 WHERE place = "t8" AND score = 70 - 67 = 137 | What is Country, when Place is "T8", and when Score is "70-67=137"? | CREATE TABLE table_name_98 (country VARCHAR, place VARCHAR, score VARCHAR) |
SELECT COUNT(*) FROM Documents WHERE document_status_code = "done" | How many documents have the status code done? | CREATE TABLE Documents (document_status_code VARCHAR) |
SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11 | How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11? | CREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR) |
SELECT 2009 FROM table_name_60 WHERE 2011 = "4r" AND 2008 = "2r" | How many sets were played in the tournament that had 4R in 2011 and 2R in 2008? | CREATE TABLE table_name_60 (Id VARCHAR) |
SELECT AVG(played) FROM table_name_85 WHERE lost > 17 AND drawn = 15 AND goals_against < 75 | How many played when lost is more than 17, drawn is 15 and goals against is less than 75? | CREATE TABLE table_name_85 (played INTEGER, goals_against VARCHAR, lost VARCHAR, drawn VARCHAR) |
SELECT T1.supplier_name, T1.supplier_phone FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id = T2.supplier_id JOIN addresses AS T3 ON T2.address_id = T3.address_id ORDER BY T3.address_details | List the name and phone number of all suppliers in the alphabetical order of their addresses. | CREATE TABLE addresses (address_id VARCHAR, address_details VARCHAR); CREATE TABLE supplier_addresses (supplier_id VARCHAR, address_id VARCHAR); CREATE TABLE Suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.