How do you optimize SQL queries ?
Answer Posted / asr
Avoid the sub queries.
Where condition should be based on primary key and index,
use primary column for join.
Try to avoid more tables.
Use temp tabels.
Create procedure.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can you select everything, but 1 or 2 fields, without writer's cramp?
Inline the values in PL/SQL, what does it mean.?
How do you declare a constant?
What is the difference between between and in condition operators?
how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba
Is pl sql different from sql?
Is left join inner or outer?
how to load data files into tables with 'mysqlimport'? : Sql dba
Is inner join same as self join?
What is sql indexing?
What is difference between procedure and trigger?
How to Execute a Package in PL/SQL.?
What is string join?
what are all the different normalizations? : Sql dba
is it possible to pass an object or table to a procedure as an argument?