Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts -913/-911 Deadlock during UPDATE stat... NoSleep319 DB2 5 Fri Nov 18, 2016 12:37 am
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
No new posts COBOL DB2 - CALL statement - high CPU... TS70363 DB2 15 Sun Sep 11, 2016 6:07 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us