SQL - find row with values of two columns closest to X and Y
Question
I am building a website on wich people can get some infos based on their weight and height. How would one structure a query that would give me a row with the two specific values closest to the ones users enter?
I found this on stackoverflow and it was very helpful. I am trying to accomplish something similar to that only with 2 values insted of 1.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow