Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
my case is this:i need to find the customers who have placed duplicate orders in the last 1 week, from a single table.for example, if i placed a 200 dollar order yesterday twice, mine should be visible. i tried with nested queries, but im getting more columns that dont satisfy the condition.
Zoroaster
Aged Yak Warrior
702 Posts
Posted - 2007-10-08 : 11:12:33
Please provide the DDL of the table, the specific columns you want returned and the column containing the duplicate.Future guru in the making.
@ peso, the query that u gave gives an output only for the customer who has placed multiple orders of different value, but not the same order value. i want customers placing same value orders.