"); system("mysql $db_name -e \"select id from workunit\" | tail +2 | sort -n > dbc_wu.dat"); system("mysql $db_name -e \"select workunitid, id from result \" | tail +2 | sort -n > dbc_res.dat"); system("join -v 1 dbc_res.dat dbc_wu.dat > dbc_diff.dat"); ?>