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...

select empid empname from employee

What is the result for the about query?

Answer Posted / swetha

It will give the empids list from the table, with column
name as empname.
This implies the general syntax of renaming a column when
retriving data.
syntax: select dbcolumnname as newcolumnname from table1
OR
select dbcolumnname newcolumnname from table1.
Both the statements means the same.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shared lock?

879


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

964


How do you delete a trigger?

953


What are the difference between clustered and a non-clustered index?

1016


What is the process of normalising?

984


How can we determine what objects a user-defined function depends upon?

982


What is unpivot?

997


if you encounter this kind of an error message, what you need to look into to solve this problem? : Sql server database administration

959


What is the difference between online clustering and Offline clustering?

2392


How to identify current user in ssrs report?

401


How many joins in sql server?

929


Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .

1932


What is the use of keyword with encryption. Create a store procedure with encryption?

944


How can sql injection be stopped? : sql server security

1013


How to modify an existing stored procedure in ms sql server?

1058