I have two tables :
COuntry,city
I want all the cities in each country.Question on Cross Join.

Answer Posted / saiki

SELECT COUNTRY.COUNTRY_NAME,CITY.CITY_NAME
FROM COUNTRY,CITY
WHERE COUNTRY.COUNTRY_NAME = CITY.COUNTRY_NAME
GROUP BY COUNTRY.COUNTRY_NAME;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of inctype option in exp command.

596


Whether any commands are used for months calculation? If so, what are they?

598


Describe varray?

592


How to convert characters to numbers in oracle?

596


What are the limitations of check constraint?

573






List out the difference between commit, rollback, and savepoint?

622


how do we code triggers , store procedure , Performance tuning and indexing in a Java Project? Pls kindly get me the perfect answer with the code for each....thank you in advance............pls any body kindly help me soon as possible....

1594


What the is the diff between local index and global index. give some example.

1136


How to Truncate Table in Oracle

657


what is dynamic SGA and static SGA

3843


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

577


how to make an oracle object

1860


what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?

2050


Explain what are the uses of rollback segment?

588


What is the oracle implicit cursor?

596