question
stringlengths 16
224
| query
stringlengths 18
577
| translated_question
stringlengths 5
212
|
---|---|---|
Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.
|
SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance
|
Toplam dengeye göre sıralanan tüm hesapların toplam kontrol ve tasarruf bakiyesini artan sırada bulun.
|
How many users are logged in?
|
SELECT count(*) FROM users WHERE user_login = 1
|
Kaç kullanıcı giriş yapılır?
|
Find the id of the song that lasts the longest.
|
SELECT f_id FROM files ORDER BY duration DESC LIMIT 1
|
En uzun süren şarkının kimliğini bulun.
|
List the titles of the books in ascending order of issues.
|
SELECT Title FROM book ORDER BY Issues ASC
|
Kitapların başlıklarını artan sorunların sırasına göre listeleyin.
|
Give the name of the student in the History department with the most credits.
|
SELECT name FROM student WHERE dept_name = 'History' ORDER BY tot_cred DESC LIMIT 1
|
Tarih bölümündeki öğrencinin adını en çok krediyle verin.
|
List the name of all customers sorted by their account balance in ascending order.
|
SELECT cust_name FROM customer ORDER BY acc_bal
|
Hesap bakiyesine göre sıralanan tüm müşterilerin adını artan sırayla listeleyin.
|
Provide the full names of employees earning more than the employee with id 163.
|
SELECT first_name , last_name FROM employees WHERE salary > (SELECT salary FROM employees WHERE employee_id = 163 )
|
ID 163 ile çalışandan daha fazlasını kazanan çalışanların tam adlarını sağlayın.
|
How many products are not made by Sony?
|
SELECT count(DISTINCT name) FROM products WHERE name NOT IN (SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Sony')
|
Sony tarafından kaç ürün yapılmıyor?
|
What states have at least two representatives?
|
SELECT State FROM representative GROUP BY State HAVING COUNT(*) >= 2
|
Hangi eyaletlerin en az iki temsilcisi var?
|
Show the headquarters shared by more than two companies.
|
SELECT Headquarters FROM Companies GROUP BY Headquarters HAVING COUNT(*) > 2
|
İkiden fazla şirket tarafından paylaşılan karargahı gösterin.
|
What are the tracks that Dean Peeters bought?
|
SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "Daan" AND T4.last_name = "Peeters";
|
Dean Peeters'ın satın aldığı parçalar nelerdir?
|
Count the number of authors.
|
SELECT count(*) FROM authors
|
Yazar sayısını sayın.
|
Which colleges do the tryout players whose name starts with letter D go to?
|
SELECT T1.cName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T2.pName LIKE 'D%'
|
D Mektubu ile adı başlayan deneme oyuncuları hangi kolejlere gidiyor?
|
Find the name of tracks which are in both Movies and music playlists.
|
SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Music'
|
Hem filmlerde hem de müzik çalma listelerinde bulunan parçaların adını bulun.
|
What is the role code with the largest number of employees?
|
SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1
|
En fazla sayıda çalışanı olan rol kodu nedir?
|
What is the name of the instructor who advises the student with the greatest number of total credits?
|
SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1
|
Öğrenciye en fazla toplam krediye sahip öğrencilere tavsiyelerde bulunan eğitmenin adı nedir?
|
Which organisation type hires most research staff?
|
SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY count(*) DESC LIMIT 1
|
Hangi organizasyon tipi çoğu araştırma personelini işe alır?
|
For each room, find its name and the number of times reservations were made for it.
|
SELECT T2.roomName , count(*) , T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room
|
Her oda için adını bulun ve bunun için rezervasyonların yapıldığı sayı sayısını bulun.
|
Find the name of people whose age is greater than any engineer sorted by their age.
|
SELECT name FROM Person WHERE age > (SELECT min(age) FROM person WHERE job = 'engineer') ORDER BY age
|
Yaşına göre sıralanan herhangi bir mühendisden daha büyük olan insanların adını bulun.
|
What is the description of document type 'Paper'?
|
SELECT document_type_description FROM Ref_Document_Types WHERE document_type_code = "Paper";
|
'Kağıt' belge türünün açıklaması nedir?
|
What are the names of all females who are friends with Zach?
|
SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Zach' AND T1.gender = 'female'
|
Zach ile arkadaş olan tüm kadınların isimleri nelerdir?
|
What are the order dates of orders with price higher than 1000?
|
SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_price > 1000
|
Fiyat 1000'den yüksek olan siparişlerin sipariş tarihleri nelerdir?
|
Which author has written the most papers? Find his or her last name.
|
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.fname , t1.lname ORDER BY count(*) DESC LIMIT 1
|
Hangi yazar en çok makaleyi yazdı?Soyadını bulun.
|
Find the name of students who took any class in the years of 2009 and 2010.
|
SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 2010
|
2009 ve 2010 yıllarında herhangi bir ders alan öğrencilerin adını bulun.
|
What are the different card types, and how many cards are there of each?
|
SELECT card_type_code , count(*) FROM Customers_cards GROUP BY card_type_code
|
Farklı kart türleri nelerdir ve her biri kaç kart var?
|
What si the youngest employee's first and last name?
|
SELECT first_name , last_name FROM employees ORDER BY birth_date DESC LIMIT 1;
|
En genç çalışanın adı ve soyadı nedir?
|
What are the first names of all students in course ACCT-211?
|
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'
|
Acct-211 dersindeki tüm öğrencilerin ilk isimleri nelerdir?
|
Give me a list of all the channel names sorted by the channel rating in descending order.
|
SELECT name FROM channel ORDER BY rating_in_percent DESC
|
Bana kanal derecesine göre sıralanan tüm kanal adlarının bir listesini azaltma sırasına verin.
|
How many distinct kinds of injuries happened after season 2010?
|
SELECT count(DISTINCT T1.injury) FROM injury_accident AS T1 JOIN game AS T2 ON T1.game_id = T2.id WHERE T2.season > 2010
|
2010 sezonundan sonra kaç farklı yaralanma oldu?
|
What are the student ids for all male students?
|
SELECT StuID FROM Student WHERE Sex = 'M'
|
Tüm erkek öğrenciler için öğrenci kimlikleri nelerdir?
|
What are the products with the maximum page size A4 that also have a pages per minute color smaller than 5?
|
SELECT product FROM product WHERE max_page_size = "A4" AND pages_per_minute_color < 5
|
Maksimum sayfa boyutu A4'e sahip ürünler, 5'ten daha küçük dakikada bir sayfaya sahip ürünler nelerdir?
|
What are the employee ids for each employee and final dates of employment at their last job?
|
SELECT employee_id , MAX(end_date) FROM job_history GROUP BY employee_id
|
Her çalışan için çalışan kimlikleri ve son işlerinde son istihdam tarihleri nelerdir?
|
Which vocal type has the band mate with first name "Solveig" played the most?
|
SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Solveig" GROUP BY TYPE ORDER BY count(*) DESC LIMIT 1
|
"Solveig" adlı adlı grup arkadaşı hangi vokal türü var?
|
What is the number of colleges with a student population greater than 15000?
|
SELECT count(*) FROM College WHERE enr > 15000
|
Öğrenci nüfusu olan kolej sayısı 15000'den fazla nedir?
|
Check the invoices record and compute the average quantities ordered with the payment method "MasterCard".
|
SELECT avg(Order_Quantity) FROM Invoices WHERE payment_method_code = "MasterCard"
|
Faturalar kaydını kontrol edin ve "MasterCard" ödeme yöntemi ile sipariş edilen ortalama miktarları hesaplayın.
|
Which allergy type is most common?
|
SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY count(*) DESC LIMIT 1
|
Hangi alerji tipi en yaygındır?
|
What are the names of tracks that contain the the word you in them?
|
SELECT Name FROM TRACK WHERE Name LIKE '%you%'
|
İçlerinde sizin için kelimeyi içeren parçaların adları nelerdir?
|
What are the names of regions that were not affected?
|
SELECT region_name FROM region WHERE region_id NOT IN (SELECT region_id FROM affected_region)
|
Etkilenmeyen bölgelerin isimleri nelerdir?
|
What is the average number of audience for festivals?
|
SELECT avg(Num_of_Audience) FROM festival_detail
|
Festivaller için ortalama izleyici sayısı nedir?
|
What are the different names of the product characteristics?
|
SELECT DISTINCT characteristic_name FROM CHARACTERISTICS
|
Ürün özelliklerinin farklı adları nelerdir?
|
How many debates are there?
|
SELECT count(*) FROM debate
|
Kaç tartışma var?
|
What are the titles and ids for albums containing tracks with unit price greater than 1?
|
SELECT T1.Title , T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID
|
Birim fiyatı 1'den fazla olan parçalar içeren albümler için başlıklar ve kimlikler nelerdir?
|
What are the names and balances of checking accounts belonging to the customer with the lowest savings balance?
|
SELECT T1.name , T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1
|
En düşük tasarruf bakiyesine sahip müşteriye ait kontrol hesaplarının isimleri ve bakiyeleri nelerdir?
|
Find the number of people who is under 40 for each gender.
|
SELECT count(*) , gender FROM Person WHERE age < 40 GROUP BY gender
|
Her cinsiyet için 40 yaşın altındaki insan sayısını bulun.
|
How many faculty lines are there in the university that conferred the most number of degrees in year 2002?
|
SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1
|
Üniversitede 2002 yılında en fazla sayıda dereceyi veren kaç fakülte hattı var?
|
For each constructor id, how many races are there?
|
SELECT count(*) , constructorid FROM constructorStandings GROUP BY constructorid
|
Her yapıcı kimliği için kaç yarış var?
|
Find the names of all procedures which cost more than 1000 but which physician John Wen was not trained in?
|
SELECT name FROM procedures WHERE cost > 1000 EXCEPT SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
|
1000'den fazla maliyetli ancak hangi doktor John Wen eğitilmeyen tüm prosedürlerin isimlerini bulun?
|
What are the names of the top 8 countries by total invoice size and what are those sizes?
|
SELECT billing_country , SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8;
|
Toplam fatura boyutuna göre ilk 8 ülkenin isimleri nelerdir ve bu boyutlar nelerdir?
|
find the highest support percentage, lowest consider rate and oppose rate of all candidates.
|
SELECT max(support_rate) , min(consider_rate) , min(oppose_rate) FROM candidate
|
Tüm adayların en yüksek destek yüzdesini, en düşük dikkate değer oranını ve karşıt oranını bulun.
|
On which day and in which zip code was the min dew point lower than any day in zip code 94107?
|
SELECT date , zip_code FROM weather WHERE min_dew_point_f < (SELECT min(min_dew_point_f) FROM weather WHERE zip_code = 94107)
|
Hangi gün ve hangi posta kodu Min Dew Point, posta kodu 94107'deki herhangi bir günden daha düşüktü?
|
Find the full names of employees who help customers with the first name Leonie.
|
SELECT T2.FirstName , T2.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId WHERE T1.FirstName = "Leonie"
|
Müşterilere ilk adıyla yardımcı olan çalışanların tam adlarını bulun Leonie.
|
What are all the different first names of the drivers who are in position as standing and won?
|
SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1
|
Ayakta ve kazanılan pozisyonda olan sürücülerin farklı adları nelerdir?
|
Count the number of distinct player positions.
|
SELECT count(DISTINCT POSITION) FROM player
|
Farklı oyuncu pozisyonlarının sayısını sayın.
|
How long does student Linda Smith spend on the restaurant in total?
|
SELECT sum(Spent) FROM Student JOIN Visits_Restaurant ON Student.StuID = Visits_Restaurant.StuID WHERE Student.Fname = "Linda" AND Student.Lname = "Smith";
|
Öğrenci Linda Smith toplamda ne kadar zaman harcıyor?
|
Which cities have 2 to 4 parks?
|
SELECT city FROM park GROUP BY city HAVING count(*) BETWEEN 2 AND 4;
|
Hangi şehirlerde 2 ila 4 park var?
|
Find the name and position of the head of the department with the least employees.
|
SELECT T2.name , T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.EmployeeID GROUP BY departmentID ORDER BY count(departmentID) LIMIT 1;
|
En az çalışanlarla departman başkanının adını ve pozisyonunu bulun.
|
What are the names and genders of all artists who released songs in the month of March?
|
SELECT T1.artist_name , T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE "%Mar%"
|
Mart ayında şarkı yayınlayan tüm sanatçıların isimleri ve cinsiyetleri nelerdir?
|
Show the names of phones and the districts of markets they are on.
|
SELECT T3.Name , T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID
|
Telefonların isimlerini ve bulundukları pazar bölgelerini gösterin.
|
Show all ministers and parties they belong to in descending order of the time they took office.
|
SELECT minister , party_name FROM party ORDER BY took_office DESC
|
A ait oldukları tüm bakanları ve partileri, göreve başladıkları zamanın azalan sırasına göre gösterin.
|
What are the different positions for match season?
|
SELECT DISTINCT POSITION FROM match_season
|
Maç sezonu için farklı pozisyonlar nelerdir?
|
Find the policy types more than 4 customers use. Show their type code.
|
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING count(*) > 4
|
Politika türlerini 4'ten fazla müşterinin kullandığı kullanın.Tip kodlarını gösterin.
|
What are the names of all instructors who advise students in the math depart sorted by total credits of the student.
|
SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math' ORDER BY T3.tot_cred
|
Öğrencinin toplam kredileri ile sıralanan Matematik bölümünde öğrencilere tavsiyelerde bulunan tüm eğitmenlerin isimleri nelerdir.
|
Find the addresses of the course authors who teach the course with name "operating system" or "data structure".
|
SELECT T1.address_line_1 FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "operating system" OR T2.course_name = "data structure"
|
Kursu "İşletim Sistemi" veya "Veri Yapısı" adıyla öğreten ders yazarlarının adreslerini bulun.
|
Find the name and gender of the candidate who got the highest support rate.
|
SELECT t1.name , t1.sex FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id ORDER BY t2.support_rate DESC LIMIT 1
|
En yüksek destek oranına sahip adayın adını ve cinsiyetini bulun.
|
How many students are 18 years old?
|
SELECT count(*) FROM Student WHERE age = 18
|
Kaç öğrenci 18 yaşında?
|
Show the number of customers.
|
SELECT count(*) FROM Customers
|
Müşteri sayısını gösterin.
|
List the duration, file size and format of songs whose genre is pop, ordered by title?
|
SELECT T1.duration , T1.file_size , T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.genre_is = "pop" ORDER BY T2.song_name
|
Türü Pop olan şarkıların süresini, dosya boyutunu ve biçimini listeleyin, başlığa göre sipariş?
|
Find all the customer information in state NY.
|
SELECT * FROM CUSTOMER WHERE State = "NY"
|
State NY'daki tüm müşteri bilgilerini bulun.
|
Find the names of the top 3 departments that provide the largest amount of courses?
|
SELECT dept_name FROM course GROUP BY dept_name ORDER BY count(*) DESC LIMIT 3
|
En fazla miktarda kursu sağlayan en iyi 3 departmanın isimlerini buldunuz mu?
|
List the names of aircrafts and that did not win any match.
|
SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)
|
Uçakların adlarını listeleyin ve bu herhangi bir maç kazanmayan.
|
What are the phones of departments in Room 268?
|
SELECT DPhone FROM DEPARTMENT WHERE Room = 268
|
Oda 268'deki departmanların telefonları nelerdir?
|
What are the names, checking balances, and savings balances of customers, ordered by the total of checking and savings balances descending?
|
SELECT T2.balance , T3.balance , T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance DESC
|
Toplam çek ve tasarruf bakiyelerinin azaltılmasıyla sipariş edilen isimler, kontrol bakiyeleri ve tasarruf bakiyeleri nelerdir?
|
Which teacher teaches the most students? Give me the first name and last name of the teacher.
|
SELECT T2.firstname , T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom GROUP BY T2.firstname , T2.lastname ORDER BY count(*) DESC LIMIT 1
|
Hangi öğretmen en çok öğrenciyi öğretir?Bana öğretmenin adını ve soyadını ver.
|
List the branch name and city without any registered members.
|
SELECT name , city FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)
|
Kayıtlı üyeler olmadan şube adını ve şehri listeleyin.
|
Show all origins and the number of flights from each origin.
|
SELECT origin , count(*) FROM Flight GROUP BY origin
|
Tüm kökenleri ve her menşe uçuş sayısını gösterin.
|
How old is the youngest person for each job?
|
SELECT min(age) , job FROM Person GROUP BY job
|
Her iş için en genç kişi kaç yaşında?
|
What are the names of documents that have both one of the three most common types and one of three most common structures?
|
SELECT document_name FROM documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY count(*) DESC LIMIT 3
|
Hem en yaygın üç türden ve en yaygın üç yapıdan birine sahip belgelerin adları nelerdir?
|
Find the name of the products that are not using the most frequently-used max page size.
|
SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)
|
En sık kullanılan maksimum sayfa boyutunu kullanmayan ürünlerin adını bulun.
|
Show the unique first names, last names, and phone numbers for all customers with any account.
|
SELECT DISTINCT T1.customer_first_name , T1.customer_last_name , T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id
|
Herhangi bir hesapla tüm müşteriler için benzersiz adları, soyadı ve telefon numaralarını gösterin.
|
How many undergraduates are there at San Jose State
|
SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Jose State University"
|
San Jose Eyaletinde kaç lisans öğrencisi var
|
What is all the information about employees who have never had a job in the past?
|
SELECT * FROM employees WHERE employee_id NOT IN (SELECT employee_id FROM job_history)
|
Geçmişte hiç işi olmayan çalışanlar hakkında tüm bilgiler nedir?
|
What are the number of different course codes?
|
SELECT count(DISTINCT crs_code) FROM CLASS
|
Farklı kurs kodlarının sayısı nelerdir?
|
How many addresses are in the district of California?
|
SELECT count(*) FROM address WHERE district = 'California'
|
Kaliforniya Bölgesi'nde kaç adres var?
|
What address was the document with id 4 mailed to?
|
SELECT Addresses.address_details FROM Addresses JOIN Documents_Mailed ON Documents_Mailed.mailed_to_address_id = Addresses.address_id WHERE document_id = 4;
|
Kimlik 4'e gönderilen belge hangi adresti?
|
How many pilots are there?
|
SELECT count(*) FROM pilot
|
Kaç pilot var?
|
What is the name of the body builder with the greatest body weight?
|
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
|
En büyük vücut ağırlığına sahip vücut üreticisinin adı nedir?
|
What are the ids of products from the supplier with id 2, which are more expensive than the average price across all products?
|
SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 2 AND T2.product_price > (SELECT avg(product_price) FROM products)
|
Tedarikçiden Id 2 ile tüm ürünlerde ortalama fiyattan daha pahalı olan ürünlerin kimlikleri nelerdir?
|
What is the name of the department with the fewest members?
|
SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY count(*) ASC LIMIT 1
|
En az üyeli departmanın adı nedir?
|
Show times of elimination of wrestlers with days held more than 50.
|
SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50
|
Güreşçilerin eliminasyon sürelerini 50'den fazla güne kadar gösteriyor.
|
Show the people that have been governor the most times.
|
SELECT Governor FROM party GROUP BY Governor ORDER BY COUNT(*) DESC LIMIT 1
|
Vali olan insanları en çok gösterin.
|
Show the ids of all employees who have destroyed a document.
|
SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed
|
Bir belgeyi yok eden tüm çalışanların kimliklerini gösterin.
|
Find the number of professors with a Ph.D. degree in each department.
|
SELECT count(*) , dept_code FROM professor WHERE prof_high_degree = 'Ph.D.' GROUP BY dept_code
|
Doktora ile profesör sayısını bulun.her departmanda derece.
|
Which events id does not have any participant with detail 'Kenyatta Kuhn'?
|
SELECT event_id FROM EVENTS EXCEPT SELECT T1.event_id FROM Participants_in_Events AS T1 JOIN Participants AS T2 ON T1.Participant_ID = T2.Participant_ID WHERE Participant_Details = 'Kenyatta Kuhn'
|
Hangi etkinlik kimliğinin 'Kenyatta Kuhn' detaylı herhangi bir katılımcı yok mu?
|
Find the name of all the clubs at "AKW".
|
SELECT clubname FROM club WHERE clublocation = "AKW"
|
"Akw" adresindeki tüm kulüplerin adını bulun.
|
What are the names of people in ascending order of weight?
|
SELECT Name FROM People ORDER BY Weight ASC
|
Yükselen ağırlık sırasındaki insanların isimleri nelerdir?
|
Which locations are shared by more than two wrestlers?
|
SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*) > 2
|
Hangi konumlar ikiden fazla güreşçi tarafından paylaşılıyor?
|
List the ids of the problems from the product "voluptatem" that are reported after 1995?
|
SELECT T1.problem_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T2.product_name = "voluptatem" AND T1.date_problem_reported > "1995"
|
1995'ten sonra bildirilen "Voluptatem" ürününden sorunların kimliklerini listeliyorsunuz?
|
What are the titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron?
|
SELECT T2.title , T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars > (SELECT avg(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.director = "James Cameron")
|
James Cameron'un yönettiği filmlerin ortalama yıldızlarından daha büyük olan filmlerin başlıkları ve yönetmenleri nelerdir?
|
Find the number of reviews.
|
SELECT count(*) FROM review
|
İnceleme sayısını bulun.
|
What are the first names of the different drivers who won in position 1 as driver standing and had more than 20 points?
|
SELECT DISTINCT T1.forename FROM drivers AS T1 JOIN driverstandings AS T2 ON T1.driverid = T2.driverid WHERE T2.position = 1 AND T2.wins = 1 AND T2.points > 20
|
Sürücü ayakta ve 20'den fazla puan olarak pozisyonda kazanan farklı sürücülerin ilk isimleri nelerdir?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.