select empid empname from employee
What is the result for the about query?
Answers were Sorted based on User's Feedback
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 |
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 |
What is update locks?
What is the difference between commit and rollback?
Explain system rowset functions?
Write a SQL Query to find first Week Day of month?
When we can say that is in BCNF?
whats the maximum size of view state??
What are the types of indexes available with SQL Server?
Explain identity in sql server?
How to write a query with a right outer join in ms sql server?
What is Index ? Explain its Types?
What is lock escalation?
Why people hate cursor?