Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What will be Select statement?

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

New User


Joined: 16 Apr 2007
Posts: 50
Location: Pune

PostPosted: Fri Nov 06, 2009 1:00 pm    Post subject: What will be Select statement?
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: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 06, 2009 1:27 pm    Post subject: Re: What will be Select statement?
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

Site Director


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

PostPosted: Fri Nov 06, 2009 9:41 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us