data
dict
{ "complexity_level": "hard", "db_id": "epinions_1", "query": "SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Finden Sie den Namen des Benutzers, der die meisten Kommentare abgibt.", "en": "Find the name...
{ "complexity_level": "easy", "db_id": "driving_school", "query": "SELECT first_name , last_name FROM Customers;", "questions": { "de": "Was sind die Vor- und Nachnamen für alle Kunden?", "en": "What are the first and last names for all customers?", "es": "¿Cuáles son los nombres y apellidos de tod...
{ "complexity_level": "medium", "db_id": "cre_Theme_park", "query": "SELECT star_rating_code , avg(price_range) FROM HOTELS GROUP BY star_rating_code", "questions": { "de": "Was ist die durchschnittliche Preisklasse von Hotels für jeden Sternebewertungscode?", "en": "What is the average price range of ...
{ "complexity_level": "hard", "db_id": "cre_Doc_Control_Systems", "query": "SELECT T1.role_description , T2.role_code , count(*) FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code GROUP BY T2.role_code;", "questions": { "de": "Wie viele Mitarbeiter hat jede Rolle? Rollenbeschreibung, ID ...
{ "complexity_level": "easy", "db_id": "hr_1", "query": "SELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000", "questions": { "de": "Geben Sie die Telefonnummern von Mitarbeitern mit Gehältern zwischen 8000 und 12000 zurück.", "en": "Return the phone numbers of employees with salaries...
{ "complexity_level": "hard", "db_id": "customers_and_invoices", "query": "SELECT T1.customer_id , T2.customer_first_name , T2.customer_last_name , count(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id", "questions": { "de": "Wie lauten die vollstä...
{ "complexity_level": "medium", "db_id": "customers_and_invoices", "query": "SELECT count(DISTINCT customer_id) FROM Accounts", "questions": { "de": "Zählen Sie die Anzahl der Kunden, die ein Konto haben.", "en": "Count the number of customers who have an account.", "es": "Cuente el número de client...
{ "complexity_level": "easy", "db_id": "cinema", "query": "SELECT DISTINCT directed_by FROM film", "questions": { "de": "Wer sind alle Regisseure?", "en": "Who are all the directors?", "es": "¿Quiénes son todos los directores?", "fr": "Qui sont tous les réalisateurs?", "ja": "すべての監督は誰ですか?", ...
{ "complexity_level": "hard", "db_id": "flight_2", "query": "SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING count(*) < 200", "questions": { "de": "Welche Fluggesellschaften haben weniger als 200 Flüge?", "en": "Which airlines have less than...
{ "complexity_level": "medium", "db_id": "department_management", "query": "SELECT T1.name , T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes'", "questions": { "de": "Zeigen Sie den Namen und die Anzahl der Mitarbeiter ...
{ "complexity_level": "hard", "db_id": "flight_4", "query": "SELECT country , count(*) FROM airlines GROUP BY country ORDER BY count(*) DESC", "questions": { "de": "Wie viele Fluggesellschaften operiert jedes Land, absteigend sortiert nach Land?", "en": "How many airlines operate out of each country in...
{ "complexity_level": "medium", "db_id": "election_representative", "query": "SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes DESC", "questions": { "de": "Wie heißen die Vertreter in absteigender Reihenfolge der Stimmen?", "en"...
{ "complexity_level": "medium", "db_id": "wrestler", "query": "SELECT COUNT (DISTINCT team) FROM elimination", "questions": { "de": "Wie viele verschiedene Teams haben Ringer ausgeschnitten?", "en": "How many different teams have had eliminated wrestlers?", "es": "¿Cuántos equipos diferentes han eli...
{ "complexity_level": "medium", "db_id": "college_2", "query": "SELECT DISTINCT T1.name FROM student AS T1 JOIN takes AS T2 ON T1.id = T2.id WHERE YEAR = 2009 OR YEAR = 2010", "questions": { "de": "Wie heißen die Studenten, die 2009 oder 2010 Unterricht genommen haben?", "en": "What are the names ...
{ "complexity_level": "medium", "db_id": "flight_1", "query": "SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = \"Boeing 737-800\"", "questions": { "de": "Wie heißen alle Mitarbeiter, die über ein Zertifikat zum Fliegen...
{ "complexity_level": "hard", "db_id": "apartment_rentals", "query": "SELECT apt_type_code , bathroom_count , bedroom_count FROM Apartments GROUP BY apt_type_code ORDER BY sum(room_count) DESC LIMIT 1", "questions": { "de": "Welcher Wohnungstyp hat die meisten Zimmer insgesamt? Geben Sie den Typcode der W...
{ "complexity_level": "hard", "db_id": "dog_kennels", "query": "SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = ( SELECT max(age) FROM Dogs )", "questions": { "de": "Wem gehört der jüngste Hund? Nennen Sie mir seinen oder ihren Nachnamen.", "en": "Wh...
{ "complexity_level": "medium", "db_id": "academic", "query": "SELECT t3.title FROM writes AS t2 JOIN author AS t1 ON t2.aid = t1.aid JOIN publication AS t3 ON t2.pid = t3.pid WHERE t1.name = \"H. V. Jagadish\" AND t3.year > 2000;", "questions": { "de": "gib mir die Papiere von \"H. V. Jagadish\" na...
{ "complexity_level": "hard", "db_id": "club_1", "query": "SELECT count(*) 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 = \"Tennis Club\"", "questions": { "de": "Zählen Sie die Mitglieder des Clubs \"Tennis Club\".", ...
{ "complexity_level": "medium", "db_id": "climbing", "query": "SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200", "questions": { "de": "Was sind die Länder, in denen beide Berge höher als 5600 und niedriger als 5200 sind?", "en": "What are t...
{ "complexity_level": "hard", "db_id": "decoration_competition", "query": "SELECT Country FROM member GROUP BY Country HAVING COUNT(*) > 2", "questions": { "de": "Welche Länder haben mehr als zwei Mitglieder?", "en": "Which countries have more than two members?", "es": "¿Qué países tienen más de d...
{ "complexity_level": "hard", "db_id": "cinema", "query": "SELECT LOCATION FROM cinema WHERE openning_year >= 2010 GROUP BY LOCATION ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Was ist der Ort mit den meisten Kinos, die im Jahr 2010 oder später eröffnet wurden?", "en": "What is the location...
{ "complexity_level": "medium", "db_id": "manufacturer", "query": "SELECT name , Num_of_Component FROM furniture ORDER BY market_rate LIMIT 1", "questions": { "de": "Finden Sie den Namen und die Menge der am wenigsten beliebten Möbel.", "en": "Find the name and component amount of the least popular fur...
{ "complexity_level": "hard", "db_id": "tracking_grants_for_research", "query": "SELECT T1.organisation_type , T1.organisation_id FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_id ORDER BY count(*) DESC LIMIT 1", "questions": { ...
{ "complexity_level": "medium", "db_id": "geo", "query": "SELECT city_name FROM city WHERE population > 150000 AND state_name IN ( SELECT traverse FROM river WHERE river_name IN ( SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = \"virginia\" ) );", "questions": { "de": "Was sind die groß...
{ "complexity_level": "medium", "db_id": "swimming", "query": "SELECT t1.name , t1.capacity FROM stadium AS t1 JOIN event AS t2 ON t1.id = t2.stadium_id WHERE t2.name = 'World Junior'", "questions": { "de": "Finden Sie den Namen und die Kapazität des Stadions, in dem das Spiel \"World Junior\" stattgef...
{ "complexity_level": "hard", "db_id": "station_weather", "query": "SELECT t2.id , t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id HAVING max(t1.precipitation) > 50", "questions": { "de": "Finden Sie die ID und die lokale Behörde des Bahnh...
{ "complexity_level": "medium", "db_id": "products_gen_characteristics", "query": "SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code = t3.color_code WHERE t3.color_description = \"white\"...
{ "complexity_level": "medium", "db_id": "orchestra", "query": "SELECT avg(Attendance) FROM SHOW", "questions": { "de": "Geben Sie die durchschnittliche Besucherzahl aller Aufführungen zurück.", "en": "Return the average attendance across all shows.", "es": "Dame la asistencia en promedio entre todo...
{ "complexity_level": "hard", "db_id": "ship_1", "query": "SELECT rank FROM captain GROUP BY rank ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Geben Sie den Rang zurück, für den es die wenigsten Kapitäne gibt.", "en": "Return the rank for which there are the fewest captains.", "es": "Devue...
{ "complexity_level": "medium", "db_id": "allergy_1", "query": "SELECT fname , major FROM Student WHERE StuID NOT IN (SELECT StuID FROM Has_allergy WHERE Allergy = \"Soy\")", "questions": { "de": "Was sind der Vorname und das Hauptfach der Studenten, die \"Soy\" konsumieren können?", "en": "What are ...
{ "complexity_level": "medium", "db_id": "icfp_1", "query": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = \"Japan\" AND t2.authorder = 1 AND t1.lname = \"Ohori\...
{ "complexity_level": "medium", "db_id": "music_4", "query": "SELECT distinct(Famous_Release_date) FROM artist", "questions": { "de": "Geben Sie die berühmten Erscheinungsdaten für alle Künstler an.", "en": "Give the distinct famous release dates for all artists.", "es": "Indique las distintas fecha...
{ "complexity_level": "medium", "db_id": "game_1", "query": "SELECT Stuid , sum(hours_played) FROM Plays_games GROUP BY Stuid", "questions": { "de": "Was sind die IDs aller Studenten und die Anzahl der gespielten Stunden?", "en": "What are the ids of all students and number of hours played?", "es":...
{ "complexity_level": "easy", "db_id": "flight_2", "query": "SELECT City , Country FROM AIRPORTS WHERE AirportName = \"Alton\"", "questions": { "de": "Geben Sie die Stadt und das Land für den Flughafen „Alton“ an.", "en": "Give the city and country for the Alton airport.", "es": "Indique la ciuda...
{ "complexity_level": "hard", "db_id": "browser_web", "query": "SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator ...
{ "complexity_level": "medium", "db_id": "hospital_1", "query": "SELECT count(DISTINCT roomtype) FROM room", "questions": { "de": "Finden Sie die Anzahl der verfügbaren Zimmertypen.", "en": "Find the number of distinct room types available.", "es": "Encuentre la cantidad de tipos de habitaciones dis...
{ "complexity_level": "medium", "db_id": "game_1", "query": "SELECT gtype , count(*) FROM Video_games GROUP BY gtype", "questions": { "de": "Welche Arten von Videospielen gibt es und wie viele gibt es in jedem Typ?", "en": "What are the types of video games and how many are in each type?", "es": "¿...
{ "complexity_level": "medium", "db_id": "csu_1", "query": "SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200", "questions": { "de": "Welcher Campus begann im Jahr 1956, hat mehr als 200 Vollzeitstudent...
{ "complexity_level": "hard", "db_id": "wta_1", "query": "SELECT country_code FROM players GROUP BY country_code HAVING count(*) > 50", "questions": { "de": "Wie lauten die Codes der Länder mit mehr als 50 Spielern?", "en": "What are the codes of countries with more than 50 players?", "es": "¿Cuál...
{ "complexity_level": "easy", "db_id": "film_rank", "query": "SELECT Country FROM market ORDER BY Number_cities DESC", "questions": { "de": "Welche Länder sind für jeden Markt nach abnehmender Anzahl von Städten geordnet?", "en": "What are the countries for each market ordered by decreasing number of ci...
{ "complexity_level": "easy", "db_id": "icfp_1", "query": "SELECT lname FROM authors ORDER BY lname", "questions": { "de": "Geben Sie mir eine Liste aller Nachnamen der Autoren in alphabetischer Reihenfolge", "en": "Give me a list of all the last names of authors sorted in alphabetical order", "es":...
{ "complexity_level": "medium", "db_id": "academic", "query": "SELECT t4.title FROM organization AS t2 JOIN author AS t1 ON t2.oid = t1.oid JOIN writes AS t3 ON t3.aid = t1.aid JOIN publication AS t4 ON t3.pid = t4.pid WHERE t2.name = \"University of Michigan\" AND t4.year > 2000;", "questions": { ...
{ "complexity_level": "medium", "db_id": "imdb", "query": "SELECT COUNT ( DISTINCT name ) FROM actor WHERE birth_city = \"Los Angeles\" AND birth_year > 2000;", "questions": { "de": "Wie viele Schauspieler wurden nach 2000 in \"Los Angeles\" geboren?", "en": "How many actors were born in \" Los Ang...
{ "complexity_level": "medium", "db_id": "program_share", "query": "SELECT count(*) , time_of_day FROM broadcast GROUP BY time_of_day", "questions": { "de": "Zählen Sie die Anzahl der ausgestrahlten Programme für jeden Zeitabschnitt eines Tages.", "en": "Count the number of programs broadcast for each ...
{ "complexity_level": "medium", "db_id": "tracking_orders", "query": "SELECT DISTINCT T2.product_id FROM orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id WHERE T1.date_order_placed >= \"1975-01-01\" AND T1.date_order_placed <= \"1976-01-01\"", "questions": { "de": "Was sind die eindeutigen I...
{ "complexity_level": "medium", "db_id": "baseball_1", "query": "SELECT count(*) FROM park WHERE city = 'Atlanta';", "questions": { "de": "Wie viele Parks hat Stadt \"Atlanta\"?", "en": "How many parks does Atlanta city have?", "es": "¿Cuántos parques tiene la ciudad de ''Atlanta''?", "fr": "Com...
{ "complexity_level": "hard", "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t1.name ) FROM domain_author AS t4 JOIN author AS t1 ON t4.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t4.did JOIN organization AS t2 ON t2.oid = t1.oid WHERE t3.name = \"Databases\" AND t2.name = \"University of Michiga...
{ "complexity_level": "medium", "db_id": "car_1", "query": "SELECT count(*) FROM CARS_DATA WHERE Cylinders > 4;", "questions": { "de": "Wie hoch ist die Anzahl der Autos mit mehr als 4 Zylindern?", "en": "What is the number of cars with more than 4 cylinders?", "es": "¿Cuál es la cantidad de autom...
{ "complexity_level": "medium", "db_id": "world_1", "query": "SELECT avg(GNP) , sum(population) FROM country WHERE GovernmentForm = \"US Territory\"", "questions": { "de": "Geben Sie das durchschnittliche BSP und die Gesamtbevölkerung der Nationen an, die als Gebiet der „US territory“ gelten.", "en":...
{ "complexity_level": "hard", "db_id": "customer_complaints", "query": "SELECT town_city FROM customers WHERE customer_type_code = \"Good Credit Rating\" GROUP BY town_city ORDER BY count(*) LIMIT 1", "questions": { "de": "Geben Sie die Stadt mit dem Kundentypcode \"Good Credit Rating\" zurück, der die we...
{ "complexity_level": "hard", "db_id": "twitter_1", "query": "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", "questions": { "de": "Suchen Sie den Namen und die Partitions-ID für Benutzer, die weniger als zweimal getwit...
{ "complexity_level": "medium", "db_id": "ship_1", "query": "SELECT count(*) FROM ship", "questions": { "de": "Zählen Sie die Anzahl der Schiffe.", "en": "Count the number of ships.", "es": "Cuente el número de barcos.", "fr": "Comptez le nombre de navires.", "ja": "船の数を数えます。", "vi": "Đế...
{ "complexity_level": "medium", "db_id": "candidate_poll", "query": "SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1", "questions": { "de": "Was ist die ID des Kandidaten mit der niedrigsten Widerspruchsquote?", "en": "What is the id of the candidate with the lowest oppose rate?", "e...
{ "complexity_level": "easy", "db_id": "cinema", "query": "SELECT name , openning_year , capacity FROM cinema", "questions": { "de": "Showname, Eröffnungsjahr und Kapazität für jedes Kino.", "en": "Show name, opening year, and capacity for each cinema.", "es": "Muestre el nombre, el año de apertur...
{ "complexity_level": "medium", "db_id": "university_basketball", "query": "SELECT founded FROM university WHERE affiliation != 'Public' ORDER BY founded DESC LIMIT 1", "questions": { "de": "Was ist das Gründungsjahr der zuletzt gegründeten nichtöffentlichen Schule?", "en": "What is the founded year of ...
{ "complexity_level": "medium", "db_id": "scholar", "query": "SELECT DISTINCT t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid WHERE t2.year = 2016 AND t3.venuename = \"acl\";", "questions": { "de": "Autorenliste in acl 2016", ...
{ "complexity_level": "medium", "db_id": "phone_1", "query": "SELECT max(used_kb) , min(used_kb) , avg(used_kb) FROM screen_mode;", "questions": { "de": "Listen Sie die maximale, minimale und durchschnittliche Anzahl der verwendeten KB im Bildschirmmodus auf.", "en": "List the maximum, minimum and avera...
{ "complexity_level": "hard", "db_id": "gas_company", "query": "SELECT manager_name FROM gas_station WHERE open_year > 2000 GROUP BY manager_name ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Wie heißt der Manager mit den meisten Tankstellen, die nach 2000 eröffnet wurden?", "en": "What is th...
{ "complexity_level": "medium", "db_id": "geo", "query": "SELECT DISTINCT traverse FROM river WHERE LENGTH = ( SELECT MIN ( DISTINCT LENGTH ) FROM river );", "questions": { "de": "Welches Bundesland hat den kürzesten Fluss?", "en": "what state has the shortest river", "es": "¿Qué estado tiene el r...
{ "complexity_level": "medium", "db_id": "yelp", "query": "SELECT t1.name FROM review AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id JOIN USER AS t3 ON t3.user_id = t2.user_id WHERE t3.name = \"Niloofar\";", "questions": { "de": "Listen Sie alle Geschäfte auf, die eine Bewertung von \"Ni...
{ "complexity_level": "medium", "db_id": "allergy_1", "query": "SELECT fname , lname FROM Student WHERE StuID NOT IN (SELECT T1.StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = \"food\")", "questions": { "de": "Wie lautet der vollständige Name jedes...
{ "complexity_level": "medium", "db_id": "dog_kennels", "query": "SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs", "questions": { "de": "Finden Sie die Vornamen, die für Fachleute oder Besitzer verwendet werden, aber nicht als Hundenamen verwendet werde...
{ "complexity_level": "medium", "db_id": "academic", "query": "SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\";", "questions": { ...
{ "complexity_level": "medium", "db_id": "academic", "query": "SELECT t2.name FROM writes AS t3 JOIN author AS t2 ON t3.aid = t2.aid JOIN publication AS t5 ON t3.pid = t5.pid JOIN writes AS t4 ON t4.pid = t5.pid JOIN author AS t1 ON t4.aid = t1.aid WHERE t1.name = \"H. V. Jagadish\" AND t5.year > 2000...
{ "complexity_level": "easy", "db_id": "game_injury", "query": "SELECT Date FROM game ORDER BY home_team DESC", "questions": { "de": "Listen Sie die Spieldaten nach dem Namen der Heimmannschaft in absteigender Reihenfolge auf.", "en": "List the dates of games by the home team name in descending order.",...
{ "complexity_level": "medium", "db_id": "scholar", "query": "SELECT DISTINCT t2.keyphraseid FROM paper AS t3 JOIN paperkeyphrase AS t2 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid JOIN writes AS t5 ON t5.paperid = t3.paperid JOIN author AS t1 ON t5.authorid = t1.authorid WHERE t...
{ "complexity_level": "medium", "db_id": "college_2", "query": "SELECT name FROM instructor WHERE id NOT IN (SELECT id FROM teaches)", "questions": { "de": "Wie heißen die Ausbilder, die nicht unterrichtet haben?", "en": "What are the names of instructors who didn't teach?", "es": "¿Cuáles son los n...
{ "complexity_level": "hard", "db_id": "academic", "query": "SELECT COUNT ( DISTINCT t4.title ) FROM domain_author AS t6 JOIN author AS t1 ON t6.aid = t1.aid JOIN DOMAIN AS t3 ON t3.did = t6.did JOIN domain_publication AS t2 ON t3.did = t2.did JOIN organization AS t5 ON t5.oid = t1.oid JOIN publication AS...
{ "complexity_level": "medium", "db_id": "products_for_hire", "query": "SELECT count(*) FROM Products_for_hire WHERE product_id NOT IN ( SELECT product_id FROM products_booked WHERE booked_amount > 200 )", "questions": { "de": "Wie viele Produkte werden nie mit einem Betrag von mehr als 200 gebucht?", ...
{ "complexity_level": "easy", "db_id": "csu_1", "query": "SELECT campus FROM campuses WHERE county = \"Los Angeles\"", "questions": { "de": "Welche Campus gibt es in \"Los Angeles\" Grafschaft?", "en": "What campuses are in Los Angeles county?", "es": "¿Qué campus hay en el condado de ''Los Angele...
{ "complexity_level": "easy", "db_id": "world_1", "query": "SELECT name FROM city WHERE Population BETWEEN 160000 AND 900000", "questions": { "de": "Welches sind die Städte, deren Einwohnerzahl zwischen 160000 und 900000 liegt?", "en": "What are the cities whose population is between 160000 and 900000?"...
{ "complexity_level": "medium", "db_id": "hr_1", "query": "SELECT * FROM job_history AS T1 JOIN employees AS T2 ON T1.employee_id = T2.employee_id WHERE T2.salary >= 12000", "questions": { "de": "Welche Informationen zur beruflichen Laufbahn erhalten Mitarbeiter, die ein Gehalt von 12000 oder mehr verd...
{ "complexity_level": "easy", "db_id": "election", "query": "SELECT T1.Delegate , T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID", "questions": { "de": "Suchen Sie für jeden Delegierten die Namen der Partei, zu der er gehört.", "en": "For each delegate, find the names of the ...
{ "complexity_level": "hard", "db_id": "voter_2", "query": "SELECT Advisor FROM STUDENT GROUP BY Advisor HAVING COUNT(*) > 2", "questions": { "de": "Welche Berater haben mehr als zwei Studenten?", "en": "Which advisors have more than two students?", "es": "¿Qué profesores tienen más de dos estudia...
{ "complexity_level": "easy", "db_id": "soccer_1", "query": "SELECT T1.name , T2.name FROM Country AS T1 JOIN League AS T2 ON T1.id = T2.country_id", "questions": { "de": "Listen Sie alle Länder- und Liganamen auf.", "en": "List all country and league names.", "es": "Enumere todos los nombres de ...
{ "complexity_level": "medium", "db_id": "college_2", "query": "SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming'", "questions": { "de": "Wie heißen die Lehrer, die \"C Programming course\" unterri...
{ "complexity_level": "hard", "db_id": "gas_company", "query": "SELECT headquarters FROM company WHERE main_industry = 'Banking' GROUP BY headquarters HAVING count(*) >= 2", "questions": { "de": "Was ist der Hauptsitz mit mindestens zwei Unternehmen der Bankenbranche?", "en": "What are the headquart...
{ "complexity_level": "hard", "db_id": "car_1", "query": "SELECT T1.Continent , count(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.continent JOIN car_makers AS T3 ON T2.CountryId = T3.Country GROUP BY T1.Continent;", "questions": { "de": "Wie lauten die Namen der einzelnen Kontinente...
{ "complexity_level": "medium", "db_id": "architecture", "query": "SELECT name , nationality , id FROM architect WHERE gender = 'male' ORDER BY name", "questions": { "de": "Listen Sie den Namen, die Nationalität und die ID aller \"male\" Architekten auf, die lexikografisch nach ihren Namen geordnet sind...
{ "complexity_level": "medium", "db_id": "flight_company", "query": "SELECT count(*) FROM airport WHERE id NOT IN ( SELECT airport_id FROM flight WHERE pilot = 'Thompson' );", "questions": { "de": "Wie viele Flughäfen haben keinen vom Pilot \"Thompson\" gefahrenen Flugzeug?", "en": "How many airports ...
{ "complexity_level": "hard", "db_id": "battle_death", "query": "SELECT name , RESULT , bulgarian_commander FROM battle EXCEPT SELECT T1.name , T1.result , T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel'", "questions": { "de...
{ "complexity_level": "easy", "db_id": "driving_school", "query": "SELECT first_name , middle_name , last_name FROM Staff;", "questions": { "de": "Wie lauten die Vor-, Mittel- und Nachnamen aller Mitarbeiter?", "en": "What are the first, middle, and last names of all staff?", "es": "¿Cuáles son el...
{ "complexity_level": "medium", "db_id": "debate", "query": "SELECT Name FROM people WHERE People_id NOT IN (SELECT Affirmative FROM debate_people)", "questions": { "de": "Listen Sie die Namen von Personen auf, die in den Debatten nicht positiv bewertet wurden.", "en": "List the names of people that hav...
{ "complexity_level": "medium", "db_id": "world_1", "query": "SELECT DISTINCT T1.Region FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\" OR T2.Language = \"Dutch\"", "questions": { "de": "In welchen Regionen wird „Dutch“ oder „English“ gesproche...
{ "complexity_level": "medium", "db_id": "scholar", "query": "SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t2.venuename = \"chi\";", "questions": { "de": "Papiere über \"Chi\"", "en": "Papers on chi", "es": "Documentos sobre ''chi''", "fr": "A...
{ "complexity_level": "easy", "db_id": "academic", "query": "SELECT name FROM organization;", "questions": { "de": "gib mir alle Organisationen zurück.", "en": "return me all the organizations .", "es": "devuélvame todas las organizaciones.", "fr": "renvoyez-moi toutes les organisations.", "...
{ "complexity_level": "hard", "db_id": "cre_Doc_Template_Mgt", "query": "SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1", "questions": { "de": "Geben Sie die ID und den Namen des...
{ "complexity_level": "medium", "db_id": "flight_1", "query": "SELECT count(*) FROM Aircraft WHERE distance BETWEEN 1000 AND 5000", "questions": { "de": "Wie viele Flugzeuge haben eine Entfernung zwischen 1000 und 5000?", "en": "What is the count of aircrafts that have a distance between 1000 and 5000?"...
{ "complexity_level": "medium", "db_id": "pets_1", "query": "SELECT avg(weight) , pettype FROM pets GROUP BY pettype", "questions": { "de": "Wie hoch ist das Durchschnittsgewicht für jede Art von Haustier?", "en": "What is the average weight for each type of pet?", "es": "¿Cuál es el peso medio de ...
{ "complexity_level": "medium", "db_id": "cre_Docs_and_Epenses", "query": "SELECT count(*) FROM Accounts", "questions": { "de": "Zählen Sie die Anzahl der Konten.", "en": "Count the number of accounts.", "es": "Cuente el número de cuentas.", "fr": "Comptez le nombre de comptes.", "ja": "アカウン...
{ "complexity_level": "medium", "db_id": "tracking_share_transactions", "query": "SELECT sum(share_count) FROM TRANSACTIONS", "questions": { "de": "Wie hoch ist die Gesamtaktienanzahl der Transaktionen?", "en": "What is the total share of transactions?", "es": "¿Cuál es la participación total de tra...
{ "complexity_level": "hard", "db_id": "device", "query": "SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*) > 1", "questions": { "de": "Was sind die Träger von Geräten, die in mehr als einem Laden auf Lager sind?", "en": "What ...
{ "complexity_level": "easy", "db_id": "hr_1", "query": "SELECT T1.department_name , T2.city , T2.state_province FROM departments AS T1 JOIN locations AS T2 ON T2.location_id = T1.location_id", "questions": { "de": "Wie lauten die Abteilungsnamen, Städte und Bundesländer für jede Abteilung?", "en": ...
{ "complexity_level": "easy", "db_id": "workshop_paper", "query": "SELECT Author FROM submission ORDER BY Scores ASC", "questions": { "de": "Finden Sie den Autor für jede Freigabe und listen Sie sie in aufsteigender Reihenfolge der Ergebnisse der Freigabe auf.", "en": "Find the author for each submissio...
{ "complexity_level": "medium", "db_id": "scholar", "query": "SELECT DISTINCT t2.title FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t5.paperid JOIN paper AS t2 ON t4.paperid = t2.paperid JOIN author AS t1 ON t4.authorid = t1.authorid J...
{ "complexity_level": "hard", "db_id": "inn_1", "query": "SELECT T2.roomName FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY count(*) DESC LIMIT 1;", "questions": { "de": "Welches Zimmer hat die meisten Reservierungen?", "en": "Which room has the largest numbe...
{ "complexity_level": "medium", "db_id": "cre_Drama_Workshop_Groups", "query": "SELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = \"stop\"", "questions": { "de": "Welche Werkstattgruppen haben Buchungen mit dem...
{ "complexity_level": "medium", "db_id": "assets_maintenance", "query": "SELECT asset_model FROM Assets WHERE asset_id NOT IN (SELECT asset_id FROM Fault_Log)", "questions": { "de": "Für welche Assets wurde kein Fehlerprotokoll erstellt? Listen Sie das Asset-Modell auf.", "en": "Which assets did not inc...
{ "complexity_level": "medium", "db_id": "soccer_2", "query": "SELECT T1.pName , T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'", "questions": { "de": "Wie lauten die Namen und die Trainingsstunden jedes Studenten, der beim Probespiel ein \"yes\" erhalten hat?", ...