Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Tunning Select and Where statements

Tunning Select and Where statements

From: Ming <fungs_at_logica.com>
Date: Tue, 28 Sep 1999 10:55:41 +0100
Message-ID: <7sq3av$9ap@romeo.logica.co.uk>


Given the following statement :-

SELECT name FROM people WHERE age = 21;

Why would an index on 'age' in WHERE clause result in a slower query than having no index.
Why would an index on both 'name' and 'age' result in a faster query.

Thanks for any Help

Ming. Received on Tue Sep 28 1999 - 04:55:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US