yo,
Kann ich jetzt in einer Abfrage die nächsthöhere und nächstniedrigere ID herausfinden?
SELECT MIN(id) FROM tabelle WHERE id > bekannte_id
SELECT MAX(id) FROM tabelle WHERE id < bekannte_id
Ilja
yo,
Kann ich jetzt in einer Abfrage die nächsthöhere und nächstniedrigere ID herausfinden?
SELECT MIN(id) FROM tabelle WHERE id > bekannte_id
SELECT MAX(id) FROM tabelle WHERE id < bekannte_id
Ilja