ErnesTo Posted April 25, 2004 Share Posted April 25, 2004 Hi, I'm using this script: SELECT * FROM clientes WHERE email LIKE 'colname%' ORDER BY email ASC and I need to do it in two fields. What can I do? Thanks Quote Link to comment Share on other sites More sharing options...
shocker-z Posted April 26, 2004 Share Posted April 26, 2004 Try SELECT * FROM clientes WHERE email LIKE 'colname%' AND username LIKE 'whateva' ORDER BY email ASC y are u using colname as the like string? u may have got the wrong end of the stick here 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.