Guys, am starting to learn about SQL and database and i am somewhat confused about the indexing part.
First, i dont see the difference between an index and a query
2nd, do i need to create the index manually or is it automatically created once the database starts. Also, when data changes, will the index automatically start a new index?
And my last question, what information is the database using, how does it know what to put in the index.
Thanks for the help.