imcrnhlio
12-18-2009, 03:09 PM
Hello,
I am new to sql and would greatly appreciate any help you guys could give me.
I am setting up a database to compare my companies software with a competitors software.
I have two tables
the first table is named "issue list" and has 2 collumns 1) id 2) issue.
this table is for creating lists known issues with both software
the second table is named "deal issues" and has 3 collumns 1) deal 2) issue 3) type
the deal field is a scenario where an issue is found
the issue field is the issue that was found
and the type field is which software it belongs to ("1" for our software "2" for our competitors
What i am trying to do is create a query that has 3 collumns 1) all of the issues on the issue list 2) a count (of deals) of that issue that are from our software and 3) a count of that issue that is from my competitors software
Some issues are unique to each software and some issues are contained in both software.
If this is not clear please let me know and i will try and clarify.
If anybody could point me in the right direction I would greatly appreciate it.
Thanks,
Dan
I am new to sql and would greatly appreciate any help you guys could give me.
I am setting up a database to compare my companies software with a competitors software.
I have two tables
the first table is named "issue list" and has 2 collumns 1) id 2) issue.
this table is for creating lists known issues with both software
the second table is named "deal issues" and has 3 collumns 1) deal 2) issue 3) type
the deal field is a scenario where an issue is found
the issue field is the issue that was found
and the type field is which software it belongs to ("1" for our software "2" for our competitors
What i am trying to do is create a query that has 3 collumns 1) all of the issues on the issue list 2) a count (of deals) of that issue that are from our software and 3) a count of that issue that is from my competitors software
Some issues are unique to each software and some issues are contained in both software.
If this is not clear please let me know and i will try and clarify.
If anybody could point me in the right direction I would greatly appreciate it.
Thanks,
Dan