IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What will be Select statement?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amolondhe007
Warnings : 1

New User


Joined: 16 Apr 2007
Posts: 49
Location: Pune

PostPosted: Fri Nov 06, 2009 1:00 pm
Reply with quote

I have 3 tables i want 1 column from each table and write it into 4 th table.

Write select statement for this?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Nov 06, 2009 1:27 pm
Reply with quote

Amolondhe007 wrote:
Write select statement for this?

WRONG - The idea of the interview questions forum is for you to supply the answers and for the other forum members to comment upon them.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Nov 06, 2009 9:41 pm
Reply with quote

Hello,

What did you tell the interviewer?

IMHO, there is not enough of a question for an answer to be given.

I suspect this is another of the times when the intended question and the percieved question were not the same. . .
Back to top
View user's profile Send private message
esaccy
Currently Banned

New User


Joined: 19 Feb 2005
Posts: 22

PostPosted: Thu Dec 03, 2009 11:05 pm
Reply with quote

1) SELECT (A,B,C) FROM A.ATAB AND B.BTAB AND C.CTAB

2) CREATE A TABLE

3)INSERT THE VALUES SELECTED FROM THE FIRST QUERY.

HOPE THIS HELPS YOU
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu Dec 03, 2009 11:57 pm
Reply with quote

Quote:
I have 3 tables i want 1 column from each table and write it into 4 th table.


based on what criteria\Condition? What are keys of tables?
this question is incomplete\invalid else
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Fri Dec 04, 2009 7:14 am
Reply with quote

Quote:
HOPE THIS HELPS YOU
Probably not if it doesn't encourage the poster to do a little research to make an attempt at the answer. See expat's post.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Dynamically pass table name to a sele... DB2 2
No new posts SELECT from data change table DB2 5
No new posts Select two different counts from SQL... DB2 6
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Select a DB2 value in a specific deci... DB2 4
Search our Forums:

Back to Top