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 tuple in sql?
What is data type in database?
What is the current version of sql?
What is sql exception?
What is the difference between microsoft access and sql?
What is difference between hql and native sql?
What is a relationship and what are they?
Can a key be both primary and foreign?
What is not equal in sql?
what is a primary key? : Sql dba
Is t sql a programming language?
Is it mandatory for the primary key to be given a value when a new record is inserted?
What are sql data types?
What is the purpose of the sql select top clause?
What is difference between stored function and application function?