Query lost WHERE clause

QuestionsQuery lost WHERE clause
Ivo asked 7 years ago

Query lost WHERE clause when im filtering data in grid
error msg:

Couldn't execute query. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND LOWER(good_name) LIKE LOWER('%yo%')) table_count' at line 1 –

SELECT count(*) as c
FROM
(
SELECT `id`,`sh`,`ty`,`good_name`,`sastavs`,`price`
FROM `edz` AND LOWER(good_name) LIKE LOWER('%yo%')
)

table_count

Formatted query (`edz` AND LOWER == `edz` WHERE LOWER )

1 Answers
Abu Ghufran answered 7 years ago

Hello,

I can't understand the root cause. Can you send the code of grid config.
Email me at [email protected]

Regards

Your Answer

2 + 5 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?