dbTalk Databases Forums  

Simple SQL question

comp.databases.rdb comp.databases.rdb


Discuss Simple SQL question in the comp.databases.rdb forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alder
 
Posts: n/a

Default Simple SQL question - 07-25-2003 , 10:21 AM






Simple question, even simpler user...:-)

How can I specify a calculated column name in the GROUP BY clause?

i.e.
SELECT CASE SUBSTRING(T.DATA_1 FROM 1 FOR 4)
WHEN '1993' THEN '1993'
WHEN '1994' THEN '1994'

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.