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

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -