Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Not all images are suitable for a flash drive. Try to use ventoy, there is a chance that he can handle it.
Firstly, what kind of iso, 7.1 has been released for a long time ( PVE 7.1-2 )
Secondly, use Unetboot
SELECT DISTINCT `t`.`id`, `i`.`id`
FROM `cats` AS `c`
JOIN `cats` AS `t` ON `t`.`NSLeft` >= `c`.`NSLeft`
AND `t`.`NSRight` <= `c`.`NSRight`
LEFT JOIN `cats_bind` AS `cb` ON `cb`.`cat_id` = `t`.`id`
LEFT JOIN `items` AS `i` ON `i`.`category_id` = `t`.`id`
OR `i`.`id` = `cb`.`item_id`
WHERE `c`.`id` = :root_category
ORDER BY `t`.`title`, `i`.`title`
Let's say SELECT_CATS is a query to get the id of all subcategories recursively.
SELECT * FROM items WHERE category_id IN (SELECT_CATS)
UNION
SELECT * FROM items WHERE item_id = (SELECT item_id FROM cats_bind WHERE cat_id IN (SELECT_CATS))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question