• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SQL:er
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: aio.h
  • Next by Date: suspicious tab-completion crashes (recent)
  • Previous by thread: Re: aio.h
  • Next by thread: suspicious tab-completion crashes (recent)
  • Index(es):
    • Date
    • Thread