0

I have a table called Notes and column name as id and name

eg datas

Id name

1 DEV

2 Prod

3 Prod

4 Prod

5 SQL

From this above table I need to retrive the value like this

Id name

1 DEV

2 Prod

5 SQL

3
  • do you want to retrieve or change in the database ? Commented Dec 3, 2013 at 6:02
  • I want to retrive the values from the table Commented Dec 3, 2013 at 6:03
  • this may help you stackoverflow.com/questions/13810208/… Commented Dec 3, 2013 at 6:16

1 Answer 1

1
SELECT MIN(id), Name
FROM Notes
GROUP BY Name
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.