SQL Foundations I Module 3

One query will use a natural join

Only editable by group admins

  • Last updated November 13, 2017 at 4:52 PM
  • Evidence visible to public
One query will use a natural join. Submit a link to show your work.

All posted evidence

Results from Task #1 Query #1

jmfisher About 7 years ago

Used Kongora Movies Database as I didn't think my personal project data would lend itself well to a NATURAL join

/*Task 1*/
/*Query 1 - Show all credited US movies for those born in 1978*/
SELECT first_name, surname, UPPER(title), year_released FROM credits
NATURAL JOIN people
NATURAL JOIN movies
WHERE (born = 1978) & (country = 'us')
ORDER BY surname;
jmfisher About 7 years ago

One query using natural joins

mpurnell1 About 7 years ago

SELECT * FROM movies NATURAL JOIN movie_title_ft_index2 WHERE movieid = 50; GROUP BY titleid;

Uses a NATURAL JOIN to add info for people who aren't dead to the credits table.

jaco About 8 years ago

I didn't finish all of them, but I did my best! This is a link to all of them.

Google Docs

MODULE 3 :: TASK 1

Task 1 >> NATURAL JOIN SELECT * FROM Customers NATURAL JOIN Orders; --Task 2 >> INNER JOINS SELECT * FROM Orders INNER JOIN Products USING (ItemNumber); SELECT Orders.OrderNumber, Customers.Address, ItemNumber, ItemDescription, ItemLocation FROM Products INNER JOIN Orders USING (ItemNumber)...
slewis52 About 8 years ago

SELECT * FROM countries NATURAL JOIN people where born < 1952

Konagora

Konagora Educational Resources - SQL sandbox

A Free SQL sandbox to practice SQL exercises from the \
franciscocruz11 About 8 years ago

Kept it simple and used the Konagora DB http://edu.konagora.com/SQLsandbox.php

Pastebin

SELECT * FROM credits NATURAL JOIN movie_title_ft_index2 WHERE title_wor - Pastebin.com

Pastebin PRO Accounts CHRISTMAS SPECIAL! For a limited time only get 50% discount on a LIFETIME PRO account! Offer Ends Soon!
randyiv About 8 years ago

1. Natural join!

Hidden-shore-76374

Devblog

kfowler About 8 years ago