-
Syntax Question
I am trying to create a table that ontain values from another table. Here is my syntax:
select * from myuser.accounts where acno,customer_id in
(select acno,customer_id from myuser.myinfo);
*
ERROR at line 1:
ORA-00920: invalid relational operator
I know there is a way to do this. Can someone give me the proper syntax?
-
Re: Syntax Question
Code:
select * from myuser.accounts where (acno,customer_id) in
(select acno,customer_id from myuser.myinfo);
-
Re: Syntax Question
I'm a bit concerned that is the right answer to different question from the one asked:
I am trying to create a table that ontain values from another table.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|