0
Dies ist eine Abfrage, die Ranglistenergebnisse größer als Null zurückgibt.Warum ist dies meine SQL Nullen
Ich bekomme immer noch Zeilen mit Punktzahl Null jemand sehen warum?
SELECT SQL_CALC_FOUND_ROWS P.`Package_ID` as `id`,
P.`name`, P.`description`,
((((P.`name` LIKE '%test%') *100 * 1) +
((P.`name` LIKE '%test%') * 1 * 90) +
((P.`name` LIKE '%test%') * 20) +
((P.`description` LIKE '%test%') * 30 * 1) +
((P.`description` LIKE '%test%') * 10 *1) +
((P.`description` LIKE '%test%') * 10))) AS `score`
FROM `package` P
WHERE
CONVERT((((P.`name` LIKE '%test%') *100 * 1) +
((P.`name` LIKE '%test%') * 1 * 90) +
((P.`name` LIKE '%test%') * 20) +
((P.`description` LIKE '%test%') * 30 * 1) +
((P.`description` LIKE '%test%') * 10 *1) +
((P.`description` LIKE '%test%') * 10)),UNSIGNED) > 0
Was ist Ihre Daten? –
Auch SHOW CREATE TABLE-Paket veröffentlichen – rkosegi