question
stringlengths 16
224
| query
stringlengths 18
577
| translated_question
stringlengths 5
212
|
---|---|---|
Count the number of different characteristic names the product 'cumin' has.
|
SELECT count(DISTINCT 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"
|
'Cumin' ürününün sahip olduğu farklı karakteristik isimlerin sayısını sayın.
|
Find the names of departments that are either in division AS or in division EN and in Building NEB.
|
SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB"
|
Bölüm olarak ya da bölüm olarak ve NEB Binası'nda yer alan departmanların isimlerini bulun.
|
What are the types of every competition and in which countries are they located?
|
SELECT Competition_type , Country FROM competition
|
Her rekabetin türleri nelerdir ve hangi ülkelerde bulunurlar?
|
What is the name of the department with the fewest professors?
|
SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY count(*) LIMIT 1
|
En az profesöre sahip bölümün adı nedir?
|
For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees.
|
SELECT document_id , count(DISTINCT employee_id) FROM Circulation_History GROUP BY document_id;
|
Her belge için, bu belgenin dolaşım geçmişinde ortaya çıkan çalışanların sayısını listeleyin.Belge kimliklerini ve çalışan sayısını listeleyin.
|
What are the average profits of companies?
|
SELECT avg(Profits_billion) FROM Companies
|
Şirketlerin ortalama karı nelerdir?
|
What are the details of all organizations that are described as Sponsors and sort the results in ascending order?
|
SELECT organisation_details FROM Organisations AS T1 JOIN organisation_Types AS T2 ON T1.organisation_type = T2.organisation_type WHERE T2.organisation_type_description = 'Sponsor' ORDER BY organisation_details
|
Sponsor olarak tanımlanan ve sonuçları artan düzende sıralayan tüm kuruluşların detayları nelerdir?
|
List the name, location, mascot for all schools.
|
SELECT school_name , LOCATION , mascot FROM school
|
Tüm okullar için ad, konum, maskot listeleyin.
|
In which season and which stadium did any player have an injury of 'Foot injury' or 'Knee problem'?
|
SELECT T1.season , T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.injury = 'Foot injury' OR T3.injury = 'Knee problem'
|
Hangi mevsimde ve herhangi bir oyuncunun hangi stadyumda 'ayak yaralanması' veya 'diz problemi' yaralanması oldu?
|
Return the unit of measure for 'Herb' products.
|
SELECT unit_of_measure FROM ref_product_categories WHERE product_category_code = "Herbs"
|
'Herb' ürünleri için ölçüm birimini döndürün.
|
Return the distinct name of customers whose order status is Pending, in the order of customer id.
|
SELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending" ORDER BY T2.customer_id
|
Müşteri kimliği sırasına göre sipariş durumu bekleyen müşterilerin farklı adını döndürün.
|
Return the maximum number of points for climbers from the United Kingdom.
|
SELECT max(Points) FROM climber WHERE Country = "United Kingdom"
|
Birleşik Krallık'tan dağcılar için maksimum puan sayısını iade edin.
|
What is the name of the perpetrator with the biggest weight.
|
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1
|
En büyük ağırlığa sahip failin adı nedir?
|
What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?
|
SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id;
|
Yıkıma izin veren çalışanların ve ilgili belgeleri yok eden çalışanların adları nelerdir?
|
List the description, code and the number of services for each service type.
|
SELECT T1.Service_Type_Description , T2.Service_Type_Code , COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code
|
Her hizmet türü için açıklama, kod ve hizmet sayısını listeleyin.
|
Find all the phone numbers.
|
SELECT customer_phone FROM available_policies
|
Tüm telefon numaralarını bulun.
|
Show white percentages of cities and the crime rates of counties they are in.
|
SELECT T1.White , T2.Crime_rate FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID
|
Beyaz şehir yüzdelerini ve içinde bulundukları ilçelerin suç oranlarını gösterin.
|
What are the names of all races held after 2000 in Spain?
|
SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2000
|
2000'den sonra İspanya'da yapılan tüm yarışların isimleri nelerdir?
|
What is the largest payment amount?
|
SELECT amount FROM payment ORDER BY amount DESC LIMIT 1
|
En büyük ödeme tutarı nedir?
|
What are the names of all the players who received a yes during tryouts, and also what are the names of their colleges?
|
SELECT T1.pName , T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
|
Denemeler sırasında evet alan tüm oyuncuların isimleri nelerdir ve ayrıca kolejlerinin isimleri nelerdir?
|
What is the average total number of passengers of airports that are associated with aircraft "Robinson R-22"?
|
SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = "Robinson R-22"
|
"Robinson R-22" uçağı ile ilişkili ortalama havaalanlarının ortalama yolcu sayısı nedir?
|
How many departments are in the division AS?
|
SELECT count(*) FROM DEPARTMENT WHERE Division = "AS"
|
Bölümde kaç departman var?
|
Which room has the highest rate? List the room's full name, rate, check in and check out date.
|
SELECT T2.roomName , T1.Rate , T1.CheckIn , T1.CheckOut FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY T1.Rate DESC LIMIT 1;
|
Hangi oda en yüksek orana sahiptir?Odanın tam adı, fiyatı, check -in ve check -out tarihini listeleyin.
|
Find the description and code of the service type that is performed the most times.
|
SELECT T1.Service_Type_Description , T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
|
En çok gerçekleştirilen hizmet türünün açıklamasını ve kodunu bulun.
|
List all every engineer's first name, last name, details and coresponding skill description.
|
SELECT T1.first_name , T1.last_name , T1.other_details , T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id
|
Tüm mühendisin adını, soyadı, ayrıntılarını ve ilgili beceri açıklamasını listeleyin.
|
What are the birth date and birth place of the body builder with the highest total points?
|
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
|
Vücut inşaatçısının en yüksek toplam noktalara sahip doğum tarihi ve doğum yeri nelerdir?
|
What are the different location codes for documents?
|
SELECT DISTINCT location_code FROM Document_locations
|
Belgeler için farklı konum kodları nelerdir?
|
What is the average minimum and price of the rooms for each different decor.
|
SELECT decor , avg(basePrice) , min(basePrice) FROM Rooms GROUP BY decor;
|
Her farklı dekor için odaların ortalama minimum ve fiyatı nedir.
|
How many artists are from Bangladesh?
|
SELECT count(*) FROM artist WHERE country = "Bangladesh"
|
Bangladeş'ten kaç sanatçı var?
|
Find all the forenames of distinct 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 tüm adlarını mı buldunuz?
|
What is the name of the claim processing stage that most of the claims are on?
|
SELECT t2.claim_status_name FROM claims_processing AS t1 JOIN claims_processing_stages AS t2 ON t1.claim_stage_id = t2.claim_stage_id GROUP BY t1.claim_stage_id ORDER BY count(*) DESC LIMIT 1
|
İddiaların çoğunun üzerinde olduğu talep işleme aşamasının adı nedir?
|
What is the id, genre, and name of the artist for every English song ordered by ascending rating?
|
SELECT f_id , genre_is , artist_name FROM song WHERE languages = "english" ORDER BY rating
|
Artan derecelendirme ile sipariş edilen her İngilizce şarkı için sanatçının kimliği, türü ve adı nedir?
|
What is the average base price of different bed type? List bed type and average base price.
|
SELECT bedType , avg(basePrice) FROM Rooms GROUP BY bedType;
|
Farklı yatak tipinin ortalama taban fiyatı nedir?Yatak tipini ve ortalama taban fiyatını listeleyin.
|
How many credit cards does customer Blanche Huels have?
|
SELECT count(*) FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Blanche" AND T2.customer_last_name = "Huels" AND T1.card_type_code = "Credit"
|
Müşteri Blanche Huels'in kaç kredi kartı var?
|
How many friends does Dan have?
|
SELECT count(T2.friend) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T1.name = 'Dan'
|
Dan'ın kaç arkadaşı var?
|
What are the response received dates for the documents described as 'Regular' or granted with more than 100?
|
SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100
|
'Düzenli' olarak tanımlanan veya 100'den fazla olarak verilen belgeler için alınan yanıtlar nelerdir?
|
How many parks does Atlanta city have?
|
SELECT count(*) FROM park WHERE city = 'Atlanta';
|
Atlanta City'nin kaç parkı var?
|
Find the id of courses which are registered or attended by 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 öğrenci tarafından kaydedilen veya katılan kursların kimliğini buldunuz mu?
|
What are the IDs of customers who have "Diana" in part of their names?
|
SELECT customer_id FROM customers WHERE customer_name LIKE "%Diana%"
|
İsimlerinin bir parçası olarak "Diana" olan müşterilerin kimlikleri nelerdir?
|
Find the ids of the departments where any manager is managing 4 or more employees.
|
SELECT DISTINCT department_id FROM employees GROUP BY department_id , manager_id HAVING COUNT(employee_id) >= 4
|
Herhangi bir yöneticinin 4 veya daha fazla çalışanı yönettiği departmanların kimliklerini bulun.
|
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?
|
Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.
|
SELECT name , trade_name FROM medicine EXCEPT SELECT T1.name , T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id JOIN enzyme AS T3 ON T3.id = T2.enzyme_id WHERE T3.product = 'Protoporphyrinogen IX'
|
Ürün 'heme' ile enzim ile etkileşime giremeyen ilaç adlarını ve ticari adları gösterin.
|
Find the name and id of the team that won the most times in 2008 postseason.
|
SELECT T2.name , T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY count(*) DESC LIMIT 1;
|
2008 sezonunda en çok kazanan ekibin adını ve kimliğini bulun.
|
Find the building, room number, semester and year of all courses offered by Psychology department sorted by course titles.
|
SELECT T2.building , T2.room_number , T2.semester , T2.year FROM course AS T1 JOIN SECTION AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' ORDER BY T1.title
|
Psikoloji departmanı tarafından sunulan tüm kursların bina, oda numarası, yarısı ve yılını bulun.
|
Return the name of the category to which the film 'HUNGER ROOF' belongs.
|
SELECT T1.name FROM category AS T1 JOIN film_category AS T2 ON T1.category_id = T2.category_id JOIN film AS T3 ON T2.film_id = T3.film_id WHERE T3.title = 'HUNGER ROOF'
|
'Açlık Çatı' filminin ait olduğu kategorinin adını döndürün.
|
What roles did staff members play between '2003-04-19 15:06:20' and '2016-03-15 00:33:18'?
|
SELECT role_code FROM Project_Staff WHERE date_from > '2003-04-19 15:06:20' AND date_to < '2016-03-15 00:33:18'
|
Personel '2003-04-19 15:06:20' ve '2016-03-15 00:33:18' arasında hangi roller oynadı?
|
Count the total number of available services.
|
SELECT count(*) FROM services
|
Toplam mevcut hizmet sayısını sayın.
|
Find the states where have some college students in tryout and their decisions are yes.
|
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
|
Bazı üniversite öğrencilerinin denemede olduğu ve kararlarının evet olduğu eyaletleri bulun.
|
What is the first names of the professors from the history department who do not teach a class.
|
SELECT T1.emp_fname FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T2.dept_code = T3.dept_code WHERE T3.dept_name = 'History' EXCEPT SELECT T4.emp_fname FROM employee AS T4 JOIN CLASS AS T5 ON T4.emp_num = T5.prof_num
|
Tarih Departmanından bir sınıf öğretmeyen profesörlerin ilk isimleri nedir?
|
What is the unit price of the tune "Fast As a Shark"?
|
SELECT unit_price FROM tracks WHERE name = "Fast As a Shark";
|
"Köpekbalığı Olarak Hızlı" melodisinin birim fiyatı nedir?
|
Find the names of the campus which has more faculties in 2002 than every campus in Orange county.
|
SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = "Orange")
|
2002'de Orange County'deki her kampüsten daha fazla fakülteye sahip kampüsün isimlerini bulun.
|
Find the number of users who posted some tweets.
|
SELECT count(DISTINCT UID) FROM tweets
|
Bazı tweetler gönderen kullanıcı sayısını bulun.
|
list the name, job title of all people ordered by their names.
|
SELECT name , job FROM Person ORDER BY name
|
İsimleriyle sipariş edilen tüm insanların adını, iş unvanını listeleyin.
|
List names of all teams in the basketball competition, ordered by all home scores in descending order.
|
SELECT team_name FROM basketball_match ORDER BY All_Home DESC
|
Basketbol yarışmasındaki tüm takımların isimlerini listeleyen tüm ev skorları tarafından sipariş edilen sırayla listeleyin.
|
What is the count of the songs that last approximately 4 minutes?
|
SELECT count(*) FROM files WHERE duration LIKE "4:%"
|
Yaklaşık 4 dakika süren şarkıların sayısı nedir?
|
How many gold medals has the club with the most coaches won?
|
SELECT T1.club_id , T1.gold FROM match_result AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id ORDER BY count(*) DESC LIMIT 1
|
En çok antrenör kazanan kaç tane altın madalya kazandı?
|
What are the locations that have gas stations owned by a company with a market value greater than 100?
|
SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.market_value > 100
|
Piyasa değeri 100'den fazla olan bir şirkete ait gaz istasyonlarına sahip yerler nelerdir?
|
Find the name and partition id for users who tweeted less than twice.
|
SELECT T1.name , T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING count(*) < 2
|
İki kez daha az tweet atan kullanıcılar için ad ve bölüm kimliğini bulun.
|
HOw many engineers are older than 30?
|
SELECT count(*) FROM Person WHERE age > 30 AND job = 'engineer'
|
Kaç mühendis 30 yaşından büyük?
|
Find the product type whose average price is higher than the average price of all products.
|
SELECT product_type_code FROM products GROUP BY product_type_code HAVING avg(product_price) > (SELECT avg(product_price) FROM products)
|
Ortalama fiyatı tüm ürünlerin ortalama fiyatından daha yüksek olan ürün türünü bulun.
|
Find the number of different products that are produced by companies at different headquarter cities.
|
SELECT count(DISTINCT T1.name) , T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.Headquarter
|
Farklı merkez şehirlerindeki şirketler tarafından üretilen farklı ürünlerin sayısını bulun.
|
What are the titles of courses without prerequisites?
|
SELECT title FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)
|
Önkoşulsuz kursların başlıkları nelerdir?
|
What are the names of wrestlers and the elimination moves?
|
SELECT T2.Name , T1.Elimination_Move FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID
|
Güreşçilerin isimleri ve eleme hareketleri nelerdir?
|
Which players are from Indonesia?
|
SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Country_name = "Indonesia"
|
Endonezya'dan hangi oyuncular var?
|
Find the name of rooms booked by some customers whose first name contains ROY.
|
SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE firstname LIKE '%ROY%'
|
Adı Roy içeren bazı müşteriler tarafından rezerve edilen odaların adını bulun.
|
What are the names of products that have never been ordered?
|
SELECT product_name FROM Products EXCEPT SELECT T1.product_name FROM Products AS T1 JOIN Order_items AS T2 ON T1.product_id = T2.product_id
|
Hiç sipariş edilmeyen ürünlerin isimleri nelerdir?
|
What is the last name of the musician that have produced the most songs?
|
SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
|
En çok şarkıyı üreten müzisyenin soyadı nedir?
|
List the project details of the projects launched by the organisation
|
SELECT project_details FROM Projects WHERE organisation_id IN ( SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY count(*) DESC LIMIT 1 )
|
Kuruluş tarafından başlatılan projelerin proje ayrıntılarını listeleyin
|
Find the first names of all the authors ordered in alphabetical order.
|
SELECT fname FROM authors ORDER BY fname
|
Alfabetik sırayla sipariş edilen tüm yazarların ilk adlarını bulun.
|
Who is the "CTO" 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 t2.position = "CTO"
|
"Hopkins Öğrenci İşletmeleri" kulübünün "CTO" kim?Ad ve soyadı gösterin.
|
Show the organizer and name for churches that opened between 1830 and 1840.
|
SELECT organized_by , name FROM church WHERE open_date BETWEEN 1830 AND 1840
|
1830-1840 yılları arasında açılan kiliselerin organizatörünü ve ismini gösterin.
|
Find the number of distinct students enrolled in courses.
|
SELECT count(DISTINCT student_id) FROM Student_Course_Enrolment
|
Kurslara kayıtlı farklı öğrenci sayısını bulun.
|
Which party had the most hosts? Give me the party location.
|
SELECT LOCATION FROM party ORDER BY Number_of_hosts DESC LIMIT 1
|
En çok hangi parti vardı?Bana parti konumunu ver.
|
Which buildings does "Emma" manage? Give me the short names of the buildings.
|
SELECT building_short_name FROM Apartment_Buildings WHERE building_manager = "Emma"
|
"Emma" hangi binaları yönetiyor?Bana binaların kısa isimlerini ver.
|
What is the id of the candidate with the lowest oppose rate?
|
SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1
|
En düşük karşıt orana sahip adayın kimliği nedir?
|
What are the names of the different banks that have provided loans?
|
SELECT DISTINCT T1.bname FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id
|
Kredi sağlayan farklı bankaların isimleri nelerdir?
|
Return the most common full name among all actors.
|
SELECT first_name , last_name FROM actor GROUP BY first_name , last_name ORDER BY count(*) DESC LIMIT 1
|
Tüm aktörler arasında en yaygın tam adı döndürün.
|
What is the starting year for the oldest technician?
|
SELECT Starting_Year FROM technician ORDER BY Age DESC LIMIT 1
|
En eski teknisyen için başlangıç yılı nedir?
|
What are the different names of the genres?
|
SELECT DISTINCT name FROM genres;
|
Türlerin farklı isimleri nelerdir?
|
How many classes does the professor whose last name is Graztevski teach?
|
SELECT count(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM = T2.PROF_NUM WHERE T1.EMP_LNAME = 'Graztevski'
|
Soyadı Graztevski olan profesör öğretiyor?
|
What are the maximum, minimum, and average booked count for the products booked?
|
SELECT max(booked_count) , min(booked_count) , avg(booked_count) FROM products_booked
|
Rezerve edilen ürünler için maksimum, minimum ve ortalama rezervasyon sayımı nedir?
|
What are the names of the countries and average invoice size of the top countries by size?
|
SELECT billing_country , AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10;
|
Ülkelerin isimleri ve en iyi ülkelerin ortalama fatura büyüklüğü nedir?
|
Count the number of times the team "Boston Red Stockings" lost in 2009 postseason.
|
SELECT count(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_loser = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2009;
|
2009 sezonunda "Boston Red Stockings" ekibinin kaç kez kaybetme sayısını sayın.
|
What are the id of each employee and the number of document destruction authorised by that employee?
|
SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID
|
Her çalışanın kimliği ve o çalışanın yetkilendirdiği belge yıkım sayısı nelerdir?
|
For each sex, what is the name and sex of the candidate with the oppose rate for their sex?
|
SELECT t1.name , t1.sex , min(oppose_rate) FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id GROUP BY t1.sex
|
Her cinsiyet için, cinsiyetlerinin karşıt oranı olan adayın adı ve cinsiyeti nedir?
|
Find the checking balance and saving balance in the Brown’s account.
|
SELECT T2.balance , T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'
|
Brown’un hesabında kontrol bakiyesini ve tasarruf dengesini bulun.
|
Return the names of wrestlers with fewer than 100 days held.
|
SELECT Name FROM wrestler WHERE Days_held < 100
|
100 günden az tutulan güreşçilerin adlarını iade edin.
|
Find the ids of orders whose status is 'Success'.
|
SELECT actual_order_id FROM actual_orders WHERE order_status_code = 'Success'
|
Durumu 'başarı' olan siparişlerin kimliklerini bulun.
|
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?
|
Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies.
|
SELECT Employees.employee_name , count(*) FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id GROUP BY Circulation_History.document_id , Circulation_History.draft_number , Circulation_History.copy_number ORDER BY count(*) DESC LIMIT 1;
|
Çoğu dolaşım tarihi belgesinde hangi çalışan ortaya çıktı.Çalışanın adını ve taslak ve kopya sayısını listeleyin.
|
What are the names of regions that were affected by the storm in which the most people died?
|
SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id ORDER BY T3.Number_Deaths DESC LIMIT 1
|
En çok insanın öldüğü fırtınadan etkilenen bölgelerin isimleri nelerdir?
|
What is the customer id, first and last name with least number of accounts.
|
SELECT T1.customer_id , T2.customer_first_name , T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY count(*) ASC LIMIT 1
|
Müşteri kimliği nedir, en az sayıda hesapla ad ve soyadı.
|
Find the names of customers who have used either the service "Close a policy" or the service "Upgrade a policy".
|
SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" OR t3.service_name = "Upgrade a policy"
|
"Bir Politikayı Kapat" veya "Bir Politikayı Yükseltme" hizmetini kullanan müşterilerin adlarını bulun.
|
Give the order ids for all orders, as well as the total product quantity in each.
|
SELECT order_id , sum(product_quantity) FROM Order_items GROUP BY order_id
|
Tüm siparişler için sipariş kimliklerinin yanı sıra her birinde toplam ürün miktarı verin.
|
What are the first and last names of the first-grade students who are NOT taught by teacher OTHA MOYER?
|
SELECT DISTINCT T1.firstname , T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.grade = 1 EXCEPT SELECT T1.firstname , T1.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "OTHA" AND T2.lastname = "MOYER"
|
Öğretmen Otha Moyer tarafından öğretilmeyen birinci sınıf öğrencilerin ilk ve soyadları nelerdir?
|
Which industry has the most companies?
|
SELECT Industry FROM Companies GROUP BY Industry ORDER BY COUNT(*) DESC LIMIT 1
|
Hangi sektörde en çok şirket var?
|
Show each county along with the number of schools and total enrollment in each county.
|
SELECT county , count(*) , sum(enrollment) FROM school GROUP BY county
|
Her ilçeyi okul sayısını ve her ilçedeki toplam kayıtla birlikte gösterin.
|
Among all the claims, what is the amount claimed in the claim with the least amount settled? List both the settlement amount and claim amount.
|
SELECT Amount_Settled , Amount_Claimed FROM Claims ORDER BY Amount_Settled ASC LIMIT 1
|
Tüm iddialar arasında, talepte en az miktarda yer alan talep edilen tutar nedir?Hem uzlaşma miktarını hem de talep miktarını listeleyin.
|
List the types of competition that have at most five competitions of that type.
|
SELECT Competition_type FROM competition GROUP BY Competition_type HAVING COUNT(*) <= 5
|
Bu türden en fazla beş yarışmaya sahip rekabet türlerini listeleyin.
|
How much amount in total were claimed in the most recently created document?
|
SELECT sum(t1.amount_claimed) FROM claim_headers AS t1 JOIN claims_documents AS t2 ON t1.claim_header_id = t2.claim_id WHERE t2.created_date = (SELECT created_date FROM claims_documents ORDER BY created_date LIMIT 1)
|
En son oluşturulan belgede toplam ne kadar miktar talep edildi?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.