0

询问:

Select batch as Senior_PM_Batch from profile where designation = 'project manager' and batch <= ALL(select batch from profile where designation = 'project manager');

查询给出了准确的结果,但无法将列重命名batchSenior_PM_Batch.

结果Batch仅显示列名。

4

1 回答 1

0

尝试

Select batch as `Senior_PM_Batch` from profile where designation = 'project manager' and batch <= ALL(select batch from profile where designation = 'project manager');
于 2017-04-15T13:33:22.300 回答