I have a table I want to fill with data. I'm building a lookup table and I want to prime the data that will be included. The lookup table will have about 1400 rows so a standard multi insert does not seem correct. Additionally I want to prime this table without PHP if possible. This is the form of my table:
CREATE TABLE score_percentile_lookup (
id INT(11) NOT NULL AUTO_INCREMENT,
instance_score INT(11),
percentile DECIMAl(5, 2)
PRIMARY KEY(id)
);
Basically, to start, instance score needs to be an incremented list [0 .. 1400], and percentile can be blank. Does mysql support syntax to run an insert that would basically look something like as followed:
INSERT into score_percentile_lookup (instance_score) VALUES (0), (1), ... (1400);
I could use PHP to generate this list but I want to know if its possible without it. Thank you to anyone who helps.