I was reading through the laravel docs on how to schedule a job so I decided to try it locally and am on windows but * * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1 seem not to work. Can anyone help me?

Am doing a loop where a product can have many sizes so i display the name of the product and its 1st size and the name of the same product again with its 2nd size but anytime i try, it repeats both sizes on both product names. For example: Product 1: small, Product 1: medium but in this case it displays... Product:1 small medium, Product2: small medium. How do I solve this.
Below is my blade;

I wanted to pull the tags associated with a post onto an edit page into a select2 input field so that the user can edit. But I keep getting an error "SQLSTATE[42000]: Syntax error or access violation: 1066 Not unique table/alias: 'cms_post_category_tags' (SQL: selectcms_post_category_tags.*,cms_post_category_tags.cms_post_idaspivot_cms_post_id,cms_post_category_tags.cms_post_category_idaspivot_cms_post_category_id,cms_post_category_tags.created_ataspivot_created_at,cms_post_category_tags.updated_ataspivot_updated_atfromcms_post_category_tagsinner joincms_post_category_tagsoncms_post_category_tags.id=cms_post_category_tags.cms_post_category_idwherecms_post_category_tags.cms_post_id= 2)