Datadictionary OpenWave 3.1.8
Previous topic Chapter index Next topic

View: vwlaatsteinspbezoek

 

 

Schema

public

 

Owner

waveuser005

 

Descriptions

View met laatste geplande bezoek en laatst afgehandelde bezoek per inspectietraject

 

Fields

Name

Data type

Description

dnkeyinspecties

integer

 

ddmaxgepland

timestamp

 

ddmaxafgehandeld

timestamp

 

 

Rules

Name

Event

Instead

Condition

Description

_RETURN

SELECT

 

 

 

Definition

CREATE VIEW public.vwlaatsteinspbezoek (
   dnkeyinspecties,
   ddmaxgepland,
   ddmaxafgehandeld)
AS
SELECT
tbinspbezoeken.dnkeyinspecties,
   max(tbinspbezoeken.ddgepland) AS ddmaxgepland,
   max(tbinspbezoeken.ddafgehandeld) AS ddmaxafgehandeld
FROM tbinspbezoeken
GROUP BY tbinspbezoeken.dnkeyinspecties;

COMMENT ON VIEW public.vwlaatsteinspbezoek
IS 'View met laatste geplande bezoek en laatst afgehandelde bezoek per inspectietraject';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 1-12-2015 15:28
Previous topic Chapter index Next topic