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. How to make this

How to make this

Scheduled Pinned Locked Moved Database
tutorial
13 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.
  • N Nath

    About me adam763 aadams CaringIn Action adam763 aadams LocalBusiness adam763 aadams From My Desk adam763 aadams About me agga924 aaggarwal From My Desk agga924 aaggarwal LocalBusiness agga924 aaggarwal About me aldr231 aaldridge From My Desk aldr231 aaldridge About me alkh290 aalkhazshvilly LocalBusiness alkh290 aalkhazshvilly From My Desk alkh290 aalkhazshvilly About me alti800 aaltis From My Desk alti800 aaltis About me arev258 aarevalo From My Desk arev258 aarevalo About me arri922 aarriaga1 From My Desk arri922 aarriaga1 About me bakk607 abakken bout me bart768 abarton From My Desk bart768 abarton i need the data to be present as in the first column repeated text is there for suppose Title TitleCount About Me 23 after this i have to display Title UserName Usersite About Me barttt xxxxxx About Me xxxx xxxxx About Me xxxx xxxxx

    M Offline
    M Offline
    musefan
    wrote on last edited by
    #2

    :confused:

    I may or may not be responsible for my own actions

    N 1 Reply Last reply
    0
    • M musefan

      :confused:

      I may or may not be responsible for my own actions

      N Offline
      N Offline
      Nath
      wrote on last edited by
      #3

      what are you trying to say

      M 1 Reply Last reply
      0
      • N Nath

        what are you trying to say

        M Offline
        M Offline
        musefan
        wrote on last edited by
        #4

        Your post makes very little sense. Can you try and better explain what you are trying to do as at the moment all you have is a list of poorly formatted values

        I may or may not be responsible for my own actions

        1 Reply Last reply
        0
        • N Nath

          About me adam763 aadams CaringIn Action adam763 aadams LocalBusiness adam763 aadams From My Desk adam763 aadams About me agga924 aaggarwal From My Desk agga924 aaggarwal LocalBusiness agga924 aaggarwal About me aldr231 aaldridge From My Desk aldr231 aaldridge About me alkh290 aalkhazshvilly LocalBusiness alkh290 aalkhazshvilly From My Desk alkh290 aalkhazshvilly About me alti800 aaltis From My Desk alti800 aaltis About me arev258 aarevalo From My Desk arev258 aarevalo About me arri922 aarriaga1 From My Desk arri922 aarriaga1 About me bakk607 abakken bout me bart768 abarton From My Desk bart768 abarton i need the data to be present as in the first column repeated text is there for suppose Title TitleCount About Me 23 after this i have to display Title UserName Usersite About Me barttt xxxxxx About Me xxxx xxxxx About Me xxxx xxxxx

          A Offline
          A Offline
          Ali Al Omairi Abu AlHassan
          wrote on last edited by
          #5

          do you mean you want to group data?. if so, use [order by](http://www.w3schools.com/sql/sql_orderby.asp).

          Help people,so poeple can help you.

          modified on Friday, March 11, 2011 2:16 PM

          K 1 Reply Last reply
          0
          • A Ali Al Omairi Abu AlHassan

            do you mean you want to group data?. if so, use [order by](http://www.w3schools.com/sql/sql_orderby.asp).

            Help people,so poeple can help you.

            modified on Friday, March 11, 2011 2:16 PM

            K Offline
            K Offline
            Klaus Werner Konrad
            wrote on last edited by
            #6

            How can ORDER BY help in GROUPING data ? (I think you meant GROUP BY)

            A 1 Reply Last reply
            0
            • N Nath

              About me adam763 aadams CaringIn Action adam763 aadams LocalBusiness adam763 aadams From My Desk adam763 aadams About me agga924 aaggarwal From My Desk agga924 aaggarwal LocalBusiness agga924 aaggarwal About me aldr231 aaldridge From My Desk aldr231 aaldridge About me alkh290 aalkhazshvilly LocalBusiness alkh290 aalkhazshvilly From My Desk alkh290 aalkhazshvilly About me alti800 aaltis From My Desk alti800 aaltis About me arev258 aarevalo From My Desk arev258 aarevalo About me arri922 aarriaga1 From My Desk arri922 aarriaga1 About me bakk607 abakken bout me bart768 abarton From My Desk bart768 abarton i need the data to be present as in the first column repeated text is there for suppose Title TitleCount About Me 23 after this i have to display Title UserName Usersite About Me barttt xxxxxx About Me xxxx xxxxx About Me xxxx xxxxx

              K Offline
              K Offline
              Klaus Werner Konrad
              wrote on last edited by
              #7

              My be this will work (in SqlBase it works): SELECT Title, TO_CHAR( COUNT(*), 0), NULL FROM Table GRUOP BY Title UNION SELECT Title, UserName, UserSite FROM Table ORDER BY 1, 2, 3

              A 1 Reply Last reply
              0
              • K Klaus Werner Konrad

                How can ORDER BY help in GROUPING data ? (I think you meant GROUP BY)

                A Offline
                A Offline
                Ali Al Omairi Abu AlHassan
                wrote on last edited by
                #8

                or group by, but why to use it scinse there is no need to use aggregate functhins. in addition order by also sort data 100 :rose:

                Help people,so poeple can help you.

                K 1 Reply Last reply
                0
                • A Ali Al Omairi Abu AlHassan

                  or group by, but why to use it scinse there is no need to use aggregate functhins. in addition order by also sort data 100 :rose:

                  Help people,so poeple can help you.

                  K Offline
                  K Offline
                  Klaus Werner Konrad
                  wrote on last edited by
                  #9

                  Of course he need a aggregate function, for the title count ...

                  A 1 Reply Last reply
                  0
                  • K Klaus Werner Konrad

                    Of course he need a aggregate function, for the title count ...

                    A Offline
                    A Offline
                    Ali Al Omairi Abu AlHassan
                    wrote on last edited by
                    #10

                    So, you are the one with the answer below. ok i admit that i misread. shall you forgive my mistake! :-D 100 :rose:

                    Help people,so poeple can help you.

                    K 1 Reply Last reply
                    0
                    • K Klaus Werner Konrad

                      My be this will work (in SqlBase it works): SELECT Title, TO_CHAR( COUNT(*), 0), NULL FROM Table GRUOP BY Title UNION SELECT Title, UserName, UserSite FROM Table ORDER BY 1, 2, 3

                      A Offline
                      A Offline
                      Ali Al Omairi Abu AlHassan
                      wrote on last edited by
                      #11

                      As they say "Think twice before you leap !". Have a 5 100 :rose:

                      Help people,so poeple can help you.

                      1 Reply Last reply
                      0
                      • A Ali Al Omairi Abu AlHassan

                        So, you are the one with the answer below. ok i admit that i misread. shall you forgive my mistake! :-D 100 :rose:

                        Help people,so poeple can help you.

                        K Offline
                        K Offline
                        Klaus Werner Konrad
                        wrote on last edited by
                        #12

                        I'll forgive you :-)))) Just wondered that you said 'grouping items' and than advise 'order by' - that confused me Anyway, I'm glad to be able to share your community ! Regards, kwk

                        A 1 Reply Last reply
                        0
                        • K Klaus Werner Konrad

                          I'll forgive you :-)))) Just wondered that you said 'grouping items' and than advise 'order by' - that confused me Anyway, I'm glad to be able to share your community ! Regards, kwk

                          A Offline
                          A Offline
                          Ali Al Omairi Abu AlHassan
                          wrote on last edited by
                          #13

                          Klaus-Werner Konrad wrote:

                          that confused me

                          you shouldn't be (i am not familiar with database) :-D 100 :rose:

                          Help people,so poeple can help you.

                          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