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
Arifullah Irfann
NA
410
27.1k
SQL Query Problem
Dec 26 2019 5:07 AM
Hello.
I Have Two Table From Which I want to Create Query
1) Table - Purchase
PurchaseID,ItemID,PurchaseDate,PurchaseQuantity
2) Table- Sale
SaleID,ItemID,SaleDate,SaleQuantity
Now I want to Create A query to Give this Result Between Two Dates From Both Tables
ItemID
TotalPurchaseQuantity
TotalSaleQuantity
The Problem is Date From Which Table I should Give Date To Query (Sale Table Or Purchase)
Reply
Answers (
10
)
Import backup ,upper version to lower version in SQL server
convert Columns to rows