Our training courses

Other training resources

Our training venues

Why we are different

Details for Rupchand7

Rupchand7 has participated in the following threads:

Added by Rupchand7 on 14 Nov 2023 at 07:18

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 

Added by Rupchand7 on 14 Nov 2023 at 06:44

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)

Added by Rupchand7 on 14 Nov 2023 at 06:16

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
 

Added by Rupchand7 on 14 Nov 2023 at 05:59

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

Head office

Kingsmoor House

Railway Street

GLOSSOP

SK13 2AA

London

Landmark Offices

99 Bishopsgate

LONDON

EC2M 3XD

Manchester

Holiday Inn

25 Aytoun Street

MANCHESTER

M1 3AE

© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.

End of small page here
Please be aware that our website uses cookies!
I'm OK with this Tell me more ...