Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. SELECT
  2. policycase.status,
  3. policy.id,
  4. policy.uniqueid,
  5. policy_map.map_key,
  6. policy_map.map_value
  7. FROM policycase
  8. INNER JOIN policy ON policy.id = policycase.requested_id
  9. INNER JOIN policy_map ON policy_map.policy_id = policy.id
  10. WHERE policy.uniqueid = '91157235'
  11.  
  12. +------------+--------+----------+--------------------------------+-----------+
  13. | status | id | uniqueid | map_key | map_value |
  14. +------------+--------+----------+--------------------------------+-----------+
  15. | HISTORICAL | 438957 | 91157235 | isPropertyOwner | TRUE |
  16. | HISTORICAL | 438957 | 91157235 | livingAtProperty | TRUE |
  17. | HISTORICAL | 438957 | 91157235 | stateOfMaintenance | GOED |
  18. | HISTORICAL | 438957 | 91157235 | stateOfMaintenanceRoof | 0 |
  19. | HISTORICAL | 438957 | 91157235 | unsecuredGuaranteeHouseContent | J |
  20. | HISTORICAL | 438957 | 91157235 | unsecuredGuaranteeHouseFire | J |
  21. | ARCHIVED | 451423 | 91157235 | isPropertyOwner | TRUE |
  22. | ARCHIVED | 451423 | 91157235 | livingAtProperty | TRUE |
  23. | ARCHIVED | 451423 | 91157235 | stateOfMaintenance | GOED |
  24. +------------+--------+----------+--------------------------------+-----------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement