data
dict
{ "complexity_level": "hard", "db_id": "baseball_1", "query": "SELECT T1.name_first , T1.name_last , T2.player_id FROM player AS T1 JOIN manager_award AS T2 ON T1.player_id = T2.player_id GROUP BY T2.player_id ORDER BY count(*) DESC LIMIT 1;", "questions": { "de": "Welcher Manager hat den meisten Manage...
{ "complexity_level": "medium", "db_id": "twitter_1", "query": "SELECT count(*) FROM user_profiles", "questions": { "de": "Wie viele Benutzer gibt es?", "en": "How many users are there?", "es": "¿Cuántos usuarios hay?", "fr": "Combien d'utilisateurs y a-t-il?", "ja": "ユーザーは何人いますか?", "vi"...
{ "complexity_level": "medium", "db_id": "swimming", "query": "SELECT count(*) FROM stadium", "questions": { "de": "Wie viele Stadien gibt es?", "en": "How many stadiums are there?", "es": "¿Cuántos estadios hay?", "fr": "Combien de stades y a-t-il?", "ja": "スタジアムはいくつありますか?", "vi": "Có t...
{ "complexity_level": "hard", "db_id": "college_1", "query": "SELECT emp_jobcode , count(*) FROM employee GROUP BY emp_jobcode ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Was ist die Anzahl und der Stellencode mit den meisten Mitarbeitern?", "en": "What is the count and code of the job with ...
{ "complexity_level": "medium", "db_id": "school_finance", "query": "SELECT T2.school_name , T1.budgeted , T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002", "questions": { "de": "Zeigen Sie jeden Schulnamen, seinen budgetierten Betrag und den invest...
{ "complexity_level": "medium", "db_id": "yelp", "query": "SELECT t1.name FROM category AS t3 JOIN business AS t1 ON t3.business_id = t1.business_id JOIN category AS t4 ON t4.business_id = t1.business_id JOIN neighbourhood AS t2 ON t2.business_id = t1.business_id WHERE t1.city = \"Madison\" AND t3.categor...
{ "complexity_level": "medium", "db_id": "wedding", "query": "SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id JOIN church AS T4 ON T4.church_id = T1.church_id WHERE T2.age > 30 OR T3.age > 30", "questions": { "de": "...
{ "complexity_level": "hard", "db_id": "perpetrator", "query": "SELECT Country , COUNT(*) FROM perpetrator GROUP BY Country HAVING COUNT(*) >= 2", "questions": { "de": "In welchen Ländern gibt es mindestens zwei Täter?", "en": "What are the countries that have at least two perpetrators?", "es": "...
{ "complexity_level": "hard", "db_id": "wta_1", "query": "SELECT sum(ranking_points) , T1.first_name FROM players AS T1 JOIN rankings AS T2 ON T1.player_id = T2.player_id GROUP BY T1.first_name", "questions": { "de": "Wie lauten die Vornamen aller Spieler und ihre Gesamtpunktzahl der Ranglistenpunkte?", ...
{ "complexity_level": "medium", "db_id": "icfp_1", "query": "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 WHERE t3.title = \"Binders Unbound\"", "questions": { "de": "Wer ist der Autor des Artikels mit dem Titel \"Binder...
{ "complexity_level": "hard", "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t2.title ) FROM publication AS t2 JOIN journal AS t1 ON t2.jid = t1.jid WHERE t1.name = \"PVLDB\" AND t2.year < 2000;", "questions": { "de": "Geben Sie mir die Anzahl der vor 2000 auf \"PVLDB\" veröffentlichten Artike...
{ "complexity_level": "medium", "db_id": "academic", "query": "SELECT t5.title FROM publication_keyword AS t3 JOIN keyword AS t1 ON t3.kid = t1.kid JOIN publication AS t5 ON t5.pid = t3.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t2 ON t4.aid = t2.aid WHERE t2.name = \"H. V. Jagadish\" AND t...
{ "complexity_level": "hard", "db_id": "college_1", "query": "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_...
{ "complexity_level": "hard", "db_id": "concert_singer", "query": "SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014", "questions": { "de": "Wie heißen alle Stadien, die 2014 kein Konzert hatten?", "en": "What a...
{ "complexity_level": "easy", "db_id": "products_for_hire", "query": "SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%'", "questions": { "de": "Was sind die täglichen Mietkosten für die Produkte mit dem Teilstring \"Book\" im Namen?", "en": "What are the daily hire costs for...
{ "complexity_level": "medium", "db_id": "protein_institute", "query": "SELECT count(*) FROM building WHERE height_feet > (SELECT avg(height_feet) FROM building) OR floors > (SELECT avg(floors) FROM building)", "questions": { "de": "Zeigen Sie die Anzahl der Gebäude mit einer Höhe über dem Durchschnitt ...
{ "complexity_level": "hard", "db_id": "department_store", "query": "SELECT dept_store_chain_id FROM department_stores GROUP BY dept_store_chain_id ORDER BY count(*) DESC LIMIT 2", "questions": { "de": "Geben Sie die IDs der beiden Kaufhausketten mit den meisten Kaufhäusern zurück.", "en": "Return the i...
{ "complexity_level": "medium", "db_id": "soccer_2", "query": "SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' AND T2.pPos = 'striker'", "questions": { "de": "Wie heißen alle Studenten, die beim Probespiel in der Position von \"striker\" gesiegt haben?"...
{ "complexity_level": "medium", "db_id": "scholar", "query": "SELECT DISTINCT venueid FROM venue WHERE venuename = \"Neuroscience\";", "questions": { "de": "Welche Veranstaltungsorte gibt es für \"Neuroscience\"?", "en": "What venues are for Neuroscience ?", "es": "¿Qué espacios son para la ''Neur...
{ "complexity_level": "medium", "db_id": "imdb", "query": "SELECT t3.genre FROM director AS t5 JOIN directed_by AS t2 ON t5.did = t2.did JOIN movie AS t4 ON t4.mid = t2.msid JOIN classification AS t1 ON t4.mid = t1.msid JOIN genre AS t3 ON t3.gid = t1.gid WHERE t5.name = \"Asghar Farhadi\";", "questio...
{ "complexity_level": "medium", "db_id": "customer_deliveries", "query": "SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1", "questions": { "de": "Finden Sie den Namen des teuersten Produkts.", "en": "Find the name of the most expensive product.", "es": "Busque el nombre del pro...
{ "complexity_level": "medium", "db_id": "small_bank_1", "query": "SELECT 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 LIMIT 1", "questions": { "de": "Wie lautet der Name für den Kunden mit der niedr...
{ "complexity_level": "easy", "db_id": "hospital_1", "query": "SELECT nurse FROM on_call WHERE blockfloor = 1 AND blockcode = 1", "questions": { "de": "Finden Sie die IDs der Krankenschwestern, die in Block Etage 1 und Blockcode 1 auf Abruf sind.", "en": "Find the ids of the nurses who are on call i...
{ "complexity_level": "medium", "db_id": "college_2", "query": "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", "questions": { "de": "Wie sind das Gebäude, die Zimmern...
{ "complexity_level": "hard", "db_id": "college_2", "query": "SELECT T1.name FROM student AS T1 JOIN advisor AS T2 ON T1.id = T2.s_id GROUP BY T2.s_id HAVING count(*) > 1", "questions": { "de": "Wie heißen Studenten, die mehr als einen Berater haben?", "en": "What are the names of students who have ...
{ "complexity_level": "hard", "db_id": "hospital_1", "query": "SELECT name FROM procedures WHERE cost > 1000 UNION 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\"", "questions": { "...
{ "complexity_level": "medium", "db_id": "flight_1", "query": "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\"", "questions": { "de": "Wie heißen alle Flugzeuge, für die \"John Williams\" Zertifikate ...
{ "complexity_level": "easy", "db_id": "cre_Doc_Tracking_DB", "query": "SELECT role_code , role_name , role_description FROM ROLES", "questions": { "de": "Was sind alle Rollencodes, Rollennamen und Rollenbeschreibungen?", "en": "What are all the role codes, role names, and role descriptions?", "es...
{ "complexity_level": "medium", "db_id": "hospital_1", "query": "SELECT DISTINCT name FROM medication ORDER BY name", "questions": { "de": "Was ist die alphabetisch geordnete Liste aller verschiedenen Medikamente?", "en": "What is the alphabetically ordered list of all distinct medications?", "es": ...
{ "complexity_level": "hard", "db_id": "soccer_2", "query": "SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie')", "questions":...
{ "complexity_level": "hard", "db_id": "cre_Doc_Template_Mgt", "query": "SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Geben Sie den Typcode zurück, zu dem die meisten Vorlagen gehören.", "en": "Return the type code of the tem...
{ "complexity_level": "medium", "db_id": "college_1", "query": "SELECT T1.stu_fname , T1.stu_lname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num WHERE T2.enroll_grade = 'C' OR T2.enroll_grade = 'A'", "questions": { "de": "Wie heißen alle Studenten, die einen Kurs belegen und ein \"A...
{ "complexity_level": "medium", "db_id": "world_1", "query": "SELECT Region FROM country AS T1 JOIN city AS T2 ON T1.Code = T2.CountryCode WHERE T2.Name = \"Kabul\"", "questions": { "de": "In welcher Region liegt „Kabul“?", "en": "What region is Kabul in?", "es": "¿En qué región se encuentra \"K...
{ "complexity_level": "hard", "db_id": "wine_1", "query": "SELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T2.Score > 90 GROUP BY T1.County ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Was ist der Landkreis, der die meisten Weine mit mehr als 90 ...
{ "complexity_level": "hard", "db_id": "local_govt_mdm", "query": "SELECT T2.cmi_cross_ref_id , T2.master_customer_id , count(*) FROM Business_Rates AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T2.cmi_cross_ref_id", "questions": { "de": "Wie viele Geschäfts...
{ "complexity_level": "medium", "db_id": "insurance_policies", "query": "SELECT Date_Claim_Made , Date_Claim_Settled FROM Claims WHERE Amount_Claimed > ( SELECT avg(Amount_Claimed) FROM Claims )", "questions": { "de": "Geben Sie mir das Anspruchsdatum und das Siedlungsdatum für alle Ansprüche an, deren g...
{ "complexity_level": "medium", "db_id": "cre_Drama_Workshop_Groups", "query": "SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID = T2.Order_ID WHERE T2.Order_Quantity = 1", "questions": { "de": "Listen Sie den tatsächlichen Liefertermin für alle Bestellunge...
{ "complexity_level": "hard", "db_id": "scholar", "query": "SELECT DISTINCT COUNT ( DISTINCT t2.paperid ) FROM writes AS t2 JOIN author AS t1 ON t2.authorid = t1.authorid WHERE t1.authorname = \"Christopher D. Manning\";", "questions": { "de": "Anzahl der von \"Christopher D. Manning\" verfassten Papier...
{ "complexity_level": "medium", "db_id": "train_station", "query": "SELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND total_passengers > 25", "questions": { "de": "Zeigen Sie alle Standorte mit Bahnhöfen mit mindestens 15 Plattformen und Bahnhöfen mit insgesamt mehr als 25 Passag...
{ "complexity_level": "hard", "db_id": "twitter_1", "query": "SELECT T1.name , count(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid", "questions": { "de": "Finden Sie den Namen jedes Benutzers und die Anzahl der Tweets, die von jedem von ihnen getwittert wurden.", "e...
{ "complexity_level": "medium", "db_id": "car_1", "query": "SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.mpg DESC LIMIT 1;", "questions": { "de": "Welches Modell spart am meisten Benzin? Das heißt, die maximale Kilometerleistung pro Gallone.", "en": "Which...
{ "complexity_level": "easy", "db_id": "entrepreneur", "query": "SELECT Company , Investor FROM entrepreneur", "questions": { "de": "Welche Unternehmen und Investoren entsprechen jedem Unternehmer?", "en": "What are the companies and investors that correspond to each entrepreneur?", "es": "¿Cuáles ...
{ "complexity_level": "hard", "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT t3.title ) FROM tags AS t2 JOIN keyword AS t1 ON t2.kid = t1.id JOIN movie AS t3 ON t2.msid = t3.mid WHERE t1.keyword = \"Persians\" AND t3.release_year > 1990;", "questions": { "de": "Wie viele Filme über \"Persians\"...
{ "complexity_level": "easy", "db_id": "culture_company", "query": "SELECT book_title , author_or_editor FROM book_club WHERE YEAR > 1989", "questions": { "de": "Welche Titel und Autoren oder Redakteure entsprechen Büchern, die nach 1989 erstellt wurden?", "en": "What are the titles and authors or ed...
{ "complexity_level": "medium", "db_id": "college_1", "query": "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'", "questions": { "de": "Was sind die Vornamen aller Studenten im Kurs\" A...
{ "complexity_level": "medium", "db_id": "academic", "query": "SELECT t1.name FROM publication AS t4 JOIN journal AS t2 ON t4.jid = t2.jid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"PVLDB\" AND t4.year = 2010;", "questions": { "de": "Geben Sie mir d...
{ "complexity_level": "medium", "db_id": "game_injury", "query": "SELECT count(*) FROM game WHERE season > 2007", "questions": { "de": "Wie viele Spiele finden nach der Saison 2007 statt?", "en": "How many games are held after season 2007?", "es": "¿Cuántos partidos hubieron después de la temporad...
{ "complexity_level": "hard", "db_id": "customers_and_invoices", "query": "SELECT account_id FROM Financial_transactions GROUP BY account_id ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Wie lautet die ID des Kontos mit den meisten Transaktionen?", "en": "What is the id of the account with the ...
{ "complexity_level": "easy", "db_id": "machine_repair", "query": "SELECT Name FROM technician WHERE Age = 36 OR Age = 37", "questions": { "de": "Wie heißen die Techniker im Alter von 36 oder 37 Jahren?", "en": "What are the names of the technicians aged either 36 or 37?", "es": "¿Cuáles son los...
{ "complexity_level": "medium", "db_id": "geo", "query": "SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = \"wyoming\" ) AND state_name = \"wyoming\";", "questions": { "de": "Was ist die Stadt in \"wyoming\" mit der größten Bevölkerung", "en": ...
{ "complexity_level": "medium", "db_id": "manufactory_1", "query": "SELECT AVG(Price) , Manufacturer FROM Products GROUP BY Manufacturer", "questions": { "de": "Was sind die Durchschnittspreise von Produkten, gruppiert nach Herstellercode?", "en": "What are the average prices of products, grouped by ma...
{ "complexity_level": "medium", "db_id": "yelp", "query": "SELECT t2.text FROM tip AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.name = \"Vintner Grill\" AND t2.likes > 9;", "questions": { "de": "Hier finden Sie alle Tipps zu \"Vintner Grill\", die mehr als 9 Likes erhalten hab...
{ "complexity_level": "easy", "db_id": "dog_kennels", "query": "SELECT charge_type , charge_amount FROM Charges", "questions": { "de": "Nennen Sie jede Gebührenart und ihre Höhe.", "en": "List each charge type and its amount.", "es": "Enumere cada tipo de carga y su precio a cobrar.", "fr": "Én...
{ "complexity_level": "easy", "db_id": "match_season", "query": "SELECT Draft_Pick_Number , Draft_Class FROM match_season WHERE POSITION = \"Defender\"", "questions": { "de": "Was sind die Draft-Pick-Nummern und Draft-Klassen für Spieler, die die Defender-Position spielen?", "en": "What are the draft...
{ "complexity_level": "hard", "db_id": "movie_1", "query": "SELECT T2.title , T1.stars , T2.director , min(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.director", "questions": { "de": "Was ist für jeden Regisseur der Titel und die Punktzahl seines am schlechtesten bewerte...
{ "complexity_level": "hard", "db_id": "department_management", "query": "SELECT T1.department_id , T1.name , count(*) FROM management AS T2 JOIN department AS T1 ON T1.department_id = T2.department_id GROUP BY T1.department_id HAVING count(*) > 1", "questions": { "de": "Welche Abteilung hat mehr als ...
{ "complexity_level": "medium", "db_id": "allergy_1", "query": "SELECT age , count(*) FROM Student GROUP BY age", "questions": { "de": "Wie alt ist jeder Student und wie viele Studenten sind in jedem Alter?", "en": "How old is each student and how many students are each age?", "es": "¿Qué edad tien...
{ "complexity_level": "medium", "db_id": "yelp", "query": "SELECT t1.name FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.state = \"Pennsylvania\" AND t2.category_name = \"restaurant\";", "questions": { "de": "Listen Sie alle Geschäfte auf, die \"Restaurant\" in \"P...
{ "complexity_level": "medium", "db_id": "workshop_paper", "query": "SELECT Author FROM submission WHERE Submission_ID NOT IN (SELECT Submission_ID FROM acceptance)", "questions": { "de": "Welche Autoren haben keine Werkstatt eingereicht?", "en": "Which authors did not submit to any workshop?", "es"...
{ "complexity_level": "hard", "db_id": "product_catalog", "query": "SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING count(*) > 3", "questions": { "de": "Was sind die Attributdatentypen mit mehr als 3 Attributdefinitionen?", "en": "What are the attribute data t...
{ "complexity_level": "hard", "db_id": "concert_singer", "query": "SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id", "questions": { "de": "Zeigen Sie den Namen und das Thema aller Konzerte sowie die Anza...
{ "complexity_level": "medium", "db_id": "tracking_orders", "query": "SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < \"1989-09-03\" OR invoice_date > \"2007-12-25\"", "questions": { "de": "Was sind die besonderen Details von Rechnungen, die vor dem \"1989-09-03\" oder nach dem \" 2007-12...
{ "complexity_level": "medium", "db_id": "tracking_share_transactions", "query": "SELECT max(share_count) FROM TRANSACTIONS WHERE amount_of_transaction < 10000", "questions": { "de": "Zeigen Sie die maximale Anzahl von Transaktionen an, bei denen der Betrag kleiner als 10000 ist", "en": "Show the maxi...
{ "complexity_level": "medium", "db_id": "tvshow", "query": "SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = \"The Rise of the Blue Beetle!\";", "questions": { "de": "Wie lautet der Serienname des Fernsehsenders, der den Cartoon „The Rise of the Blue Bee...
{ "complexity_level": "hard", "db_id": "tracking_software_problems", "query": "SELECT count(*) , T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id WHERE T1.date_problem_reported > \"1986-11-13\" GROUP BY T2.product_id", "questions": { "de": "Was sind die Produkte, bei de...
{ "complexity_level": "medium", "db_id": "college_1", "query": "SELECT T3.EMP_FNAME , T3.EMP_LNAME FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code JOIN employee AS T3 ON T1.EMP_NUM = T3.EMP_NUM WHERE DEPT_NAME = \"Biology\"", "questions": { "de": "Wie lauten der Vor- und Nac...
{ "complexity_level": "hard", "db_id": "match_season", "query": "SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3", "questions": { "de": "Aus welchen drei Colleges stammen die meisten Spieler?", "en": "What are the three colleges from which the most players are from?", ...
{ "complexity_level": "easy", "db_id": "school_bus", "query": "SELECT name FROM driver WHERE home_city = 'Hartford' AND age < 40", "questions": { "de": "Listen Sie Namen für Fahrer aus \"Hartford city\" und jünger als 40 auf.", "en": "List names for drivers from Hartford city and younger than 40.", ...
{ "complexity_level": "medium", "db_id": "news_report", "query": "SELECT Nationality FROM journalist WHERE Years_working > 10 INTERSECT SELECT Nationality FROM journalist WHERE Years_working < 3", "questions": { "de": "Zeigen Sie die Nationen, in denen sowohl Journalisten mit mehr als 10 Jahren Arbeit a...
{ "complexity_level": "medium", "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid , t3.paperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN writes AS t4 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid...
{ "complexity_level": "easy", "db_id": "customers_campaigns_ecommerce", "query": "SELECT DISTINCT premises_type FROM premises", "questions": { "de": "Was sind die verschiedenen Arten der Räumlichkeiten?", "en": "What are all the distinct premise types?", "es": "¿Cuáles son todos los distintos tipos ...
{ "complexity_level": "medium", "db_id": "department_store", "query": "SELECT T1.address_details FROM addresses AS T1 JOIN customer_addresses AS T2 ON T1.address_id = T2.address_id WHERE T2.customer_id = 10", "questions": { "de": "Wie lautet die Adresse für den Kunden mit der ID 10?", "en": "What is...
{ "complexity_level": "medium", "db_id": "geo", "query": "SELECT COUNT ( city_name ) FROM city WHERE population > 150000 AND state_name IN ( SELECT border FROM border_info WHERE state_name = \"nebraska\" );", "questions": { "de": "Wie viele Großstädte befinden sich in Bundesländern, die an \"Nebraska\" ...
{ "complexity_level": "medium", "db_id": "activity_1", "query": "SELECT count(*) FROM Activity", "questions": { "de": "Finden Sie die Anzahl der verfügbaren Aktivitäten.", "en": "Find the number of activities available.", "es": "Encuentre la cantidad de actividades disponibles.", "fr": "Trouvez ...
{ "complexity_level": "medium", "db_id": "culture_company", "query": "SELECT publisher , count(*) FROM book_club GROUP BY publisher", "questions": { "de": "Wie viele Bücher gibt es für jeden Verleger?", "en": "How many books are there for each publisher?", "es": "¿Cuántos libros hay para cada edito...
{ "complexity_level": "medium", "db_id": "university_basketball", "query": "SELECT enrollment , primary_conference FROM university ORDER BY founded LIMIT 1", "questions": { "de": "Was ist die Einschreibungs- und Hauptkonferenz für die Universität, die am frühesten gegründet wurde?", "en": "What are the...
{ "complexity_level": "medium", "db_id": "journal_committee", "query": "SELECT T2.Name , T2.age , T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID ORDER BY T3.Theme ASC", "questions": { "de": "Zeigen Sie die Name...
{ "complexity_level": "hard", "db_id": "movie_1", "query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T1.rID HAVING COUNT(*) >= 3", "questions": { "de": "Wie heißen alle Kritiker, die 3 oder mehr Filme bewertet haben?", "en": "What are the names of all reviewer...
{ "complexity_level": "hard", "db_id": "sports_competition", "query": "SELECT Competition_type FROM competition GROUP BY Competition_type ORDER BY COUNT(*) DESC LIMIT 1", "questions": { "de": "Was ist der häufigste Wettbewerbstyp?", "en": "What is the most common competition type?", "es": "¿Cuál es ...
{ "complexity_level": "easy", "db_id": "election", "query": "SELECT Lieutenant_Governor , Comptroller FROM party WHERE Party = \"Democratic\"", "questions": { "de": "Wer ist der Vizegouverneur und Kontrolleur der demokratischen Partei?", "en": "Who are the lieutenant governor and comptroller from the...
{ "complexity_level": "easy", "db_id": "decoration_competition", "query": "SELECT T2.Name , T1.Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID", "questions": { "de": "Zeigen Sie die Namen der Mitglieder und die Namen der Hochschulen an, an die sie gehen.", "en": "Show the n...
{ "complexity_level": "medium", "db_id": "music_1", "query": "SELECT f_id FROM song WHERE resolution > (SELECT max(resolution) FROM song WHERE rating < 8)", "questions": { "de": "Was ist die ID jedes Lieders, dessen Auflösung höher ist als die eines Lieders mit einer Bewertung unter 8?", "en": "What...
{ "complexity_level": "medium", "db_id": "mountain_photos", "query": "SELECT max(height) , avg(height) FROM mountain", "questions": { "de": "Was sind die maximale und durchschnittliche Höhe der Berge?", "en": "What are the maximum and average height of the mountains?", "es": "¿Cuáles son la altura ...
{ "complexity_level": "medium", "db_id": "college_2", "query": "SELECT name FROM instructor WHERE salary > (SELECT max(salary) FROM instructor WHERE dept_name = 'Biology')", "questions": { "de": "Wie heißen alle Lehrer mit einem höheren Gehalt als alle Ausbilder in der Abteilung \"Biology\"?", "en":...
{ "complexity_level": "medium", "db_id": "climbing", "query": "SELECT count(*) FROM climber", "questions": { "de": "Zählen Sie die Anzahl der Bergsteiger.", "en": "Count the number of climbers.", "es": "Cuente el número de escaladores.", "fr": "Comptez le nombre de grimpeurs.", "ja": "登山者の数を...
{ "complexity_level": "hard", "db_id": "student_1", "query": "SELECT count(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = \"CHRISSY\" AND T1.lastname = \"NABOZNY\"", "questions": { "de": "Finden Sie die Anzahl der Lehrer, die den Schüler \"CHRISSY NABOZNY\" ...
{ "complexity_level": "medium", "db_id": "election_representative", "query": "SELECT Name FROM representative WHERE Representative_ID NOT IN (SELECT Representative_ID FROM election)", "questions": { "de": "Listen Sie die Namen der Vertreter auf, die nicht an den hier aufgeführten Wahlen teilgenommen haben."...
{ "complexity_level": "medium", "db_id": "book_2", "query": "SELECT T1.Title FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T2.Price DESC", "questions": { "de": "Zeigen Sie die Titel der Bücher in absteigender Reihenfolge des Veröffentlichungspreises an.", "en": "Show the t...
{ "complexity_level": "medium", "db_id": "products_gen_characteristics", "query": "SELECT t1.product_name , t1.typical_buying_price , t1.typical_selling_price FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t2.color_description = \"yellow\"", "questions": { "de": "Gebe...
{ "complexity_level": "medium", "db_id": "pilot_record", "query": "SELECT T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID WHERE T3.Age < 34", "questions": { "de": "Zeigen Sie die Flottenserie der Flugzeuge, di...
{ "complexity_level": "medium", "db_id": "wine_1", "query": "SELECT max(Price) , max(Score) FROM WINE WHERE Appelation = \"St. Helena\"", "questions": { "de": "Geben Sie den Höchstpreis und das Ergebnis für Weine an, die in der Bezeichnung \"St. Helena\" hergestellt werden.", "en": "Give the maximum ...
{ "complexity_level": "easy", "db_id": "tvshow", "query": "SELECT Title FROM Cartoon WHERE Directed_by = \"Ben Jones\" OR Directed_by = \"Brandon Vietti\";", "questions": { "de": "Wie lauten die Titel aller Cartoons, die unter der Regie von „Ben Jones“ oder „Brandon Vietti\" entstanden sind?", "en": "Wh...
{ "complexity_level": "hard", "db_id": "scholar", "query": "SELECT DISTINCT t4.citedpaperid , COUNT ( t4.citingpaperid ) FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN cite AS t4 ON t3.paperid = t4.citedpaperid WHERE t1.ke...
{ "complexity_level": "hard", "db_id": "dorm_1", "query": "SELECT count(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.gender = “M”", "questions": { "de": null, "en": null, "es": null, "fr": null, "ja": null, "vi":...
{ "complexity_level": "hard", "db_id": "driving_school", "query": "SELECT count(*) FROM Lessons AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = \"Rylan\" AND T2.last_name = \"Goodwin\" AND T1.lesson_status_code = \"Completed\";", "questions": { "de": "Wie viele Lektionen...
{ "complexity_level": "medium", "db_id": "driving_school", "query": "SELECT date_joined_staff FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";", "questions": { "de": "Wann trat die Mitarbeiterin namens \"Janessa\" \"Sawayn\" in das Unternehmen ein?", "en": "When did the staff member...
{ "complexity_level": "easy", "db_id": "geo", "query": "SELECT lowest_elevation FROM highlow WHERE lowest_point = \"death valley\";", "questions": { "de": "Was ist die Höhe von \"Death Valley\"", "en": "what is the elevation of death valley", "es": "cuál es la elevación de \"death valley\"", "...
{ "complexity_level": "easy", "db_id": "insurance_and_eClaims", "query": "SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name = \"Open\"", "questions": { "de": "Hier finden Sie die Beschreibung der Anspruchsstufe \"Open\".", "en": "Find the description of the claim st...
{ "complexity_level": "hard", "db_id": "gymnast", "query": "SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC LIMIT 1", "questions": { "de": "Geben Sie die Heimatstadt zurück, die unter Turnern am häufigsten vorkommt.", ...
{ "complexity_level": "medium", "db_id": "customers_and_addresses", "query": "SELECT t1.customer_name FROM customers AS t1 JOIN customer_addresses AS t2 ON t1.customer_id = t2.customer_id JOIN addresses AS t3 ON t2.address_id = t3.address_id WHERE t3.state_province_county = \"Colorado\"", "questions": { ...