Hallo Leute,
hier ein Auszug des folgenden Querys:
![1715174158264.png 1715174158264.png](https://www.tutorials.de/data/attachments/53/53091-8496e0d6dfc117f7f50aec26cb4005fb.jpg?hash=hJbg1t_BF_)
Folgendes Query liefert allerdings keinen Datensatz zurück. Warum?? category_ids und category_tree sind beide vom Datentyp longtext. Es handelt sich um eine MySQL Datenbank:
Query:
hier ein Auszug des folgenden Querys:
SELECT category_ids,category_tree
FROM product;
![1715174158264.png 1715174158264.png](https://www.tutorials.de/data/attachments/53/53091-8496e0d6dfc117f7f50aec26cb4005fb.jpg?hash=hJbg1t_BF_)
Folgendes Query liefert allerdings keinen Datensatz zurück. Warum?? category_ids und category_tree sind beide vom Datentyp longtext. Es handelt sich um eine MySQL Datenbank:
Query:
SELECT id,product_number
FROM product WHERE category_tree='' OR category_tree=null;