Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 pls write query using joins

Author  Topic 

rajadadi
Starting Member

30 Posts

Posted - 2010-04-28 : 11:50:51
please write this using joins.

select

CI.Name, CI.CI_Status, Asso.Association_Type01, Asso.Dependency, Asso.Topology,

Asso.Installed, Asso.Allocated, Asso.Language, Asso.Request_Description01 as Software Name, Asso.Submit_Date as Associationdate,

CI2.Name as Software CI Name,CI2.System_Roles as Software CI Class, CI2.Product_Nodel_Version as Product_Version

from AST_Configuration_Item__CI_ Item where Asso.Association_Type01 = 'License to' and not(Software_name is NULL) and Company = 'Canada Post Corporation'

table names

AST_Configuration_Item__CI_ CI

AST_CI_Component_Associations Asso

AST_Configuration_Item__CI_ CI2



rajesh

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-04-28 : 11:54:31
how are they related?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

chethana
Starting Member

6 Posts

Posted - 2010-04-29 : 03:41:41
plz post the table Structure
Go to Top of Page

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-04-29 : 04:15:40
go on here:
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=143758


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -