Guest_imported
New member
- Jan 1, 1970
- 0
i have the following situation.
a mysql database, with 2 tables: tbldisks and tblusage
in tbldisks there are about 54 rows with coloms like: diskid
in tlbusage there are about 300.000 rows with coloms like: diskusage,diskid and timestamp
now what i want is all the LATEST diskusages from every disk listed in those tables.
but the thing is i cant use sub-selects. becuzz mysql doesnt support that.
who can help me... i driving myself crazy for about 2 days on this.
thanks in advance,
grtz,
Alex
a mysql database, with 2 tables: tbldisks and tblusage
in tbldisks there are about 54 rows with coloms like: diskid
in tlbusage there are about 300.000 rows with coloms like: diskusage,diskid and timestamp
now what i want is all the LATEST diskusages from every disk listed in those tables.
but the thing is i cant use sub-selects. becuzz mysql doesnt support that.
who can help me... i driving myself crazy for about 2 days on this.
thanks in advance,
grtz,
Alex