oracle - Total count in sql -


i need create view display total number of students have declared 2 majors (major1 , major2 not null).

what query should use?

my goal single row of output know order by clause irrelevant in case.

something this:

    create view getnumberofstudentswithmajor           select count(*) dbo.students major1 not null , major2 not null 

Comments

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

Weed, Guns & Minimum Wage: What Else Is The U.S. Voting On?