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

Explain following error properties?

0 Answers  


Explain about Normalization?

0 Answers   Infosys,


What are cursors and when they are useful?

0 Answers  


What are four major operators that can be used to combine conditions on a where clause?

0 Answers  


What are tables in sql server?

0 Answers  


How to Handle the exceptions in Sqlsrver 2005??

3 Answers   Value Labs, Wipro,


SQL Server Performance Tuning for Stored Procedures & reducing debugging time?

1 Answers   CarrizalSoft Technologies,


Do you know spatial data types - geometry and geography in sql server 2008?

0 Answers  


When setting replication, is it possible to have a publisher as 64 bit sql server and distributor or subscribers as a 32 bit sql server?

0 Answers  


What are examples of triggers?

0 Answers  


How to write an inner join with the where clause in ms sql server?

0 Answers  


How to know the NAME of the Database and SIZE of the Database at the client node in Sql Server 2005

1 Answers  


Categories