Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Need a Sql query

Need a Sql query

Scheduled Pinned Locked Moved Database
databasehelpquestion
7 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    T Senthilnathan
    wrote on last edited by
    #1

    Hi friends, I have a table like below, account_no linked_acc_no --------- ------------- aaa bbb bbb ccc bbb ddd eee ccc ddd fff fff ggg eee hhh hhh iii xxx zzz xxx yyy vvv www I need a query to select account no which are linked with 'aaa'. So the o/p should be like this, o/p --- bbb ccc ddd eee fff ggg hhh iii any one can help me on this?..

    T 1 Reply Last reply
    0
    • T T Senthilnathan

      Hi friends, I have a table like below, account_no linked_acc_no --------- ------------- aaa bbb bbb ccc bbb ddd eee ccc ddd fff fff ggg eee hhh hhh iii xxx zzz xxx yyy vvv www I need a query to select account no which are linked with 'aaa'. So the o/p should be like this, o/p --- bbb ccc ddd eee fff ggg hhh iii any one can help me on this?..

      T Offline
      T Offline
      T Senthilnathan
      wrote on last edited by
      #2

      Hi friends, I got a solutions. Thanks.

      P L C T 4 Replies Last reply
      0
      • T T Senthilnathan

        Hi friends, I got a solutions. Thanks.

        P Offline
        P Offline
        Pravin Patil Mumbai
        wrote on last edited by
        #3

        Congrats...

        1 Reply Last reply
        0
        • T T Senthilnathan

          Hi friends, I got a solutions. Thanks.

          L Offline
          L Offline
          loyal ginger
          wrote on last edited by
          #4

          There may be better solutions. They are not likely to be shared if you decide to keep yours to yourself.

          1 Reply Last reply
          0
          • T T Senthilnathan

            Hi friends, I got a solutions. Thanks.

            C Offline
            C Offline
            Chris Meech
            wrote on last edited by
            #5

            I wonder what precipatated the solution. :cool:

            Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

            C 1 Reply Last reply
            0
            • C Chris Meech

              I wonder what precipatated the solution. :cool:

              Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

              C Offline
              C Offline
              Corporal Agarn
              wrote on last edited by
              #6

              Just had a flash back from Chemistry 110 - 35 years ago!

              1 Reply Last reply
              0
              • T T Senthilnathan

                Hi friends, I got a solutions. Thanks.

                T Offline
                T Offline
                thatraja
                wrote on last edited by
                #7

                T.Senthilnathan wrote:

                I got a solutions.

                Glad you got that. BTW why don't you post that solution in your message....Also are you sure your solution is best?

                thatraja


                **My Tip/Tricks
                My Dad had a Heart Attack on this day so don't...
                **

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups