Premium Only Content

Queries with Joins and Aggregations (044)
CREATE TABLE users(
id SERIAL PRIMARY KEY,
username VARCHAR(50)
);
CREATE TABLE photos (
id SERIAL PRIMARY KEY,
url VARCHAR(200),
user_id INTEGER REFERENCES users(id) ON DELETE CASCADE
);
CREATE TABLE comments (
id SERIAL PRIMARY KEY,
contents VARCHAR(240),
user_id INTEGER REFERENCES users(id) ON DELETE CASCADE,
photo_id INTEGER REFERENCES photos(id) ON DELETE CASCADE
);
INSERT INTO users (username)
VALUES
('Reyna.Marvin'),
('Micah.Cremin'),
('Alfredo66'),
('Gerard_Mitchell42'),
('Frederique_Donnelly');
INSERT INTO photos (url, user_id)
VALUES
('https://santina.net', 3),
('https://alayna.net', 5),
('https://kailyn.name', 3),
('http://marjolaine.name', 1),
('http://chet.net', 5),
('http://jerrold.org', 2),
('https://meredith.net', 4),
('http://isaias.net', 4),
('http://dayne.com', 4),
('http://colten.net', 2),
('https://adelbert.biz', 5),
('http://kolby.org', 1),
('https://deon.biz', 2),
('https://marina.com', 5),
('http://johnson.info', 1),
('https://linda.info', 2),
('https://tyrique.info', 4),
('http://buddy.info', 5),
('https://elinore.name', 2),
('http://sasha.com', 3);
THERE IS ANOTHER INSERT INTO MISSING, CHECK THE SUBSEQUENT VIDEOS COMMENTS FOR IT.
-
LIVE
Rebel News
46 minutes agoRebels on the ground for ostrich cull, New hate crime bill, Ford on homeless crisis | Rebel Roundup
301 watching -
4:23
Michael Heaver
8 hours agoItaly Suffers Extreme BLOCKADE
122 -
1:59:09
Steven Crowder
4 hours agoWe're Done Apologizing: Trump Torches Indian H-1B Visas & The United Nations
295K258 -
43:39
The Rubin Report
2 hours agoHost Goes Quiet as Press Sec Destroys Jimmy Kimmel Narrative w/ Facts in Under 1 Minute
20.7K15 -
LIVE
Side Scrollers Podcast
2 hours agoKimmel RETURNS + Twitch University + More! | Side Scrollers
372 watching -
LIVE
The Mel K Show
2 hours agoMORNINGS WITH MEL K Defining Liberty: Where the Constitution Stands in a Surveillance State 9-23-25
777 watching -
LIVE
The Shannon Joy Show
2 hours agoFree Speech, Free Markets & The Political Weaponization Of Charlie Kirk. Live With Matt Kibbe
199 watching -
LIVE
LFA TV
14 hours agoBREAKING NEWS ALL DAY! | TUESDAY 9/23/25
4,056 watching -
35:28
Grant Stinchfield
2 hours agoTylenol Tied to Autism? Or is it a Convenient Scapegoat?
5.02K4 -
1:03:18
VINCE
4 hours agoDIsney Caves To The Woke Mob | Episode 131 - 09/23/25
194K252