I am working on a search query in PostgreSQL, and one of the tasks I make is matching me to a The clue is not how this can be done. Does anyone have any suggestions or solutions?
I think you have to Order by case: when color = 'blue' then 1 ELSE 0 END + case when type = '4-door' then 1 ELSE 0 END + case when the engine = ' V8 'then 1 ELSE 0 END DESC
Comments
Post a Comment