ballouta Posted July 25, 2008 Share Posted July 25, 2008 Hello i have this table as an example ID Month filename confirmed 33 5 file.doc Yes 35 5 file2.doc Yes 36 6 file3.doc Yes 37 7 file4.doc No 38 6 file5.doc Yes How do i select the months numbers without repitition? the output: months are: 5 - 6 - 7 Thank You Quote Link to comment https://forums.phpfreaks.com/topic/116624-solved-query-help/ Share on other sites More sharing options...
pocobueno1388 Posted July 25, 2008 Share Posted July 25, 2008 SELECT DISTINCT(Month) FROM table Quote Link to comment https://forums.phpfreaks.com/topic/116624-solved-query-help/#findComment-599659 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.