Jump to content

SQL Query (NOT to take same value twice)


Mudsaf

Recommended Posts

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 by Mudsaf
Link to comment
Share on other sites

you can use group by jn job

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...