What is Covering Indexes?
Plz explain with example

Answer Posted / lekhraj deshmukh

An index covers the query if all the columns specified in
the query are part of the index. These are the columns that
are all columns referenced in the query, not just columns in
a WHERE clause.

eq:-SELECT DISTINCT lower(orig_airport) FROM Flights

here orig_airport is a index column.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?

129


What are the dmvs? : sql server database administration

778


How to create a view with data from multiple tables?

767


How to get a list of columns using the "sys.columns" view in ms sql server?

738


Is truncate a dml command?

686






What is a view and what are its advantages?

855


Explain what is log shipping?

811


What command is used to rename the database?

682


What are logical database components? : SQL Server Architecture

656


Explain the steps needed to create a scheduled job?

675


How to view the error log for any specific instance? : sql server database administration

771


Explain the relational database management system (rdbms)?

762


What does it mean to invest in the index?

696


How to enter unicode character string literals in ms sql server?

749


What is difference between rownum and row_number?

695