Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get n:m relation data with join #299

Open
aklebow opened this issue Aug 5, 2019 · 1 comment
Open

get n:m relation data with join #299

aklebow opened this issue Aug 5, 2019 · 1 comment

Comments

@aklebow
Copy link

aklebow commented Aug 5, 2019

hello all,

i want to get the complete data between two (three) tables.
but I get a flawed statement. I do not know where the problem lies.

Database structure:

TBL_User
col_ID (PK) | col_username | col_pwd | col_created_at | .....

TBL_Domain
col_ID (PK) | col_name | col_created_at | .....

TBL_user_X_domain
col_ID (PK) | col_user_ID (FK) | col_domain_ID (FK) | .....

anyone can give me an example query?

@cbornhoft
Copy link
Member

I don't think anyone has been able to answer your question, as what you're asking is vague. If you're still having this issue, please add the query you've tried, and exactly what you mean by "complete data between two (three) tables" and "I get a flawed statement". Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants