🙏 We need your help! SQLtest.online has no ads and lives only on donations. Even a small amount helps. Donate now →
SQL code copied to buffer
Task 12:

Logins of Emeritus Professors

MariaDB
The IT office moves the accounts of emeritus professors to a new mail server and needs their logins: the part of email before the @ sign. Find the teachers in the faculty table whose rank is Emeritus.
Output the columns last_name, first_name and login, sorted by login.
Expected result Columns: 3 · Rows: 12
last_name first_name login

Sample rows open after wrong checks: 0 of 2

Write your query below and click "Check it!". Tables are described in the right pane.

Tutorial

By checking a query, you agree that it is stored without your account details and may be included in anonymized datasets, including for AI training. Learn more

The query result will appear here. Ctrl+Enter - Run query