I have two tables :
COuntry,city
I want all the cities in each country.Question on Cross Join.
Answer Posted / u.radha
SELECT COUNTRY.COUNTRY_NAME,CITY.CITY_NAME FROM COUNTRY,CITY
WHERE COUNTRY.COUNTRY_NAME = CITY.COUNTRY_NAME ;
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is a nested table?
What happens if you use a wrong connect identifier?
What are the advantages of oracle 12c?
Please explain oracle left join with an example?
What is the difference between translate and replace?
Why do we use bulk collect in oracle?
what are archived logs?
What is an Oracle index?
Which dictionary tables and/or views would you look at to diagnose a locking issue?
What is the use of file param in imp command?
How can windows applications connect to oracle servers?
Difference between pre-select and pre-query
When system tablespace is created?
Explain integrity constraint?
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.