Closed

MySQL SELECT Query (Emtpy Set).

Posted Jun 14, 2014 0 bids 1,701 views Job #15382

Job details

The brief


I have an MySQL Query that give me Empty Set.

SELECT IFNULL(TIME_TO_SEC(TIMEDIFF(NOW(), acctstarttime)),0)
FROM radacct
WHERE UserName='Test'
ORDER BY acctstarttime
LIMIT 1:

I need something like this, but without IFNULL.


Amateur description? :
SELECT """IF Empty SET""""(TIME_TO_SEC(TIMEDIFF(NOW(), acctstarttime)),0)
FROM radacct
WHERE UserName='Test'
ORDER BY acctstarttime
LIMIT 1:

Requirements

Amateur description [smiley] :
SELECT """IF Empty SET""""(TIME_TO_SEC(TIMEDIFF(NOW(), acctstarttime)),0)
FROM radacct
WHERE UserName='Test'
ORDER BY acctstarttime
LIMIT 1:

Skills required

Attachments

Bids (0)

No bids yet. Be the first to send one.

Questions

Public, answered by the buyer
Budget Up to $20 / project
  • Delivery2 days
  • Seller level neededAny
  • Bids0

About the buyer

disem
disem
Level 1 · Offline ·
  • Orders placed27
  • Ratings0
  • ResponseN/A
  • JoinedAug 11 2012