Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following database for a website, . Webpage(url, title) User(username, age) Log url, username, timestamp) Every time a user visits a webpage of this

image text in transcribed

Consider the following database for a website, . Webpage(url, title) User(username, age) Log url, 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 PopWebAge(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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago