What a *MESS*!
There is NO REASON AT ALL for you to have SO MANY TABLES!
*ALL ELEVEN OF THOSE TABLES* (from 'picture' through 'pic_j') should be in *ONE* TABLE!!!
PERIOD.
Code:
CREATE TABLE pictures (
pic_letter CHAR(1),
pic_id INT,
pic_link VARCHAR(100),
PRIMARY KEY (pic_letter, pic_id)
);
INSERT INTO pictures VALUES(' ',1,'1.jpg'),(' ',2,'2.jpg'), ...
INSERT INTO pictures VALUES('A',1,'a1.jpg'),('A',2,'A2.jpg'), ...
...
INSERT INTO pictures VALUES('J',1,'j1.jpg'),('J',2,'j2.jpg'), ...