Tab A
A B
------
1 A
2 B
3 C

Tab B

A B
-----
4 D
5 E
6 F

Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.



Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate ..

Answer / Mohd Anwar Khan

"To find the corresponding values in Table B for each row in Table A, we can use a SQL JOIN statement. Here's an example: nnSELECT A.A, B.B FROM Table_A AS A JOIN Table_B AS B ON A.A = B.A;"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Oracle General Interview Questions

What is an Extent ?

3 Answers  


What are transaction isolation levels supported by oracle?

1 Answers  


Name the various constraints used in oracle?

1 Answers  


What is a lookup table in oracle?

1 Answers  


When do we use group by clause in a sql query?

1 Answers  


select * from emp what happened internally when we write this query in the sql prompt?

5 Answers  


How to store pictures on to the database?

1 Answers  


HOW TO DISPLAY MAXIMUM SALARIES FROM EMP DEPARTMENT VISE ALONG WITH DEPARTMENT NAMES? E.g EMP,DEPT

5 Answers   College School Exams Tests, DELL,


What is PL/SQL ?

4 Answers  


A VIEWS takes memory in the database. If yes, how can u proove it? is there any way to display the size of views?

1 Answers   IBM,


What is Network Database link ?

1 Answers  


10)In an RDBMS, the information content of a table does not depend on the order of the rows and columns. Is this statement Correct? A)Yes B)No C)Depends on the data being stored D)Only for 2-dimensional tables

6 Answers   Mind Tree,


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)