| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Rob Desbois | Date: | September 27 2006 1:48pm |
| Subject: | re: Count of children | ||
| View as plain text | |||
Your sentence 'I want the count of all sub-entries for a specific entry' converts straight
into SQL:
'I want'
SELECT
the count of all entries
COUNT(*) FROM myTable
with a specific parent
WHERE parent_id = 5
You've missed one of the major benefits of SQL - it's designed to read like an English
sentence!
--Rob
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
| Thread | ||
|---|---|---|
| • Count of children | André Hänsel | 27 Sep |
| • Re: Count of children | joao | 27 Sep |
| • re: Count of children | Rob Desbois | 27 Sep |
| • AW: Count of children | André Hänsel | 27 Sep |
| • Re: Count of children | joao | 27 Sep |
| • Re: Count of children | Douglas Sims | 27 Sep |
| • Re: Count of children | Peter Brawley | 27 Sep |
| • AW: Count of children | André Hänsel | 27 Sep |
| • Re: AW: Count of children | ddevaudreuil | 27 Sep |
| • Re: AW: Count of children | Peter Brawley | 27 Sep |
| • RE: AW: Count of children | Robert DiFalco | 27 Sep |
