IQVIA interview question

1) Dynamic sql, advantages, disadvantages, example