我有两个表 1.blogalbum 其中的数据是
Id AlbumName CoverPhoto CreatedDate Description
1 Onam noImage.jpg 2012-07-05 10:54:46.977 Onam is an ancient festival which still survives in modern times. Kerala's rice harvest festival and the Festival of Rain Flowers, which fall on the Malayalam month of Chingam, celebrates the Asura King Mahabali's annual visit from Patala (the underworld). Onam is unique since Mahabali has been revered by the people of Kerala since prehistory. According to the legend, Kerala witnessed its golden era during the reign of King Mahabali. The Brahma-Vaivarta Puranam explains that Lord Vishnu wante
2 Birds noImage.jpg 2012-07-05 11:02:48.667
3 Nature gold-fish.jpg 2012-07-05 11:03:36.503
2.blogphoto 其中的数据在哪
Id AlbumId PhotoName AddedDate
29 1 Photo0364.jpg 2012-07-05 11:01:18.270
30 1 Photo0380.jpg 2012-07-05 11:01:35.723
31 1 Photo0404.jpg 2012-07-05 11:01:47.717
32 1 Photo0404.jpg 2012-07-05 11:02:34.457
33 2 f.jpg 2012-07-05 11:03:03.300
34 2 g.jpg 2012-07-05 11:03:12.917
35 3 image005.jpg 2012-07-05 11:03:45.367
36 3 1.jpg 2012-07-05 11:03:57.837
37 3 2.jpg 2012-07-05 11:04:05.580
38 3 na.jpg 2012-07-05 11:04:17.337
39 3 gold-fish.jpg 2012-07-05 11:06:29.453
从上面的表格中,当我从第二个表格中删除任何照片时,第一个表格中与第二个表格中的照片名称相同的字段封面照片必须替换为图像 noImage.jpg。请帮我解决这个问题。