1、打开DataGrip
2、展开要操作的数据库连接
3、展开要操作的数据库
4、双击要操作的数据库表
5、此时显示已有的表记录
6、右击空白处,选择【View as】下的【Transposed Table】
7、此时以转置方式显示整个表数据