Join name?

  • I would like to know the join name, if we have any technically in SQL

    select * from mfund m1 where 3 >= (select count(1) from mfund m2 where m1.fufundid <= m2.fufundid) I have read something long ago but I could not recollect it. Please help me, if anyone knows.
    Thanks in advance

  • That's called a "correlated sub-query". Is that what you're looking for?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • yes, you are right... It was not clicking out in my mind 🙂

    cheers

  • Glad I could help.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply