, , .
- .
, , , . , . .
- , , type = 2? : " content_id mytable, type = 2". " content_id , " % 2% ". , 11 ? " 12 ". , " "%, 2,%". , , 2 . , LIKE % , .
? , , ?
? "" , , , . "select content_id, type_id, description from content join type using (type_id)". ... .
, ? , "3,7,9", "5". "3,7,9,5"? ? , , "1,2" "2,1" , . , SQL.
If there is some trivial gain, it is simply not worth it.
source
share