Jabil Interview Question

How can database queries be optimized either with indices or with denormalization?