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
 
SQL Query to fetch no of students with less than 20 marks

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: SQL Query to fetch no of students with less than 20 marks
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: 2442
Location: Netherlands, Amstelveen

PostPosted: Fri Sep 16, 2011 12:27 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Sep 16, 2011 12:44 pm    Post subject: Reply to: Sql Query
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
http://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: 2442
Location: Netherlands, Amstelveen

PostPosted: Fri Sep 16, 2011 12:46 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Sep 16, 2011 12:57 pm    Post subject: Reply to: Sql Query
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 http://catb.org/~esr/faqs/smart-questions.html
or .. for a more PC language
here http://support.microsoft.com/kb/555375
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 Sep 16, 2011 7:19 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Sep 16, 2011 7:58 pm    Post subject: Reply to: SQL Query to fetch no of students with less than 2
Reply with quote

http://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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts Need DB2 query to fetch previous row ! Chandan1993 DB2 10 Sat Jun 03, 2017 10:43 am

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