Quantcast
Channel: Help Writing Query
Browsing latest articles
Browse All 4 View Live

Help Writing Query

Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element...

View Article



Help Writing Query

Hitry thisSELECT firstName, lastName, phone, (count(CASE(WHEN Non.empID IS NULL THEN 1 ELSE 0 END))) AS [Eligible For Rehire Count], (count(CASE(WHEN Non.empID IS NULL THEN 0 ELSE 1 END))) AS [No...

View Article

Help Writing Query

this is enoughSelect firstName, lastName, phone, sum(case when tbl_norehire.empID IS NULL then 1 else 0 end) As [Eligible For Rehire Count], sum(case when tbl_norehire.empID IS NULL then 0 else 1 end)...

View Article

Help Writing Query

I have two tables one that contains employees who are not eligible for rehire and one that contains employee information.  I want to query a count of employees where the employeename is not in the...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images