General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Optimised select from 2 tables
HI
I want to run a SELECT Statement from 2 tables like this:
SELECT *;
FROM Table1 ;
LEFT OUTER JOIN Table2;
ON Table1.Key = Table2.Key;
WHERE Table1.Field = cValue;
AND Table2.Field = cValue2
The only problem, is that this isn't optimised if I only populate cValue2.
Any ideas on how I can speed this up?
Thanks
Kev
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only