sql - SELECT DISTINC LOWER : SUBSTR -
i'm having difficulties resolve request:
select distinct lower (customername), substr(customer.postalcode, 1, 3) +" "+ substr(customer.postalcode,4,6)as'postal' customer order customer.cuname
i'm having message : expected lexical element not found
this 1 works perfectly.
select distinct customer.name, customer.postalcode as'postal' customer order customer.cuname
is can help?
select distinct lower (customername), substr(customer.postalcode, 1, 3) + ' ' + substr(customer.postalcode, 4, 6) 'postal' customer order customer.cuname
Comments
Post a Comment