Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SELECT on an ADSM sql server

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
US
occupancy table
node_name, physical_mb

nodes table
node_name, contact_info

what i want is a single combined table joined on the node_name of the node_name, contact_info, and sum(physical_mb). Yes, this sounds very easy. However, this is running on an adsm sql server which only 'kind-of' supports joins. I'm trying to find a way to fool it. If you have a method of doing this please post it, no matter how simple or how complex. I have attempted the following statements to no avail:

select occupancy.node_name, sum(occupancy.physical_mb), nodes.contact from occupancy, nodes where nodes.node_name=occupancy.node_name group by occupancy.node_name

select occupancy.node_name, sum(occupancy.physical_mb), nodes.contact from occupancy inner join nodes on nodes.node_name=occupancy.node_name group by occupancy.node_name

I greatly appreciate any help you could give me. Thanks. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top