Hi Friends

I have a sql question, We have the source data as below.

101 address1, address2, address3

and the output shoulb like below

101 address1
101 address2
101 address3

Required a SQL query for this output.

Please let me know if you have any sql query for this.

Thanks in advance.

Hari M

Answer Posted / xxx

select 101 as 101,address1 from table1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is spool space and when running a job if it reaches the maximum spool space how you solve the problem?

649


How you will check the version of teradata?

574


How do you create tables? Exact syntax, and create profiles, users in teradata?

548


Explain the meaning of Amp?

583


How to Extract data from multiple legacy systems?

566






What are the functions of a Parser?

601


What is the difference between union and union all in teradata?

609


Explain teradata architecture?

625


how can we analyze the locks ?

1694


How is MLOAD Client System restarted after execution?

589


How many codd's rules are satisfied by teradata database?

656


In the Primary Index, what is the score of AMPs that are actively involved?

573


What are the multiload utility limitations?

586


What do high confidence, low confidence and no confidence mean in explain plan?

583


Differentiate primary key and partition key?

568