Answer the question
In order to leave comments, you need to log in
SQL: How to select data from a field where an array is stored?
Hello everyone, help me to correctly compose a sql query.
I have a table Products (goods)
There is a field Color (colors) - field type = text
The data in the colors field is stored in this form:
1: red
2: blue
3: green
...
SELECT * from goods WHERE colors = ?
Answer the question
In order to leave comments, you need to log in
Understand the normal forms on which relational databases should be built and bring the database into the proper state, and then all such questions will disappear
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question