Search sort by parameter match count in the query? PostgreSQL
- by Ben Dauphinee
I am working on a search query in PostgreSQL, and one of the things I do is sort my query results by the number of parameters matched. I have no clue how this can be done. Does anyone have a suggestion or solution?
Table
brand color type engine
Ford Blue 4-door V8
Maserati Blue 2-door V12
Saturn Green …