FAQ
Members List
Calendar
Mark Forums Read
self-join to delete dupes with a unique id
dbTalk Databases Forums
Databases
comp.databases.mysql
self-join to delete dupes with a unique id
comp.databases.mysql
comp.databases.mysql
Discuss
self-join to delete dupes with a unique id
in the
comp.databases.mysql
forum.
Thread Tools
Display Modes
#
1
jr
Posts: n/a
self-join to delete dupes with a unique id -
01-03-2011 , 04:29 PM
I don't know how to create a self join to delete.
I have a syntax error.
thanks,
delete FROM ci as a, ci as b
max(id)
where concat(a.bu, a.ndc)=concat(b.bu,b.ndc) ;
jr
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Contact Us
-
dbTalk Databases Forums
-
Archive
-
Top