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 8520065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:25:53+00:00 2026-06-11T06:25:53+00:00

How you can see in image i have a TABLE A, TABLE C e

  • 0

How you can see in image i have a TABLE A, TABLE C e an array list A.

I need to create a relational table (Table B) that have id of Table A (id_A) and id of Table C (id_C). The array list have every id’s of table C that I need. So i need a way to save data of table B where 1 id_A respect to N elements of id_C.

I know that i can do with inner joins, but i don’t know how start this in content provider. Anyone can give a help, or a example?

Thanks or your time

enter image description here

  • 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-11T06:25:54+00:00Added an answer on June 11, 2026 at 6:25 am

    I’m wrong about this point. Inner join serves to make query to database, not to create one table that result of two other.

    Here is my solution to do what i pretend, using foreign key’s

          private static final String DATABASE_SOCIO_QUOTA = " CREATE TABLE IF NOT EXISTS  "
            + SocioQuota.TABLE_NAME + " ( "
            + SocioQuota.C_ID + " INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "
            + SocioQuota.C_VALOR + " DOUBLE NOT NULL, "
            + SocioQuota.C_ESTADO + " INTEGER NOT NULL, "
            + SocioQuota.C_SOCIO_ID + " INTEGER NOT NULL, "
            + SocioQuota.C_SESSAO_QUOTA_ID + " INTEGER NOT NULL, "
            + " FOREIGN KEY( " + SocioQuota.C_SOCIO_ID + " ) REFERENCES " +              Table_A + " ( " + Socio.C_ID + " ) "
            + " FOREIGN KEY( " + SocioQuota.C_SESSAO_QUOTA_ID + " ) REFERENCES " + Table_C + " ( " +SessaoQuota.C_ID + " ) "
            + " ) ";
    

    and then save the value for each column of this table

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

Sidebar

Related Questions

I have a div that contains 3 fields You can see the image here
I have a Dell Inspiron E1505 and as you can see in this image
I have a code that fetches a list from DB. Using that returned array
On this page: http://www.colorz.fr/#!/work/ You can see the image scrolls into/out of the direction
As you can see on http://jsbin.com/erivi/ I'm using Jquery to change some image (and
I'm plotting on top of an image in Matlab. Sometimes, I can't see what's
Basically just looking to see if you can capture an image from the webcam
In my app, users can tap on image thumbnails to see a full size
I can see that GD library is for images. But I can't see differences
Question In SQL Server 2005, I have a table with images (data type: image).

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.