Question: Problem 4 [20' 5+5'+10 Consider the following database for a website, . Webpage(url, title) User username, age) Log ul,username, timestamp) Every time a user visits

 Problem 4 [20' 5+5'+10 Consider the following database for a website,

Problem 4 [20' 5+5'+10 Consider the following database for a website, . Webpage(url, title) User username, age) Log ul,username, timestamp) Every time a user visits a webpage of this website, an entry is automatically created and inserted into the Log table. Write SQL statements for each of the following queries 1. List the username and age of users who visited encrypted webpages (note: an encrypted webpage uses https urls); COP 4710: DATABASE SYSTEMS Assignment 3 2. List how many times each URL has been visited by users in ages between 20 and 30 inclusive); 3. Create a view Pop WebAge(title, age) that shows pairs of webpage titles and user ages such that the webpage has been visited more than 1,000 times by users at the particular age (say, 45)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!