answer
stringlengths 18
557
| question
stringlengths 12
280
| context
stringlengths 27
489
|
---|---|---|
SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.College = "Maryland" OR T2.College = "Duke" | Apa bahasa resmi negara -negara pemain dari Maryland atau Duke College? | CREATE TABLE country (Official_native_language VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, College VARCHAR) |
SELECT COUNT(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" | Berapa banyak bahasa resmi yang berbeda yang ada di antara negara -negara pemain yang posisinya adalah pembela. | CREATE TABLE country (Official_native_language VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR) |
SELECT T1.Season, T1.Player, T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id | Tunjukkan musim, pemain, dan nama tim tempat para pemain. | CREATE TABLE team (Name VARCHAR, Team_id VARCHAR); CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Team VARCHAR) |
SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner" | Tunjukkan posisi para pemain dari tim dengan nama "Ryley Goldner". | CREATE TABLE match_season (Position VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) |
SELECT COUNT(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | Berapa banyak perguruan tinggi berbeda yang dikaitkan dengan pemain dari tim dengan nama "Columbus Crew". | CREATE TABLE match_season (College VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) |
SELECT T1.Player, T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | Tunjukkan para pemain dan tahun -tahun yang dimainkan untuk pemain dari tim "Columbus Crew". | CREATE TABLE player (Player VARCHAR, Years_Played VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) |
SELECT POSITION, COUNT(*) FROM match_season GROUP BY POSITION | Tunjukkan posisi pemain dan jumlah pemain yang sesuai. | CREATE TABLE match_season (POSITION VARCHAR) |
SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name | Tunjukkan nama negara dan jumlah pemain yang sesuai. | CREATE TABLE match_season (Country VARCHAR); CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR) |
SELECT player FROM match_season ORDER BY College | Kembalikan semua pemain yang diurutkan berdasarkan perguruan tinggi dalam urutan abjad yang naik. | CREATE TABLE match_season (player VARCHAR, College VARCHAR) |
SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY COUNT(*) DESC LIMIT 1 | Tunjukkan posisi pemain paling umum di musim pertandingan. | CREATE TABLE match_season (POSITION VARCHAR) |
SELECT College FROM match_season GROUP BY College ORDER BY COUNT(*) DESC LIMIT 3 | Tunjukkan 3 perguruan tinggi pemain paling umum di musim pertandingan. | CREATE TABLE match_season (College VARCHAR) |
SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 | Tunjukkan nama perguruan tinggi yang memiliki setidaknya dua pemain. | CREATE TABLE match_season (College VARCHAR) |
SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC | Tunjukkan nama perguruan tinggi yang memiliki setidaknya dua pemain dalam urutan abjad yang menurun. | CREATE TABLE match_season (College VARCHAR) |
SELECT Name FROM team WHERE NOT Team_id IN (SELECT Team FROM match_season) | Apa nama tim yang tidak memiliki rekor musim pertandingan? | CREATE TABLE match_season (Name VARCHAR, Team_id VARCHAR, Team VARCHAR); CREATE TABLE team (Name VARCHAR, Team_id VARCHAR, Team VARCHAR) |
SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Forward" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" | Apa nama negara yang memiliki kedua pemain dengan posisi maju dan pemain dengan posisi bek? | CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR) |
SELECT College FROM match_season WHERE POSITION = "Midfielder" INTERSECT SELECT College FROM match_season WHERE POSITION = "Defender" | Perguruan tinggi mana yang memiliki kedua pemain dengan gelandang posisi dan pemain dengan Posisi Defender? | CREATE TABLE match_season (College VARCHAR, POSITION VARCHAR) |
SELECT COUNT(*) FROM climber | Ada berapa pendaki? | CREATE TABLE climber (Id VARCHAR) |
SELECT Name FROM climber ORDER BY Points DESC | Sebutkan nama -nama pendaki dalam urutan poin yang menurun. | CREATE TABLE climber (Name VARCHAR, Points VARCHAR) |
SELECT Name FROM climber WHERE Country <> "Switzerland" | Sebutkan nama -nama pendaki yang negaranya bukan Swiss. | CREATE TABLE climber (Name VARCHAR, Country VARCHAR) |
SELECT MAX(Points) FROM climber WHERE Country = "United Kingdom" | Apa titik maksimum bagi pendaki yang negara itu adalah Inggris? | CREATE TABLE climber (Points INTEGER, Country VARCHAR) |
SELECT COUNT(DISTINCT Country) FROM climber | Dari berapa banyak negara yang berbeda dari pendaki? | CREATE TABLE climber (Country VARCHAR) |
SELECT Name FROM mountain ORDER BY Name | Apa nama gunung dalam urutan abjad naik? | CREATE TABLE mountain (Name VARCHAR) |
SELECT Country FROM mountain WHERE Height > 5000 | Apa negara -negara pegunungan dengan ketinggian yang lebih besar dari 5000? | CREATE TABLE mountain (Country VARCHAR, Height INTEGER) |
SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1 | Apa nama gunung tertinggi? | CREATE TABLE mountain (Name VARCHAR, Height VARCHAR) |
SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3 | Sebutkan rentang pegunungan yang berbeda dengan 3 yang menonjol. | CREATE TABLE mountain (Range VARCHAR, Prominence VARCHAR) |
SELECT T1.Name, T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | Tunjukkan nama -nama pendaki dan nama -nama gunung yang mereka panjat. | CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR) |
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | Tunjukkan nama -nama pendaki dan ketinggian pegunungan yang mereka panjat. | CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR) |
SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1 | Tunjukkan ketinggian gunung yang dipanjat oleh pendaki dengan titik maksimum. | CREATE TABLE climber (Mountain_ID VARCHAR, Points VARCHAR); CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR) |
SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany" | Tunjukkan nama -nama yang berbeda dari gunung -gunung yang dipanjat oleh pendaki dari negara "Jerman Barat". | CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR) |
SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = "Uganda" | Tunjukkan waktu yang digunakan oleh pendaki untuk mendaki gunung di negara Uganda. | CREATE TABLE mountain (Mountain_ID VARCHAR, Country VARCHAR); CREATE TABLE climber (Time VARCHAR, Mountain_ID VARCHAR) |
SELECT Country, COUNT(*) FROM climber GROUP BY Country | Tolong tunjukkan negara -negara dan jumlah pendaki dari masing -masing negara. | CREATE TABLE climber (Country VARCHAR) |
SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1 | Sebutkan negara -negara yang memiliki lebih dari satu gunung. | CREATE TABLE mountain (Country VARCHAR) |
SELECT Name FROM mountain WHERE NOT Mountain_ID IN (SELECT Mountain_ID FROM climber) | Sebutkan nama -nama pegunungan yang tidak memiliki pendaki. | CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR) |
SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200 | Tunjukkan negara -negara yang memiliki gunung dengan tinggi lebih dari 5600 lantai dan gunung dengan ketinggian kurang dari 5200. | CREATE TABLE mountain (Country VARCHAR, Height INTEGER) |
SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1 | Tunjukkan kisaran yang memiliki jumlah gunung terbanyak. | CREATE TABLE mountain (Range VARCHAR) |
SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000 | Tunjukkan nama -nama gunung dengan tinggi lebih dari 5000 atau menonjol lebih dari 1000. | CREATE TABLE mountain (Name VARCHAR, Height VARCHAR, Prominence VARCHAR) |
SELECT COUNT(*) FROM body_builder | Ada berapa tubuh pembangun? | CREATE TABLE body_builder (Id VARCHAR) |
SELECT Total FROM body_builder ORDER BY Total | Sebutkan total skor pembangun tubuh dalam urutan naik. | CREATE TABLE body_builder (Total VARCHAR) |
SELECT Snatch, Clean_Jerk FROM body_builder ORDER BY Snatch | Sebutkan skor snatch dan skor brengsek bersih dari pembangun tubuh dalam menaikkan urutan skor snatch. | CREATE TABLE body_builder (Snatch VARCHAR, Clean_Jerk VARCHAR) |
SELECT AVG(Snatch) FROM body_builder | Berapa skor snatch rata -rata pembangun tubuh? | CREATE TABLE body_builder (Snatch INTEGER) |
SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1 | Berapa skor bersih dan brengsek dari pembangun tubuh dengan skor total tertinggi? | CREATE TABLE body_builder (Clean_Jerk VARCHAR, Total VARCHAR) |
SELECT Birth_Date FROM People ORDER BY Height | Apa ulang tahun orang dalam urutan tinggi yang naik? | CREATE TABLE People (Birth_Date VARCHAR, Height VARCHAR) |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID | Apa nama pembangun tubuh? | CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total > 300 | Apa nama -nama pembangun tubuh yang skor totalnya lebih tinggi dari 300? | CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE body_builder (People_ID VARCHAR, Total INTEGER) |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 | Apa nama pembangun tubuh dengan berat badan terbesar? | CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR) |
SELECT T2.Birth_Date, T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC LIMIT 1 | Apa tanggal lahir dan tempat lahir pembangun tubuh dengan total poin tertinggi? | CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Birth_Date VARCHAR, Birth_Place VARCHAR, People_ID VARCHAR) |
SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315 | Berapa ketinggian pembangun tubuh dengan skor total lebih kecil dari 315? | CREATE TABLE people (Height VARCHAR, People_ID VARCHAR); CREATE TABLE body_builder (People_ID VARCHAR, Total INTEGER) |
SELECT AVG(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200 | Berapa skor total rata -rata pembangun tubuh dengan tinggi lebih besar dari 200? | CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE body_builder (Total INTEGER, People_ID VARCHAR) |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC | Apa nama -nama pembangun tubuh dalam urutan skor total yang menurun? | CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
SELECT Birth_Place, COUNT(*) FROM people GROUP BY Birth_Place | Sebutkan setiap tempat kelahiran bersama dengan jumlah orang dari sana. | CREATE TABLE people (Birth_Place VARCHAR) |
SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1 | Apa tempat kelahiran orang yang paling umum? | CREATE TABLE people (Birth_Place VARCHAR) |
SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*) >= 2 | Apa tempat kelahiran yang dibagikan oleh setidaknya dua orang? | CREATE TABLE people (Birth_Place VARCHAR) |
SELECT Height, Weight FROM people ORDER BY Height DESC | Sebutkan tinggi dan berat orang dalam urutan tinggi yang menurun. | CREATE TABLE people (Height VARCHAR, Weight VARCHAR) |
SELECT * FROM body_builder | Tunjukkan semua informasi tentang setiap pembangun tubuh. | CREATE TABLE body_builder (Id VARCHAR) |
SELECT Name, birth_place FROM people EXCEPT SELECT T1.Name, T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id | Sebutkan nama dan asal orang yang bukan pembangun tubuh. | CREATE TABLE people (Name VARCHAR, birth_place VARCHAR, people_id VARCHAR); CREATE TABLE body_builder (people_id VARCHAR); CREATE TABLE people (Name VARCHAR, birth_place VARCHAR) |
SELECT COUNT(DISTINCT Birth_Place) FROM people | Ada berapa banyak tempat kelahiran yang berbeda? | CREATE TABLE people (Birth_Place VARCHAR) |
SELECT COUNT(*) FROM people WHERE NOT people_id IN (SELECT People_ID FROM body_builder) | Berapa banyak orang yang bukan pembangun tubuh? | CREATE TABLE body_builder (people_id VARCHAR, People_ID VARCHAR); CREATE TABLE people (people_id VARCHAR, People_ID VARCHAR) |
SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200 | Sebutkan berat pembangun tubuh yang memiliki skor merebut lebih tinggi dari 140 atau memiliki tinggi lebih besar dari 200. | CREATE TABLE people (weight VARCHAR, people_id VARCHAR, height VARCHAR); CREATE TABLE body_builder (people_id VARCHAR, snatch VARCHAR) |
SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE "%January%" | Apa total skor pembangun tubuh yang ulang tahunnya berisi string "Januari"? | CREATE TABLE people (people_id VARCHAR, Birth_Date VARCHAR); CREATE TABLE body_builder (total VARCHAR, people_id VARCHAR) |
SELECT MIN(snatch) FROM body_builder | Berapa skor snatch minimum? | CREATE TABLE body_builder (snatch INTEGER) |
SELECT COUNT(*) FROM election | Ada berapa pemilihan? | CREATE TABLE election (Id VARCHAR) |
SELECT Votes FROM election ORDER BY Votes DESC | Sebutkan suara pemilihan dalam urutan menurun. | CREATE TABLE election (Votes VARCHAR) |
SELECT Date, Vote_Percent FROM election | Sebutkan tanggal dan suara pemilihan pemilihan. | CREATE TABLE election (Date VARCHAR, Vote_Percent VARCHAR) |
SELECT MIN(Vote_Percent), MAX(Vote_Percent) FROM election | Berapa persenta pemilihan minimum dan maksimum pemilihan? | CREATE TABLE election (Vote_Percent INTEGER) |
SELECT Name, Party FROM representative | Apa nama dan pihak perwakilan? | CREATE TABLE representative (Name VARCHAR, Party VARCHAR) |
SELECT Name FROM Representative WHERE Party <> "Republican" | Apa nama perwakilan yang partai yang bukan "Republikan"? | CREATE TABLE Representative (Name VARCHAR, Party VARCHAR) |
SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana" | Apa rentang hidup perwakilan dari Negara Bagian New York atau Negara Bagian Indiana? | CREATE TABLE representative (Lifespan VARCHAR, State VARCHAR) |
SELECT T2.Name, T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID | Apa nama perwakilan dan tanggal pemilihan yang mereka ikuti. | CREATE TABLE election (Date VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) |
SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE Votes > 10000 | Apa nama perwakilan dengan lebih dari 100.000 suara dalam pemilihan? | CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) |
SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes DESC | Apa nama perwakilan dalam urutan suara yang menurun? | CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) |
SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes LIMIT 1 | Apa partai perwakilan yang memiliki jumlah suara terkecil. | CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) |
SELECT T2.Lifespan FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY Vote_Percent DESC | Apa lifespans perwakilan dalam urutan pemungutan suara persen? | CREATE TABLE election (Representative_ID VARCHAR); CREATE TABLE representative (Lifespan VARCHAR, Representative_ID VARCHAR) |
SELECT AVG(T1.Votes) FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE T2.Party = "Republican" | Berapa jumlah rata -rata suara perwakilan dari partai "Republikan"? | CREATE TABLE election (Votes INTEGER, Representative_ID VARCHAR); CREATE TABLE representative (Representative_ID VARCHAR, Party VARCHAR) |
SELECT Party, COUNT(*) FROM representative GROUP BY Party | Apa saja partai perwakilan yang berbeda?Tunjukkan nama partai dan jumlah perwakilan di masing -masing pihak. | CREATE TABLE representative (Party VARCHAR) |
SELECT Party, COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1 | Apa partai yang memiliki jumlah perwakilan terbesar? | CREATE TABLE representative (Party VARCHAR) |
SELECT Party FROM representative GROUP BY Party HAVING COUNT(*) >= 3 | Partai mana yang memiliki setidaknya tiga perwakilan? | CREATE TABLE representative (Party VARCHAR) |
SELECT State FROM representative GROUP BY State HAVING COUNT(*) >= 2 | Negara bagian mana yang memiliki setidaknya dua perwakilan? | CREATE TABLE representative (State VARCHAR) |
SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election) | Sebutkan nama perwakilan yang belum berpartisipasi dalam pemilihan yang tercantum di sini. | CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) |
SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania" | Tunjukkan para pihak yang memiliki perwakilan di negara bagian New York dan perwakilan di Negara Bagian Pennsylvania. | CREATE TABLE representative (Party VARCHAR, State VARCHAR) |
SELECT COUNT(DISTINCT Party) FROM representative | Berapa banyak pihak berbeda yang ada untuk perwakilan? | CREATE TABLE representative (Party VARCHAR) |
SELECT COUNT(*) FROM Apartment_Bookings | Berapa banyak pemesanan apartemen secara total? | CREATE TABLE Apartment_Bookings (Id VARCHAR) |
SELECT booking_start_date, booking_end_date FROM Apartment_Bookings | Tunjukkan tanggal mulai dan tanggal akhir dari semua pemesanan apartemen. | CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR) |
SELECT DISTINCT building_description FROM Apartment_Buildings | Tunjukkan semua deskripsi bangunan yang berbeda. | CREATE TABLE Apartment_Buildings (building_description VARCHAR) |
SELECT building_short_name FROM Apartment_Buildings WHERE building_manager = "Emma" | Tunjukkan nama pendek bangunan yang dikelola oleh "Emma". | CREATE TABLE Apartment_Buildings (building_short_name VARCHAR, building_manager VARCHAR) |
SELECT building_address, building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden" | Tunjukkan alamat dan ponsel dari semua bangunan yang dikelola oleh "Brenden". | CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_phone VARCHAR, building_manager VARCHAR) |
SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE "%court%" | Apa nama lengkap nama yang berisi kata "pengadilan"? | CREATE TABLE Apartment_Buildings (building_full_name VARCHAR) |
SELECT MIN(bathroom_count), MAX(bathroom_count) FROM Apartments | Berapa jumlah kamar mandi minimum dan maksimum dari semua apartemen? | CREATE TABLE Apartments (bathroom_count INTEGER) |
SELECT AVG(bedroom_count) FROM Apartments | Berapa jumlah rata -rata kamar tidur dari semua apartemen? | CREATE TABLE Apartments (bedroom_count INTEGER) |
SELECT apt_number, room_count FROM Apartments | Kembalikan nomor apartemen dan jumlah kamar untuk setiap apartemen. | CREATE TABLE Apartments (apt_number VARCHAR, room_count VARCHAR) |
SELECT AVG(room_count) FROM Apartments WHERE apt_type_code = "Studio" | Berapa jumlah rata -rata kamar apartemen dengan kode jenis "studio"? | CREATE TABLE Apartments (room_count INTEGER, apt_type_code VARCHAR) |
SELECT apt_number FROM Apartments WHERE apt_type_code = "Flat" | Kembalikan nomor apartemen apartemen dengan kode tipe "datar". | CREATE TABLE Apartments (apt_number VARCHAR, apt_type_code VARCHAR) |
SELECT guest_first_name, guest_last_name FROM Guests | Kembalikan nama depan dan nama belakang semua tamu | CREATE TABLE Guests (guest_first_name VARCHAR, guest_last_name VARCHAR) |
SELECT date_of_birth FROM Guests WHERE gender_code = "Male" | Kembalikan tanggal lahir untuk semua tamu dengan kode gender "pria". | CREATE TABLE Guests (date_of_birth VARCHAR, gender_code VARCHAR) |
SELECT T2.apt_number, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id | Tunjukkan nomor apartemen, mulai tanggal, dan tanggal akhir dari semua pemesanan apartemen. | CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR) |
SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" | Apa tanggal pemesanan dan akhir dari apartemen dengan kode tipe "duplex"? | CREATE TABLE Apartments (apt_id VARCHAR, apt_type_code VARCHAR); CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR) |
SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2 | Apa tanggal pemesanan dan akhir dari apartemen dengan lebih dari 2 kamar tidur? | CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR, bedroom_count INTEGER) |
SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_number = "Suite 634" | Berapa kode status pemesanan apartemen dengan nomor apartemen "suite 634"? | CREATE TABLE Apartments (apt_id VARCHAR, apt_number VARCHAR); CREATE TABLE Apartment_Bookings (booking_status_code VARCHAR, apt_id VARCHAR) |
SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed" | Tunjukkan nomor apartemen yang berbeda dari apartemen yang memiliki pemesanan dengan kode status "dikonfirmasi". | CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR) |
SELECT AVG(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" | Tunjukkan jumlah kamar rata -rata apartemen yang memiliki kode status pemesanan "sementara". | CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR) |
SELECT T2.guest_first_name, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id | Tunjukkan nama depan tamu, kencan mulai, dan tanggal akhir dari semua pemesanan apartemen. | CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_first_name VARCHAR, guest_id VARCHAR) |