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?

Answers were Sorted based on User's Feedback



select empid empname from employee What is the result for the about query?..

Answer / vinayak

select empid,empname from employee

Is This Answer Correct ?    3 Yes 1 No

select empid empname from employee What is the result for the about query?..

Answer / 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

select empid empname from employee What is the result for the about query?..

Answer / kalyana chakravarthy maddipati

There should be a , between empid and empname like empid,empname if not empname will be taken as Alias name for empid ie, all the results empid will be displayed with a column heading as empname

Is This Answer Correct ?    1 Yes 0 No

select empid empname from employee What is the result for the about query?..

Answer / guest

itis dis[lay

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More SQL Server Interview Questions

Distinguish between commit and rollback?

0 Answers  


Explain what stored procedure sp_replcounters is used for? : sql server replication

0 Answers  


Explain what is log shipping?

0 Answers  


if no size is defined while creating the database, what size will the database have? : Sql server administration

0 Answers  


how to write the query to select the rows are in the order of either 1,3,5,7... or 2,4,6,8,...

7 Answers   ADP, Satyam, Tech Mahindra,


Tell me can we use custom code in ssrs?

0 Answers  


What is the need for group functions in sql?

0 Answers  


When we should use @@error?

0 Answers  


Explain what are the authentication modes in sql server?

0 Answers  


what's the maximum size of a row? : Sql server database administration

0 Answers  


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

0 Answers  


When I run the sql server 2000 setup, it just hangs. What do I do?

0 Answers  


Categories