Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7726339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:11:19+00:00 2026-06-01T05:11:19+00:00

I am implementing an app related to SQLite. In that app I created one

  • 0

I am implementing an app related to SQLite. In that app I created one table

id   hour   date  month   year   values
1    10:00  2     march   2012   20
2    11:00  2     march   2012   30

I am entering values in the table in every hour. So, imagine it will keep on going: After two months I want to get all values info related to month equals march like day wise.

Like total values info of month march and date 2nd.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:11:21+00:00Added an answer on June 1, 2026 at 5:11 am

    You need to write queries to pull the info for you, then iterate through the returned cursor to add them up.

    An example query:

    public Cursor getValue(String month, String day) {
        return mDb.query(YOUR_TABLE, new String[] { RECORD_ROWID,
            RECORD_HOUR, RECORD_VALUE }, RECORD_MONTH + "=" + month + " AND " + RECORD_DATE + "=" day,
            null, null, null, null);
    }
    

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am implementing one graph related app. In that when application start i am
i am implementing one app related to animation. My require ment is, i have
I have a Rails app implementing a game, so it's expected that a player
It seems like implementing web-app like twitter/facebook-wall needs 1 huge feeds relational table (+
I am implementing an app related to service, my service is running in background
I'm implementing a C++/CLI class library that does some low-level device-related stuff and exposes
I'm implementing in-app billing support in my application. I just realized that even though
I'm implementing in app purchase in my app. I created a product at itunes
I'm implementing an app that has a MapField , which I am extending. I'm
I am implementing an app that uses the native language settings which can be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.