Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » SQL QUERY PT. STARS INTERNASIONAL

SQL QUERY PT. STARS INTERNASIONAL

InsertIntoDB
SendingDateTime
DestinationNumber
TextDecoded
Status

SELECT *
FROM `sentitems`
ORDER BY `DeliveryDateTime` DESC
LIMIT 0 , 30

SELECT InsertIntoDB,SendingDateTime,DestinationNumber,TextDecoded,Status
FROM `sentitems`
ORDER BY `DeliveryDateTime` DESC
LIMIT 0 , 30

SELECT InsertIntoDB, SendingDateTime, DestinationNumber, TextDecoded,STATUS
FROM `sentitems`
where STATUS = ‘SendingOK’
ORDER BY `SendingDateTime` ASC
LIMIT 0 , 100

SELECT InsertIntoDB, SendingDateTime, DestinationNumber, TextDecoded,
STATUS
FROM `sentitems`
WHERE STATUS = ‘SendingOK’
ORDER BY `SendingDateTime` DESC
LIMIT 0 , 100

SELECT InsertIntoDB, SendingDateTime, DestinationNumber, TextDecoded,
STATUS
FROM `sentitems`
WHERE STATUS = ‘SendingError’
ORDER BY `SendingDateTime` DESC
LIMIT 0 , 100

Filed under: 7. Operating System

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>