xwishmasterx Posted April 3, 2011 Share Posted April 3, 2011 How should it look if I want to make a query where a field value should be lower than another field? ....WHERE total_points<max_points"); Quote Link to comment https://forums.phpfreaks.com/topic/232593-query-where-field-value-is-lower-than-other-field-value/ Share on other sites More sharing options...
Zurev Posted April 3, 2011 Share Posted April 3, 2011 Did you try that, it should work... Quote Link to comment https://forums.phpfreaks.com/topic/232593-query-where-field-value-is-lower-than-other-field-value/#findComment-1196353 Share on other sites More sharing options...
xwishmasterx Posted April 3, 2011 Author Share Posted April 3, 2011 feeling stupid..did try that, but was selecting wrong table... Quote Link to comment https://forums.phpfreaks.com/topic/232593-query-where-field-value-is-lower-than-other-field-value/#findComment-1196355 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.