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.
Hello,I've got 3 columns/fields: Name, Salary and Bonus (Data is the table name).Ideally I'd like to check, through sql, who is paid more than 10% of his total pay (Salary+Bonus) as Bonus.How would you write it in sql terms?SELECT * FROM Data where ...Thanks