User Tools

Site Tools


podoc:view_filter_sql_view

Database View Description of "view_filter"

Name

view_filter

Description

Purpose

Schema

CREATE VIEW view_filter AS
  SELECT FILTER.identifier, manufacturer.name, model, variation, users, 
  date_of_purchase, purchased_new, manufacturer.url, (access_type.VALUE) 
  AS access_rights, serial_number
    FROM filter_type, FILTER, manufacturer, access_type
   WHERE filter_type.manufacturer = manufacturer.identifier
     AND filter_type.identifier = FILTER.TYPE
     AND FILTER.access_rights = access_type.identifier
   ORDER BY manufacturer.name, model, variation;

History

Used first

Version 2.5

Used last

Still in use

Change history

= Version 2.5 =

CREATE VIEW view_filter AS
  SELECT FILTER.identifier, manufacturer.name, model, variation, users, date_of_purchase, purchased_new, manufacturer.url, (access_type.VALUE) AS access_rights
    FROM filter_type, FILTER, manufacturer, access_type
   WHERE filter_type.manufacturer = manufacturer.identifier
     AND filter_type.identifier = FILTER.TYPE
     AND FILTER.access_rights = access_type.identifier
   ORDER BY manufacturer.name, model, variation;

= Version 2.33 =

DROP VIEW view_filter;
 
CREATE VIEW view_filter AS
  SELECT FILTER.identifier, manufacturer.name, model, variation, users, 
  date_of_purchase, purchased_new, manufacturer.url, (access_type.VALUE) 
  AS access_rights, serial_number
    FROM filter_type, FILTER, manufacturer, access_type
   WHERE filter_type.manufacturer = manufacturer.identifier
     AND filter_type.identifier = FILTER.TYPE
     AND FILTER.access_rights = access_type.identifier
   ORDER BY manufacturer.name, model, variation;
podoc/view_filter_sql_view.txt · Last modified: 2007/04/20 11:42 by Luud