Give the reasoning behind using an index.
Answers were Sorted based on User's Feedback
Answer / pradeeshkumar
Its as simple as why do we need an index page in front of a
book. Whenever we wish to read a scpecific text from the
book, we'll first check the index and locate where that
specific text is. Similarly when create an index it enables
the queries to locate praticular row or entity in a table
by directly refering to the index instead of searching the
entire table. Whenever a table is created with a primary
key, an index ia automatically created on the primary key
column which makes easier access of table entries. When you
execute query say( select * from student where
student_id=10;), your query will first hit the index
(primary index on primary key column) and then will retrive
the corresponding row from the table. If there's no such
entry in the table, it'll return an empty result set
without searching the table.
| Is This Answer Correct ? | 0 Yes | 0 No |
Its as simple as why do we need an index page in front of a
book. Whenever we wish to read a scpecific text from the
book, we'll first check the index and locate where that
specific text is. Similarly when create an index it enables
the queries to locate praticular row or entity in a table
by directly refering to the index instead of searching the
entire table. Whenever a table is created with a primary
key, an index ia automatically created on the primary key
column which makes easier access of table entries. When you
execute query say( select * from student where
student_id=10;), your query will first hit the index
(primary index on primary key column) and then will retrive
the corresponding row from the table. If there's no such
entry in the table, it'll return an empty result set
without searching the table.
| Is This Answer Correct ? | 0 Yes | 0 No |
i am having comm in emp table and i want to display 0 when comm =null and -10 if comm= value
How would you go about generating an EXPLAIN plan?
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
Why more redos are generated when the oracle database is in begin backup mode?
Explain prerequisites and post activities of oracle database installation
Name a tablespace automatically created when you create a database.
which gives Oracle R12 Financial training in delhi please give me answer its urgent?
can u tell me how many types of oracle and which type all detail in oracle (suppose all history of oracle )
what is shared memory?
Give the stages of instance startup to a usable state where normal users may access it.
how to get the values if source table & target table having duplicate values that matches the lookup condition ?(i want all duplicate match)
What command would you use to create a backup control file?