S
S
Sergey2021-02-11 22:00:11
MySQL
Sergey, 2021-02-11 22:00:11

How to write an sql query to select elements by the number of characters in a field?

Good afternoon

I want to select records from the database whose uf_brand_name is greater than or equal to 12 characters - but my code does not work - tell me what's wrong? what am i doing wrong?

SELECT * FROM adm_brands 
WHERE  LENGTH(uf_brand_name)>=12


Thanks

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question