General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Why Two Different Return Counts
Environment versions
Network:
Windows 2000 Server
Why would to two following SQL statements return different record counts?
sqla = "SELECT Count(*) As rCount FROM webprddt6.tsotagtbl Where archivef = '0' Group By cono"
sql = "SELECT cono, archivef FROM webprddt6.tsotagtbl Where archivef = '0' Group By cono, archivef"
The first returns 128
The second 133
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only