Reply to Re: SQL Counting number of non-distinct rows?

Your name:

Reply:


Posted by --CELKO-- on 05/03/06 19:55

Please post DDL, so that people do not have to guess what the keys,
constraints, Declarative Referential Integrity, data types, etc. in
your schema are. There is no key here, for example, so it is BY
DEFINITION not a table at all!

SELECT r1, COUNT(*) AS r1_tally
FROM Foobar
GROUP BY r1;

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация