SELECT image_name as 'upload_id'
FROM user_walls AS uw
JOIN user_uploads AS uu ON uw.images REGEXP '[[:<:]]' || uu.upload_id || '[[:>:]]'
WHERE uw.id =1
SELECT image_name
FROM user_walls AS uw
JOIN user_uploads AS uu ON uw.images REGEXP '[[:<:]]' || uu.upload_id || '[[:>:]]'
WHERE uw.id =1
SELECT uu.upload_id, uw.message FROM user_walls AS uw
JOIN user_uploads AS uu
ON uw.images REGEXP '[[:<:]]' || uu.upload_id || '[[:>:]]'
WHERE uw.id = 1