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

Tesco query asked in an interview


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

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Fri Jul 27, 2007 8:08 pm
Reply with quote

Hi

This Query was asked in an interview

In a Column the Data is as below

EMPNO
====
12ABC
AB12C
A1B2C
1234A
B1234
D564F
45F89

The Output from the Table Should be like below

EMPNO
====
12ABC
12ABC
12ABC
1234A
1234C
564DF
4589F

There is no order in arangement of data
How can the query be to arrange the output such that the numeric comes first


Cheers..Prasad
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 Jul 27, 2007 9:01 pm
Reply with quote

Hello,

I suspect you will not do this with a simple query. . . .
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 RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Issue with EXEC CICS QUERY SECURITY c... CICS 6
Search our Forums:

Back to Top