Intelligencia Interview Question

Transforming data through a Python script or through SQL in more efficient?