Thomas Karbe
08/28/2023, 4:51 PMMichael Ullock
08/28/2023, 4:56 PMThomas Karbe
08/28/2023, 4:58 PMThomas Karbe
08/28/2023, 4:58 PMThomas Karbe
08/28/2023, 4:59 PMThe IFNULL function does not populate rows of data when the row does not exist. Rather, it forces a value to appear when the value is blank.
Thomas Karbe
08/28/2023, 5:00 PMMichael Ullock
08/28/2023, 5:01 PMSELECT IFNULL(COUNT(Order), 0)
Thomas Karbe
08/28/2023, 5:02 PMThomas Karbe
08/28/2023, 5:09 PMThomas Karbe
08/28/2023, 5:10 PMThomas Karbe
08/28/2023, 5:11 PMMichael Ullock
08/28/2023, 5:17 PMSELECT IFNULL(COUNT(Order), 0)*1
In some cases, the *1 forces 0 to appear even when there is no data. can you please try and give this a go?Thomas Karbe
08/28/2023, 5:18 PMThomas Karbe
08/28/2023, 5:30 PMMichael Ullock
08/28/2023, 5:31 PM