[BuildMonitor] revert add 'ORDER BY id desc LIMIT 1'
revet add 'ORDER BY id desc LIMIT 1' patch
this is not a root cause
===========================================================================
add 'ORDER BY id desc(ending) LIMIT 1' when selecting the build_snapshot_id
to prevent getting the wrong build_snapshot_id
===========================================================================
Change-Id: I131c06b8e9a6c3eea92711ae7de5573110b49ec4
Signed-off-by: SungHun Hwang <sh0924.hwang@samsung.com>