Date post: | 27-May-2015 |
Category: |
Education |
Upload: | lynn-langit |
View: | 2,857 times |
Download: | 1 times |
BOYFRIEND (T-SQL) SCAVENGER HUNT
Lynn Langit
Developer Evangelist - Microsoft
HOW TO FIND THE BEST BOYS
U
se Bing?
HOW TO FIND THE BEST BOYS
W
here are all the hot guys?
T
hey’re in the database
SCAVENGER HUNT #1
Find... all the boys.
SCAVENGER HUNT #2
Find... a boy who’s 6 feet tall.
SCAVENGER HUNT #3
Find... a muscular boy under 6
feet tall
SCAVENGER HUNT #4
Find... a slender boy with green
eyes.
SCAVENGER HUNT #5
Find... a boy under 25 with a
romantic personality
SCAVENGER HUNT #6
Find... a musician that’s NOT a
pig
SCAVENGER HUNT #7
Find... a boy with a Attractiveness
Rating of 10, or a sports star
SCAVENGER HUNT #8
Find... the youngest Danish boy
SCAVENGER HUNT #9
Find... the number of boys that
are single
SCAVENGER HUNT #10
Find... the average attractiveness of the actors
SCAVENGER HUNT #11
Find... a boy with a red car
SCAVENGER HUNT #12
Find... a boy with a hummer
SCAVENGER HUNT #13
Find... a musician with a limo
SCAVENGER HUNT #14
Find... a romantic boy with a
bicycle
HOW TO FIND WHO DATED WHO?
U
se Bing?
R
ead ‘The Gossip Column?’
GOSSIP COLUMN#1
Find... Who dated who?
GOSSIP COLUMN #2
Find... Who dated Kristen Stewart
GOSSIP COLUMN #3
Find... Who dated Brad Pitt
GOSSIP COLUMN #4
Find... Who is (was) currently
married
GOSSIP COLUMN #5
Find... Which couples are the
same age?
GOSSIP COLUMN #6
Find... Which girl is dating a man
16 years younger than her?
GOSSIP COLUMN #7
Find... Which boys broke up the
most and how many times for
each?
GOSSIP COLUMN #8
Find... Which boy has the best
average quality of dates ?
GOSSIP COLUMN #9
Find... Which boy has dated the
most girls?
GOSSIP COLUMN #10
Find... Which girl has dated the
most boys?
HOW TO LEARN MORE
L
earn T-SQL (example code) – here
A
bout T-SQL on MSDN – here
T
-SQL Function samples – here
O
ther Coding at TKP • www.TeachingKidsProgramming.org
FOR TEACHERS
B
asic concepts – Part One: Queries 1-10
I
ntermediate concepts – Part One: Queries 11-14
A
dvanced concepts – Part Two: Queries 1-4
C
hallenge queries – Part Two: Queries 5-10