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 happens if time-only values are provided as date and time literals?

1019


What is normalization and denormalization in sql server?

1017


what is package and it uses and how can u call a package

2014


Can group functions be used in the order by clause in ms sql server?

1014


What is an expression in ms sql server?

1076


you want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition? : Sql server administration

1082


Can sql servers link to other servers?

1086


how many bits ip address consist of? : Sql server database administration

900


Explain the categories of stored procedure?

937


Which language rdl files made of?

130


How to connect Azure federated root database and apply federation in entity framework?

107


Find first and last day of current month in sql server

1028


What is a result set object returned by mssql_query()?

1158


Where in ms sql server is ’100’ equal to ‘0’?

1091


Do you know what is lock escalation?

1013