MfG ChrisB
Danke, funktioniert wunderbar!
Mein Query ist jetzt:
INSERT INTO links
(title, url, position)
SELECT
'Meine Seite',
'http://example.com/foo',
(IFNULL(MAX(position),0) + 1)
FROM links;
MfG
ScaraX
MfG ChrisB
Danke, funktioniert wunderbar!
Mein Query ist jetzt:
INSERT INTO links
(title, url, position)
SELECT
'Meine Seite',
'http://example.com/foo',
(IFNULL(MAX(position),0) + 1)
FROM links;
MfG
ScaraX