select count(title_id)as algodata from titles where pub_id =1389
select count(title_id)as binnet from titles where pub_id =0877
select count(title_id)as newmoon from titles where pub_id =0736
The database used is pubs in SQL Server.
Can I use a single query to show the count of records for each publisher (here there are 3 publishers) in a single record?