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. sqlite

sqlite

Scheduled Pinned Locked Moved Database
databasesqlite
4 Posts 2 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.
  • J Offline
    J Offline
    jashimu
    wrote on last edited by
    #1

    Hi All, I am trying to do some query in my sqlite database. I wanted to get average of some number, but could not do it. if you please can, write a sql statement that get average of some number. "SELECT AVE(w)FROM x WHERE y = z "; It should return the ave of all w. thanks in advance

    D 1 Reply Last reply
    0
    • J jashimu

      Hi All, I am trying to do some query in my sqlite database. I wanted to get average of some number, but could not do it. if you please can, write a sql statement that get average of some number. "SELECT AVE(w)FROM x WHERE y = z "; It should return the ave of all w. thanks in advance

      D Offline
      D Offline
      dxlee
      wrote on last edited by
      #2

      AVE is wrong. You should use AVG.

      J 1 Reply Last reply
      0
      • D dxlee

        AVE is wrong. You should use AVG.

        J Offline
        J Offline
        jashimu
        wrote on last edited by
        #3

        Hi dxlee, it is really a silly mistake. I meant to do avg not ave and I could not figure it out what was wrong. thanks a lot.

        D 1 Reply Last reply
        0
        • J jashimu

          Hi dxlee, it is really a silly mistake. I meant to do avg not ave and I could not figure it out what was wrong. thanks a lot.

          D Offline
          D Offline
          dxlee
          wrote on last edited by
          #4

          I am glad I could help. I like sqlite. My electronic document manager uses sqlite and it is much faster than my previous version (which used Microsoft Access).

          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