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 are defaults? : Sql server database administration
What happens when transaction log is full?
Give me any three differences between Truncate and Delete.
What is the difference between online clustering and Offline clustering?
Explain how to integrate the ssrs reports in application?
Diffrence between DTS vs SSIS
How to automatically create a log when an exception is being received into SQL Server?
How do I open port 1433?
How will you monitor replication latency in transactional replication? : sql server replication
can you any body tell me while running BCP Out in instance in sql server 2000 is getting error. Error = [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.?
Is it possible for a stored procedure to call itself or recursive stored procedure?
What is MSDE?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)