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

How to write date and time interval literals in oracle?

761


What is the oracle implicit cursor?

790


How to turn on or off recycle bin for the instance?

826


What is an index associated with a constraint?

765


What are the differences between char and nchar in oracle?

829


How to retrieve the count of updated rows?

776


What is a cursor in oracle?

825


What is a database schema in oracle?

855


What is primefaces used for?

784


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

1871


If a parameter is used in a query without being previously defined, what diff. exist betw. report 2.0 and 2.5 when the query is applied ?

2043


What privilege is needed for a user to connect to oracle server?

761


How to drop an index in oracle?

804


Explain the use of record option in exp command.

749


How to use regular expression in pattern match conditions in oracle?

793