6 lines
134 B
MySQL
6 lines
134 B
MySQL
|
INSERT INTO `song`
|
||
|
(`artist`, `title`)
|
||
|
VALUES (?, ?)
|
||
|
ON CONFLICT DO
|
||
|
UPDATE SET `song_id`=`song_id`
|
||
|
RETURNING `song_id`;
|