data dict |
|---|
{
"complexity_level": "medium",
"db_id": "local_govt_mdm",
"query": "SELECT count(DISTINCT source_system_code) FROM CMI_cross_references",
"questions": {
"de": "Wie viele verschiedene Quellsystemcodes für die cmi-Querverweise gibt es?",
"en": "How many different source system code for the cmi cross refe... |
{
"complexity_level": "hard",
"db_id": "network_1",
"query": "SELECT T2.name , count(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id",
"questions": {
"de": "Wie lauten die Namen der Gymnasiasten und wie viele Freunde hat jeder von ihnen?",
"en": "What are ... |
{
"complexity_level": "hard",
"db_id": "student_transcripts_tracking",
"query": "SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Wie oft kann ein Kurs maximal in verschiedenen Abschriften angezeigt werden, und wi... |
{
"complexity_level": "easy",
"db_id": "department_store",
"query": "SELECT customer_name , customer_id FROM customers WHERE customer_address LIKE \"%TN%\"",
"questions": {
"de": "Geben Sie die Namen und IDs der Kunden zurück, deren Adresse \"TN\" enthält.",
"en": "Return the names and ids of customers... |
{
"complexity_level": "easy",
"db_id": "club_1",
"query": "SELECT clubdesc FROM club WHERE clubname = \"Pen and Paper Gaming\"",
"questions": {
"de": "Wie lautet die Beschreibung des Clubs \"Pen and Paper Gaming\"?",
"en": "What is the description of the club \"Pen and Paper Gaming\"?",
"es": "¿Cu... |
{
"complexity_level": "hard",
"db_id": "battle_death",
"query": "SELECT T1.id , T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle JOIN death AS T3 ON T2.id = T3.caused_by_ship_id GROUP BY T1.id HAVING sum(T3.killed) > 10",
"questions": {
"de": "Wie lauten die IDs und Namen der Kä... |
{
"complexity_level": "medium",
"db_id": "solvency_ii",
"query": "SELECT avg(Product_Price) FROM Products",
"questions": {
"de": "Was ist der Durchschnittspreis für Produkte?",
"en": "What is the average price for products?",
"es": "¿Cuál es el precio medio de los productos?",
"fr": "Quel est le... |
{
"complexity_level": "hard",
"db_id": "scientist_1",
"query": "SELECT count(*) , T1.name FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project WHERE T1.hours > 300 GROUP BY T1.name",
"questions": {
"de": "Wie heißen Projekte, die mehr als 300 Stunden benötigen, und wie viele Wissenschaftle... |
{
"complexity_level": "easy",
"db_id": "cre_Doc_Tracking_DB",
"query": "SELECT location_code FROM Ref_locations WHERE location_name = \"Canada\"",
"questions": {
"de": "Zeigen Sie den Standortcode des Landes \"Canada\" an.",
"en": "Show the location code of the country \"Canada\".",
"es": "Muestre... |
{
"complexity_level": "medium",
"db_id": "movie_1",
"query": "SELECT DISTINCT T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T3.name = 'Sarah Martinez'",
"questions": {
"de": "Wie heißen alle Regisseure, deren Filme von \"Sarah Martinez\"... |
{
"complexity_level": "hard",
"db_id": "bike_1",
"query": "SELECT bike_id FROM trip WHERE zip_code = 94002 GROUP BY bike_id ORDER BY COUNT(*) DESC LIMIT 1",
"questions": {
"de": "Was ist die ID des Fahrrads, das 94002 am meisten gefahren ist?",
"en": "What is the id of the bike that traveled the most ... |
{
"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 HAVING count(*) > 60",
"questions": {
"de": "Wie heißen Zimmer, deren Reservierungshäufigkeit das 60 Mal überschreitet?",
"en": "What are the ... |
{
"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\" AND t4.year >... |
{
"complexity_level": "medium",
"db_id": "customers_and_addresses",
"query": "SELECT t1.customer_name , t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id WHERE order_status = \"Delivered\"",
"questions": {
"de": "Wie lauten der Kundenname und das Datum der... |
{
"complexity_level": "easy",
"db_id": "geo",
"query": "SELECT state_name FROM state;",
"questions": {
"de": "Gib mir alle Bundesländer der USA",
"en": "give me all the states of usa",
"es": "Deme todos los estados de ''USA''.",
"fr": "donnez-moi tous les états des états-unis",
"ja": "アメリカのす... |
{
"complexity_level": "easy",
"db_id": "wta_1",
"query": "SELECT first_name , last_name FROM players ORDER BY birth_date",
"questions": {
"de": "Wie lauten die vollständigen Namen aller Spieler in der Reihenfolge ihres Geburtsdatums?",
"en": "What are the full names of all players, sorted by birth date... |
{
"complexity_level": "medium",
"db_id": "city_record",
"query": "SELECT host_city FROM hosting_city ORDER BY YEAR DESC LIMIT 1",
"questions": {
"de": "Finden Sie die Stadt, in der im letzten Jahr einige Veranstaltungen stattfanden. Was ist die ID dieser Stadt?",
"en": "Find the city that hosted some ev... |
{
"complexity_level": "easy",
"db_id": "tracking_grants_for_research",
"query": "SELECT role_code FROM Project_Staff WHERE date_from > '2003-04-19 15:06:20' AND date_to < '2016-03-15 00:33:18'",
"questions": {
"de": "Welche Rollen spielten die Mitarbeiter zwischen \"2003-04-19 15:06:20\" und \"2016-03-1... |
{
"complexity_level": "medium",
"db_id": "products_gen_characteristics",
"query": "SELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4... |
{
"complexity_level": "medium",
"db_id": "ship_mission",
"query": "SELECT Name FROM ship WHERE Ship_ID NOT IN (SELECT Ship_ID FROM mission)",
"questions": {
"de": "Wie heißen die Schiffe, die an keinen Missionen beteiligt sind?",
"en": "What are the names of the ships that are not involved in any missio... |
{
"complexity_level": "hard",
"db_id": "course_teach",
"query": "SELECT T2.Name FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name HAVING COUNT(*) >= 2",
"questions": {
"de": "Wie lauten die Namen der Lehrenden, die mindestens zwei Kurse unterrichten?",
"e... |
{
"complexity_level": "hard",
"db_id": "customer_deliveries",
"query": "SELECT payment_method FROM Customers GROUP BY payment_method ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Finden Sie die Zahlungsmethode, die am häufigsten verwendet wird.",
"en": "Find the payment method that is used most... |
{
"complexity_level": "hard",
"db_id": "film_rank",
"query": "SELECT Studio FROM film GROUP BY Studio HAVING COUNT(*) >= 2",
"questions": {
"de": "Wie heißen Studios, die zwei oder mehr Filme gedreht haben?",
"en": "What are the names of studios that have made two or more films?",
"es": "¿Cuáles s... |
{
"complexity_level": "hard",
"db_id": "store_1",
"query": "SELECT billing_state , COUNT(*) FROM invoices WHERE billing_country = \"USA\" GROUP BY billing_state;",
"questions": {
"de": "Wie viele Rechnungen wurden aus jedem Staat in Rechnung gestellt?",
"en": "How many invoices were billed from each ... |
{
"complexity_level": "medium",
"db_id": "body_builder",
"query": "SELECT Name , birth_place FROM people EXCEPT SELECT T1.Name , T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id",
"questions": {
"de": "Listen Sie die Namen und Herkunft von Personen auf, die keine B... |
{
"complexity_level": "medium",
"db_id": "student_1",
"query": "SELECT DISTINCT classroom FROM list WHERE grade = 5",
"questions": {
"de": "Zeigen Sie mir, welche Klassenzimmer die 5. Klasse benutzt.",
"en": "Show me the classrooms grade 5 is using.",
"es": "Muéstreme las aulas que usa el grado 5.... |
{
"complexity_level": "medium",
"db_id": "company_office",
"query": "SELECT max(Sales_billion) , min(Sales_billion) FROM Companies WHERE Industry != \"Banking\"",
"questions": {
"de": "Finden Sie den maximalen und minimalen Umsatz der Unternehmen, die nicht in der \"Banking\"-Industrie tätig sind.",
"e... |
{
"complexity_level": "hard",
"db_id": "flight_company",
"query": "SELECT T2.pilot FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id WHERE T1.principal_activities = 'Cargo' INTERSECT SELECT T2.pilot FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id WHERE T1.principal_... |
{
"complexity_level": "easy",
"db_id": "flight_4",
"query": "SELECT name FROM airports WHERE elevation BETWEEN -50 AND 50",
"questions": {
"de": "Wie heißen alle Flughäfen, deren Elevation zwischen -50 und 50 liegt?",
"en": "What are the names of all airports whose elevation is between -50 and 50?",
... |
{
"complexity_level": "medium",
"db_id": "behavior_monitoring",
"query": "SELECT max(monthly_rental) , min(monthly_rental) FROM Student_Addresses",
"questions": {
"de": "Finden Sie die maximale und minimale monatliche Miete für alle Studentenadressen.",
"en": "Find the maximum and minimum monthly renta... |
{
"complexity_level": "medium",
"db_id": "shop_membership",
"query": "SELECT name , city FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)",
"questions": {
"de": "Wie lauten die Namen und Städte der Zweigstellen, in denen keine Mitglieder registriert sind?",
"en": "W... |
{
"complexity_level": "hard",
"db_id": "college_1",
"query": "SELECT T2.dept_name , T1.dept_code FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE T1.prof_high_degree = 'Ph.D.' GROUP BY T1.dept_code ORDER BY count(*) DESC LIMIT 1",
"questions": {
"de": "Welche Abteilung ha... |
{
"complexity_level": "medium",
"db_id": "car_1",
"query": "SELECT count(*) FROM CONTINENTS;",
"questions": {
"de": "Wie viele Kontinente gibt es?",
"en": "What is the number of continents?",
"es": "¿Cuál es el número de continentes?",
"fr": "Quel est le nombre de continents?",
"ja": "大陸の数は?... |
{
"complexity_level": "medium",
"db_id": "twitter_1",
"query": "SELECT count(*) FROM follows",
"questions": {
"de": "Wie viele Follower hat jeder Benutzer?",
"en": "How many followers does each user have?",
"es": "¿Cuántos seguidores tiene cada usuario?",
"fr": "Combien d'abonnés chaque utilisat... |
{
"complexity_level": "easy",
"db_id": "geo",
"query": "SELECT density FROM state WHERE capital = \"austin\";",
"questions": {
"de": "Was ist die Bevölkerungsdichte im Bundesland mit der Hauptstadt \"Austin\"",
"en": "what is the population density in the state with capital austin",
"es": "cuál es... |
{
"complexity_level": "hard",
"db_id": "museum_visit",
"query": "SELECT count(*) FROM visitor WHERE id NOT IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)",
"questions": {
"de": "Ermitteln Sie die Anzahl der Besucher, die kein nach 20... |
{
"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 neighbourhood AS t1 ON t1.business_id = t2.business_id WHERE t2.name = \"Flat Top Grill\" AND t3.category_name = \"category_category_name0... |
{
"complexity_level": "medium",
"db_id": "body_builder",
"query": "SELECT Birth_Place , COUNT(*) FROM people GROUP BY Birth_Place",
"questions": {
"de": "Listen Sie jeden Geburtsort zusammen mit der Anzahl der Personen von dort auf.",
"en": "List each birth place along with the number of people from th... |
{
"complexity_level": "medium",
"db_id": "products_gen_characteristics",
"query": "SELECT t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = \"catnip\"",
"questions": {
"de": "Geben Sie die Beschreibung der Farbe für das Produkt 'catni... |
{
"complexity_level": "hard",
"db_id": "scholar",
"query": "SELECT DISTINCT COUNT ( t1.paperid ) FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2015 AND t2.venuename = \"nature communications\";",
"questions": {
"de": "Wie viele Papiere wurden 2015 in \"nature communicati... |
{
"complexity_level": "medium",
"db_id": "geo",
"query": "SELECT density FROM state WHERE area = ( SELECT MAX ( area ) FROM state );",
"questions": {
"de": "Was ist die Bevölkerungsdichte des größten Bundeslands",
"en": "what is the population density of the largest state",
"es": "¿Cuál es la dens... |
{
"complexity_level": "hard",
"db_id": "college_2",
"query": "SELECT T3.title , T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT max(capacity) FROM classroom)",
... |
{
"complexity_level": "medium",
"db_id": "student_1",
"query": "SELECT DISTINCT grade FROM list WHERE classroom = 105",
"questions": {
"de": "Welche Klasse lernt in Zimmer 105?",
"en": "Which grade is studying in room 105?",
"es": "¿Qué grado está estudiando en el aula 105?",
"fr": "Quelle cla... |
{
"complexity_level": "medium",
"db_id": "geo",
"query": "SELECT border FROM border_info WHERE state_name = ( SELECT state_name FROM state WHERE area = ( SELECT MIN ( area ) FROM state ) );",
"questions": {
"de": "Welche Bundesländer grenzen an das Bundesland mit dem kleinsten Bereich",
"en": "which... |
{
"complexity_level": "medium",
"db_id": "department_management",
"query": "SELECT DISTINCT T1.age FROM management AS T2 JOIN head AS T1 ON T1.head_id = T2.head_id WHERE T2.temporary_acting = 'Yes'",
"questions": {
"de": "Wie alt sind die handelnden Leiter?",
"en": "What are the distinct ages of the... |
{
"complexity_level": "hard",
"db_id": "academic",
"query": "SELECT COUNT ( DISTINCT t5.title ) FROM organization AS t3 JOIN author AS t1 ON t3.oid = t1.oid JOIN writes AS t4 ON t4.aid = t1.aid JOIN publication AS t5 ON t4.pid = t5.pid JOIN conference AS t2 ON t5.cid = t2.cid WHERE t2.name = \"VLDB\" AN... |
{
"complexity_level": "hard",
"db_id": "bike_1",
"query": "SELECT DISTINCT zip_code FROM weather EXCEPT SELECT DISTINCT zip_code FROM weather WHERE max_dew_point_f >= 70",
"questions": {
"de": "Was sind all die verschiedenen Postleitzahlen mit einem maximalen Taupunkt, der immer unter 70 lag?",
"en": ... |
{
"complexity_level": "hard",
"db_id": "college_1",
"query": "SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code JOIN department AS T5 ON T5.dept_code = T4.dept_code WHERE T5.d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.