hai all
i have table ,as follows
--------------------------------------------------------------------------------------------------------------
| id_int | vid_int | name_chv | address_txt |
-------------------------------------------------------------------------------------------------------------
| 2 | 12 | ram | address1 |
--------------------------------------------------------------------------------------------------------------
| 3 | 12 | joy | address2 |
--------------------------------------------------------------------------------------------------------------
| 4 | 14 | shyju | address3 |
-------------------------------------------------------------------------------------------------------------
| 5 | 14 | shyju | address4 |
-------------------------------------------------------------------------------------------------------------
| 6 | 30 | thomas | address5 |
-------------------------------------------------------------------------------------------------------------
| 7 | 30 | muhamd | address6 |
------------------------------------------------------------------------------------------------------------
| 8 | 30 | rahim | address7 |
-------------------------------------------------------------------------------------------------------------
here only vid_int=14 , have name=shyju repeated
[ how query for list the following records ]
--------------------------------------------------------------------------------------------------------------
| id_int | vid_int | name_chv | address_txt |
-------------------------------------------------------------------------------------------------------------
| 4 | 14 | shyju | address3 |
-------------------------------------------------------------------------------------------------------------
| 5 | 14 | shyju | address4 |
-------------------------------------------------------------------------------------------------------------
Advance thanx
REGARDS
SHYJU