查看某个某个字段的注释名等 select a.owner as 用户名 ,a.TABLE_NAME as 表名 ,b.COMMENTS as 表注释名 ,a.COLUMN_NAME as 字段名 ,a.comments as 字段注释 from dba_col_comments a join dba Read More
需求场景,组内排序,例如统计某个用户前10次消费金额,如求某个相同id或组内的top值 步骤一,创建测试表 create table tmp_partition_test ( name string, subject string, score int ) 步骤二,插入测试数据 insert int Read More