Forum: MS SQL Sep 10th, 2008 |
| Replies: 10 Views: 1,284 ok, i got this:
select name, classmatch, borematch, displacementmatch, countrymatch, launchedmatch, typematch, numgunsmatch,
Sum(classmatch + countrymatch + launchedmatch + typematch +... |
Forum: MS SQL Sep 10th, 2008 |
| Replies: 10 Views: 1,284 hmm it tells me: The Sum function requires 1 argument(s). ?
Maybe you have to use '+' ?? |
Forum: MS SQL Sep 10th, 2008 |
| Replies: 10 Views: 1,284 Hi, thank you for the hint.
I used it in my real example but still making some syntax errors:
the tables are:
Classes(class, type, country, numGuns, bore, displacement)
Ships(name, class,... |
Forum: MS SQL Sep 9th, 2008 |
| Replies: 10 Views: 1,284 Ok it is right but what if i have 10 criteria and want a person to met at least 3 of them?
U can't just do it the same way as they are too many combinations.... |
Forum: MS SQL Sep 9th, 2008 |
| Replies: 10 Views: 1,284 Hi I wonder how to write a query where given record meets at list n criteria from given criteria?
For example i have a table PERSON like this:
Name
Height (short, medium, tall)
HairColor... |