Given this example code:
DELETE d
FROM discog d
JOIN discog d1 ON d1.artist = d.artist AND d1.track = d.track AND d1.year < d.year;
I don't understand the role of the d
that comes after DELETE.
From what I understand, the structure of the syntax should be
DELETE FROM table_name
WHERE some_column = some_value
What did the author include a d
after the DELETE for? What does this position represent?