TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ankit Shukla
NA
681
116.4k
group by and where
Aug 4 2015 8:01 AM
I have a table like this:
table name: Student
Trade | session | Student
-----------|----------------|-----------
CS | 2015-2016 | Ankit
CS | 2015-2016 | Qwen
IT | 2015-2016 | ABC
IT | 2016-2017 | Ram
IT | 2016-2017 | Sam
I want to fetch trade with total student where Session = @Session
Ex: if session =2015-2016
Output:
Trade |Student
--------|------------
CS | 2
IT | 1
Thanks in advance
Reply
Answers (
3
)
Can I Host MVC 4 in Linux
c#