General information
Forum:
Microsoft SQL Server
Hi,
How to put in SQL a query that in VFP look like this?
SELECT iddoc, SUM(IIF(testval=0,quantity,o)) as q0, SUM(IIF(testval=1,quantity,0)) as q1 FROM doctable
Thanks in advance.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only