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

How to get the query of a table in sql server?

0 Answers  


What is normalization according to you and explain its different levels?

0 Answers  


What is checkpoint in sql server?

0 Answers  


Explain about remote stored procedure?

0 Answers  


What are sql server procedures?

0 Answers  


How to create a view with data from multiple tables?

0 Answers  


What are subqueries in sql server? Explain its properties.

0 Answers  


What is the purpose of sql profiler in sql server?

0 Answers  


How can change procedure in sql server?

0 Answers  


Define model database?

0 Answers  


Explain the difference between function and stored procedure?

0 Answers  


How do I make a resultset scrollable?

0 Answers  


Categories