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 / arata kumar pattanaik
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
generally if n tables will n-1 joins
here 4 tables 3joins
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how many ways we can we find the current date using mysql? : Sql dba
Explain the steps needed to create the scheduled job?
how to include character strings in sql statements? : Sql dba
How do I count rows in sql query?
What is triggering circuit?
what is the use of set statement in tsql? : Transact sql
What is cursor in pl sql with examples?
How to pipe multiline string to isql?
What is microsoft t sql?
What are the different sql commands?
Explain clause in sql?
What is PL/SQL Records?
how to create a test table in your mysql server? : Sql dba
what is subquery? : Sql dba
How can you save or place your msg in a table?