| |
GeekInterview.com > Interview Questions > Oracle > SQL
| Print | |
Question: Data Conversion
Answer: Have 2 table Emp1 (Column Name: Ename), 2nd table Emp2 (Column Name: First and Column Name: Last
Table Name :Emp1 EName Hunt, Michael Graham, Smith Nelson, Ryan
Table Name: Emp2 First Last Michael Hunt Smith Graham Ryan Nelson
Need to write a SQL query to convert the data from Emp1 to Emp2 in this way. Can any body help me.
Thanks
|
| June 06, 2008 11:11:29 |
#1 |
| Subrat Rout |
Oracle Expert Member Since: October 2005 Total Comments: 1 |
RE: Data Conversion |
| I guess by using the help of INSTR and SUBSTR, we can break the one column(ename) data to two columns first and last column data. |
| |
Back To Question | |