我想以这种格式显示我的数据:
First_Name Mid_Name Last_Name
All Ahmad Khan
这是我的代码
select substr(customer_name1, 0, instr(customer_name1, ' ')-1) as first_name
, substr(customer_name1, instr(customer_name1, ' ')+1) as mid_name
, ... as last_name
from sttm_customers
where customer_name1 = 'ALI AHMAD KHAN'
谁能帮助我如何在报告中添加姓氏?