Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.63 KB | None | 0 0
  1. SELECT this_.ID                 AS ID1094_0_,
  2.        this_.AREA               AS AREA1094_0_,
  3.        this_.KLADR              AS KLADR1094_0_,
  4.        this_.RATING             AS RATING1094_0_,
  5.        this_.SCOPES_ACTIVITY_ID AS SCOPES9_1094_0_,
  6.        this_.RESULT             AS RESULT1094_0_,
  7.        this_.SUBJECT            AS SUBJECT1094_0_,
  8.        this_.VILLAGE            AS VILLAGE1094_0_,
  9.        this_.RATING_YEAR        AS RATING8_1094_0_
  10. FROM GMU_RATING.RATING_SUBJECTS_MV this_
  11. WHERE this_.RATING_YEAR = ?
  12.   AND this_.SUBJECT IS NOT NULL
  13.   AND this_.AREA IS NULL
  14.   AND this_.VILLAGE IS NULL
  15. ORDER BY result DESC NULLS LAST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement