题目
题目

IDBF001 Tutorial Quiz 8 |LA008 - Requires Respondus LockDown Browser

多重下拉选择题

Candy Database    Candy  ( CandyType char(15), Cost dec(9,2), Colour char(10))                                     People ( PersonName char(20), Age smallint,                                                   Suburb char(20),   PhoneNumber char(10))                                     Likes    ( PersonName char(20), CandyType char(15))   Use the drop down lists to re-write the following query as a INNER JOIN. Select C.CandyType, Cost, PersonName From Candy C, Likes L Where C.CandyType = L.CandyType     And PersonName like '%Peter%'     Select C.CandyType, Cost, PersonName [ Select ] From Candy C INNER JOIN Likes L INNER JOIN People P L Likes INNER JOIN C Candy From Candy C INNER JOIN Likes L [ Select ] On C.CandyType = L.CandyType Where C.CandyType = L.CandyType On C.CandyType = P.PersonName [ Select ] Having P.PersonName like '%Peter%' Where PersonName like '%Peter%' And PersonName like '%Peter%'

查看解析

查看解析

标准答案
Please login to view
思路分析
The task asks to rewrite the given query using INNER JOIN syntax, and the provided dropdown options correspond to the typical components of an INNER JOIN statement. Option 1: 'From Candy C INNER JOIN Likes L' This establishes the join operation between the two tables Candy (aliased as C) and Likes (aliased as L). In an INNER JOIN, you start with the FROM clause followed immediately by the JOIN......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!