我在下面运行一个简单的查询并输出以下内容:
select subject_name, charge_section
from Arrest_table a, Charge_table b
where a. charge_id = b.charge_code
Subject_name Charge_section
Person1 333a.2322
Person2 222a.a6b4
Person2 8usa.1883
Person3 1111.b222
Person3 3233.a332
Person3 8usa.1111
如何在SQL SERVER或ORACLE平台中编写可以显示如下
Subject_name Charge_section1 Charge_section2 Charge_sector3
Person1 333a.2322
Person2 222a.a6b4 8usa.1883
Person3 1111.b222 3233.a332 8usa.1111
谢谢,祝大家节日快乐!