Report question

Question: Insert sql query in loop a good practice or bad?