When your join condition uses And's in addition to the On it is a complex join. Toad can have trouble visualizing complex joins sometimes, specially multiple complex joins. Sometimes if you add one complex join visualize, add another, visualize, etc., you can get it to work. It works better the other way. Drag and drop your tables in query builder, create your complex joins there and your done. Then go look at the code if you want. I use complex joins all the time and so mostly use editor (and don't bother visualizing hardly anything anymore). If you are still learning SQL, QueryBuilder is great, just keep it simple if you are going backwards (visualizing code).
↧