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 -

What Are The Best Universities In The World?

The Ten Most Livable Cities In The World