Re: Help on sql statement (not MySQL specifik)

2006-03-05 Thread Søren Merser
[EMAIL PROTECTED]> To: "Michael Stassen" <[EMAIL PROTECTED]> Cc: "Søren Merser" <[EMAIL PROTECTED]>; Sent: Sunday, March 05, 2006 9:05 PM Subject: Re: Help on sql statement (not MySQL specifik) You're absolutely right that I'd need some good luck for thi

Re: Help on sql statement (not MySQL specifik)

2006-03-05 Thread Søren Merser
Hi, I'll try I need one record for each id in the tabel, i.e. NO duplicate id's with TYPE set to 4 or NULL Now, the TYPE of id 2 is 4 so I peserve it; As id 2 has more than one entry I have to delete it/them Id's with TYPE = NULL (id 1,4,5)is kept Id 5 (and 6) has two records, none of which h

Help on sql statement (not MySQL specifik)

2006-03-05 Thread Søren Merser
Hi Could someone please help me out here? TABLE: RECNO| ID |TYPE - 1| 1|NULL 2| 2|4<-KEEP AS IS 3| 2|6<- DROP 4| 3