R
rich
Hi,
Can anyone suggest a query to tackle the following problem?
MIXTABLE
ID MIXID DESCRIPTION LAST_MOD_BY
1 rec1 recipe1 rich
2 rec2 recipe2 matt
3 rec3 recipe3 rich
4 rec1 recipe1 matt
As a 'Mix' is modified the record isn't updated a new one is created so
that it is possible to view changes.
I would like to write a query that would give me a list of all the
mix's (no duplicates) and their version number. (version number
calculated by counting number of times mix id appears in recipe)
e,g.
ID MIXID VER DESCRIPTION LAST_MOD_BY
4 rec1 2 recipe1 matt
2 rec2 1 recipe2 matt
3 rec3 1 recipe3 rich
Is this easily done?
Thanks in advance
Rich
Can anyone suggest a query to tackle the following problem?
MIXTABLE
ID MIXID DESCRIPTION LAST_MOD_BY
1 rec1 recipe1 rich
2 rec2 recipe2 matt
3 rec3 recipe3 rich
4 rec1 recipe1 matt
As a 'Mix' is modified the record isn't updated a new one is created so
that it is possible to view changes.
I would like to write a query that would give me a list of all the
mix's (no duplicates) and their version number. (version number
calculated by counting number of times mix id appears in recipe)
e,g.
ID MIXID VER DESCRIPTION LAST_MOD_BY
4 rec1 2 recipe1 matt
2 rec2 1 recipe2 matt
3 rec3 1 recipe3 rich
Is this easily done?
Thanks in advance
Rich