What is difference between Rename and Alias?
Answer / ali
Alias is the temporay name , where as rename is the permanent given.
RENAME:
1. RENAME OLD_TABLENAME to NEW_TABLENAME;
2. alter table table_name rename column column_name to new_columnname;
ALIAS:
1. select ename as name from table_name1 as empl1, table_name2 as empl2 where empl1.id = empl2.id;
Is This Answer Correct ? | 5 Yes | 0 No |
what is the syntax of update command?
what is the maximum number of indexes i can create for a table? What happens if i create indexes for all the columns of a table? Will it slow down the speed of retrieval
Give syntax for SQL and ORACLE joins.
In what script is snap$ created? In what script is the scott/tiger schema created?
What is oracle rowcount?
How to check the server version in oracle?
Can we use bind variables in oracle stored procedure?
18. Display the clientno and total value for all orders placed by that client. Output the result in the following format: Client <clientno> has placed orders to the value of <total value>
How do I uninstall oracle 11g?
How to define a variable to match a table column data type?
How to recover a dropped index?
What is data block in Oracle?