DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
sql get missing id
SELECT DISTINCT id +1 FROM mytable WHERE id + 1 NOT IN (SELECT DISTINCT id FROM mytable);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#sql
#missing
#id
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit