dedlfix: Subselect in Insert-Zuweisung

Beitrag lesen

echo $begrüßung;

INSERT INTO tabelle SET schluessel = ((SELECT MAX(groesse) FROM tabelle)+1);

  
[Another restriction is that currently you cannot modify a table and select from the same table in a subquery. This applies to statements such as DELETE, INSERT, REPLACE, and UPDATE.](http://dev.mysql.com/doc/mysql/en/subqueries.html)  
  
  
echo "$verabschiedung $name";