ziedinjsh Posted May 29, 2011 Report Share Posted May 29, 2011 Sveiki! iekš mysql ir rating total_rating un total_ratings no kuras un kā izvilkt labāko vērtējumu!? Quote Link to comment Share on other sites More sharing options...
101111 Posted May 29, 2011 Report Share Posted May 29, 2011 (edited) māki sakarīgi noformulēt jautājumu? te ir ietekumi, gadījumā, ja nemāki http://datubazes.wordpress.com/2010/11/23/precizs-jautajums/ Edited May 29, 2011 by 101111 Quote Link to comment Share on other sites More sharing options...
Code Posted May 29, 2011 Report Share Posted May 29, 2011 SELECT MAX(vertejums) FROM( SELECT vertejums FROM rating UNION SELECT vertejums FROM total_rating UNION SELECT vertejums FROM total_ratings) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.