After removing the important comparison number, it will not be able to display!

SELECT
p.name AS pname,
          p.icon AS icon,
          p.price AS price,
          p.original_price AS original_price,
          p.prod_id AS prod_id,
          p.stock AS stock,
          p.views AS views,
          s.name AS sname
        FROM `product` as p
        JOIN
          `store` as s ON p.store_id = s.store_id
        WHERE
          p.active = "1"
        ORDER BY `prod_id` DESC

when s.store_id is removed,
this query is completely wrong.
what is the rewriting method
that can display data even if s.store_id is removed?

suppose five items
there are two items whose store_id value has been changed.
if you execute this sentence at this time, it will only show three words, and the other items will disappear. How do you understand this? I want him to show me?

Mar.23,2021

that's the join condition of a join query. How can it be removed? Unless you don't have to join the query

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35012-2bf43.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35012-2bf43.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?