there is A table and B table in A table there 5 rows and in
b table there are 2 rows i am firing query select * from
a,b what will be the output?

Answer Posted / v.g.venkatesh babu

It gives error. If you want to access the data from two tables then we must use JOINS concept... so we need to use aliasis names for tables...

* so both tables A and B must have same no. of fields with same datatypes then only we can use joins.

*Both tables must associated with forign key...

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of tables in sql?

524


What is %rowtype in pl sql?

509


how would concatenate strings in mysql? : Sql dba

561


What are the uses of sysdate and user keywords?

619


What is the use of index in sql?

545






How does rowid help in running a query faster?

961


what are sequences

1083


What is recursive join in sql?

542


What are the 3 types of behavioral triggers?

654


How do I create an index in word?

536


Why do we need sharding?

519


How much does sql cost?

514


How to connect a sql*plus session to an oracle server?

613


How do you modify a column in sql?

524


how to drop an existing table in mysql? : Sql dba

550