I have these queries :
SELECT COUNT(*) FROM t_table WHERE color = \'YELLOW\'; SELECT COUNT(*) FROM t_table WHERE color = \'BLUE\'; SELECT COUNT(*) FROM t_table W
You can do this using subquery.
SELECT( SELECT COUNT(*) FROM t_table WHERE color = 'YELLOW', SELECT COUNT(*) FROM t_table WHERE color = 'BLUE', SELECT COUNT(*) FROM t_table WHERE color = 'RED' );