Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The schema: User UID Name Surname surname E-mail E-mail Birthday Birthday accountName accountName Pinneditems BYUID IID Category Price BrandName WebPage I mageAddress Description Season Style
The schema: User UID Name Surname surname E-mail E-mail Birthday Birthday accountName accountName Pinneditems BYUID IID Category Price BrandName WebPage I mageAddress Description Season Style UserWardrobeInformation WID UID Wtitle Userltem Wardrobe Gallery UIDUD WID UserLookbook lookBookName UID Styles SID byUID lookBookName styleName Occasion Season PhotoID Numof Likes TotalCost Ave.Rating StylesIncludeltems SID UD StylesPutlookbooks UID SID lookBookName UserLikes UID SID Favorite Rate UserFollowers UID FUID 2. Write in SQL. Find the users who have both more than 10 followers and more than 5 styles that have a total cost between 50 TL and 100 TL (the range is inclusive). Retrieve these users' pinned items' IDs and the number of styles in which those items are included. (20 pts)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started