Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
ElevateDB Technical Support
»
Support Forums
»
ElevateDB SQL
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
GROUP BY with first char
Tue, Apr 28 2009 5:28 AM
Permanent Link
"Mauro Botta"
Hi
i'm a newbie of SQL
I need a SELECT with GROUP BY on first char of field.
like this : SELECT * from clients GROUP BY LEFT('NAME',1)
EDB 2
Any Hint ?
Tue, Apr 28 2009 12:27 PM
Permanent Link
"James Relyea"
> I need a SELECT with GROUP BY on first char of field.
>=20
> like this : SELECT * from clients GROUP BY LEFT('NAME',1)
This looks like it worked for me: SELECT * from clients GROUP BY =
LEFT("NAME",1)
Try changing your apostrophes to quotation marks.
jr