1 SELECT a.field1, b.field2, c.field3, d.field4
2 FROM atable a, atable b, ctable c, dtable d
3 ?
4 ORDER BY 1

What is the minimum number of joins that must be specified
on line 3 in the sample code above to properly link the
tables? Notice that the table "atable" is aliased twice:
once as "a" and once as "b."

1. One join
2. Two joins
3. Three joins
4. Four joins
5. Five joins

Answer Posted / sss

We need minimum of n-1 joins to join n tables.
here 3 tables are there.
so we need minimum of 2 joins to join the 3 tables

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is not null in sql?

560


What is data modelling in sql?

523


What are inbuilt functions in sql?

602


How do you know if a relationship is 2nf?

520


Can we commit inside a trigger?

549






Can we create table inside stored procedure?

534


What is the difference between the conventional and direct path loader? : aql loader

654


What is the difference between inner join and natural join?

513


What is trigger explain it?

551


what is table? : Sql dba

572


How show all rows in sql?

614


What is multiple partition?

539


How to make a copy values from one column to another in sql?

576


What does the hierarchical profiler does?

570


Why is pl sql used?

527