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 / rao

generally if n tables will n-1 joins
here 4 tables 3joins

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

690


How do I save a stored procedure?

526


How do I find duplicates in a single column in sql?

536


What are the indexing methods?

577


How do you use collections in procedure to return the resultset?

1790






what is the stuff function and how does it differ from the replace function? : Sql dba

624


What jobs use sql?

531


what is acid property in database? : Sql dba

561


Why having clause is used in sql?

544


What is compute?

560


Mention what problem one might face while writing log information to a data-base table in pl/sql?

676


What is pessimistic concurrency control? : Transact sql

588


What are inner outer left and right joins in sql?

519


What steps server process has to take to execute an update statement?

511


What is view explain with example?

521