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. General Programming
  3. C / C++ / MFC
  4. need sql query?

need sql query?

Scheduled Pinned Locked Moved C / C++ / MFC
databasehelpquestion
6 Posts 4 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.
  • M Offline
    M Offline
    murali_utr
    wrote on last edited by
    #1

    hi, table containing fileds code,name. in the name field i need query to retrive repeated datas and code is not same. any one help to me. thanks in advance. Have A Nice Day! Murali.M

    D D 2 Replies Last reply
    0
    • M murali_utr

      hi, table containing fileds code,name. in the name field i need query to retrive repeated datas and code is not same. any one help to me. thanks in advance. Have A Nice Day! Murali.M

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Other than a table in a database having two columns, code and name, I do not understand your question.


      A rich person is not the one who has the most, but the one that needs the least.

      P 1 Reply Last reply
      0
      • D David Crow

        Other than a table in a database having two columns, code and name, I do not understand your question.


        A rich person is not the one who has the most, but the one that needs the least.

        P Offline
        P Offline
        Prakash Nadar
        wrote on last edited by
        #3

        actually i didnt understand that either, till i read ur reply.


        "When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)

        D 1 Reply Last reply
        0
        • M murali_utr

          hi, table containing fileds code,name. in the name field i need query to retrive repeated datas and code is not same. any one help to me. thanks in advance. Have A Nice Day! Murali.M

          D Offline
          D Offline
          Doug Mitchell
          wrote on last edited by
          #4

          Do you mean something like select name, code from [TABLE] group by code, name

          1 Reply Last reply
          0
          • P Prakash Nadar

            actually i didnt understand that either, till i read ur reply.


            "When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            And after reading my reply, you now understand it??


            A rich person is not the one who has the most, but the one that needs the least.

            P 1 Reply Last reply
            0
            • D David Crow

              And after reading my reply, you now understand it??


              A rich person is not the one who has the most, but the one that needs the least.

              P Offline
              P Offline
              Prakash Nadar
              wrote on last edited by
              #6

              Yeah the first 4 words


              "When death smiles at you, only thing you can do is smile back at it" - Russel Crowe (Gladiator)

              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