Mysql where exists in another table sql server. 7, if that matters) without the FROM DUAL.