我正在尝试查询我的数据库以获取我的所有产品,当我这样做时,它会使服务器崩溃,我无法获取信息
SELECT categories.category_id,
categories.category_name,
categories.category_name_fr,
subcategories.subcategory_id,
subcategories.subcategory_name,
subcategories.subcategory_name_fr,
suppliers.supplier_id,
suppliers.supplier_name,
products.product_id,
products.product_name,
products.product_name_fr,
products.product_url
FROM categories,
subcategories,
suppliers,
products
WHERE products.product_active = 1
ORDER BY categories.category_id ASC
我试着放一个 LIMIT 0, 1 但它仍然崩溃了......