Hi Friends,
I have the below problem in writing an sql query.
Assume we have a table with two columns.the pattern being
col1 col2
X 1
X 2
Y 3
Y 4
Z 5
Z 6
This is the pattern there are n no of rows having same value in col1 and different value in col2.I need to write a query which feach me the rows having least value in col2(comparision between the two records)
The required solution is
col3 col4
X 1
Y 3
Z 5
2007-12-06
00:59:08
·
3 answers
·
asked by
Gogo
1
in
Computers & Internet
➔ Programming & Design