Monday, 28 November 2011

With Query Example

 with sam as 
(
 select * from TblSample
  )
  select * from  sam as s join TblSample1 as Sn on sn.id=s.id


OutPut
IDNameAgeSexIDNameAgeSex
1vino23Male1vino23Male
2karthick25Male2karthick25Male
3Rajesh24Male3Rajesh24Male

No comments:

Post a Comment