name, salary, department
joe, 95000, Manager
walter, 26500, HR
Adam, 36520,Developer
Sam, 38910, Developer
Romie, 68457,Manager
oliver, 69545, Developer
Mahesh, 89542, Developer
Ricky, 96845,HR
Sara, 84756,Manager
Anand, 36597, HR
Kevin, 98457, HR
Ram, 63547, Manager
输出应为`
Developer, Mahesh, 89542
Developer, oliver, 69545
Developer, Sam, 38910
HR, Kevin, 98457
HR, Ricky, 96845
HR, Anand, 36597
Manager, joe, 95000
Manager, Sara, 84756
Manager, Romie, 68457
`
我希望所有的记录都应该像给定的输出一样打印出来,并且应该在配置单元中运行。
1条答案
按热度按时间q9yhzks01#
结果如下所示:
name salary dept Mahesh 89542 Developer oliver 69545 Developer Sam 38910 Developer Kevin 98457 HR Ricky 96845 HR Anand 36597 HR joe 95000 Manager Sara 84756 Manager Romie 68457 Manager