data dict |
|---|
{
"complexity_level": "medium",
"db_id": "insurance_and_eClaims",
"query": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = \"Deputy\" OR t1.policy_type_code = \"Uniform\"",
"questions": {
"de": "Welche Kunden ... |
{
"complexity_level": "hard",
"db_id": "protein_institute",
"query": "SELECT count(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id WHERE T1.founded > 1880 OR T1.type = 'Private'",
"questions": {
"de": "Wie viele Proteine sind mit einer nach 1880 gegründeten Inst... |
{
"complexity_level": "medium",
"db_id": "cre_Drama_Workshop_Groups",
"query": "SELECT T2.Store_Name FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.City_Town = \"Feliciaberg\"",
"questions": {
"de": "Geben Sie die Namen der Drama-Workshop-Gruppen zurück, ... |
{
"complexity_level": "easy",
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT document_type_name , document_type_description FROM Ref_document_types WHERE document_type_code = \"RV\"",
"questions": {
"de": "Geben Sie mir den Namen und die Beschreibung des Dokumenttypcodes \"RV\".",
"en": "Give me th... |
{
"complexity_level": "medium",
"db_id": "yelp",
"query": "SELECT t1.neighbourhood_name FROM category AS t3 JOIN business AS t2 ON t3.business_id = t2.business_id JOIN category AS t4 ON t4.business_id = t2.business_id JOIN neighbourhood AS t1 ON t1.business_id = t2.business_id WHERE t2.city = \"Madison\" ... |
{
"complexity_level": "hard",
"db_id": "product_catalog",
"query": "SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Suchen Sie den Katalogverlag mit den meisten Katalogen.",
"en": "Find the catalog publisher that has the most catal... |
{
"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 JOIN category AS t3 ON t3.business_id = t1.business_id WHERE t1.city = \"Los Angeles\" AND t2.category_name = \"Seafood\" AND t3.category_name = \"restaura... |
{
"complexity_level": "medium",
"db_id": "swimming",
"query": "SELECT count(*) FROM stadium WHERE country != 'Russia'",
"questions": {
"de": "Wie viele Stadien gibt es nicht im Land \"Russia\"?",
"en": "How many stadiums are not in country \"Russia\"?",
"es": "¿Cuántos estadios no hay en el país \"R... |
{
"complexity_level": "hard",
"db_id": "imdb",
"query": "SELECT COUNT ( DISTINCT t3.title ) FROM director AS t2 JOIN directed_by AS t1 ON t2.did = t1.did JOIN movie AS t3 ON t3.mid = t1.msid WHERE t2.name = \"Steven Spielberg\";",
"questions": {
"de": "Wie viele Filme hat \"Steven Spielberg\" gedreht... |
{
"complexity_level": "medium",
"db_id": "company_employee",
"query": "SELECT T3.Name , T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID ORDER BY T1.Year_working",
"questions": {
"de": "Zeigen Sie die Namen der Unternehme... |
{
"complexity_level": "hard",
"db_id": "local_govt_in_alabama",
"query": "SELECT Event_ID FROM Participants_in_Events GROUP BY Event_ID ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Was ist die Ereignis-ID mit den meisten Teilnehmern?",
"en": "What is the id of the event with the most participa... |
{
"complexity_level": "hard",
"db_id": "ship_1",
"query": "SELECT flag FROM ship GROUP BY flag ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Geben Sie die Flagge zurück, die bei allen Schiffen am häufigsten vorkommt.",
"en": "Return the flag that is most common among all ships.",
"es": "Dev... |
{
"complexity_level": "medium",
"db_id": "cre_Drama_Workshop_Groups",
"query": "SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1",
"questions": {
"de": "Sagen Sie mir den Namen des teuersten Produkts.",
"en": "Tell me the name of the most pricy product.",
"es": "Dígame el nombre... |
{
"complexity_level": "easy",
"db_id": "shop_membership",
"query": "SELECT card_number , name , hometown FROM member ORDER BY LEVEL DESC",
"questions": {
"de": "Wie lauten die Kartennummern, Namen und Heimatorte jedes Mitglieds nach absteigendem Niveau?",
"en": "What are the card numbers, names, and h... |
{
"complexity_level": "hard",
"db_id": "perpetrator",
"query": "SELECT Country , COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1",
"questions": {
"de": "Was ist das Land mit den meisten Tätern?",
"en": "What is the country that has the most perpetrators?",
"es": "¿Cuál es ... |
{
"complexity_level": "medium",
"db_id": "manufacturer",
"query": "SELECT Market_Rate , name FROM furniture WHERE Furniture_ID NOT IN (SELECT Furniture_ID FROM furniture_manufacte)",
"questions": {
"de": "In unseren Unterlagen finden Sie die Marktanteile und Namen von Möbeln, die kein Unternehmen herstellt... |
{
"complexity_level": "hard",
"db_id": "document_management",
"query": "SELECT user_name , password FROM users GROUP BY role_code ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Welche Nutzernamen und Passwörter haben Nutzer, die die häufigste Rolle spielen?",
"en": "What are the usernames and p... |
{
"complexity_level": "hard",
"db_id": "flight_4",
"query": "SELECT T1.name FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Wie heißt die Fluggesellschaft mit den meisten Routen?",
"en": "What is the name of the airline... |
{
"complexity_level": "hard",
"db_id": "activity_1",
"query": "SELECT count(*) FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID WHERE T1.fname = \"Mark\" AND T1.lname = \"Giuliano\"",
"questions": {
"de": "Finden Sie die Anzahl der Aktivitäten, an denen \"Mark\" \"Giuliano\... |
{
"complexity_level": "hard",
"db_id": "program_share",
"query": "SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id GROUP BY t2.program_id ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Welches Programm wird am häufigsten ausgestrahlt? Gib mir den Programmname... |
{
"complexity_level": "medium",
"db_id": "college_2",
"query": "SELECT dept_name , budget FROM department WHERE budget > (SELECT avg(budget) FROM department)",
"questions": {
"de": "Wie heißen die Abteilungen und Budgets von Abteilungen, deren Budget über dem Durchschnitt liegt?",
"en": "What are the... |
{
"complexity_level": "easy",
"db_id": "allergy_1",
"query": "SELECT Fname , Lname , Age FROM Student WHERE Sex = 'F'",
"questions": {
"de": "Wie lauten die vollständigen Namen und das Alter aller Studentinnen, deren Geschlecht \"F\" ist?",
"en": "What are the full names and ages for all female stud... |
{
"complexity_level": "medium",
"db_id": "party_host",
"query": "SELECT count(*) FROM party",
"questions": {
"de": "Zählen Sie die Anzahl der Partys.",
"en": "Count the number of parties.",
"es": "Cuente el número de fiestas.",
"fr": "Comptez le nombre de fêtes.",
"ja": "パーティーの数を数えます。",
... |
{
"complexity_level": "easy",
"db_id": "gas_company",
"query": "SELECT DISTINCT main_industry FROM company",
"questions": {
"de": "Was sind die verschiedenen Hauptbranchen für alle Unternehmen?",
"en": "What are the different main industries for all companies?",
"es": "¿Cuáles son las diferentes ind... |
{
"complexity_level": "easy",
"db_id": "department_management",
"query": "SELECT name FROM head WHERE born_state != 'California'",
"questions": {
"de": "Wie heißen die Leiter, die außerhalb des Bundesstaates \"California\" geboren wurden?",
"en": "What are the names of the heads who are born outside the... |
{
"complexity_level": "easy",
"db_id": "cre_Docs_and_Epenses",
"query": "SELECT document_id FROM Documents_with_expenses WHERE budget_type_code = 'SF'",
"questions": {
"de": "Geben Sie die IDs von Dokumenten mit Kosten an, die den Budgetcode \"SF\" haben.",
"en": "Give the ids of documents with expens... |
{
"complexity_level": "medium",
"db_id": "department_store",
"query": "SELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers",
"questions": {
"de": "Geben Sie die Telefonnummern aller Kunden und Lieferanten zurück.",
"en": "Return the phone numbers for all customers and supplie... |
{
"complexity_level": "easy",
"db_id": "performance_attendance",
"query": "SELECT HOST FROM performance ORDER BY Attendance ASC",
"questions": {
"de": "Listen Sie die Gastgeber der Aufführungen in aufsteigender Reihenfolge auf.",
"en": "List the hosts of performances in ascending order of attendance.",
... |
{
"complexity_level": "easy",
"db_id": "news_report",
"query": "SELECT Nationality , Age FROM journalist",
"questions": {
"de": "Was sind die Staatsangehörigkeiten und das Alter der Journalisten?",
"en": "What are the nationalities and ages of journalists?",
"es": "¿Cuáles son las nacionalidades y ... |
{
"complexity_level": "easy",
"db_id": "tvshow",
"query": "SELECT Pixel_aspect_ratio_PAR , country FROM tv_channel WHERE LANGUAGE != 'English'",
"questions": {
"de": "Wie lauten das Pixelseitenverhältnis und das Herkunftsland aller Fernsehsender, die kein „Englisch“ verwenden?",
"en": "What is the pixe... |
{
"complexity_level": "medium",
"db_id": "college_2",
"query": "SELECT max(capacity) , avg(capacity) , building FROM classroom GROUP BY building",
"questions": {
"de": "Was ist die größte und durchschnittliche Kapazität für Zimmer in jedem Gebäude?",
"en": "What are the greatest and average capacity f... |
{
"complexity_level": "medium",
"db_id": "inn_1",
"query": "SELECT count(*) FROM Rooms WHERE bedType = \"King\";",
"questions": {
"de": "Wie viele Zimmer haben ein \"king bed\"?",
"en": "How many rooms have a king bed?",
"es": "¿Cuántas habitaciones tienen una ''king bed''?",
"fr": "Combien de... |
{
"complexity_level": "medium",
"db_id": "inn_1",
"query": "SELECT sum(maxOccupancy) FROM Rooms WHERE decor = 'modern';",
"questions": {
"de": "Wie viele Personen können insgesamt in den modernen Zimmern dieses Gasthauses übernachten?",
"en": "How many people in total can stay in the modern rooms of t... |
{
"complexity_level": "medium",
"db_id": "program_share",
"query": "SELECT count(DISTINCT OWNER) FROM channel",
"questions": {
"de": "Zählen Sie die Anzahl der verschiedenen Kanalbesitzer.",
"en": "Count the number of distinct channel owners.",
"es": "Cuente el número de propietarios de canales dist... |
{
"complexity_level": "medium",
"db_id": "perpetrator",
"query": "SELECT Country , COUNT(*) FROM perpetrator GROUP BY Country",
"questions": {
"de": "Was sind die Länder der Täter? Zeigen Sie dort jedes Land und die entsprechende Anzahl von Tätern an.",
"en": "What are the countries of perpetrators? Sh... |
{
"complexity_level": "easy",
"db_id": "climbing",
"query": "SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000",
"questions": {
"de": "Wie heißen Berge mit einer Höhe von über 5000 oder einem Bekanntheitsgrad von über 1000?",
"en": "What are the names of mountains that have a height... |
{
"complexity_level": "easy",
"db_id": "college_2",
"query": "SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000",
"questions": {
"de": "Wie heißen die Instruktoren in der \"Comp. Sci.\" Abteilung, die mehr als 80000 verdienen?",
"en": "What are the names of the instructo... |
{
"complexity_level": "easy",
"db_id": "document_management",
"query": "SELECT image_name , image_url FROM images ORDER BY image_name",
"questions": {
"de": "Wie lauten die Namen und URLs von Bildern, alphabetisch sortiert?",
"en": "What are the names and urls of images, sorted alphabetically?",
"e... |
{
"complexity_level": "medium",
"db_id": "local_govt_mdm",
"query": "SELECT T1.source_system_code , T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id",
"questions": {
"de": "Wie lautet der Code des St... |
{
"complexity_level": "medium",
"db_id": "museum_visit",
"query": "SELECT avg(age) FROM visitor WHERE Level_of_membership <= 4",
"questions": {
"de": "Wie hoch ist das Durchschnittsalter der Besucher, deren Mitgliedsstufe nicht höher als 4 ist?",
"en": "What is the average age of the visitors whose me... |
{
"complexity_level": "easy",
"db_id": "academic",
"query": "SELECT citation_num FROM publication WHERE title = \"Making database systems usable\";",
"questions": {
"de": "Geben Sie mir die Zitate von \"Making database systems usable\" zurück.",
"en": "return me the citations of \" Making database sys... |
{
"complexity_level": "medium",
"db_id": "products_gen_characteristics",
"query": "SELECT T1.product_name FROM products AS T1 JOIN ref_colors AS T2 ON T1.color_code = T2.color_code WHERE T2.color_description = 'yellow'",
"questions": {
"de": "Geben Sie den Namen der Produkte mit der Beschreibung der Far... |
{
"complexity_level": "medium",
"db_id": "yelp",
"query": "SELECT COUNT ( DISTINCT name ) FROM USER WHERE name = \"Michelle\";",
"questions": {
"de": "Finden Sie die Anzahl der Nutzer namens \"Michelle\"",
"en": "Find the number of users called Michelle",
"es": "Encuentre el número de usuarios lla... |
{
"complexity_level": "medium",
"db_id": "college_2",
"query": "SELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics'",
"questions": {
"de": "Wie heißen die Studenten, die \"Statistics\"-Kurse\" besucht ha... |
{
"complexity_level": "easy",
"db_id": "employee_hire_evaluation",
"query": "SELECT * FROM hiring",
"questions": {
"de": "Was sind alle Informationen über die Einstellung?",
"en": "What is all the information about hiring?",
"es": "¿Cuál es toda la información sobre contratación?",
"fr": "Quelle... |
{
"complexity_level": "medium",
"db_id": "music_4",
"query": "SELECT Famous_Release_date FROM artist ORDER BY Age DESC LIMIT 1",
"questions": {
"de": "Geben Sie das berühmte Erscheinungsdatum des ältesten Künstlers zurück.",
"en": "Return the famous release date for the oldest artist.",
"es": "Devue... |
{
"complexity_level": "hard",
"db_id": "scholar",
"query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citingpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t2.venuename = \"sigcomm\" GROUP BY t3.citedpaperid ORDER BY COUNT ( t... |
{
"complexity_level": "medium",
"db_id": "geo",
"query": "SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name = \"mississippi\" );",
"questions": {
"de": "Was sind die Höhepunkte der Bundesländer rund um \"Mississippi\"",
"en": "what are the high poi... |
{
"complexity_level": "hard",
"db_id": "cinema",
"query": "SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCATION HAVING count(*) > 1",
"questions": {
"de": "An welchen Orten gibt es mehr als ein Kino mit einer Kapazität von über 300?",
"en": "In which locations are there more than one m... |
{
"complexity_level": "easy",
"db_id": "academic",
"query": "SELECT title FROM publication WHERE YEAR > 2000;",
"questions": {
"de": "gib mir die Papiere nach 2000 zurück.",
"en": "return me the papers after 2000 .",
"es": "devuélvame los papeles después del 2000.",
"fr": "renvoyez-moi les pap... |
{
"complexity_level": "medium",
"db_id": "book_2",
"query": "SELECT Publisher FROM publication ORDER BY Price DESC LIMIT 1",
"questions": {
"de": "Listen Sie den Herausgeber der Publikation mit dem höchsten Preis auf.",
"en": "List the publisher of the publication with the highest price.",
"es": "In... |
{
"complexity_level": "hard",
"db_id": "yelp",
"query": "SELECT COUNT ( DISTINCT t1.name ) FROM category AS t2 JOIN business AS t1 ON t2.business_id = t1.business_id WHERE t1.rating > 3.5 AND t2.category_name = \"restaurant\";",
"questions": {
"de": "Finden Sie die Anzahl der \"Restaurant\" mit mehr a... |
{
"complexity_level": "hard",
"db_id": "solvency_ii",
"query": "SELECT T1.Product_Name , COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name ORDER BY COUNT(*) DESC",
"questions": {
"de": "Zeigen Sie die Namen der Produkte und die Anzahl der... |
{
"complexity_level": "medium",
"db_id": "behavior_monitoring",
"query": "SELECT T1.text_of_notes FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = \"Schuster\"",
"questions": {
"de": "Hier finden Sie die Texte der Bewertungsnotizen für Lehrer mit dem ... |
{
"complexity_level": "medium",
"db_id": "club_1",
"query": "SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Hopkins Student Enterprises\" AND t3.sex = \"M\"",
"questions": {
"de": "Wie lau... |
{
"complexity_level": "hard",
"db_id": "department_store",
"query": "SELECT T1.customer_name , T1.customer_phone , T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Geben Sie... |
{
"complexity_level": "easy",
"db_id": "coffee_shop",
"query": "SELECT name FROM member WHERE address = 'Harford' OR address = 'Waterbury'",
"questions": {
"de": "Geben Sie mir die Namen der Mitglieder, deren Adresse in \"Harford\" oder \"Waterbury\" ist.",
"en": "Give me the names of members whose ... |
{
"complexity_level": "easy",
"db_id": "candidate_poll",
"query": "SELECT name FROM people WHERE height > 200 OR height < 190",
"questions": {
"de": "Wie heißen Menschen mit einer Körpergröße von mehr als 200 oder weniger als 190?",
"en": "What are the names of people who have a height greater than ... |
{
"complexity_level": "hard",
"db_id": "csu_1",
"query": "SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = “San Francisco State University”",
"questions": {
"de": null,
"en": null,
"es": null,
"fr": null... |
{
"complexity_level": "hard",
"db_id": "music_4",
"query": "SELECT RESULT , COUNT(*) FROM music_festival GROUP BY RESULT ORDER BY COUNT(*) DESC",
"questions": {
"de": "Wie viele Musikfestivals haben jede Art von Ergebnis erzielt, geordnet nach Anzahl?",
"en": "How many music festivals have had each kin... |
{
"complexity_level": "medium",
"db_id": "club_1",
"query": "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\"",
"questions": {
"de": "... |
{
"complexity_level": "medium",
"db_id": "customers_and_invoices",
"query": "SELECT order_id , count(*) FROM Invoices GROUP BY order_id",
"questions": {
"de": "Wie viele Rechnungen entsprechen jeder Bestellnummer?",
"en": "How many invoices correspond to each order id?",
"es": "¿Cuántas facturas co... |
{
"complexity_level": "hard",
"db_id": "formula_1",
"query": "SELECT DISTINCT driverid , STOP FROM pitstops WHERE duration > (SELECT min(duration) FROM pitstops WHERE raceid = 841)",
"questions": {
"de": "Was sind die unterschiedlichen IDs und Stoppdauern aller Fahrer, deren Stopp länger dauerte als de... |
{
"complexity_level": "medium",
"db_id": "cre_Theme_park",
"query": "SELECT avg(price_range) FROM HOTELS WHERE star_rating_code = \"5\" AND pets_allowed_yn = 1",
"questions": {
"de": "Was ist die durchschnittliche Preisklasse von \"5\"-Sterne-Hotels, in denen Haustiere erlaubt sind?",
"en": "What is... |
{
"complexity_level": "hard",
"db_id": "customer_complaints",
"query": "SELECT t1.product_name , count(*) FROM products AS t1 JOIN complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name",
"questions": {
"de": "Was sind die verschiedenen Produktnamen und wie viele Beschwerden hat jeder... |
{
"complexity_level": "easy",
"db_id": "network_1",
"query": "SELECT name , grade FROM Highschooler",
"questions": {
"de": "Wie lauten die Namen und die Klassen der einzelnen Gymnasiasten und Gymnasiastinnen?",
"en": "What are the names and grades for each high schooler?",
"es": "¿Cuál es el nombre... |
{
"complexity_level": "medium",
"db_id": "manufactory_1",
"query": "SELECT avg(price) FROM products WHERE Manufacturer = 2",
"questions": {
"de": "Was ist der Durchschnittspreis von Produkten mit Herstellercodes von 2?",
"en": "What is the average price of products with manufacturer codes equal to 2?"... |
{
"complexity_level": "medium",
"db_id": "phone_market",
"query": "SELECT Name FROM phone WHERE Phone_id NOT IN (SELECT Phone_ID FROM phone_market)",
"questions": {
"de": "Listen Sie die Namen von Telefonen auf, die sich auf keinem Markt befinden.",
"en": "List the names of phones that are not on any ma... |
{
"complexity_level": "medium",
"db_id": "hr_1",
"query": "SELECT employee_id , job_id FROM employees WHERE salary < ( SELECT min(salary) FROM employees WHERE job_id = 'MK_MAN' )",
"questions": {
"de": "Was sind die Mitarbeiter-IDs und Job-IDs für Mitarbeiter, die weniger als den Mitarbeiter mit dem ni... |
{
"complexity_level": "easy",
"db_id": "election_representative",
"query": "SELECT Name FROM Representative WHERE Party != \"Republican\"",
"questions": {
"de": "Wie heißen Vertreter, deren Partei nicht \"Republican\" ist?",
"en": "What are the names of representatives whose party is not \"Republican\"?... |
{
"complexity_level": "medium",
"db_id": "yelp",
"query": "SELECT t3.name FROM tip 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 t1.name = \"Barrio Cafe\" AND t2.year = 2015;",
"questions": {
"de": "Finden Sie alle Nutzer, die 2015 Tipp... |
{
"complexity_level": "medium",
"db_id": "program_share",
"query": "SELECT sum(Rating_in_percent) , OWNER FROM channel GROUP BY OWNER",
"questions": {
"de": "Wie hoch ist die Gesamtbewertung des Kanals für jeden Kanalbesitzer?",
"en": "What is the total rating of channel for each channel owner?",
"... |
{
"complexity_level": "easy",
"db_id": "train_station",
"query": "SELECT name , LOCATION , number_of_platforms FROM station",
"questions": {
"de": "Zeigen Sie den Namen, den Standort und die Anzahl der Plattformen für alle Bahnhöfe an.",
"en": "Show the name, location, and number of platforms for all ... |
{
"complexity_level": "medium",
"db_id": "e_learning",
"query": "SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students",
"questions": {
"de": "Welche Benutzernamen werden sowohl von einigen Kursautoren als auch von einigen Studenten verwendet?",
"en": "What are the l... |
{
"complexity_level": "medium",
"db_id": "county_public_safety",
"query": "SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE Crime_rate < 100)",
"questions": {
"de": "Wie heißen Städte in Landkreisen mit einer Kriminalitätsrate unter 100?",
"en": "What are the ... |
{
"complexity_level": "easy",
"db_id": "entertainment_awards",
"query": "SELECT Festival_Name FROM festival_detail WHERE YEAR = 2007",
"questions": {
"de": "Wie heißen die Festivals im Jahr 2007?",
"en": "What are the names of festivals held in year 2007?",
"es": "¿Cuáles son los nombres de los fe... |
{
"complexity_level": "hard",
"db_id": "csu_1",
"query": "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\"",
"questions": {
"de": "Wie viele Studenten gibt es im Bundesstaat \"San ... |
{
"complexity_level": "easy",
"db_id": "employee_hire_evaluation",
"query": "SELECT name , LOCATION , district FROM shop ORDER BY number_products DESC",
"questions": {
"de": "Sortieren Sie alle Geschäfte nach der Anzahl der Produkte in absteigender Reihenfolge, und geben Sie den Namen, den Standort und de... |
{
"complexity_level": "easy",
"db_id": "icfp_1",
"query": "SELECT lname FROM authors WHERE fname = \"Amal\"",
"questions": {
"de": "Welche Autoren haben den Vornamen \"Amal\"? Listen Sie ihre Nachnamen auf.",
"en": "Which authors have first name \"Amal\"? List their last names.",
"es": "¿Qué autor... |
{
"complexity_level": "hard",
"db_id": "college_3",
"query": "SELECT avg(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.LName = \"Smith\"",
"questions": {
"de": "Was ist der durchschnittliche Notenpunkt ... |
{
"complexity_level": "easy",
"db_id": "csu_1",
"query": "SELECT campus FROM campuses WHERE YEAR < 1800",
"questions": {
"de": "Welche Campus wurden vor 1800 eröffnet?",
"en": "What campuses opened before 1800?",
"es": "¿Qué campus abrieron antes de 1800?",
"fr": "Quels campus ont ouvert avant... |
{
"complexity_level": "easy",
"db_id": "products_for_hire",
"query": "SELECT payment_date FROM payments WHERE amount_paid > 300 OR payment_type_code = 'Check'",
"questions": {
"de": "Was ist das Zahlungsdatum der Zahlung mit einem Betrag von mehr als 300 oder mit der Zahlungsart \"Check\"?",
"en": "... |
{
"complexity_level": "medium",
"db_id": "train_station",
"query": "SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE T1.station_id NOT IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = \"London... |
{
"complexity_level": "medium",
"db_id": "tracking_orders",
"query": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.shipment_tracking_number = 3452",
"questions": {
"de": "An welchem Tag wurde die Bestellung aufgegeben, deren Sendungsverfolgungsnu... |
{
"complexity_level": "hard",
"db_id": "flight_4",
"query": "SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.country = 'China' GROUP BY T1.name ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Wie heißt der Flughafen, der das Ziel der meisten Routen ist, die ... |
{
"complexity_level": "medium",
"db_id": "protein_institute",
"query": "SELECT TYPE , count(*) , sum(enrollment) FROM institution GROUP BY TYPE",
"questions": {
"de": "Zeigen Sie die Institutionstypen zusammen mit der Anzahl der Institutionen und der Gesamtzahl der Einschreibungen für jeden Typ an.",
... |
{
"complexity_level": "easy",
"db_id": "behavior_monitoring",
"query": "SELECT city FROM Addresses ORDER BY city",
"questions": {
"de": "Listen Sie alle Adressenstädte in alphabetischer Reihenfolge auf.",
"en": "List all cities of addresses in alphabetical order.",
"es": "Enumere todas las ciudades ... |
{
"complexity_level": "easy",
"db_id": "restaurant_1",
"query": "SELECT Fname , Lname FROM Student WHERE Major = 600;",
"questions": {
"de": "Listen Sie alle Vor- und Nachnamen der Studenten auf, die das Hauptfach 600 erreicht haben.",
"en": "List all students' first names and last names who majored i... |
{
"complexity_level": "medium",
"db_id": "dorm_1",
"query": "SELECT count(*) , avg(age) , city_code FROM student GROUP BY city_code",
"questions": {
"de": "Wie viele Studenten leben in jeder Stadt und wie alt sind sie durchschnittlich?",
"en": "How many students live in each city and what are their av... |
{
"complexity_level": "medium",
"db_id": "dog_kennels",
"query": "SELECT count(DISTINCT dog_id) FROM Treatments",
"questions": {
"de": "Zählen Sie die Anzahl der Hunde, die eine Behandlung durchlaufen haben.",
"en": "Count the number of dogs that went through a treatment.",
"es": "Cuente la cantidad... |
{
"complexity_level": "easy",
"db_id": "store_1",
"query": "SELECT email , phone FROM customers WHERE first_name = \"Astrid\" AND last_name = \"Gruber\";",
"questions": {
"de": "Wie lautet die E-Mail-Adresse und Telefonnummer von \"Astrid\" \"Gruber\", der Kund?",
"en": "What is the email and phone num... |
{
"complexity_level": "hard",
"db_id": "cre_Drama_Workshop_Groups",
"query": "SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING avg(Product_Price) < 1000000",
"questions": {
"de": "Finden Sie die Produktnamen, deren durchschnittlicher Produktpreis unter 1000000 liegt.",
"en": "Find the pr... |
{
"complexity_level": "easy",
"db_id": "hr_1",
"query": "SELECT first_name , last_name FROM employees WHERE department_id = 70 OR department_id = 90",
"questions": {
"de": "Wie lauten die vollständigen Namen der Mitarbeiter in Abteilung 70 oder 90?",
"en": "What are the full names of employees who ... |
{
"complexity_level": "hard",
"db_id": "bike_1",
"query": "SELECT zip_code FROM weather GROUP BY zip_code ORDER BY avg(mean_sea_level_pressure_inches) LIMIT 1",
"questions": {
"de": "Was ist die Postleitzahl mit dem niedrigsten durchschnittlichen mittleren Meeresspiegeldruck?",
"en": "What is the zip co... |
{
"complexity_level": "hard",
"db_id": "scholar",
"query": "SELECT DISTINCT t3.citedpaperid , COUNT ( t3.citedpaperid ) FROM paper AS t1 JOIN cite AS t3 ON t1.paperid = t3.citedpaperid JOIN venue AS t2 ON t2.venueid = t1.venueid WHERE t1.year = 2010 AND t2.venuename = \"EMNLP\" GROUP BY t3.citedpaperid ... |
{
"complexity_level": "medium",
"db_id": "cre_Theme_park",
"query": "SELECT count(*) FROM Visitors WHERE Tourist_ID NOT IN ( SELECT Tourist_ID FROM Visits )",
"questions": {
"de": "Zählen Sie die Anzahl der Touristen, die keinen Ort besucht haben.",
"en": "Count the number of tourists who did not visit ... |
{
"complexity_level": "easy",
"db_id": "entrepreneur",
"query": "SELECT Name FROM People ORDER BY Weight ASC",
"questions": {
"de": "Geben Sie die Namen der Personen in aufsteigender Reihenfolge des Gewichts zurück.",
"en": "Return the names of people, ordered by weight ascending.",
"es": "Devuelva ... |
{
"complexity_level": "hard",
"db_id": "scholar",
"query": "SELECT DISTINCT t2.paperid FROM paperdataset AS t3 JOIN dataset AS t1 ON t3.datasetid = t1.datasetid JOIN paper AS t4 ON t4.paperid = t3.paperid JOIN writes AS t2 ON t2.paperid = t4.paperid WHERE t1.datasetname = \"ImageNet\" GROUP BY t2.paperid;... |
{
"complexity_level": "medium",
"db_id": "insurance_and_eClaims",
"query": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = \"Deputy\"",
"questions": {
"de": "Welche Kunden haben eine Versicherung mit der Vorwahl... |
{
"complexity_level": "hard",
"db_id": "wine_1",
"query": "SELECT avg(price) FROM wine WHERE Appelation NOT IN (SELECT T1.Appelation FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T1.County = 'Sonoma')",
"questions": {
"de": "Was ist der Durchschnittspreis für Weine, die ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.