Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Query to Select data from a single table with mutliple conditions

$
0
0
Hi,I have a table with the below column headings.Business Unit Document ID Document Date Year Period Account Descr Dept Product Project Analysis Code Affiliate Currency Base Amount USD Amount Line Descr Reference Vendor Vendor Name Module Doc Line # AP Distrib Line # Post Status SeqI need to pull data with the document date, account and dept.Where the document data would be the previous month,there would be multiple accounts: for eg: [FTS Yearly Query].Account >= 847000 and [FTS Yearly Query].Account <=847900 or [FTS Yearly Query].Account = 821000 and multiple depts as well.and it do not get the required data.Could someone please help me.

Viewing all articles
Browse latest Browse all 2791

Trending Articles