I have about 360 lines of data which I need to make into 360 query's for SQL, Is there any quick way of putting all the data into one query instead of having to put them all in separate, for example here is just 3 lines of data I have:
1,81,32
1,101,82
1,60,65
I have to make this data into query's so these 3 would look like:
INSERT INTO `Fixtures` (weeks, HomeID, AwayID) Values (1,81,32);
INSERT INTO `Fixtures` (weeks, HomeID, AwayID) Values (1,101,82);
INSERT INTO `Fixtures` (weeks, HomeID, AwayID) Values (2,60,65);
But I have 360 lines of this, so It will be hard to make these all into query's 1 by 1, Is there any quicker way of doing this, Like just one query to insert them all?