In subqueries, you can generally only select one field (expression), in your select statement. This is so that SQL Server will know which field to evaluate against. For example:
"select * from table1 where field1 not in (select field2 from table2)"
This will select all rows in table1 where the value in field1 does not appear in field2 of table2.
The exception is when you use the "exists" comparison. For example:
"select from table1 where not exists (select from table2 where field2=table1.field1)"
In your case the error is easily fixed:
$query1="SELECT top 10 * from RegistrationInfo where Account not in (SELECT top 10 Account from RegistrationInfo order by Account) order by Account";
Hope this helps,
James