Mssql Where Subquery Multiple Columns, The first query column should be X.