daninapoli Posted July 31, 2023 Share Posted July 31, 2023 Salve esiste un modo per eliminare le categorie vuote, che non sia sql ? Da sql ho lanciato questa : "select * from pr_category where id_category not in (select id_category from pr_category_product)" qualcuno ha fatto qualcosa del genere giusto per avere conferma. Diciamo dovrei prendere tutte le categorie che non sono inserite in nessun prodotto, se così corretto dovrebbero essere vuote. La cosa che mi chiedo in caso di sottocategorie credo che non vada bene.. Qualcuno sa qualcosa? Link to comment Share on other sites More sharing options...
fedesib Posted August 1, 2023 Share Posted August 1, 2023 Ciao, credo che questo thread possa fare al caso tuo: Buona giornata, Federica Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now