Hp Intelligent Management Center Standard Software Pl Manual de usuario Pagina 688

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 814
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 687
Greater Than [>] link
The result set from a Greater Than link includes all records in which the
linked field value from the primary table is greater than the linked field value
in the lookup table. As an example, a company may want to compare the
salaries made by all their sales representatives to the salaries made by all
their sales managers. The company executives want to make sure no sales
representative is making more money than any manager.
With this in mind, you can link the SalesRep table to the Manager table by
the Salary field in each table using a Greater Than link:
SELECT SalesRep.'Last Name',
SalesRep.'Salary',
Manager.'Last Name',
Manager.'Salary'
FROM 'SalesRep' SalesRep,
'Manager' Manager
WHERE SalesRep.'Salary' >
Manager.'Salary'
This SQL statement might produce data similar to this:
Manager TableManager TableSalesRep TableSalesRep Table
SalaryLast NameSalaryLast Name
$32,000.00Fuller$35,000.00Davolio
$30,000.00Brid$35,000.00Davolio
$29,500.00Buchanan$35,000.00Davolio
$45,000.00Hellstern$48,300.00Dodsworth
688 Crystal Reports 2008 SP3 User's Guide
Understanding Databases
25
Linking tables
Vista de pagina 687
1 2 ... 683 684 685 686 687 688 689 690 691 692 693 ... 813 814

Comentarios a estos manuales

Sin comentarios