where we have to use ON clause and where we have to use USING
clause in JOINS

Answer Posted / vipul.solanki

It gives same result.when colum name is same then we can use
Using clause

with use USING :

SELECT * FROM MENU_MASTER MM JOIN MENU_ROLE_METRIX MRM
USING(NMENUNO);

with use ON :

SELECT * FROM MENU_MASTER MM JOIN MENU_ROLE_METRIX MRM ON
MM.NMENUNO = MRM.NMENUNO;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happened to the global index when I truncate the data in one of the partition?

1523


What is a select query statement in oracle?

546


How to work with data objects interactively?

559


What is sequence?

625


What is redo log?

628






How to write a query with an inner join in oracle?

564


How do I start tns listener?

542


does the query needs a hint to access a materialized view?

1469


Can we convert a date to char in oracle and if so, what would be the syntax?

552


How to write date and time literals in oracle?

559


What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

1609


Where do you use decode and case statements?

556


What is a parameter file in oracle?

564


Can you tell me how to add new column in existing views?how?How is possible?

942


How to put more than 1000 values into an oracle in clause?

588