Em muốn hỏi là nếu dùng insert
INSERT INTO tasks(title, priority)
VALUES
('My first task', 1),
('It is the second task',2),
('This is the third task of the week',3);
dữ liệu 1 lần query như vậy . Thì nếu dùng vòng lặp query 3 lần hoặc thậm chí 1000 lần thì cách nào nhanh hơn ạ