Created insert-select query to create feeditems for each follower after a photo upload.