Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by timmyni

  1. timmyni

    single command

    sorry, pasted the wrong one, SELECT DISTINCT t1.* FROM try1 AS t1 INNER JOIN try1 AS t2 ON t1.age = t2.age AND t1.id <> t2.id
  2. timmyni

    single command

    how about this one select id, age from users where age in ( select age from users group by age having count(*) > 1 )
  3. timmyni

    single command

    I have a table users( ...... age int .........) I want to pick out the users have same age as anyother users. with one SQL statement. How can I do it?

Part and Inventory Search

Back
Top