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 ...
select
case when datepart(year,eventdate) like '17%' then '18th century'
when datepart(year,eventdate) like '18%' then '19th century'
when datepart(year,eventdate) like '19%' then '20th century'
else '21th century'
end as century, count(eventid) as [Number of Events] from tblEvent group by
cube( case when datepart(year,eventdate) like '17%' then '18th century'
when datepart(year,eventdate) like '18%' then '19th century'
when datepart(year,eventdate) like '19%' then '20th century'
else '21th century'
end) order by century
select left(categoryname,1) as [Category initial], count(eventid) as [Number of events],
cast(avg(cast(len(eventname) as float)) as decimal(5,2)) as [Average event name length] from tblCategory join tblEvent on
tblCategory.CategoryID = tblEvent.CategoryID group by left(categoryname,1)
select continentname as Continent, countryname as Country, count(eventid) as [Number of Events]
from tblContinent join tblCountry on tblContinent.ContinentID = tblCountry.ContinentID join
tblEvent on tblCountry.CountryID = tblEvent.CountryID group by Continentname, Countryname
select continentname as Continent, countryname as Country, count(eventid) as [Number of Events]
from tblContinent join tblCountry on tblContinent.ContinentID = tblCountry.ContinentID join
tblEvent on tblCountry.CountryID = tblEvent.CountryID where continentname != 'europe'
group by Continentname, Countryname
select continentname as Continent, countryname as Country, count(eventid) as [Number of Events]
from tblContinent join tblCountry on tblContinent.ContinentID = tblCountry.ContinentID join
tblEvent on tblCountry.CountryID = tblEvent.CountryID where continentname != 'europe'
group by Continentname, Countryname having count(eventid) >5
select AuthorName, DoctorName, count(episodeid) as Episodes from tblauthor join tblepisode
on tblauthor.authorid = tblepisode.authorid join tbldoctor on tblepisode.doctorid = tbldoctor.doctorid
group by authorname, doctorname having count(episodeid) >5 order by Episodes desc
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.