SQL - MS ACCESS - Show Cells with NULL value with 0 -


I tried writing a query in Access.

My purpose is;

How many surgeries are being performed in one day to get the result.

There is a problem;

The results are giving me dates and how many surgeries are done but no results are listed on the results table on the day of surgery.

I think without surgery, the day will be shown as 0. But there is no record about surgery type 1 03.01.2009. I just want to cross that line;

Type 1 ------------ 30.01.2009 ------------ 0

Is it possible or how ?

Example,

Surgery Type ------------ Date ---------- ------ AMOUNT

------- TYPE 1 ----------------- 01.01.2009 ------- --------- - 20

------- Type 1 ----------------- 02.01.2009-- --------- ------- 30

- !! - !! - 03.01.2009 has not been shown as 0 (This is not shown on the result table) - !! - !! -

------- TYPE 1 ----------------- 02.01.2009- ------------ ----- 10

I tried to use the ISNULL function but the result could not be found.

B is type of surgery * T sq code select t1.b, t1.T., calculation (T1.T) by zodiac T1 group T1.B, T1. In the HAVING (T1.B) (SELECT [B] FROM [T1] by TMP Group [B] Hanging calculation (*)> 1))) Order by T1B;

You need an external partner. An external insertion will allow all records from the main table, and only matches those mails that are related to mail. This record allows to exist where the count is zero.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -