question
stringlengths
16
224
query
stringlengths
18
577
translated_question
stringlengths
5
212
Return the names of singers who are from UK and released an English song.
SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english"
İngiltere'den gelen ve bir İngilizce şarkı yayınlayan şarkıcıların isimlerini iade edin.
What is the total number of campuses?
SELECT count(*) FROM campuses
Toplam kampüs sayısı nedir?
What is the name of the person who is the oldest?
SELECT name FROM Person WHERE age = (SELECT max(age) FROM person)
En yaşlı olan kişinin adı nedir?
What is the age of student Linda Smith?
SELECT Age FROM Student WHERE Fname = "Linda" AND Lname = "Smith";
Öğrenci Linda Smith'in yaşı nedir?
What is the name of the customer who has greatest total loan amount?
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY sum(T2.amount) DESC LIMIT 1
Toplam kredi tutarına sahip olan müşterinin adı nedir?
What are the distinct address type codes for all customer addresses?
SELECT DISTINCT address_type_code FROM customer_addresses
Tüm müşteri adresleri için farklı adres türü kodları nelerdir?
Select the average price of each manufacturer's products, showing only the manufacturer's code.
SELECT AVG(Price) , Manufacturer FROM Products GROUP BY Manufacturer
Yalnızca üreticinin kodunu gösteren her üreticinin ürünlerinin ortalama fiyatını seçin.
Show the names of cities in counties that have a crime rate less than 100.
SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate < 100)
100'den az suç oranı olan ilçelerde şehirlerin isimlerini gösterin.
What is the status of the city that has hosted the most competitions?
SELECT T1.Status FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID ORDER BY COUNT(*) DESC LIMIT 1
En çok yarışmaya ev sahipliği yapan şehrin durumu nedir?
What are the employee ids for employees who make more than the average?
SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees)
Ortalamadan daha fazlasını yapan çalışanlar için çalışan kimlikleri nelerdir?
How many papers are published in total?
SELECT count(*) FROM papers
Toplamda kaç makale yayınlanıyor?
What is minimum hours of the students playing in different position?
SELECT min(T2.HS) , T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID GROUP BY T1.pPos
Farklı pozisyonda oynayan öğrencilerin minimum saatleri nedir?
List the names of all the distinct product names in alphabetical order?
SELECT DISTINCT product_name FROM product ORDER BY product_name
Tüm farklı ürün adlarının adlarını alfabetik sırayla mı listeleyin?
What is the name of the language that the film 'AIRPORT POLLOCK' is in?
SELECT T2.name FROM film AS T1 JOIN LANGUAGE AS T2 ON T1.language_id = T2.language_id WHERE T1.title = 'AIRPORT POLLOCK'
'Havaalanı Pollock' filminin içinde bulunduğu dilin adı nedir?
List Aerosmith's albums.
SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Aerosmith";
Aerosmith'in albümlerini listeleyin.
What are the names of all of Alice's friends of friends?
SELECT DISTINCT T4.name FROM PersonFriend AS T1 JOIN Person AS T2 ON T1.name = T2.name JOIN PersonFriend AS T3 ON T1.friend = T3.name JOIN PersonFriend AS T4 ON T3.friend = T4.name WHERE T2.name = 'Alice' AND T4.name != 'Alice'
Alice'in arkadaşlarının tüm arkadaşlarının isimleri nelerdir?
What is the average rating for right-footed players and left-footed players?
SELECT preferred_foot , avg(overall_rating) FROM Player_Attributes GROUP BY preferred_foot
Sağ ayaklı oyuncular ve sol ayaklı oyuncular için ortalama derecelendirme nedir?
List all the cities in a decreasing order of each city's stations' highest latitude.
SELECT city FROM station GROUP BY city ORDER BY max(lat) DESC
Tüm şehirleri, her şehrin istasyonlarının en yüksek enleminin azalan bir sırasına göre listeleyin.
What is the first name of students enrolled in class ACCT-211 and got grade C?
SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T2.stu_num = T3.stu_num WHERE T1.crs_code = 'ACCT-211' AND T2.enroll_grade = 'C'
ACCT-211 sınıfına kayıtlı ve C Sınıfı var?
What are the names of artists that have not had any exhibitions?
SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)
Sergisi olmayan sanatçıların isimleri nelerdir?
For each classroom, report the classroom number and the number of grades using it.
SELECT classroom , count(DISTINCT grade) FROM list GROUP BY classroom
Her sınıf için, sınıf numarasını ve bunu kullanarak not sayısını bildirin.
What are the names of rooms that have either king or queen bed?
SELECT roomName FROM Rooms WHERE bedType = "King" OR bedType = "Queen";
Kral veya kraliçe yatağı olan odaların isimleri nelerdir?
How many project staff worked as leaders or started working before '1989-04-24 23:51:54'?
SELECT count(*) FROM Project_Staff WHERE role_code = 'leader' OR date_from < '1989-04-24 23:51:54'
Kaç proje personeli lider olarak çalıştı veya '1989-04-24 23:51:54' den önce çalışmaya başladı?
What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 students?
SELECT building , room_number FROM classroom WHERE capacity BETWEEN 50 AND 100
50 ila 100 öğrenci arasında oturabilen sınıflar için oda numaraları ve ilgili binalar nelerdir?
How many cards does customer Art Turcotte have?
SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte"
Müşteri Sanatı Türkotu kaç kartı var?
Find the team names of the universities whose enrollments are smaller than the average enrollment size.
SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT avg(enrollment) FROM university)
Kayıtları ortalama kayıt boyutundan daha küçük olan üniversitelerin takım isimlerini bulun.
Return the positions of players on the team Ryley Goldner.
SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner"
Ryley Goldner takımındaki oyuncuların pozisyonlarını iade edin.
How many different allergy types exist?
SELECT count(DISTINCT allergytype) FROM Allergy_type
Kaç farklı alerji tipi var?
What are the names of parties that have both delegates on "Appropriations" committee and
SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.Committee = "Appropriations" INTERSECT SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.Committee = "Economic Matters"
"Ödenekler" komitesinde hem delege olan tarafların isimleri nelerdir hem de
How many players did Boston Red Stockings have in 2000?
SELECT count(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000
Boston Red Stockings'in 2000 yılında kaç oyuncusu vardı?
Show the id and name of the employee with maximum salary.
SELECT eid , name FROM Employee ORDER BY salary DESC LIMIT 1
Çalışanın kimliğini ve adını maksimum maaşla gösterin.
Find each student's first name.
SELECT DISTINCT fname FROM student
Her öğrencinin adını bulun.
How many eliminations did each team have?
SELECT Team , COUNT(*) FROM elimination GROUP BY Team
Her takımın kaç tane eleme vardı?
What are the names of the ships that are from either the US or the UK?
SELECT Name FROM ship WHERE Nationality = "United States" OR Nationality = "United Kingdom"
ABD veya İngiltere'den gelen gemilerin isimleri nelerdir?
Which artist does the album "Balls to the Wall" belong to?
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
"Balls to the Wall" albümü hangi sanatçıya ait?
Find the full names of employees living in the city of Calgary.
SELECT FirstName , LastName FROM EMPLOYEE WHERE City = "Calgary"
Calgary şehrinde yaşayan çalışanların tam adlarını bulun.
Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name.
SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t3.sex = "M"
"Hopkins Student Enterprises" kulübünün tüm erkek üyelerini bulun.Ad ve soyadı gösterin.
Select the average price of each manufacturer's products, showing only the manufacturer's code.
SELECT AVG(Price) , Manufacturer FROM Products GROUP BY Manufacturer
Yalnızca üreticinin kodunu gösteren her üreticinin ürünlerinin ortalama fiyatını seçin.
Show the names of journalists that have reported more than one event.
SELECT T3.Name FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name HAVING COUNT(*) > 1
Birden fazla etkinlik bildiren gazetecilerin adlarını gösterin.
Show names of actors that have appeared in musical with name "The Phantom of the Opera".
SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID WHERE T2.Name = "The Phantom of the Opera"
Müzikalde "Opera'nın Hayaleti" adıyla ortaya çıkan aktörlerin isimlerini gösterin.
Find the name and age of the person who is a friend of Dan or Alice.
SELECT DISTINCT T1.name , T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' OR T2.friend = 'Alice'
Dan veya Alice'in arkadaşı olan kişinin adını ve yaşını bulun.
What are the names of cities that are in counties that have a crime rate below 100?
SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate < 100)
100'in altında suç oranı olan ilçelerde olan şehirlerin isimleri nelerdir?
Show all artist names who didn't have an exhibition in 2004.
SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004
2004'te sergisi olmayan tüm sanatçı isimlerini gösterin.
Find the title of courses that have two prerequisites?
SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING count(*) = 2
İki önkoşulu olan kursların başlığını mı buldunuz?
What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?
SELECT DISTINCT T1.service_type_code FROM services AS T1 JOIN organizations AS T2 ON T1.organization_id = T2.organization_id WHERE T2.organization_details = 'Denesik and Sons Party'
'Denesik ve Sons Partisi' detayına sahip kuruluş tarafından sağlanan farklı hizmet türleri nedir?
Find the type code of the most frequently used policy.
SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY count(*) DESC LIMIT 1
En sık kullanılan politikanın tür kodunu bulun.
Give me the zip code where the average mean humidity is below 70 and at least 100 trips took place.
SELECT zip_code FROM weather GROUP BY zip_code HAVING avg(mean_humidity) < 70 INTERSECT SELECT zip_code FROM trip GROUP BY zip_code HAVING count(*) >= 100
Bana ortalama ortalama nemin 70'in altında olduğu ve en az 100 gezinin gerçekleştiği posta kodunu verin.
List the names of journalists who have not reported any event.
SELECT Name FROM journalist WHERE journalist_ID NOT IN (SELECT journalist_ID FROM news_report)
Herhangi bir olay bildirmeyen gazetecilerin adlarını listeleyin.
Show the names of phones with carrier either "Sprint" or "TMobile".
SELECT Name FROM phone WHERE Carrier = "Sprint" OR Carrier = "TMobile"
"Sprint" veya "Tmobile" taşıyıcısı olan telefonların adlarını gösterin.
What is the name of the customer who has made the largest amount of claim in a single claim?
SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_claimed = (SELECT max(amount_claimed) FROM claim_headers)
Tek bir iddiada en fazla talepte bulunan müşterinin adı nedir?
What are the majors only less than three students are studying?
SELECT Major FROM STUDENT GROUP BY Major HAVING COUNT(*) < 3
Binbaşı sadece üçten az öğrenci okuyor?
Compute the total salary that the player with first name Len and last name Barker received between 1985 to 1990.
SELECT sum(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first = 'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990;
1985-1990 yılları arasında Barker'ın adına ve soyadı olan oyuncunun toplam maaşını hesaplayın.
Return the maximum and minimum customer codes.
SELECT max(customer_code) , min(customer_code) FROM Customers
Maksimum ve minimum müşteri kodlarını döndürün.
Count the number of institutions.
SELECT count(*) FROM inst
Kurum sayısını sayın.
How many albums does Billy Cobham has?
SELECT count(*) FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Billy Cobham";
Billy Cobham'ın kaç albümü var?
Give the phone and postal code corresponding to the address '1031 Daugavpils Parkway'.
SELECT phone , postal_code FROM address WHERE address = '1031 Daugavpils Parkway'
'1031 Daugavpils Parkway' adresine karşılık gelen telefon ve posta kodunu verin.
Which engineer has visited the most times? Show the engineer id, first name and last name.
SELECT T1.engineer_id , T1.first_name , T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id ORDER BY count(*) DESC LIMIT 1
Hangi mühendis en çok ziyaret etti?Mühendis kimliğini, adını ve soyadını gösterin.
What are the different product sizes?
SELECT DISTINCT product_size FROM Products
Farklı ürün boyutları nelerdir?
Find the average ram mib size of the chip models that are never used by any phone.
SELECT avg(RAM_MiB) FROM chip_model WHERE model_name NOT IN (SELECT chip_model FROM phone)
Hiçbir telefon tarafından hiç kullanılmayan çip modellerinin ortalama RAM MIB boyutunu bulun.
What are the names of all aircrafts that John Williams have certificates to be able to fly?
SELECT T3.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T1.name = "John Williams"
John Williams'ın uçabilmek için sertifikaları olduğu tüm uçakların isimleri nelerdir?
What is the average attendance of stadiums with capacity percentage higher than 100%?
SELECT average_attendance FROM stadium WHERE capacity_percentage > 100
Kapasite yüzdesi%100'den yüksek olan stadyumların ortalama katılımı nedir?
What is the id of the shortest trip?
SELECT id FROM trip ORDER BY duration LIMIT 1
En kısa yolculuğun kimliği nedir?
What is the average age for each gender?
SELECT avg(age) , gender FROM Person GROUP BY gender
Her cinsiyet için ortalama yaş nedir?
What is the id of the trip that started from the station with the highest dock count?
SELECT T1.id FROM trip AS T1 JOIN station AS T2 ON T1.start_station_id = T2.id ORDER BY T2.dock_count DESC LIMIT 1
En yüksek rıhtım sayısına sahip istasyondan başlayan yolculuğun kimliği nedir?
Find the titles of items whose rating is higher than the average review rating of all items.
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > (SELECT avg(rating) FROM review)
Derecelendirmesi tüm öğelerin ortalama inceleme derecesinden daha yüksek olan öğelerin başlıklarını bulun.
For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars.
SELECT DISTINCT T3.name , T2.title , T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name
İncelemenin adının filmin yönetmeni ile aynı olduğu herhangi bir derecelendirme için, gözden geçiren adını, film başlığını ve yıldız sayısını iade edin.
What is the title of the album that was released by the artist whose name has the phrase 'Led'?
SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id = T2.artist_id WHERE T1.name LIKE '%Led%'
Adı 'LED' ifadesi olan sanatçı tarafından yayınlanan albümün başlığı nedir?
How many different kinds of clients are supported by the web clients accelerators?
SELECT count(DISTINCT client) FROM web_client_accelerator
Web istemcileri hızlandırıcıları tarafından kaç farklı müşteri türü destekleniyor?
What are the ids of the courses that are registered or attended by the student whose id is 121?
SELECT course_id FROM student_course_registrations WHERE student_id = 121 UNION SELECT course_id FROM student_course_attendance WHERE student_id = 121
Kimliği 121 olan öğrencinin kayıtlı veya katıldığı derslerin kimlikleri nelerdir?
For each team, how many technicians are there?
SELECT Team , COUNT(*) FROM technician GROUP BY Team
Her takım için kaç teknisyen var?
Show the theme for exhibitions with both records of an attendance below 100 and above 500.
SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance < 100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 500
Her iki 100 ve 500'ün üstünde bir katılım kaydı ile sergiler için temayı gösterin.
Show name and distance for all aircrafts.
SELECT name , distance FROM Aircraft
Tüm uçaklar için ad ve mesafeyi gösterin.
How many times in total did the team Boston Red Stockings participate in postseason games?
SELECT count(*) FROM ( SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' UNION SELECT * FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' );
Boston Kırmızı Çorap Takımı toplam kaç kez sezon sonrası oyunlara katıldı?
What are the names of the products that have a color description of 'red' and the 'fast' characteristic?
SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "red" AND t3.characteristic_name = "fast"
'Kırmızı' ve 'hızlı' karakteristik renk tanımına sahip ürünlerin adları nelerdir?
List the name of all playlist.
SELECT name FROM playlists;
Tüm çalma listesinin adını listeleyin.
Show first name and last name for all students.
SELECT Fname , Lname FROM Student
Tüm öğrenciler için ad ve soyadı gösterin.
display the emails of the employees who have no commission percentage and salary within the range 7000 to 12000 and works in that department which number is 50.
SELECT email FROM employees WHERE commission_pct = "null" AND salary BETWEEN 7000 AND 12000 AND department_id = 50
7000 ila 12000 aralığında komisyon yüzdesi ve maaşı olmayan çalışanların e -postalarını görüntüleyin ve bu bölümde 50 olan çalışma.
How many staff does each project has? List the project id and the number in an ascending order.
SELECT T1.project_id , count(*) FROM Project_Staff AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id ORDER BY count(*) ASC
Her projenin kaç personeli var?Proje kimliğini ve numarayı artan bir sırayla listeleyin.
Show the most common country across members.
SELECT Country FROM member GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1
Üyeler arasında en yaygın ülkeyi gösterin.
List the number of invoices from the US, grouped by state.
SELECT billing_state , COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state;
Devlet tarafından gruplandırılan ABD'den fatura sayısını listeleyin.
How many exhibitions has each artist had?
SELECT T2.name , count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id
Her sanatçının kaç sergisi vardı?
What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?
SELECT max(OMIM) FROM enzyme
Enzimlerin insan (OMIM) değerindeki maksimum çevrimiçi Mendel mirası nedir?
What are the names of reviewers who had rated 3 star and 4 star?
SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars = 3 INTERSECT SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars = 4
3 yıldızlı ve 4 yıldız olarak derecelendiren gözden geçirenlerin isimleri nelerdir?
What are the names and ids of customers whose address contains TN?
SELECT customer_name , customer_id FROM customers WHERE customer_address LIKE "%TN%"
Adresi TN içeren müşterilerin adları ve kimlikleri nelerdir?
What is the level name of the cheapest catalog (in USD)?
SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1
En ucuz kataloğun (USD olarak) seviye adı nedir?
Find the first names of students with age above 22.
SELECT Fname FROM STUDENT WHERE Age > 22
Yaş 22'nin üzerinde olan öğrencilerin ilk adlarını bulun.
Show the number of cities in counties that have a population more than 20000.
SELECT count(*) FROM city WHERE county_ID IN (SELECT county_ID FROM county_public_safety WHERE population > 20000)
20000'den fazla nüfusa sahip ilçelerde şehir sayısını gösterin.
Show the names of members and the location of performances they attended in ascending alphabetical order of their names.
SELECT T2.Name , T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T2.Name ASC
Üyelerin isimlerini ve isimlerinin yükselen alfabetik sırasına katıldıkları performansların yerini gösterin.
What are the names of storms that did not affect any regions?
SELECT name FROM storm WHERE storm_id NOT IN (SELECT storm_id FROM affected_region)
Herhangi bir bölgeyi etkilemeyen fırtınaların isimleri nelerdir?
How many students live in each city?
SELECT city_code , count(*) FROM Student GROUP BY city_code
Her şehirde kaç öğrenci yaşıyor?
What are the names of students who haven't taken any Biology courses?
SELECT name FROM student WHERE id NOT IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.dept_name = 'Biology')
Biyoloji kursları almamış öğrencilerin isimleri nelerdir?
What is the name of the district with the most residents?
SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
En çok sakinlerle bölgenin adı nedir?
For each product type, return the maximum and minimum price.
SELECT product_type_code , max(product_price) , min(product_price) FROM products GROUP BY product_type_code
Her ürün türü için maksimum ve minimum fiyatı döndürün.
List all characteristics of product named "sesame" with type code "Grade".
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" AND t3.characteristic_type_code = "Grade"
"Susam" adlı ürünün tüm özelliklerini "Sınıf" türü ile listeleyin.
Show all ages and corresponding number of students.
SELECT age , count(*) FROM Student GROUP BY age
Her yaş ve ilgili öğrenciyi gösterin.
Find the titles of items that received both a rating higher than 8 and a rating below 5.
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5
Hem 8'den yüksek hem de 5'in altında bir derecelendirme alan öğelerin başlıklarını bulun.
Which major has most number of students?
SELECT major FROM Student GROUP BY major ORDER BY count(*) DESC LIMIT 1
Hangi Binbaşı En çok öğrenci var?
List each donator name and the amount of endowment in descending order of the amount of endowment.
SELECT donator_name , sum(amount) FROM endowment GROUP BY donator_name ORDER BY sum(amount) DESC
Her bağışçı adını ve bağış miktarını, bağış miktarının azalan sırasına göre listeleyin.
What is the minimum salary in each department?
SELECT MIN(salary) , department_id FROM employees GROUP BY department_id
Her departmanda asgari maaş nedir?
What is the first and last name of all the German drivers?
SELECT forename , surname FROM drivers WHERE nationality = "German"
Tüm Alman sürücülerinin ilk ve soyadı nedir?