Viewing 7 posts - 1 through 7 (of 7 total)
Thank you Mr. Jo Patyn and Mr. Sameer Raval for your information. It worked...
Thank You very much
Saiju
November 2, 2005 at 1:05 am
Your query is working but i cannot display the other fields of the grouped items.
Table Structure
Table name: Stock
Co_id char
open float
High float
Low float
Close float
date1 date
Eg:
Co_id date1 Open High Low
101 10/01/2005 101 102 102
101 10/02/2005 201 ...
October 31, 2005 at 11:55 pm
Your query is working but i cannot display the other fields of the grouped items.
Table Structure
Table name: Stock
Co_id char
open float
High float
Low float
Close float
date1 date
Eg:
Co_id date1 Open High Low
101 10/01/2005 101 102 102
101 10/02/2005 201 ...
October 31, 2005 at 11:51 pm
Your query is working but i cannot display the other fields of the grouped items.
Table Structure
Table name: Stock
Co_id char
open float
High float
Low float
Close float
date1 date
Eg:
Co_id date1 Open High Low
101 10/01/2005 101 102 102
101 10/02/2005 201 ...
October 31, 2005 at 11:50 pm
if more than two fields then how can i group
i tried with the below query it giving cartition product result
"Select data1,data2, max(datecol) as datecol from dbo.YourTable group by data1.data2"
October 31, 2005 at 5:07 am
October 31, 2005 at 3:19 am
Thank You Very much ......
It is working
Saiju Thomas
October 31, 2005 at 12:14 am
Viewing 7 posts - 1 through 7 (of 7 total)