sort edu
This commit is contained in:
parent
990d80e64d
commit
f38e5b26f0
3 changed files with 108 additions and 108 deletions
|
|
@ -51,10 +51,10 @@ import { ViewColumn, ViewEntity } from "typeorm";
|
|||
ed.degree,
|
||||
ed.profileId,
|
||||
ed.level,
|
||||
ROW_NUMBER() OVER (PARTITION BY ed.profileId ORDER BY ed.level ASC) AS ed_number
|
||||
ROW_NUMBER() OVER (PARTITION BY ed.profileId ORDER BY ed.level DESC) AS ed_number
|
||||
FROM profileEducation ed
|
||||
WHERE ed.isUse IS TRUE
|
||||
ORDER BY ed.level ASC
|
||||
ORDER BY ed.level DESC
|
||||
),
|
||||
PositionDate AS (
|
||||
SELECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue