Well, if you create a table with "ad_ID then a number like 46_1.jpg, 46_2.jpg" .... then your select statement is very simple. "Select * from ad_table where ad_ID = ??" and your insert statement is simple. However, if you create a table with ad_id, ad1, ad2, ad3, ad4, ad5, ad6, ad7, ad8 ..... then you are limited to 8 pictures for that ad .... if you some day need ad9 you will have to alter the table. Either way works but one is more scalable.