Return value of 0 from MySQL query if empty
11954
What is the most straightforward way to pad empty dates in sql results (on either mysql or perl end)?
114584
Can I use a function for a default value in MySql?
74706
if (select count(column) from table) > 0 then
26885
sql query get all data from Jan to current month even if there are no records
123126
Why does query error with empty result set in SQL Server 2012?
37816
function returns only first array value with mysqli query result
156801
Query is returning a single concatenated string of values THEN the rows it found
83995
Is there any technique to do in postgresql 9.3 so that it start returning 1 and 0 instead of "t" and "f" for boolean type
156259
How to return rows that have the same column values in MySql
120636
What is the question mark's significance in MySQL at "WHERE column = ?"?
18879
How to set a default row for a query that returns no rows?
83293
show a zero if group by returns no value
34752
Query with BETWEEN returns Zero or ONE
145574
Empty function, what is it?
120071
Checking for a null int value from a Java ResultSet
132987
Fixing the PHP empty function
69750
MySQL check if a table exists without throwing an exception