What does "foo" mean in this SQL Server Query ?

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-06-01T15:51:38Z Indexed on 2010/06/08 11:42 UTC
Read the original article Hit count: 196

Filed under:
|
|
|

for eg...

SELECT * 
  FROM ( SELECT RANK() OVER (ORDER BY stud_mark DESC) AS ranking,
                stud_id, 
                stud_name, 
                stud_mark 
           FROM tbl_student ) AS foo 
 WHERE ranking = 10

Here foo is present...actually what it does ?..

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server