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

SQL Query to fetch no of students with less than 20 marks


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tmaheswara

New User


Joined: 20 Apr 2010
Posts: 8
Location: pune

PostPosted: Fri Sep 16, 2011 12:22 pm
Reply with quote

If no of students (student names) >10 who got less than 20 marks in each subject.

Could you please provide me the query.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Sep 16, 2011 12:27 pm
Reply with quote

I could do it, but one of your skills is DB2.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Sep 16, 2011 12:44 pm
Reply with quote

as already pointed out in another topic You must do a better job in explaining Your requirements.
and... no nobody is going to provide the query
1) because we are here to help, not to do Your job
2) because it is impossible to do so given the nothing You ahev given to work on

even if You qualify as a software professional ..
given the wording of the question, you will be certainly more at ease in the other forum here
ibmmainframeforum.com/index.php

one more question along these lines and You will be banned, clear ?

the cheater just changed his profile icon_biggrin.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Sep 16, 2011 12:46 pm
Reply with quote

In response to my input i got the following PM from the TS :

Quote:

Hi

I updated my profile.Please provide the query ASAP.

Thanks

Maheswara


Well, my answer is : "in your dreams".
And dont send me pm's.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Sep 16, 2011 12:57 pm
Reply with quote

and ...
to make the most out of the questions You ask and to forecast the comments You might receive
it would be wise for You to read and meditate on
how to ask questions the smart way
here catb.org/~esr/faqs/smart-questions.html
or .. for a more PC language
here support.microsoft.com/kb/555375
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 Sep 16, 2011 7:19 pm
Reply with quote

Hello,

Post some sample "input" data (table/columns) and the result you want this data is processed by the new query. Clearly explain the rules. We understand that most of our members do not have English as their first language, but the requirements need to be clear for us to help. If you do not know how to word the request, possibly we can work thru this. . .

Post what you have tried so far or where you are stuck.

Use the Code tag for data and code to preserve alignment and improve readability.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Sep 16, 2011 7:58 pm
Reply with quote

www.ibmmainframes.com/viewtopic.php?t=56119&highlight=
just disappeared
maybe it is time to get rid of dead wood icon_cool.gif
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 -> DB2

 


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 Fetch data from programs execute (dat... DB2 3
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
Search our Forums:

Back to Top