logo

Crowdly

Browser

Додати до Chrome

Suppose we have the following schema: , , describing, respectiv...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

Suppose we have the following schema:

,

,

describing, respectively, people, types of cars, and cars and their owners. The data corresponding to these tables is as follows:

 

IDNAME
1Madeleine
2Alice
3Nalini

 

CarTypeIdType
1Small
2Medium
3Large

 

CarIdOwnerIdCarTypeIdCarName
111Nano
222Santro
    

 

Select the correct returned tuple of the following SQL query:

select distinct Q.name from

    (select P.name, C.carName, CT.carTypeId

    from Person P

    left outer join Car C on (C.ownerId = P.id)

    inner join CarType CT on (C.carTypeId = CT.carTypeId)) as Q

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodlenew.iitd.ac.in?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome