vb and sql - TechRepublic
Question
September 28, 2007 at 07:16 AM
stogarepih

vb and sql

by stogarepih . Updated 18 years, 9 months ago

i am querying for the maximum occurance of a disease and also want to know which hospital had that recording but i get all the minimum recordings where there is a minimumu temperature.i am not getting the value for ‘name’
my code is like this:

sql1= “select name, min(cancer) as minimum from Hospital where disease=’cold’ group by name

This discussion is locked

All Comments