Amazon marketing wants to know if users' early shopping behavior aligns with their stated brand preferences.
Write an SQL query to find, for each user, whether the brand of the second item (by date) they purchased is the same as their favorite brand.
Rules:
- If a user has purchased less than two items, the answer should be "no".
- Output columns: seller_id, 2nd_item_fav_brand.
- 2nd_item_fav_brand should be "yes" if the brands match, and "no" otherwise.
- Results must be sorted by seller_id in ascending order.