Click here to Skip to main content
15,901,122 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have a statement like
select * from TableA
left join TableB on TableB.field1 = TableA.field1
left join TableC on TableC.field2 = TableB.field2;

In this statement, if I would left join an ordered TableB, what should I do while I'm using mysql?

Thanks ahead.
Posted
Comments
OriginalGriff 5-Apr-13 4:10am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Try giving an example of your inputs, and the results you want. It might help us visualise what you mean.
Use the "Improve question" widget to edit your question and provide better information.

1 solution

There are lots of articles here on this very subject:
Visual Representation of SQL Joins[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900