Write a query to genarate target column.Please answer me.
Advance Thanks.
Src Tgt
Q10 Quarter to 2010
Q90 Quarter to 1990
Q80 Quarter to 1980
Q74 Quarter to 1974
Answer Posted / manohar
select 'Quarter to' ||to_char(cast('1/1/'||substr(Src) as
char),'YYYY') from table
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Can triggers stop a dml statement from executing on a table?
How do we accept inputs from user during runtime?
List different type of expressions with the example.
Why should I use postgresql?
How do you declare a user-defined exception?
What is a sql profiler?
Why self join is used in sql?
What do you mean by query optimization?
How do we use distinct statement? What is its use?
How does index help in query performance?
Is delete faster than truncate?
Can we use threading in pl/sql?
What is natural join in sql?
Is mariadb a nosql database?
How do you optimize a stored procedure in sql?