User Tools

Site Tools


podoc:view_scanner_type_sql_view

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
podoc:view_scanner_type_sql_view [2007/04/13 03:59]
Luud
podoc:view_scanner_type_sql_view [2007/04/23 10:21]
Luud
Line 11: Line 11:
 === Schema === === Schema ===
  
-  ​create view view_scanner_type as +<code sql> 
-    select scanner_type.identifier,​ manufacturer.name,​ model, variation, manufacturer.url +create view view_scanner_type as 
-      from scanner_type,​ manufacturer +  select scanner_type.identifier,​ manufacturer.name,​ model, variation, manufacturer.url 
-     ​where scanner_type.manufacturer = manufacturer.identifier +    from scanner_type,​ manufacturer 
-     ​order by manufacturer.name,​ model, variation;+   ​where scanner_type.manufacturer = manufacturer.identifier 
 +   ​order by manufacturer.name,​ model, variation; 
 +</​code>​
  
 === Related tables === === Related tables ===
Line 21: Line 23:
   * [[scanner_type sql table|scanner_type]]   * [[scanner_type sql table|scanner_type]]
   * [[manufacturer sql table|manufacturer]]   * [[manufacturer sql table|manufacturer]]
- 
-=== Related indexes === 
- 
-=== Related functions === 
- 
-=== Related views === 
  
 === History === === History ===
Line 42: Line 38:
 = Version 2.5 = = Version 2.5 =
  
-  ​create view view_scanner_type as +<​code>​ 
-    select scanner_type.identifier,​ manufacturer.name,​ model, variation, manufacturer.url +create view view_scanner_type as 
-      from scanner_type,​ manufacturer +  select scanner_type.identifier,​ manufacturer.name,​ model, variation, manufacturer.url 
-     ​where scanner_type.manufacturer = manufacturer.identifier +    from scanner_type,​ manufacturer 
-     ​order by manufacturer.name,​ model, variation;+   ​where scanner_type.manufacturer = manufacturer.identifier 
 +   ​order by manufacturer.name,​ model, variation; 
 +</​code>​
  
podoc/view_scanner_type_sql_view.txt · Last modified: 2007/04/23 10:21 by Luud