Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to define and use table alias names in ms sql server?



How to define and use table alias names in ms sql server?..

Answer / Jay Prakash

To define and use table alias names in MS SQL Server, you can assign an alias to a table using the `AS` keyword after the table name. Then, you can use the alias instead of the table name in the rest of the query. Here's an example: `SELECT t1.Column FROM YourTable AS t1 JOIN AnotherTable AS t2 ON t1.id = t2.id`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Name three of the features managed by the surface area configuration tool? : sql server security

1 Answers  


If any stored procedure is encrypted, then can we see its definition in activity monitor?

0 Answers  


Explain how does the report manager work in ssrs?

1 Answers  


How many partitions a clustered index has by default in sql server 2012?

1 Answers  


What is the difference between for xml raw and for xml auto?

0 Answers  


What is the usage of sign function?

1 Answers  


Following are some of the question related to below mentioned query? select e1.salary from employee3 e1 where 2= ( select count(distinct(e2.salary)) from employee3 e2 where e2.salary>=e1.salary ) 1) What the query returns? 2) How it works? - Detail explanation (what the sub query does, why it is (where 2=)....etc...Please?

5 Answers  


How to create a store procedure with encryption?

1 Answers  


What are the authentication modes in sql server? How can it be changed?

1 Answers  


what is the difference between procedure and function.

4 Answers   Thomson,


What is the template in sql?

1 Answers  


What is a linked server in sql server?

1 Answers  


Categories