sto utilizzando le tabelle temporanee in mysql da uno script php:
$query22 = "DROP TEMPORARY TABLE IF EXISTS `temp`";
mysql_query($query22, $db);
$query221 = "CREATE TEMPORARY TABLE temp AS SELECT NumberofTracks, min(Notes) AS Notes FROM recordings GROUP BY NumberOfTracks; ";
mysql_query($query221, $db);
$query = "SELECT * FROM recordings AS t JOIN temp ON (t.NumberOfTracks = temp.NumberOfTracks AND t.Notes = temp.Notes); ";
$result = mysql_query($query, $db);
while ($row = mysql_fetch_array($result))
{...
ho fatto questi 3 "passaggi"
è corretto??
che rischi possono esserci considerando che le 2 query tireranno fuori molti records??
non c'è il rischio che la tabella temp. "sparisca"??
grazie