Mudsaf Posted November 2, 2012 Share Posted November 2, 2012 (edited) Example i have data in database, i just want to display value from JOB (Not the same value twice) ID | JOB | NAME 1 | Engineer | OH LONG JOHNSON2 | Engineer | Peter3 | Cleaner | Katy So how i do query that takes only 1 times same job example 1 | Engineer | OH LONG JOHNSON3 | Cleaner | Katy :ifyouknowwhatimean: PS: This example have nothing to do with my database. Edited November 2, 2012 by Mudsaf Link to comment Share on other sites More sharing options...
birbal Posted November 2, 2012 Share Posted November 2, 2012 you can use group by jn job 1 Link to comment Share on other sites More sharing options...
Mudsaf Posted November 2, 2012 Author Share Posted November 2, 2012 you can use group by jn job Thankyou birbal, worked perfectly. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now