fluentpdo icon indicating copy to clipboard operation
fluentpdo copied to clipboard

get n:m relation data with join

Open aklebow opened this issue 5 years ago • 1 comments

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?

aklebow avatar Aug 05 '19 12:08 aklebow

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!

cbornhoft avatar Sep 10 '19 14:09 cbornhoft