Forum Moderators: coopster
after a provider change i have only mysql 3.23 available. could this be the reason the above query does not work any more? especiall then "NOT IN" at the end? is there a way to work around that?
thanks
m
ok i create a temp query like:
$tempquery="CREATE TEMPORARY TABLE MyTemporaryTable SELECT distinct payed.pid from payed WHERE payed.experiment_id='$ExperimentID'";
which i have to get to the server somehow in php:
$tempresult=mysql_query($tempquery);
but how do i query MyTemporaryTable then?
$query="SELECT demography.email, invited.pid FROM demography, invited WHERE demography.pid=invited.pid AND invited.finishedExp = '1' AND invited.experiment_id='$ExperimentID' AND invited.pid NOT IN MyTemporaryTable)";
does not work ...
m
[dev.mysql.com...]