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 ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the t string functions available in tsql? : Transact sql

533


What is clustered and nonclustered index in sql?

489


Which command is used to call a stored procedure?

487


What is compute?

547


What are primary key and foreign key and how they work?

537






what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

535


What is sql indexing?

536


What is trigger and types?

548


What is a pdo connection?

502


What is recursive stored procedure?

589


What version is sql?

545


What is the purpose of the primary key?

557


Write a sql query to get the third highest salary of an employee from employee_table?

619


Explain locks? : Transact sql

559


What is group by in sql?

537