How to Select a Row With the Same Column Value


SELECT T.* FROM LISTDATA T
WHERE (SELECT COUNT(TX.GID) FROM LISTDATA TX WHERE TX.GID=T.GID)>1
ORDER BY T.GID

0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post
NERV Open Source

Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.

Explore NERV on GitHub →