![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, If I have R(a integer PRIMARY KEY, b text, c text, d integer); and I want to find how many different entries there are, (specified using b and c instead of a), is "select count(distinct b||c) from R" an appropriate query? (see note 1 below) ... Also, if I want to find how many of those that have a different "d", can I use "select count(d) from R goup by title || author"? (see note 2) ... What if b and c are integers, then I wouldn't be able to concatenate the 2 fields right? (note 3, you see the patern by now) Please help. Thanks, Michael |
#3
| |||
| |||
|
|
Hi, If I have R(a integer PRIMARY KEY, b text, c text, d integer); and I want to find how many different entries there are, (specified using b and c instead of a), is "select count(distinct b||c) from R" an appropriate query? |
![]() |
| Thread Tools | |
| Display Modes | |
| |