index | search | no replies | posting guidelines | help login | register
Index » Products » ASP Report Wizard v2
search this forum:
:: How do it? Use same table in query :: (2)Post a New Message | Post a Reply
Jan 17 2008, 8:34 AM
 How do it? Use same table in queryPost a Reply
 anguetac

View this author's profile Send this author a private message

since: Jan 17, 2008
from: EC

How can i use the same table in the query?

tabla1 (id , value , description)
1 , SO , windows 2000
1, version , 1.1
2 , SO , linux
2, version , 1.3
3 , SO , windows XP
3, version , 2.0.0

query .....

select  a.value , b.value
from tabla1 a , tabla1 b
where a.value= 'SO'
and a.id = b.id
and b.value = 'version'

results ......
windows 2000 1.1
linux 1.3
windows XP 2.0.0







Jan 17 2008, 2:29 PM
 Re: How do it? Use same table in queryPost a Reply
 ghost

View this author's profile Send this author a private message Visit author's homepage

from: Washington, DC

Create a view of  the same table with a different name


-------------------------
Ghost
Pages: (1)   [1]

search this forum: