-2

I have two tables A and B. I am using @JoinColumn(name = "id") B b and I have to get Values of A along with id. Since all the values along with id are already present in database table A, my query doesnt need to go through table B. How can I write query for that?

  • 1
    Please post what you have tried. – Michael Kutz Mar 21 at 20:30
  • I have read the question a few times and still have no idea what you mean. Please edit it to show tables definitions, sample data, expected output and precise rules for getting from data to output. – Michael Green Mar 23 at 11:29