multiple sql queries in a join?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pieandpeas
    New Member
    • Sep 2007
    • 43

    #1

    multiple sql queries in a join?

    I have multiple sql queries which show mostly total values (counts(*)'s etc..) based on a table of information

    some of the queries bring back less matching items from the table than others

    if i wanted to show the following,

    ¦¦¦¦¦¦¦¦¦¦¦¦¦¦¦ sqlquery1 sqlquery2 sqlquery3 sqlquery4
    Name1 2 NULL 321 13
    name2 32 1 null 41
    Name3 3 1 null 4
    name4 32 5 526 35


    how would i go about this? i know i would need to use a join, but structuring a join based on sql results from more than 2 tables confuses me! any help?
Working...