| SQL - Questions and Answers Have a SQL question? Post it here. First do a search to see if someone hasn't already answered it. |
|
|||
I need help w/ a query - URGENTI need to write a sql query for the following:
Where any of the codes (99213...99215) are billed on the same DOS (date of svc) as any of the codes (99381...99387) Thanks! Do this : select codes from tablename where dos in (select dos from tablename where codes between(99381 and 99387)) and codes between(99213 and 99215); |
|
Be the first to answer this question! Click on the 'Post Reply' button below.
|