SQL server 2005, syntax error

Posted by shasha94 on Stack Overflow See other posts from Stack Overflow or by shasha94
Published on 2010-03-15T12:53:54Z Indexed on 2010/03/15 12:59 UTC
Read the original article Hit count: 239

Filed under:
|
|

This line do not work: (the problem is in the last line)

SELECT Book_Name  
FROM Books  
WHERE (Year, Faculty) = (SELECT Year, Faculty FROM Books WHERE Book_Id = 1112);

How can I fix it?

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about sql