|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
SiMPLE having "group by" error
Hi,
I want to concatenate two fields in Oracle. For example, if I have 2 columns named FIRSTNAME and LASTNAME, I would like to have it look like FIRSTNAME.LASTNAME, so I would do this: select FirstName || '.' || LastName from Table Moreover, I ONLY want the first names that start with P. So I figured I should add something like having FirstName like '[Pp]%'. However, I am having trouble with which column to group by. Any help would be appreciated. |
|
#2
|
|||
|
|||
|
Code:
select FirstName || '.' || LastName from T where FirstName like '[Pp]%' |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > SiMPLE having "group by" error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|