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
Devendra Kumar
NA
517
244.6k
how to count group by in sql server
Apr 1 2016 3:09 AM
hi frnds how to count my order according to date
select a.ClientId,a.ClientName,a.ClientStreet+','+a.ClientApt+','+a.ClientCity+', '+a.ClientState+','+a.ClientPostal+', '
+a.ClientCountry as adres,
b.orderNumber, b.date[Order Date],c.ProductCode+' '+c.ProductName as ProductName,c.Image1,d.individual_price,d.individual_shipping,e.transaction_numbr,e.transaction_status,e.admin_ka_status ,e.transactionId ,d.Qantity
from dbo.Tbl_Client_Address a inner join dbo.Tbl_OrderMaster b on a.ClientId=b.ClientAdrsId
inner join dbo.Tbl_OrderDetail d on b.orderId=d.OrderMasterfkId inner join dbo.Tbl_Products c on
d.ProductFkId=c.ProductId inner join dbo.Tbl_TransactionStatus e on e.client_loginId=a.Client_detail_id
and b.orderId=e.order_ki_Id where e.admin_ka_status='open'
Reply
Answers (
1
)
it is possible to insert first table value and second table
Share Sql Database file