|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
I have a table called products which contains the id,name,description and so on.
The table is not normalized that's why it contains different products with the same id. How can i interogate the table to extract the products that have the same id? ![]() |
|
#2
|
||||
|
||||
|
select productid from yourtable group by productid having count(*)>1
rudy |
|
#3
|
|||
|
|||
|
thanks man!
i noticed that you are the most active person on this forum |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > an SQL aid needed |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|