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

  • SEARCH
  • Home
  • 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 8175715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:52:34+00:00 2026-06-06T22:52:34+00:00

I am working in an android application and I want to work fetch details

  • 0

I am working in an android application and I want to work fetch details in my application local Db. The query that I am using has inner join,so its not returning values.But in the same method if I use with the query without inner join it returns value.
Please help me

public boolean isAvailableTransitionFile(String MenuName) {

    String query = "select * from Transition_File_Table inner join item_sync on Transition_File_Table.Menuitem_id=item_sync.id where item_sync.itemName=?";
    Cursor cursor = this.db.rawQuery(query,
            new String[] { String.valueOf(MenuName) });
    Log.e("Count", cursor.getCount() + "");
    if (cursor.moveToFirst()) {
        return true;
    } else {
        return false;
    }
}
  • 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-06T22:52:36+00:00Added an answer on June 6, 2026 at 10:52 pm

    SQL problems are usually due to a wrong syntax utilization in SQL, always test them before you use them in a program. I found a similar post here:

    How do I join two SQLite tables in my Android application?

    And you should try this code:

    String query = "select * from Transition_File_Table TF inner join item_sync IS on
    TF.Menuitem_id=IS.id where IS.itemName=?";
    
    Cursor cursor = this.db.rawQuery(query,new String[]{String.valueOf(MenuName)});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on an Android application that will send MMS internally without using the
I am working in an android application and I want to implement a Gallery.
I have an android application and web-server working together. Now I want user log
I am working on an Android application that needs to determine the current tee
I am working on an Android application that shows a map with the user's
I am working on an Android application in which I want to integrate foursquare
Hi I am working Android application development using titanium studio.I have developed small application.my
I'm working on an android application, and I have a drawable that I'm loading
I am currently working on one android application which has C2DM implementation and I
I am working on an application. Here I want to read various sounds using

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.