DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
delete recurring email keep smallest id number
DELETE P1 FROM PERSON P1, PERSON P2 WHERE P1.EMAIL=P2.EMAIL AND P1.ID>P2.ID;
Source by leetcode.com #
PREVIOUS
NEXT
Tagged:
#delete
#recurring
#email
#smallest
#id
#number
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit