Normally if I want to get an instance from table I use the following script :
SELECT STD_NAME FROM STUDENT S1 ,STUDENT S2
suppose student as an inner query like :
SELECT std_name FROM student, grades where student.id=grade.std_id) as S1
how can I use this inner query to make 2 instances ,with less coding.
shall I do some thing like :
(SELECT std_name FROM student where student.id>=10) as S1 ,S2
I am using sql server 2008