data dict |
|---|
{
"complexity_level": "hard",
"db_id": "concert_singer",
"query": "SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.Year = 2014 INTERSECT SELECT T2.name , T2.location FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1... |
{
"complexity_level": "medium",
"db_id": "tracking_share_transactions",
"query": "SELECT count(*) FROM INVESTORS",
"questions": {
"de": "Finden Sie die Anzahl der Investoren insgesamt.",
"en": "Find the number of investors in total.",
"es": "Calcule el número total de inversores.",
"fr": "Trouve... |
{
"complexity_level": "medium",
"db_id": "roller_coaster",
"query": "SELECT count(*) FROM country WHERE country_id NOT IN ( SELECT country_id FROM roller_coaster WHERE LENGTH > 3000 )",
"questions": {
"de": "Wie viele Länder haben keine Achterbahn länger als 3000?",
"en": "How many countries do not ha... |
{
"complexity_level": "medium",
"db_id": "college_2",
"query": "SELECT count(*) FROM classroom WHERE building != 'Lamberton'",
"questions": {
"de": "Wie viele Klassenzimmer gibt es nicht in \"Lamberton\"?",
"en": "How many classrooms are not in Lamberton?",
"es": "¿Cuántas aulas no hay en ''Lamberto... |
{
"complexity_level": "medium",
"db_id": "academic",
"query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\";",
"questions": {
"de": "Geben Sie mir die Autoren zurück, ... |
{
"complexity_level": "easy",
"db_id": "world_1",
"query": "SELECT Population , Region FROM country WHERE Name = \"Angola\"",
"questions": {
"de": "Zu welcher Region gehört „Angola“ und wie groß ist seine Bevölkerung?",
"en": "What region does Angola belong to and what is its population?",
"es": ... |
{
"complexity_level": "easy",
"db_id": "apartment_rentals",
"query": "SELECT building_short_name FROM Apartment_Buildings WHERE building_manager\t = \"Emma\"",
"questions": {
"de": "Welche Gebäude verwaltet \"Emma\"? Gib mir die Kurznamen der Gebäude.",
"en": "Which buildings does \"Emma\" manage? Give... |
{
"complexity_level": "medium",
"db_id": "cinema",
"query": "SELECT count(*) FROM film WHERE title LIKE \"%Dummy%\"",
"questions": {
"de": "Zählen Sie die Anzahl der Filme, deren Titel das Wort \"Dummy\" enthält.",
"en": "Count the number of films whose title contains the word 'Dummy'.",
"es": "Cuen... |
{
"complexity_level": "medium",
"db_id": "apartment_rentals",
"query": "SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_count > 2",
"questions": {
"de": "Welche Gebäude haben Wohnungen mit mehr als zwei Bädern? Gib mir ... |
{
"complexity_level": "medium",
"db_id": "roller_coaster",
"query": "SELECT T1.Name , T1.population FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID ORDER BY T2.Height DESC LIMIT 1",
"questions": {
"de": "Zeigen Sie den Namen und die Bevölkerung des Landes mit der höchsten Ac... |
{
"complexity_level": "easy",
"db_id": "behavior_monitoring",
"query": "SELECT date_incident_start , date_incident_end FROM Behavior_Incident WHERE incident_type_code = \"NOISE\"",
"questions": {
"de": "Was sind die Start- und Enddaten für Vorfälle mit dem Vorfalltypcode \"NOISE\"?",
"en": "What are ... |
{
"complexity_level": "easy",
"db_id": "inn_1",
"query": "SELECT Kids FROM Reservations WHERE CheckIn = \"2010-09-21\" AND FirstName = \"DAMIEN\" AND LastName = \"TRACHSEL\";",
"questions": {
"de": "Geben Sie die Anzahl der Kinder für das reservierte und am 21. September 2010 von \"DAMIEN\" \"TRACHSEL... |
{
"complexity_level": "hard",
"db_id": "customer_complaints",
"query": "SELECT t1.first_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id = t2.staff_id GROUP BY t2.staff_id ORDER BY count(*) LIMIT 5",
"questions": {
"de": "Geben Sie die Vornamen der 5 Mitarbeiter zurück, die die meisten Beschwerd... |
{
"complexity_level": "easy",
"db_id": "protein_institute",
"query": "SELECT TYPE FROM institution WHERE founded > 1990 AND enrollment >= 1000",
"questions": {
"de": "Zeigen Sie den Institutionstyp mit einer nach 1990 gegründeten Institution und einer Institution mit mindestens 1000 Einschreibungen an."... |
{
"complexity_level": "medium",
"db_id": "university_basketball",
"query": "SELECT avg(enrollment) FROM university WHERE founded < 1850",
"questions": {
"de": "Geben Sie die durchschnittliche Einschreibung von Universitäten zurück, die vor 1850 gegründet wurden.",
"en": "Return the average enrollment ... |
{
"complexity_level": "medium",
"db_id": "swimming",
"query": "SELECT country FROM stadium WHERE capacity > 60000 INTERSECT SELECT country FROM stadium WHERE capacity < 50000",
"questions": {
"de": "In welchem Land gibt es sowohl Stadien mit einer Kapazität von mehr als 60000 als auch Stadien mit eine... |
{
"complexity_level": "hard",
"db_id": "college_3",
"query": "SELECT Rank FROM FACULTY GROUP BY Rank ORDER BY count(*) ASC LIMIT 1",
"questions": {
"de": "Was ist der am wenigsten verbreitete Fakultätsrang?",
"en": "What is the least common faculty rank?",
"es": "¿Cuál es el rango de facultad menos ... |
{
"complexity_level": "hard",
"db_id": "store_1",
"query": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_i... |
{
"complexity_level": "easy",
"db_id": "geo",
"query": "SELECT population FROM city WHERE city_name = \"seattle\" AND state_name = \"washington\";",
"questions": {
"de": "Wie viele Menschen leben in \"Seattle\" \"Washington\"?",
"en": "how many people live in seattle washington",
"es": "¿Cuántas... |
{
"complexity_level": "hard",
"db_id": "employee_hire_evaluation",
"query": "SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING count(*) > 1",
"questions": {
"de": "Suchen Sie die Städte, in denen mehr als ein Mitarbeiter unter 30 Jahren beschäftigt ist.",
"en": "Find the cities that have... |
{
"complexity_level": "hard",
"db_id": "dorm_1",
"query": "SELECT count(*) , avg(age) , city_code FROM student WHERE sex = 'M' GROUP BY city_code",
"questions": {
"de": "Was ist das Durchschnittsalter und wie viele männliche Studenten gibt es in jeder Stadt?",
"en": "What is the average age and how ... |
{
"complexity_level": "hard",
"db_id": "manufacturer",
"query": "SELECT sum(market_rate) FROM furniture ORDER BY market_rate DESC LIMIT 2",
"questions": {
"de": "Finden Sie den Gesamtmarktpreis der Möbel mit den Top-2-Marktanteilen.",
"en": "find the total market rate of the furnitures that have the top... |
{
"complexity_level": "hard",
"db_id": "yelp",
"query": "SELECT COUNT ( DISTINCT t1.neighbourhood_name ) FROM neighbourhood AS t1 JOIN business AS t2 ON t1.business_id = t2.business_id WHERE t2.city = \"Madison\" AND t2.rating = 5;",
"questions": {
"de": "Wie viele Nachbarn haben in \"Madison\" ein Ge... |
{
"complexity_level": "medium",
"db_id": "geo",
"query": "SELECT density FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river ) );",
"questions": {
"de": "Das ist die Dichte des Bundeslands, durch das der größte Fluss der Vereinigten Staaten fließt"... |
{
"complexity_level": "easy",
"db_id": "imdb",
"query": "SELECT nationality FROM director WHERE name = \"director_name0\";",
"questions": {
"de": "Was ist die Staatsangehörigkeit von \"Kevin Spacey\"?",
"en": "What is the nationality of \" Kevin Spacey \" ?",
"es": "¿Cuál es la nacionalidad de \"K... |
{
"complexity_level": "medium",
"db_id": "soccer_2",
"query": "SELECT DISTINCT cName FROM tryout ORDER BY cName",
"questions": {
"de": "Wie lauten die verschiedenen Namen der am Probespiel beteiligten Hochschulen in alphabetischer Reihenfolge?",
"en": "What are the different names of the colleges involv... |
{
"complexity_level": "hard",
"db_id": "activity_1",
"query": "SELECT building FROM Faculty WHERE rank = \"Professor\" GROUP BY building HAVING count(*) >= 10",
"questions": {
"de": "In welchen Gebäuden gibt es mindestens zehn \"professors\"?",
"en": "In which buildings are there at least ten profes... |
{
"complexity_level": "medium",
"db_id": "restaurants",
"query": "SELECT t2.house_number , t1.name FROM restaurant AS t1 JOIN LOCATION AS t2 ON t1.id = t2.restaurant_id WHERE t1.name = \"jamerican cuisine\";",
"questions": {
"de": "Wo ist \"jamerican\" Küche?",
"en": "where is jamerican cuisine ?"... |
{
"complexity_level": "hard",
"db_id": "museum_visit",
"query": "SELECT sum(t2.Total_spent) FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id WHERE t1.Level_of_membership = 1",
"questions": {
"de": "Wie hoch sind die Gesamtkosten für die Eintrittskarten der Besucher, deren Mitgliedsstufe 1 is... |
{
"complexity_level": "medium",
"db_id": "store_1",
"query": "SELECT COUNT(*) FROM invoices WHERE billing_city = \"Chicago\" AND billing_state = \"IL\";",
"questions": {
"de": "Wie viele Rechnungen wurden aus \"Chicago, IL\" , in Rechnung gestellt?",
"en": "How many invoices were billed from Chicago... |
{
"complexity_level": "easy",
"db_id": "icfp_1",
"query": "SELECT fname FROM authors WHERE lname = \"Ueno\"",
"questions": {
"de": "Welche Autoren haben den Nachnamen \"Ueno\"? Listen Sie ihre Vornamen auf.",
"en": "Which authors have last name \"Ueno\"? List their first names.",
"es": "¿Qué autor... |
{
"complexity_level": "medium",
"db_id": "manufactory_1",
"query": "SELECT name , price FROM products WHERE price >= 180 ORDER BY price DESC , name ASC",
"questions": {
"de": "Wie lauten die Namen und Preise von Produkten, die mindestens 180 kosten, sortiert nach sinkendem Preis und aufsteigendem Namen?... |
{
"complexity_level": "medium",
"db_id": "bike_1",
"query": "SELECT avg(bikes_available) FROM status WHERE station_id NOT IN (SELECT id FROM station WHERE city = \"Palo Alto\")",
"questions": {
"de": "Was ist die durchschnittliche Fahrradverfügbarkeit für Bahnhöfe, die nicht in \"Palo Alto\" liegen?",
... |
{
"complexity_level": "medium",
"db_id": "employee_hire_evaluation",
"query": "SELECT district FROM shop WHERE Number_products < 3000 INTERSECT SELECT district FROM shop WHERE Number_products > 10000",
"questions": {
"de": "Finden Sie die Bezirke, in denen es sowohl Geschäfte mit weniger als 3000 Produk... |
{
"complexity_level": "medium",
"db_id": "apartment_rentals",
"query": "SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4",
"questions": {
"de": "Wie lauten die Einrichtungscodes der Wohnungen mit mehr als vier Schlafzimmern... |
{
"complexity_level": "medium",
"db_id": "world_1",
"query": "SELECT Name , population , HeadOfState FROM country ORDER BY SurfaceArea DESC LIMIT 1",
"questions": {
"de": "Geben Sie den Namen, die Bevölkerung und das Staatsoberhaupt des Landes mit der größten Fläche an.",
"en": "Give the name, populat... |
{
"complexity_level": "medium",
"db_id": "music_2",
"query": "SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = \"Solveig\"",
"questions": {
"de": "Was sind die unterschiedlichen Bühnenpositionen für alle Musiker, deren Vorname \"Solveig\" i... |
{
"complexity_level": "medium",
"db_id": "scholar",
"query": "SELECT DISTINCT t1.datasetid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid JOIN venue AS t4 ON t4.venueid = t3.venueid WHERE t4.venuename = \"ACL\";",
"questions": {
... |
{
"complexity_level": "hard",
"db_id": "insurance_and_eClaims",
"query": "SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING count(*) > 2",
"questions": {
"de": "Welche Arten von Richtlinien werden von mehr als 2 Kunden ausgewählt? Geben Sie mir die Richtlinientypcodes.",
"en": "Wh... |
{
"complexity_level": "medium",
"db_id": "aircraft",
"query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age LIMIT 1",
"questions": {
"de": "Wie alt ist der jüngste Siegerpilot und wie heißt er?",
"en": "How old is the youngest winning pil... |
{
"complexity_level": "easy",
"db_id": "dog_kennels",
"query": "SELECT DISTINCT breed_code , size_code FROM dogs",
"questions": {
"de": "Finden Sie die verschiedenen Rassentyp- und Größentyp-Kombinationen für Hunde.",
"en": "Find the distinct breed type and size type combinations for dogs.",
"es": ... |
{
"complexity_level": "hard",
"db_id": "customer_deliveries",
"query": "SELECT customer_name FROM customers EXCEPT 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 ... |
{
"complexity_level": "medium",
"db_id": "scholar",
"query": "SELECT DISTINCT t3.paperid FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = \"WebKB\";",
"questions": {
"de": "Papiere, die das WebKB-Dataset verwen... |
{
"complexity_level": "hard",
"db_id": "bike_1",
"query": "SELECT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING avg(bikes_available) > 10 EXCEPT SELECT name FROM station WHERE city = \"San Jose\"",
"questions": {
"de": "Wie heißen alle Bahnhöfe, an... |
{
"complexity_level": "hard",
"db_id": "inn_1",
"query": "SELECT count(*) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE T2.maxOccupancy = T1.Adults + T1.Kids;",
"questions": {
"de": "Wie oft hat die Anzahl der Erwachsenen und Kinder, die sich in einem Zimmer aufhalten, die maxima... |
{
"complexity_level": "easy",
"db_id": "wrestler",
"query": "SELECT Elimination_Move FROM Elimination WHERE Team = \"Team Orton\"",
"questions": {
"de": "Geben Sie die Ausscheidungsfilme der Ringer auf \"Team Orton\" zurück.",
"en": "Return the elimination movies of wrestlers on Team Orton.",
"es"... |
{
"complexity_level": "medium",
"db_id": "county_public_safety",
"query": "SELECT Police_force , COUNT(*) FROM county_public_safety GROUP BY Police_force",
"questions": {
"de": "Wie viele Landkreise entsprechen jeder Polizei?",
"en": "How many counties correspond to each police force?",
"es": "¿Cuá... |
{
"complexity_level": "easy",
"db_id": "book_2",
"query": "SELECT Title , Issues FROM book",
"questions": {
"de": "Was sind der Titel und die Ausgaben der Bücher?",
"en": "What are the title and issues of the books?",
"es": "¿Cuáles son el título y los números de los libros?",
"fr": "Quels sont... |
{
"complexity_level": "hard",
"db_id": "academic",
"query": "SELECT COUNT ( DISTINCT t4.title ) 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 t1.name = \"H. V. Jagadish\" AND t2.name = \"PVLDB\";",
"question... |
{
"complexity_level": "hard",
"db_id": "car_1",
"query": "select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) >= 2 intersect select t1.id , t1.maker from car_makers as t1 join model_list as t2 on t1.id = t2.maker join car_names as t3 on t2... |
{
"complexity_level": "medium",
"db_id": "student_1",
"query": "SELECT classroom , count(*) FROM list GROUP BY classroom",
"questions": {
"de": "Zeigen Sie für jedes Klassenzimmer die Klassennummer an und ermitteln Sie, wie viele Schüler sie verwenden.",
"en": "For each classroom, show the classroom nu... |
{
"complexity_level": "hard",
"db_id": "tracking_grants_for_research",
"query": "SELECT T2.organisation_id , T2.organisation_details FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_id HAVING sum(T1.grant_amount) > 6000",
"questions": {
"de"... |
{
"complexity_level": "medium",
"db_id": "soccer_2",
"query": "SELECT avg(HS) FROM Player",
"questions": {
"de": "Wie viele Stunden trainieren die Spieler durchschnittlich?",
"en": "How many hours do the players train on average?",
"es": "¿Cuántas horas de media entrenan los jugadores?",
"fr": "... |
{
"complexity_level": "hard",
"db_id": "movie_1",
"query": "SELECT T2.title , T1.rID , T1.stars , min(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.rID",
"questions": {
"de": "Was ist für jede Kritiker-ID der Titel und die Bewertung für den Film mit der geringsten Bewertun... |
{
"complexity_level": "medium",
"db_id": "scholar",
"query": "SELECT DISTINCT t5.citingpaperid FROM paperkeyphrase AS t2 JOIN keyphrase AS t1 ON t2.keyphraseid = t1.keyphraseid JOIN cite AS t5 ON t2.paperid = t5.citingpaperid JOIN paper AS t3 ON t3.paperid = t5.citedpaperid JOIN venue AS t4 ON t4.venueid =... |
{
"complexity_level": "medium",
"db_id": "film_rank",
"query": "SELECT Title FROM film WHERE Film_ID NOT IN (SELECT Film_ID FROM film_market_estimation)",
"questions": {
"de": "Was sind die Titel von Filmen, für die keine Einschätzung des Filmmarktes vorliegt?",
"en": "What are the titles of films that ... |
{
"complexity_level": "hard",
"db_id": "chinook_1",
"query": "SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre AS T3 ON T2.GenreID = T3.GenreID WHERE T3.Name = 'Reggae' INTERSECT SELECT T1.Title FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId JOIN Genre ... |
{
"complexity_level": "hard",
"db_id": "bike_1",
"query": "SELECT id FROM station WHERE lat > 37.4 EXCEPT SELECT station_id FROM status GROUP BY station_id HAVING min(bikes_available) < 7",
"questions": {
"de": "Was sind die IDs aller Bahnhöfe, die einen Breitengrad über 37,4 haben und nie weniger als 7... |
{
"complexity_level": "medium",
"db_id": "cre_Doc_Template_Mgt",
"query": "SELECT template_type_code , count(*) FROM Templates GROUP BY template_type_code",
"questions": {
"de": "Welches sind die verschiedenen Vorlagentypcodes, und wie viele Vorlagen entsprechen ihnen jeweils?",
"en": "What are the dif... |
{
"complexity_level": "hard",
"db_id": "protein_institute",
"query": "SELECT name FROM building EXCEPT SELECT T1.name FROM building AS T1 JOIN institution AS T2 ON T1.building_id = T2.building_id WHERE T2.founded = 2003",
"questions": {
"de": "Zeigen Sie die Namen der Gebäude an, mit Ausnahme derjenigen... |
{
"complexity_level": "medium",
"db_id": "wine_1",
"query": "SELECT DISTINCT Name FROM WINE ORDER BY price",
"questions": {
"de": "Wie heißen die Weine, sortiert nach steigendem Preis?",
"en": "What are the names of wines, sorted by price ascending?",
"es": "¿Cuáles son los nombres de los vinos, ord... |
{
"complexity_level": "medium",
"db_id": "journal_committee",
"query": "SELECT Age , COUNT(*) FROM editor GROUP BY Age",
"questions": {
"de": "Was ist das unterschiedliche Alter der Redakteure? Zeigen Sie jedes Alter zusammen mit der Anzahl der Redakteure dieses Alters an.",
"en": "What are the differe... |
{
"complexity_level": "hard",
"db_id": "college_2",
"query": "SELECT count(*) , building FROM classroom WHERE capacity > 50 GROUP BY building",
"questions": {
"de": "Wie viele Zimmer in jedem Gebäude haben eine Kapazität von über 50?",
"en": "How many rooms in each building have a capacity of over 50... |
{
"complexity_level": "medium",
"db_id": "entrepreneur",
"query": "SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Height DESC LIMIT 1",
"questions": {
"de": "Welches Unternehmen wurde vom Unternehmer mit der größten Größe gegründet?",
"en": "Whic... |
{
"complexity_level": "medium",
"db_id": "geo",
"query": "SELECT river_name FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = \"texas\" ) AND traverse = \"texas\";",
"questions": {
"de": "Was sind die größten Flüsse in \"Texas\"",
"en": "what are the biggest rivers in t... |
{
"complexity_level": "hard",
"db_id": "bike_1",
"query": "SELECT city FROM station GROUP BY city ORDER BY max(lat) DESC",
"questions": {
"de": "Listen Sie für jede Stadt ihre Namen in absteigender Reihenfolge nach dem höchsten Breitengrad des Bahnhofs auf.",
"en": "For each city, list their names in de... |
{
"complexity_level": "easy",
"db_id": "program_share",
"query": "SELECT name FROM channel WHERE OWNER != 'CCTV'",
"questions": {
"de": "Welche Kanäle gehören nicht \"CCTV\"? Gib mir die Kanalnamen.",
"en": "Which channels are not owned by CCTV? Give me the channel names.",
"es": "¿Qué canales no so... |
{
"complexity_level": "hard",
"db_id": "loan_1",
"query": "SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id = T2.branch_id JOIN customer AS T3 ON T1.cust_id = T3.cust_id WHERE T3.credit_score < 100 GROUP BY T2.bname ORDER BY sum(T1.amount) DESC LIMIT 1",
"questions": {
"de": "Wie heißt ... |
{
"complexity_level": "medium",
"db_id": "cre_Drama_Workshop_Groups",
"query": "SELECT count(*) FROM BOOKINGS",
"questions": {
"de": "Zählen Sie die Gesamtzahl der vorgenommenen Buchungen.",
"en": "Count the total number of bookings made.",
"es": "Cuente el número total de reservas realizadas.",
... |
{
"complexity_level": "medium",
"db_id": "customers_and_invoices",
"query": "SELECT count(*) , customer_id FROM Accounts GROUP BY customer_id",
"questions": {
"de": "Zählen Sie die Anzahl der Konten, die jeder Kunden-ID entsprechen.",
"en": "Count the number of accounts corresponding to each customer i... |
{
"complexity_level": "medium",
"db_id": "protein_institute",
"query": "SELECT count(*) FROM building",
"questions": {
"de": "Wie viele Gebäude gibt es?",
"en": "How many buildings are there?",
"es": "¿Cuántos edificios hay?",
"fr": "Combien de bâtiments y a-t-il?",
"ja": "建物はいくつありますか?",
... |
{
"complexity_level": "hard",
"db_id": "network_1",
"query": "SELECT count(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = \"Kyle\"",
"questions": {
"de": "Geben Sie die Anzahl der Vorlieben zurück, die der Gymnasiast mit dem Namen „Kyle“ hat.",
"en": "Return the... |
{
"complexity_level": "easy",
"db_id": "cre_Drama_Workshop_Groups",
"query": "SELECT T1.Store_Phone , T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID",
"questions": {
"de": "Geben Sie mir alle Telefonnummern und E-Mail-Adressen de... |
{
"complexity_level": "hard",
"db_id": "flight_4",
"query": "SELECT count(*) FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid WHERE T1.name = 'American Airlines'",
"questions": {
"de": "Wie viele Routen betreibt \"American Airlines\"?",
"en": "How many routes does American Airlines operate... |
{
"complexity_level": "hard",
"db_id": "flight_1",
"query": "SELECT origin FROM Flight GROUP BY origin ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Welcher Ort hat die meisten Flüge von dort?",
"en": "What place has the most flights coming from there?",
"es": "¿Qué lugar tiene más vuelos p... |
{
"complexity_level": "hard",
"db_id": "movie_1",
"query": "SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars = 3 INTERSECT SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars = 4",
"questions": {
"de": "Wie heißen alle Kritiker... |
{
"complexity_level": "medium",
"db_id": "sakila_1",
"query": "SELECT T1.first_name , T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id = T2.customer_id ORDER BY T2.rental_date ASC LIMIT 1",
"questions": {
"de": "Geben Sie den vollständigen Namen des Kunden zurück, der die erste Anmiet... |
{
"complexity_level": "medium",
"db_id": "tracking_orders",
"query": "SELECT DISTINCT order_id FROM orders ORDER BY date_order_placed",
"questions": {
"de": "Was sind die IDs aller unterschiedlichen Bestellungen, sortiert nach Aufgabedatum?",
"en": "What are ids of the all distinct orders, sorted by pla... |
{
"complexity_level": "hard",
"db_id": "scholar",
"query": "SELECT DISTINCT COUNT ( DISTINCT t4.citingpaperid ) , t1.authorid FROM venue AS t3 JOIN paper AS t2 ON t3.venueid = t2.venueid JOIN writes AS t1 ON t1.paperid = t2.paperid JOIN cite AS t4 ON t1.paperid = t4.citedpaperid WHERE t3.venuename = \"C... |
{
"complexity_level": "medium",
"db_id": "world_1",
"query": "SELECT avg(LifeExpectancy) FROM country WHERE Region = \"Central Africa\"",
"questions": {
"de": "Wie hoch ist die durchschnittliche Lebenserwartung der Menschen in „Central Africa“?",
"en": "How long is the people’s average life expectancy... |
{
"complexity_level": "hard",
"db_id": "wrestler",
"query": "SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3",
"questions": {
"de": "Welche Teams hatten mehr als 3 Ausschneidungen?",
"en": "Which teams had more than 3 eliminations?",
"es": "¿Qué equipos tuvieron más de 3 eliminacion... |
{
"complexity_level": "easy",
"db_id": "music_2",
"query": "SELECT * FROM Albums WHERE YEAR = 2012",
"questions": {
"de": "Alle Spalten der im Jahr 2012 erstellten Alben zurückgeben.",
"en": "return all columns of the albums created in the year of 2012.",
"es": "Devuelva todas las columnas de los ... |
{
"complexity_level": "medium",
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Editor\"",
"questions": {
"de": "Suchen Sie die Namen aller Mitarbeiter, deren Rollenname \"Editor\" lautet.",
... |
{
"complexity_level": "easy",
"db_id": "driving_school",
"query": "SELECT date_left_staff FROM Staff WHERE first_name = \"Janessa\" AND last_name = \"Sawayn\";",
"questions": {
"de": "Wann hat die Mitarbeiterin \"Janessa\" \"Sawayn\" das Unternehmen verlassen?",
"en": "When did the staff member Janessa ... |
{
"complexity_level": "hard",
"db_id": "geo",
"query": "SELECT river_name FROM river WHERE traverse = ( SELECT state_name FROM city WHERE population > 150000 GROUP BY state_name ORDER BY COUNT ( city_name ) DESC LIMIT 1 ) ORDER BY LENGTH DESC LIMIT 1;",
"questions": {
"de": "Was ist der längste Fluss im... |
{
"complexity_level": "hard",
"db_id": "customer_deliveries",
"query": "SELECT t2.state_province_county , count(*) FROM customer_addresses AS t1 JOIN addresses AS t2 ON t1.address_id = t2.address_id GROUP BY t2.state_province_county",
"questions": {
"de": "Listen Sie die Namen der Bundesstaaten und die A... |
{
"complexity_level": "hard",
"db_id": "academic",
"query": "SELECT t1.name FROM publication AS t4 JOIN conference AS t2 ON t4.cid = t2.cid JOIN writes AS t3 ON t3.pid = t4.pid JOIN author AS t1 ON t3.aid = t1.aid WHERE t2.name = \"VLDB\" GROUP BY t1.name ORDER BY COUNT ( DISTINCT t4.title ) DESC LIMIT 1;... |
{
"complexity_level": "medium",
"db_id": "insurance_policies",
"query": "SELECT Date_Claim_Made FROM Claims WHERE Amount_Settled <= ( SELECT avg(Amount_Settled) FROM Claims )",
"questions": {
"de": "Geben Sie das Anspruchsbeginndatum für die Ansprüche zurück, deren geltend gemachter Betrag nicht mehr als ... |
{
"complexity_level": "hard",
"db_id": "student_transcripts_tracking",
"query": "select t2.department_name , t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1",
"questions": {
"de": "Wie laute... |
{
"complexity_level": "medium",
"db_id": "phone_1",
"query": "SELECT T2.Hardware_Model_name , T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = \"Graphics\";",
"questions": {
"de": "Geben Sie den Namen des Hardwaremodells und den Firmennamen für ... |
{
"complexity_level": "easy",
"db_id": "department_store",
"query": "SELECT customer_id , customer_name FROM customers WHERE customer_address LIKE \"%WY%\" AND payment_method_code != \"Credit Card\"",
"questions": {
"de": "Wie lauten die IDs und Namen von Kunden mit Adressen, die \"WY\" enthalten und die k... |
{
"complexity_level": "easy",
"db_id": "twitter_1",
"query": "SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%'",
"questions": {
"de": "Suchen Sie die Namen von Benutzern, deren E-Mails \"Superstar\" oder \"Edu\" enthalten.",
"en": "Find the names of users whose emails ... |
{
"complexity_level": "medium",
"db_id": "department_store",
"query": "SELECT product_id , product_type_code FROM products ORDER BY product_price LIMIT 1",
"questions": {
"de": "Geben Sie die ID und den Produkttyp des Produkts mit dem niedrigsten Preis an.",
"en": "Give the id and product type of the p... |
{
"complexity_level": "medium",
"db_id": "city_record",
"query": "SELECT city FROM city WHERE regional_population > 10000000 UNION SELECT city FROM city WHERE regional_population < 5000000",
"questions": {
"de": "Welche Städte haben eine regionale Bevölkerung über 8000000 oder unter 5000000?",
"en":... |
{
"complexity_level": "medium",
"db_id": "epinions_1",
"query": "SELECT count(*) FROM useracct",
"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": "C... |
{
"complexity_level": "medium",
"db_id": "behavior_monitoring",
"query": "SELECT count(DISTINCT student_id) FROM Students_in_Detention",
"questions": {
"de": "Wie viele verschiedene Studenten waren in Haft?",
"en": "How many distinct students have been in detention?",
"es": "¿Cuántos estudiantes dis... |
{
"complexity_level": "medium",
"db_id": "film_rank",
"query": "SELECT T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = \"Japan\" ORDER BY T1.Year DESC",
"questions": {
"de": "Was sind die Jahre der Filmmarktschätzung für den Markt von Japan, ... |
{
"complexity_level": "medium",
"db_id": "world_1",
"query": "SELECT sum(Population) , max(GNP) FROM country WHERE Continent = \"Asia\"",
"questions": {
"de": "Wie viele Menschen leben in „Asia“, und welches ist das größte BSP unter ihnen?",
"en": "How many people live in Asia, and what is the larges... |
{
"complexity_level": "hard",
"db_id": "hospital_1",
"query": "SELECT count(*) , T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand",
"questions": {
"de": "Wie viele Medikamente werden für jede Marke verschrieben?",
"en": "How many medications are prescribe... |
{
"complexity_level": "medium",
"db_id": "solvency_ii",
"query": "SELECT Product_Type_Code , COUNT(*) FROM Products GROUP BY Product_Type_Code",
"questions": {
"de": "Zeigen Sie verschiedene Typcodes von Produkten und die Anzahl der Produkte mit jedem Typcode an.",
"en": "Show different type codes of p... |
End of preview. Expand in Data Studio
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Processed MultiSpider Dataset
This is a processed version of the MultiSpider dataset with the following enhancements:
- Combined questions from multiple languages (en, de, es, fr, ja, vi, zh)
- Added complexity levels for each SQL query (easy, medium, hard)
- Split into balanced train and test sets
Dataset Statistics
- Train set: 4248 examples
- Test set: 1064 examples
- Languages: English, German, Spanish, French, Japanese, Vietnamese, Chinese
- Database files: 166 SQLite files
Format
Each example follows this structure:
{
"db_id": "database_name",
"query": "SELECT * FROM table WHERE condition",
"complexity_level": "easy|medium|hard",
"questions": {
"en": "English natural language question",
"de": "German natural language question",
"es": "Spanish natural language question",
"fr": "French natural language question",
"ja": "Japanese natural language question",
"vi": "Vietnamese natural language question",
"zh": "Chinese natural language question"
}
}
Usage
This dataset is ideal for:
- Supervised Fine-Tuning (SFT) of text-to-SQL models
- Curriculum learning (using complexity levels)
- Cross-lingual training and evaluation
- Guided Reinforcement Learning from Policy Optimization (GRPO)
- Downloads last month
- 29