june_c21 Posted November 12, 2007 Share Posted November 12, 2007 how to write 3 and condition. example : SELECT user.acc_no,report.staff_no, user.name FROM user,report WHERE report.staff_no = user.staff_no and user.bank ='Maybank'and report.status='approve' Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 12, 2007 Share Posted November 12, 2007 Well I think you just did what seems to be the problem ? Quote Link to comment Share on other sites More sharing options...
june_c21 Posted November 12, 2007 Author Share Posted November 12, 2007 it return zero rresult when i put 2 'and' condition Quote Link to comment Share on other sites More sharing options...
rajivgonsalves Posted November 12, 2007 Share Posted November 12, 2007 that depends on the data in the database if there are no records matching that criteria no records will show up 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.