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 |
Explain indexing and what are the advantages of it?
Well sometimes sp_reanmedb may not work you know because if some one is using the db it will not accept this command so what do you think you can do in such cases?
What is the language structure to add a record to a table?
What is a db view?
What is extended stored procedures?
What is difference between index seek vs. Index scan?
Create a dts package to produce a text file using the ‘update statistics’ command for the tables in a database with obsolete statistics.
What are the advantages dts has over bcp?
If no size is defined while creating the database, what size will the database have?
Explain what is row_number function?
Is port 1433 secure?
What have included columns when we talk about sql server indexing?
Oracle (3253)
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)