Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Not sure if I can post this, BUT I found a great video explaining this.
https://youtu.be/ck8mVDOOCCg
select *
from
[dbo].[tblEpisode] e
left join [dbo].[tblEpisodeCompanion] ec
on e.EpisodeId = ec.EpisodeId
--where e.EpisodeId is null
full outer join [dbo].[tblCompanion] c
on ec.CompanionId = c.CompanionId
select
left (c.CategoryName ,1) as Category_Initial
, count (e.EventName) as Number_of_Events
, sum(len (e.EventName)) as Total_Length
, cast(avg( cast( len (e.EventName) as float ) ) as decimal(6,2) ) as AVG_Event_Name_Length
from [dbo].[tblEvent] e
left join [dbo].[tblCategory] c
on e.CategoryID = c.CategoryID
group by left (c.CategoryName ,1)
select max(con.ContinentName) as Continent_Name
, cou.CountryName as Country_Name
, count(e.EventName) as Number_of_Events
from [dbo].[tblEvent] e
left join [dbo].[tblCategory] c
on e.CategoryID = c.CategoryID
left join [dbo].[tblCountry] cou
on e.CountryID = cou.CountryID
left join [dbo].[tblContinent] con
on cou.ContinentID = con.ContinentID
where ContinentName not in('Europe')
group by cou.CountryName
having count(e.EventName) >= 5
order by cou.CountryName
select c.CategoryName as Category_Name
, count(c.CategoryName) as Number_of_events
, max(e.EventDate) as Last_Date
, min(e.EventDate) as First_Date
from [dbo].[tblEvent] e
left join [dbo].[tblCategory] c
on e.CategoryID = c.CategoryID
group by c.CategoryName
order by Number_of_events desc
select c.CategoryName as Category_Name
, count(c.CategoryName) as Number_of_events
from [dbo].[tblEvent] e
left join [dbo].[tblCategory] c
on e.CategoryID = c.CategoryID
group by c.CategoryName
order by Number_of_events desc
***BOOM,DONE***
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.