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
What is a Mapplet?
What are its different types of dbms?
how to run 'mysql' commands from a batch file? : Sql dba
What is sqlcommand?
What is database migration?
What is package in pl sql?
How do you define a foreign key?
What is memory optimized table?
What will you get by the cursor attribute sql%found?
Why stored procedure is better than query?
how to get @@error and @@rowcount at the same time? : Sql dba
how many values can the set function of mysql take? : Sql dba
What is schema in sql?
How do you write a complex sql query?
What jobs use sql?