HCL Interview Question

Explain indexing vs partitions in SQL.