SQL:er
SQL:er
- Subject: SQL:er
- From: Totte Alm <email@hidden>
- Date: Mon, 26 Feb 2007 16:55:34 +0100
ordinarie SELECT Distinct t1.CompanyName, Count(t2._rowid) FROM CompanyTable t1, StyrelseTable t2, AssignmentTable t3 WHERE t1.CompanyActive=1 AND t2.CompanyID=t1._rowid AND t3._rowid=t2.AssignmentID AND t3.ListRank=1 GROUP BY t1._rowid
Suppar SELECT Distinct t1.CompanyName, Count(t2._rowid) FROM CompanyTable t1, StyrelseTable t2, AssignmentTable t3 WHERE t1.CompanyActive=1 AND t2.CompanyID=t1._rowid AND t3._rowid=t2.AssignmentID AND t3.ListRank=2 GROUP BY t1._rowid -------------------------------------------------------------------------------------- - There is no spoon. / Neo |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden