DB Performance - Left outer join over database funtion -
This is a slightly complex query in which many records are found with multiple data fields and are re-written < P> The first set of tables (already implemented queries): Select m.name, D.name, D.Edress, M. Solaris, M.AG, A ?? | A? | | Manager manager, department d, a ?? | .. ATC Johns รข ?? | .. Let a young man have zero or more employees. Let's say that I need to list all the employee names for each manager. The result of the first set of tables with the manager who does not have any employee (which means that the manager Should list the first set of tables). So i have to use an employee ???? Table tables through party (may contain some more tables). Second group of tables (to be newly connected): This means that one or more employees are included with ???? , "Party" and a ?? | .. ATC I have two approaches to this. Please do any of these two options Can tell the solution Land? Go to JOIN using the appropriate WHERE segments and indexes. The database engine optimization is better than ever that you will ever let it work for you. Your way (n + 1) query looks like death. Write a sample query and ask your database to ask the Exponent Plan to see what the cost is if you highlight a table
Comments
Post a Comment