Determining average from database using VB6 [closed] - sql

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I’m trying to work out an average grade from a database file using the ‘Do Loop’ method; I’m completely clueless how to even start it. Does anyone have any tips or is able to help me?
Regards, Jack.

Rather than looping in vb, calculate the average in SQL.
E.g.,
select StudentID, avg(Grade) as AverageGrade
from StudentGrade
group by StudentID

Related

Ltree find parent with most children postgresql [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am trying to find the parent with the most children. I feel like this should not be so hard however I find myself struggling.
I am using postgresql and Ltree.
Thank you
It's the same logic as for any other case, find a function that will give you the parent and group by it. This should work:
SELECT subpath(path,0,1), count(*)
FROM test
GROUP BY subpath(path,0,1)
ORDER BY count(*) DESC limit 1;
http://sqlfiddle.com/#!12/8fb17/5

LineNumbers of an CodeView [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Whats the best way to represent LineNumbers next to a codeView? For example. I'm relative new in xCode / cocoa programming so thanks for every help.
See NoodleSoft's example.
http://www.noodlesoft.com/blog/2008/10/05/displaying-line-numbers-with-nstextview/
There was also a good example in a past WWDC.
Search developer.apple.com for WWDC videos and sample code.
Specifically look for Sample code: WWDC_2010_114
Year was 2010, session was 114.

How to use openLdap? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm sorry, but I'm not sure if this is the right place to ask. But is there anyone out there that can teach me a step by step guide on how to use OpenLdap? There isn't any GUI and I'm unfamiliar with it. I'm trying to create a user in there.
Thanks in advance. :)
Use an LDAP browser. There are many free ones available, e.g. Userbooster Light, JXplorer, ...

account transaction procedure in database? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
i am creating db design for supermarket so now i need to normalize account transaction in customer and dealer .
I like to know about the transaction procedure in super market or Departmental stores for My database design.
If anyone know about whats the link between customer and dealer in a supermarket.
Let me know.
Thanks in advance...
I am not sure about your question. But I think this is what you need to read.
http://www.versant.com/products/fast-objects
Just learn some basic stuff. This may be helpful

What is User define function and how to execute that? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What is user define function in sql server 2005.How Can I see them from design point of view.
I wanted to create and execute the function.Can anybody explain me.I have not done it before.
User-Defined Functions from MSDN Books Online