如果我有一个刚刚返回的记录集:
SELECT * FROM USERS
Name | Gender | Company
Bob | male | Abc Inc.
Bob | male | Xyz Inc.
Bob | male | NULL
我希望它返回这个:
Name | Gender | Company
NULL | NULL | NULL
NULL | NULL | Abc Inc.
NULL | male | NULL
NULL | male | Abc Inc.
NULL | NULL | Xyz Inc.
NULL | male | Xyz Inc.
Bob | NULL | NULL
Bob | NULL | Abc Inc.
Bob | male | NULL
Bob | male | Abc Inc.
Bob | NULL | Xyz Inc.
Bob | male | Xyz Inc.
它是如何实现的?