Hi,
I want table structure shown below. How can i create this ?
Num Name Address
Addr1 Addr2
I want Addr1 and Addr2 under Address column.
How can i achive this ? Is it possible ?
Answer Posted / ashok
create table emp(num number(5),name varchar2(14),address
varchar2(15));
insert into emp values('&num','&name','&address');
Enter value for num:
Enter value for name:
Enter value for address: addr1 addr2
old 1: insert into emp values('&num','&name','&address')
new 1: insert into emp values('','','addr1 addr2')
| Is This Answer Correct ? | 1 Yes | 12 No |
Post New Answer View All Answers
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
How to drop an index?
Briefly explain what is literal? Give an example where it can be used?
How to create a new table in oracle?
Can group functions be mixed with non-group selection fields?
How do you bind variables in oracle?
22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100
Explain oracle’s server parameter file.
How to define an anonymous procedure with variables?
What is oracle join syntax?
How to drop an index in oracle?
What is a tns service name?
What are dml statements in oracle?
What is an oracle table?
what is IDE,DMV in sql server?