User Tools

Site Tools


podoc:view_scanner_sql_view

Database View Description of "view_scanner"

Name

view_scanner

Description

Purpose

Schema

CREATE VIEW view_scanner AS
  SELECT scanner.identifier, manufacturer.name, model, variation, scanner.serial_number, scanner.users, date_of_purchase, scanner.purchased_new, manufacturer.url, (access_type.VALUE) AS access_rights
    FROM scanner_type, scanner, manufacturer, access_type
   WHERE scanner_type.manufacturer = manufacturer.identifier
     AND scanner_type.identifier = scanner.TYPE
     AND scanner.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_scanner AS
  SELECT scanner.identifier, manufacturer.name, model, variation, scanner.serial_number, scanner.users, date_of_purchase, scanner.purchased_new, manufacturer.url, (access_type.VALUE) AS access_rights
    FROM scanner_type, scanner, manufacturer, access_type
   WHERE scanner_type.manufacturer = manufacturer.identifier
     AND scanner_type.identifier = scanner.TYPE
     AND scanner.access_rights = access_type.identifier
   ORDER BY manufacturer.name, model, variation;
podoc/view_scanner_sql_view.txt · Last modified: 2007/04/23 10:20 by Luud