SELECT (ENAME || 'is a ' || JOB) AS "Employee Details" FROM EMP WHERE SAL > 2000;
时间: 2023-08-21 18:53:22 浏览: 131
3.MySQL数据库-简单查询
Sure! Here is the SQL query you requested:
```sql
SELECT (ENAME || ' is a ' || JOB) AS "Employee Details"
FROM EMP
WHERE SAL > 2000;
```
This query selects the concatenated string of employee name, job, and the phrase " is a " from the EMP table, where the salary (SAL) is greater than 2000. The result will display as "Employee Details".
阅读全文