SQL Foundations I Module 3

Use functions in queries

Only editable by group admins

  • Last updated November 13, 2017 at 4:52 PM
  • Evidence visible to public
Four of the above queries will use a mix of single-row and aggregate functions. Submit a link to show your work.

All posted evidence

Four queries using joins as well as a mix of single-row and aggregate functions

Used functions: UPPER, CONCAT, ROUND and SUM in 4 above queries from Task 1 and Task 2

UPPER in Query 1
CONCAT and UPPER in Query 2
CONCAT and ROUND in Query 3
SUM in Query 4
jmfisher About 7 years ago

Four queries using a mix of single-row and aggregate functions

# tells you how many countries are listed # FIRST person born IN list # most recent death # LENGTH OF the longest first_name

Finds the SUM of bytes and COUNT of files in directories.

jaco About 8 years ago

CONCATENATES first and last names into a full name.

jaco About 8 years ago

Finds the movie COUNT for each country in a pseudo table.

jaco About 8 years ago

Finds LENGTH of movie and alt titles.

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

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

4. Functions in queries!

Hidden-shore-76374

Devblog

kfowler About 8 years ago