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
 

 

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: 2422
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: 10210
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: 2422
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: 10210
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: 10210
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 Join in SQL Query vickey_dw DB2 0 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm


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