/*****************************************************************************
*
* Filename         - $Workfile:   flight_dests_v1.sql  $
*
*                     Name              Date      Version     CR Number
* Author           - See revision history below.
* Last Update      - See revision history below.
*
* Project Name     - TAGTRAK(Oracle database)
*
* Source Code
* Identifier       - 0/3/300/8010/112
*
* Design Spec
* Section          - 
*
* Contents         - Archive schema view
*
* Language         - Oracle SQL*Plus script
*
* Classification   - Commercial In Confidence
*
*          (c) Ultra Electronics Limited, 1997
*
*****************************************************************************/
/****************************************************************************
* @(#)$Workfile:   flight_dests_v1.sql  $  $Revision:   1.4  $
*
* Revision History
*
* Note that user tagtrak is many users. For these users the user
* name is entered as the last line in the change description.
*
* $Log:   /shared/pvcs/tagtarch/db_ora/db/source/arch/views/flight_dests_v1.sqv  $
* 
*    Rev 1.4   25 Sep 1998 09:59:36   tagtrak
* OR: 12484
* CR: 12484
* REV:
* Merged Vienna (0.3.1E) and Core Product (0.2.5E) -
* branch ATS revision moved to trunk.
* Andrew Walker
* 
*    Rev 1.3.2.0   18 Aug 1998 09:43:02   tagtrak
* OR: 12484
* CR: 12484
* REV:
* Merging Vienna (0.3.1E) and Core Product (0.2.5E).
* Andrew Walker
* 
*    Rev 1.3.1.0   04 Jun 1998 16:09:38   tagtrak
* OR:
* CR: 12098
* REV:
* Vienna Mods
* 
*    Rev 1.2   28 Oct 1997 14:37:04   tagtrak
* Added PVCS header
*
****************************************************************************/

drop view   FLIGHT_DESTS_V1   ;
create view   FLIGHT_DESTS_V1   (FLIGHT_ID  , FLIGHT_DESTINATION  
) as
select
  fd.flight_id,  fd.flight_destination
from
  flight_dests fd, flight fl
where
  fl.flight_id = fd.flight_id and
  fl.op_flight_id is null;
