| Article: |
SQL Subqueries | |
| Subject: | Count the number of record first existing in table at a date | |
| Date: | 2006-10-16 20:50:17 | |
| From: | Devils | |
|
Hi,
|
||
Showing messages 1 through 6 of 6.
-
Count the number of record first existing in table at a date
2006-10-29 01:25:20 ramu82 [Reply | View]
select distinct(field A) from date
-
Count the number of record first existing in table at a date
2006-12-13 05:39:38 jmtsnprn [Reply | View]
the query could be:
select count(fielda) from table where fieldb = '2005-02-10'
-
Count the number of record first existing in table at a date
2007-01-22 08:13:14 nikberry [Reply | View]
I haven't tried this, but something like:
select fielda,fieldb from table
where fieldb = '2/10/2005' and
fielda not in( select fielda from table
where fieldb < '2/10/2005')



