I have a table like this now first i am quering the results in term of same temperatur and zeit e.g.
(select * from table where temperatur= array.. AND zeit=array...).
Now for exampe i got a result something like this..
one with temperatur and zeit= 85,30 and other one with 85,45.. now according to the sum of columns of (aussehen,farbe,deformation,geruch,texture) i want to get the best result. e.g the final sum of rows of matching columns is( 14) and the other match is (17) i want to get the best result which is 14.. how can i do that in laravel orm?
via Hassan Haroon